put buttons in div thingy

This commit is contained in:
hippoz 2021-05-05 23:51:38 +03:00
parent b559886a77
commit 0c022ac3e1
No known key found for this signature in database
GPG key ID: 7C52899193467641

View file

@ -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>