put buttons in div thingy
This commit is contained in:
parent
b559886a77
commit
0c022ac3e1
1 changed files with 180 additions and 178 deletions
|
@ -1,4 +1,5 @@
|
||||||
<div class="card layout-card" id="navbar">
|
<div class="card layout-card" id="navbar">
|
||||||
|
<div class="navigation-buttons">
|
||||||
{{if and .IsSigned .MustChangePassword}}
|
{{if and .IsSigned .MustChangePassword}}
|
||||||
{{/* No links */}}
|
{{/* No links */}}
|
||||||
{{else if .IsSigned}}
|
{{else if .IsSigned}}
|
||||||
|
@ -177,7 +178,7 @@
|
||||||
</div><!-- end signed user right menu -->
|
</div><!-- end signed user right menu -->
|
||||||
{{else}}
|
{{else}}
|
||||||
<a class="button-default" target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io">{{.i18n.Tr "help"}}</a>
|
<a class="button-default" target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io">{{.i18n.Tr "help"}}</a>
|
||||||
<div class="right stackable menu">
|
<div>
|
||||||
{{if .ShowRegistrationButton}}
|
{{if .ShowRegistrationButton}}
|
||||||
<a class="button-default{{if .PageIsSignUp}} active{{end}}" href="{{AppSubUrl}}/user/sign_up">
|
<a class="button-default{{if .PageIsSignUp}} active{{end}}" href="{{AppSubUrl}}/user/sign_up">
|
||||||
{{svg "octicon-person"}} {{.i18n.Tr "register"}}
|
{{svg "octicon-person"}} {{.i18n.Tr "register"}}
|
||||||
|
@ -189,3 +190,4 @@
|
||||||
</div><!-- end anonymous right menu -->
|
</div><!-- end anonymous right menu -->
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
Reference in a new issue