Commit 391777de388dfe62ccd02ed73af485dc44632eee

Authored by Zambom
1 parent ad181790

Adding footer note to login page

amadeus/static/css/base/amadeus.css
@@ -3,7 +3,6 @@ ul, li { @@ -3,7 +3,6 @@ ul, li {
3 text-decoration: none; 3 text-decoration: none;
4 } 4 }
5 5
6 -  
7 .pagination > li > a, .pagination > li > span { 6 .pagination > li > a, .pagination > li > span {
8 padding: 0px 8px; 7 padding: 0px 8px;
9 } 8 }
@@ -586,4 +585,17 @@ ul, li { @@ -586,4 +585,17 @@ ul, li {
586 .theme_img { 585 .theme_img {
587 width: 100%; 586 width: 100%;
588 } 587 }
589 -/* End Themes */  
590 \ No newline at end of file 588 \ No newline at end of file
  589 +/* End Themes */
  590 +
  591 +.footer {
  592 + position: relative;
  593 + bottom: 0px;
  594 + padding: 30px 30px;
  595 + width: 100%;
  596 + margin-top: 15px;
  597 + font-family: Roboto;
  598 + font-size: 16px;
  599 +}
  600 +.footer p {
  601 + margin: 0px;
  602 +}
591 \ No newline at end of file 603 \ No newline at end of file
amadeus/static/css/themes/green.css
@@ -267,4 +267,9 @@ a, a:focus, a:hover { @@ -267,4 +267,9 @@ a, a:focus, a:hover {
267 .filedrag { 267 .filedrag {
268 color: #555; 268 color: #555;
269 border: 2px dashed #555; 269 border: 2px dashed #555;
  270 +}
  271 +
  272 +.footer {
  273 + color: #FFFFFF;
  274 + background: #26A69A;
270 } 275 }
271 \ No newline at end of file 276 \ No newline at end of file
amadeus/templates/base.html
@@ -187,6 +187,9 @@ @@ -187,6 +187,9 @@
187 </div> 187 </div>
188 </div> 188 </div>
189 189
  190 + {% block footer %}
  191 + {% endblock %}
  192 +
190 {% block bottommenu %} 193 {% block bottommenu %}
191 <div class="clearfix visible-xs visible-sm"></div> 194 <div class="clearfix visible-xs visible-sm"></div>
192 <div class="bottom-menu visible-xs visible-sm"> 195 <div class="bottom-menu visible-xs visible-sm">
users/templates/users/login.html
@@ -91,5 +91,19 @@ @@ -91,5 +91,19 @@
91 </div> 91 </div>
92 {% endblock%} 92 {% endblock%}
93 93
  94 +{% block footer %}
  95 + {% if theme.footer_note != '' and theme.footer_note != '<p><br></p>' %}
  96 + <div class="footer">
  97 + <div class="row">
  98 + <div class="col-md-12 text-center">
  99 + {% autoescape off %}
  100 + {{ theme.footer_note }}
  101 + {% endautoescape %}
  102 + </div>
  103 + </div>
  104 + </div>
  105 + {% endif %}
  106 +{% endblock %}
  107 +
94 {% block bottommenu %} 108 {% block bottommenu %}
95 {% endblock %} 109 {% endblock %}
96 \ No newline at end of file 110 \ No newline at end of file