Skip to content

Commit

Permalink
[login] redesigned the UI of 'Single Sign-On' (#5830)
Browse files Browse the repository at this point in the history
  • Loading branch information
llj authored Dec 14, 2023
1 parent 0194cf8 commit 15b3da9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions media/css/seahub.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
6 changes: 3 additions & 3 deletions seahub/templates/registration/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ <h1 class="login-panel-hd">{% trans "Log In" %}</h1>
<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 %}
Expand Down

0 comments on commit 15b3da9

Please sign in to comment.