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="mobile-only">{{.SignedUser.Name}}</span>
|
||||||
<span class="fitted not-mobile" tabindex="-1">{{svg "octicon-triangle-down"}}</span>
|
<span class="fitted not-mobile" tabindex="-1">{{svg "octicon-triangle-down"}}</span>
|
||||||
</span>
|
</span>
|
||||||
<div class="menu user-menu" tabindex="-1">
|
<div class="menu user-menu" tabindex="-1" style="display: inline-block;">
|
||||||
<div class="ui header">
|
<div class="ui header">
|
||||||
{{.i18n.Tr "signed_in_as"}} <strong>{{.SignedUser.Name}}</strong>
|
{{.i18n.Tr "signed_in_as"}} <strong>{{.SignedUser.Name}}</strong>
|
||||||
</div>
|
</div>
|
||||||
|
@ -158,14 +158,14 @@
|
||||||
{{.i18n.Tr "your_starred"}}
|
{{.i18n.Tr "your_starred"}}
|
||||||
</a>
|
</a>
|
||||||
{{end}}
|
{{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"}}
|
{{svg "octicon-tools"}}
|
||||||
{{.i18n.Tr "your_settings"}}<!-- Your settings -->
|
{{.i18n.Tr "your_settings"}}<!-- Your settings -->
|
||||||
</a>
|
</a>
|
||||||
{{if .IsAdmin}}
|
{{if .IsAdmin}}
|
||||||
<div class="divider"></div>
|
<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"}}
|
{{svg "octicon-server"}}
|
||||||
{{.i18n.Tr "admin_panel"}}<!-- Admin Panel -->
|
{{.i18n.Tr "admin_panel"}}<!-- Admin Panel -->
|
||||||
</a>
|
</a>
|
||||||
|
|
Reference in a new issue