Browse Source

feat: fix signin

tags/v1.21.12.1
colorfulberry 5 years ago
parent
commit
5fd27ab560
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      custom/templates/user/auth/signin_inner.tmpl

+ 5
- 4
custom/templates/user/auth/signin_inner.tmpl View File

@@ -1,12 +1,13 @@
<style> <style>
.full.height{background-color: #F9F9F9;} .full.height{background-color: #F9F9F9;}
.ui.left:not(.action){ float:none;}
.ui.left{ float:none;} .ui.left{ float:none;}
.ui.secondary.pointing.menu{ border-bottom:none;} .ui.secondary.pointing.menu{ border-bottom:none;}
</style> </style>
{{if or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn)}} {{if or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn)}}
{{template "base/alert" .}} {{template "base/alert" .}}
{{end}} {{end}}
<div class="ui centered grid"> <div class="ui centered grid">
<div class="sixteen wide mobile ten wide tablet ten wide computer column"> <div class="sixteen wide mobile ten wide tablet ten wide computer column">
<div class="ui bottom aligned two column grid"> <div class="ui bottom aligned two column grid">
@@ -25,7 +26,7 @@
</div> </div>
{{end}} {{end}}
</div> </div>
<div class="ui grid"> <div class="ui grid">
<div class="column"> <div class="column">
<form class="ui form" action="{{.SignInLink}}" method="post"> <form class="ui form" action="{{.SignInLink}}" method="post">
@@ -57,7 +58,7 @@
</div> </div>
</div> </div>
{{end}} {{end}}
<div class="ui hidden divider"></div> <div class="ui hidden divider"></div>


<div class="center aligned field"> <div class="center aligned field">
@@ -69,7 +70,7 @@
{{end}} {{end}}
</button> </button>
</div> </div>
{{if and .OrderedOAuth2Names .OAuth2Providers}} {{if and .OrderedOAuth2Names .OAuth2Providers}}
<div class="ui centered grid"> <div class="ui centered grid">
<div class="sixteen wide mobile ten wide tablet ten wide computer column"> <div class="sixteen wide mobile ten wide tablet ten wide computer column">


Loading…
Cancel
Save