1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-10-21 10:51:17 +00:00

update privacy-policy UI on login page

This commit is contained in:
lian
2025-03-21 10:53:18 +08:00
parent 592354b3cf
commit 0aa2d11f36
2 changed files with 25 additions and 1 deletions

View File

@@ -2195,6 +2195,19 @@ a.sf-popover-item {
margin-bottom: 5px; margin-bottom: 5px;
} }
.login-panel-bottom-divider {
border: 0;
height: 1px;
background-color: #DBDBDB;
margin-top: 20px;
margin-bottom: 15px;
}
.login-panel-bottom-privacy-policy a {
color: #EC8000;
font-size: 12px;
}
/*myhome*/ /*myhome*/
#quota-bar { #quota-bar {
display: block; display: block;

View File

@@ -118,9 +118,20 @@ html, body, #wrapper { height:100%; }
<a href="{{ signup_url }}" class="normal px-2 bottom-item" id="sign-up">{% trans "Signup" %}</a> <a href="{{ signup_url }}" class="normal px-2 bottom-item" id="sign-up">{% trans "Signup" %}</a>
{% endif %} {% endif %}
</div> </div>
{% if privacy_policy_link or terms_of_service_link %}
<hr class="login-panel-bottom-divider">
<div class="login-panel-bottom-privacy-policy d-flex justify-content-center">
{% if privacy_policy_link %}
<a href="{{ privacy_policy_link }}" class="normal px-2 bottom-item privacy-policy">{% trans "Privacy Policy" %}</a>
{% endif %}
{% if terms_of_service_link %}
<a href="{{ terms_of_service_link }}" class="normal px-2 bottom-item privacy-policy">{% trans "Terms of Service" %}</a>
{% endif %}
</div>
{% endif %}
</div> </div>
</div> </div>
{% include "snippets/policy_service_link.html" %}
{% endblock %} {% endblock %}
{% block extra_script %} {% block extra_script %}