PHRAS-3164 export add term of use design

This commit is contained in:
Harrys Ravalomanana
2020-07-07 15:46:30 +04:00
parent 6092bf9c0c
commit 47c6ad80e0
2 changed files with 18 additions and 2 deletions

View File

@@ -164,3 +164,20 @@ $mainMenuLinkBackgroundHoverColor: transparent;
} }
.acceptDl-info {
background-color: #d9edf7;
border: 1px solid #bce8f1;
border-radius: 3px;
color: #3a87ad;
display: inline-block;
padding: 9px 24px 5px 9px;
margin-bottom: 20px;
text-shadow: 0 1px 0 rgba(255,255,255,.5);
a, label {
color: #3a87ad!important;
}
a {
text-decoration: underline;
}
}

View File

@@ -152,9 +152,8 @@
</div> </div>
{% endif %} {% endif %}
{{ _self.choose_title('download', choose_export_title, default_export_title) }} {{ _self.choose_title('download', choose_export_title, default_export_title) }}
{% if app['conf'].get(['registry', 'actions', 'tou-validation-required-for-export']) == true %} {% if app['conf'].get(['registry', 'actions', 'tou-validation-required-for-export']) == true %}
<div class="well-small"> <div class="well-small acceptDl-info">
<label for="TOU_acceptDL" class="checkbox"> <label for="TOU_acceptDL" class="checkbox">
<input type="checkbox" name="TOU_accept" id="TOU_acceptDL" value="1" /> <input type="checkbox" name="TOU_accept" id="TOU_acceptDL" value="1" />
{% set beginning_link = '<a href="' ~ path('get_tou') ~ '" class="TOUview">' %} {% set beginning_link = '<a href="' ~ path('get_tou') ~ '" class="TOUview">' %}