diff --git a/src/main/twirl/gitbucket/core/account/application.scala.html b/src/main/twirl/gitbucket/core/account/application.scala.html index de74c01..9275cc2 100644 --- a/src/main/twirl/gitbucket/core/account/application.scala.html +++ b/src/main/twirl/gitbucket/core/account/application.scala.html @@ -5,56 +5,52 @@ @import gitbucket.core.view.helpers._ @html.main("Applications"){
-
-
- @menu("application", settings.ssh) -
-
-
-
Personal access tokens
-
- @if(personalTokens.isEmpty && gneratedToken.isEmpty){ - No tokens. - } else { - Tokens you have generated that can be used to access the GitBucket API. -
- } - @gneratedToken.map{ case (token, tokenString) => -
- Make sure to copy your new personal access token now. You won't be able to see it again! -
- Delete -
- @helper.html.copy("generated-token-copy", tokenString){ - - } -
-
- } - @personalTokens.zipWithIndex.map { case (token, i) => - @if(i != 0){ -
+ @menu("application", settings.ssh) +
+
+
Personal access tokens
+
+ @if(personalTokens.isEmpty && gneratedToken.isEmpty){ + No tokens. + } else { + Tokens you have generated that can be used to access the GitBucket API. +
+ } + @gneratedToken.map{ case (token, tokenString) => +
+ Make sure to copy your new personal access token now. You won't be able to see it again! +
+ Delete +
+ @helper.html.copy("generated-token-copy", tokenString){ + } - @token.note - Delete +
+
+ } + @personalTokens.zipWithIndex.map { case (token, i) => + @if(i != 0){ +
} + @token.note + Delete + } +
+
+
+
+
Generate new token
+
+
+ +
+ +

What's this token for?

+
+
- -
-
Generate new token
-
-
- -
- -

What's this token for?

-
- -
-
-
-
+
} diff --git a/src/main/twirl/gitbucket/core/account/edit.scala.html b/src/main/twirl/gitbucket/core/account/edit.scala.html index a549ede..3520ca7 100644 --- a/src/main/twirl/gitbucket/core/account/edit.scala.html +++ b/src/main/twirl/gitbucket/core/account/edit.scala.html @@ -4,14 +4,11 @@ @import gitbucket.core.view.helpers._ @html.main("Edit your profile"){
-
-
- @menu("profile", settings.ssh) -
-
- @helper.html.information(info) - @if(LDAPUtil.isDummyMailAddress(account)){
Please register your mail address.
} -
+ @menu("profile", settings.ssh) +
+ @helper.html.information(info) + @if(LDAPUtil.isDummyMailAddress(account)){
Please register your mail address.
} +
Profile
diff --git a/src/main/twirl/gitbucket/core/account/main.scala.html b/src/main/twirl/gitbucket/core/account/main.scala.html index aa193d3..17f6424 100644 --- a/src/main/twirl/gitbucket/core/account/main.scala.html +++ b/src/main/twirl/gitbucket/core/account/main.scala.html @@ -4,56 +4,51 @@ @import gitbucket.core.view.helpers._ @html.main(account.userName){
-
-
-
-
- - - -
-
- @if(account.url.isDefined){ - - } -
Joined on @date(account.registeredDate)
-
- @if(groupNames.nonEmpty){ -
-
Groups
- @groupNames.map { groupName => - @avatarLink(groupName, 36, tooltip = true) - } -
- } - -
-
- - @body -
+
+
+ + +
+
+ @if(account.url.isDefined){ + + } +
Joined on @date(account.registeredDate)
+
+ @if(groupNames.nonEmpty){ +
+
Groups
+ @groupNames.map { groupName => + @avatarLink(groupName, 36, tooltip = true) + } +
+ } +
+
+ + @body
} diff --git a/src/main/twirl/gitbucket/core/account/menu.scala.html b/src/main/twirl/gitbucket/core/account/menu.scala.html index ef4fbc5..2125e3b 100644 --- a/src/main/twirl/gitbucket/core/account/menu.scala.html +++ b/src/main/twirl/gitbucket/core/account/menu.scala.html @@ -1,6 +1,6 @@ @(active: String, ssh: Boolean)(implicit context: gitbucket.core.controller.Context) @import context._ -
+