put buttons in div thingy

This commit is contained in:
hippoz 2021-05-05 23:51:38 +03:00
parent b559886a77
commit 0c022ac3e1
Signed by: hippoz
GPG key ID: 7C52899193467641

View file

@ -1,4 +1,5 @@
<div class="card layout-card" id="navbar">
<div class="navigation-buttons">
{{if and .IsSigned .MustChangePassword}}
{{/* No links */}}
{{else if .IsSigned}}
@ -177,7 +178,7 @@
</div><!-- end signed user right menu -->
{{else}}
<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}}
<a class="button-default{{if .PageIsSignUp}} active{{end}}" href="{{AppSubUrl}}/user/sign_up">
{{svg "octicon-person"}} {{.i18n.Tr "register"}}
@ -189,3 +190,4 @@
</div><!-- end anonymous right menu -->
{{end}}
</div>
</div>