diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base/head.tmpl | 4 | ||||
-rw-r--r-- | templates/base/head_navbar.tmpl | 8 | ||||
-rw-r--r-- | templates/status/500.tmpl | 2 |
3 files changed, 6 insertions, 8 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index a233865a3d..4858d0b7de 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -73,9 +73,7 @@ {{template "custom/body_inner_pre" .}} {{if not .PageIsInstall}} - <div class="ui top secondary stackable main menu following bar light"> - {{template "base/head_navbar" .}} - </div><!-- end bar --> + {{template "base/head_navbar" .}} {{end}} {{if false}} diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl index a61c623964..e435fd67ca 100644 --- a/templates/base/head_navbar.tmpl +++ b/templates/base/head_navbar.tmpl @@ -1,4 +1,4 @@ -<nav class="ui container" id="navbar" aria-label="{{.locale.Tr "aria.navbar"}}"> +<nav class="ui container secondary stackable main menu" id="navbar" aria-label="{{.locale.Tr "aria.navbar"}}"> {{$notificationUnreadCount := 0}} {{if .IsSigned}} {{if .NotificationUnreadCount}}{{$notificationUnreadCount = call .NotificationUnreadCount}}{{end}} @@ -78,7 +78,7 @@ </div><!-- end dropdown avatar menu --> </div> {{else if .IsSigned}} - <div class="right stackable menu"> + <div class="right stackable menu gt-mr-4"> {{if EnableTimetracking}} <a class="active-stopwatch-trigger item ui gt-mx-0{{if not .ActiveStopwatch}} gt-hidden{{end}}" href="{{.ActiveStopwatch.IssueLink}}"> <span class="fitted gt-relative"> @@ -125,7 +125,7 @@ </span> </a> - <div class="ui dropdown jump item gt-mx-0" data-tooltip-content="{{.locale.Tr "create_new"}}"> + <div class="ui dropdown jump item gt-mx-0 gt-pr-3" data-tooltip-content="{{.locale.Tr "create_new"}}"> <span class="text"> <span class="fitted">{{svg "octicon-plus"}}</span> <span class="sr-mobile-only">{{.locale.Tr "create_new"}}</span> @@ -148,7 +148,7 @@ </div><!-- end content create new menu --> </div><!-- end dropdown menu create new --> - <div class="ui dropdown jump item gt-mx-0" data-tooltip-content="{{.locale.Tr "user_profile_and_more"}}"> + <div class="ui dropdown jump item gt-mx-0 gt-pr-3" data-tooltip-content="{{.locale.Tr "user_profile_and_more"}}"> <span class="text"> {{avatar $.Context .SignedUser 24 "tiny"}} <span class="sr-only">{{.locale.Tr "user_profile_and_more"}}</span> diff --git a/templates/status/500.tmpl b/templates/status/500.tmpl index 42d422687e..dbe6ab7c89 100644 --- a/templates/status/500.tmpl +++ b/templates/status/500.tmpl @@ -15,7 +15,7 @@ </head> <body> <div class="full height"> - <nav class="ui secondary menu following bar light"> + <nav class="ui container secondary stackable main menu" id="navbar"> <div class="ui container gt-df"> <div class="item brand gt-f1"> <a href="{{AppSubUrl}}/" aria-label="{{.locale.Tr "home"}}"> |