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:
@@ -2195,6 +2195,19 @@ a.sf-popover-item {
|
||||
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*/
|
||||
#quota-bar {
|
||||
display: block;
|
||||
|
@@ -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>
|
||||
{% endif %}
|
||||
</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>
|
||||
{% include "snippets/policy_service_link.html" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_script %}
|
||||
|
Reference in New Issue
Block a user