Center-aligned login topbar (#1880)

* Center-aligned login topbar

* Center-align OpenID login
This commit is contained in:
Ethan Koenig 2017-06-06 03:05:06 -04:00 committed by Lunny Xiao
parent ca9169fbe9
commit cbdd5f787c
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{{if or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn)}} {{if or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn)}}
{{template "base/alert" .}} {{template "base/alert" .}}
{{end}} {{end}}
<h4 class="ui top attached header"> <h4 class="ui top attached header center">
{{.i18n.Tr "auth.login_userpass"}} {{.i18n.Tr "auth.login_userpass"}}
</h4> </h4>
<div class="ui attached segment"> <div class="ui attached segment">

View File

@ -3,7 +3,7 @@
{{template "user/auth/signin_navbar" .}} {{template "user/auth/signin_navbar" .}}
<div class="ui container"> <div class="ui container">
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header center">
<i class="fa fa-openid"></i> <i class="fa fa-openid"></i>
OpenID OpenID
</h4> </h4>