1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-04-28 03:10:45 +00:00

[login] redesigned the UI of 'Single Sign-On' (#5830)

This commit is contained in:
llj 2023-12-14 15:35:20 +08:00 committed by GitHub
parent 0194cf8216
commit 15b3da9289
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -269,9 +269,11 @@ input.submit,
.fileinput-button,
select {
padding:5px 6px;
/*
background:-webkit-linear-gradient(top, #fafafb, #eeeeee);
background:-moz-linear-gradient(top, #fafafb, #eeeeee);
background:linear-gradient(top, #fafafb, #eeeeee);
*/
border: 1px solid #c5c5c5;
border-radius: 2px;
}

View File

@ -69,15 +69,15 @@ html, body, #wrapper { height:100%; }
<a href="{{ SITE_ROOT }}accounts/password/reset/" class="normal forgot-passwd">{% trans "Forgot password?" %}</a>
{% 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>
{% 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 %}
{% 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 %}
{% if enable_weixin %}