Commit e90be54ba312e96c228392c77040db4861a54ab2

Authored by hitier
1 parent 9db7c0e4

Copyright footer is now included

Showing 2 changed files with 7 additions and 23 deletions   Show diff stats
app/static/css/style.css
1   -/*html {*/
2   -/* position: relative;*/
3   -/* min-height: 100%;*/
4   -/*}*/
5   -
6   -/*body {*/
7   -/* margin-bottom: 60px; !* Margin bottom by footer height *!*/
8   -/*}*/
  1 +html {
  2 + position: relative;
  3 + min-height: 100%;
  4 +}
9 5  
10 6 .footer {
11 7 position: absolute;
12 8 bottom: 0;
13 9 width: 100%;
14   - height: 40px; /* Set the fixed height of the footer here */
15   - line-height: 60px; /* Vertically center the text there */
16   - /*background-color: #f5f5f5;*/
  10 + height: 40px;
17 11 margin-bottom: 20px;
18 12 }
19 13  
20   -
21   -/*.container {*/
22   -/* width: auto;*/
23   -/* max-width: 680px;*/
24   -/* padding: 0 15px;*/
25   -/*}*/
26   -
27 14 .sidebar {
28 15 position: fixed;
29 16 top: 0;
... ... @@ -33,6 +20,7 @@
33 20 padding: 0;
34 21 box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
35 22 }
  23 +
36 24 .sidebar .nav-link {
37 25 font-weight: 500;
38 26 color: #333;
... ...
app/templates/base_page.html
... ... @@ -107,11 +107,7 @@
107 107 </ul>
108 108 </div>
109 109 <footer class="footer">
110   - <div class="container">
111   - <p class="text-muted">
112   - © 2021 IRAP - Plan de Charge - <span>{{ config.VERSION }}</span>
113   - </p>
114   - </div>
  110 + {% include 'copy.html' %}
115 111 </footer>
116 112 </nav>
117 113  
... ...