change items to buttons and try to make the logged in user options appear in the right place
This commit is contained in:
parent
8069c71c55
commit
ff3ba81b2e
1 changed files with 3 additions and 3 deletions
|
@ -142,7 +142,7 @@
|
|||
<span class="mobile-only">{{.SignedUser.Name}}</span>
|
||||
<span class="fitted not-mobile" tabindex="-1">{{svg "octicon-triangle-down"}}</span>
|
||||
</span>
|
||||
<div class="menu user-menu" tabindex="-1">
|
||||
<div class="menu user-menu" tabindex="-1" style="display: inline-block;">
|
||||
<div class="ui header">
|
||||
{{.i18n.Tr "signed_in_as"}} <strong>{{.SignedUser.Name}}</strong>
|
||||
</div>
|
||||
|
@ -158,14 +158,14 @@
|
|||
{{.i18n.Tr "your_starred"}}
|
||||
</a>
|
||||
{{end}}
|
||||
<a class="{{if .PageIsUserSettings}}active{{end}} item" href="{{AppSubUrl}}/user/settings">
|
||||
<a class="{{if .PageIsUserSettings}}active{{end}} button-default" href="{{AppSubUrl}}/user/settings">
|
||||
{{svg "octicon-tools"}}
|
||||
{{.i18n.Tr "your_settings"}}<!-- Your settings -->
|
||||
</a>
|
||||
{{if .IsAdmin}}
|
||||
<div class="divider"></div>
|
||||
|
||||
<a class="{{if .PageIsAdmin}}active{{end}} item" href="{{AppSubUrl}}/admin">
|
||||
<a class="{{if .PageIsAdmin}}active{{end}} button-default" href="{{AppSubUrl}}/admin">
|
||||
{{svg "octicon-server"}}
|
||||
{{.i18n.Tr "admin_panel"}}<!-- Admin Panel -->
|
||||
</a>
|
||||
|
|
Reference in a new issue