mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-18 15:08:22 +00:00
[login] redesigned the UI of 'Single Sign-On' (#5830)
This commit is contained in:
parent
0194cf8216
commit
15b3da9289
@ -269,9 +269,11 @@ input.submit,
|
|||||||
.fileinput-button,
|
.fileinput-button,
|
||||||
select {
|
select {
|
||||||
padding:5px 6px;
|
padding:5px 6px;
|
||||||
|
/*
|
||||||
background:-webkit-linear-gradient(top, #fafafb, #eeeeee);
|
background:-webkit-linear-gradient(top, #fafafb, #eeeeee);
|
||||||
background:-moz-linear-gradient(top, #fafafb, #eeeeee);
|
background:-moz-linear-gradient(top, #fafafb, #eeeeee);
|
||||||
background:linear-gradient(top, #fafafb, #eeeeee);
|
background:linear-gradient(top, #fafafb, #eeeeee);
|
||||||
|
*/
|
||||||
border: 1px solid #c5c5c5;
|
border: 1px solid #c5c5c5;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
|
@ -69,15 +69,15 @@ html, body, #wrapper { height:100%; }
|
|||||||
<a href="{{ SITE_ROOT }}accounts/password/reset/" class="normal forgot-passwd">{% trans "Forgot password?" %}</a>
|
<a href="{{ SITE_ROOT }}accounts/password/reset/" class="normal forgot-passwd">{% trans "Forgot password?" %}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<button type="submit" class="submit btn btn-primary btn-block">{% trans "Log In" %}</button>
|
<button type="submit" class="submit btn btn-primary btn-block h-auto">{% trans "Log In" %}</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% if enable_sso %}
|
{% if enable_sso %}
|
||||||
<a id="sso" href="#" class="normal">{% trans "Single Sign-On" %}</a>
|
<button id="sso" class="btn btn-secondary btn-block">{% trans "Single Sign-On" %}</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if enable_multi_adfs %}
|
{% if enable_multi_adfs %}
|
||||||
<a id="multi_adfs_sso" href="#" class="normal">{% trans "Single Sign-On" %}</a>
|
<button id="multi_adfs_sso" class="btn btn-secondary btn-block">{% trans "Single Sign-On" %}</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if enable_weixin %}
|
{% if enable_weixin %}
|
||||||
|
Loading…
Reference in New Issue
Block a user