footer
This commit is contained in:
parent
09b06e1b9d
commit
1340e85f31
2 changed files with 23 additions and 4 deletions
|
@ -7,12 +7,27 @@
|
|||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
||||
<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
|
||||
<style>
|
||||
html {
|
||||
position: relative;
|
||||
min-height: 100%;
|
||||
}
|
||||
body {
|
||||
margin-bottom: 60px; /* Margin bottom by footer height */
|
||||
}
|
||||
.footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 60px; /* Set the fixed height of the footer here */
|
||||
line-height: 60px; /* Vertically center the text there */
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
{% block style %}{% endblock %}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
{% include 'nav_bar.html' %}
|
||||
<div class="container">
|
||||
<main role="main" class="container">
|
||||
{% for message in messages %}
|
||||
<div class="alert alert-{{message.tags}} alert-dismissible fade show" role="alert">
|
||||
{{message}}
|
||||
|
@ -22,7 +37,13 @@
|
|||
</div>
|
||||
{% endfor %}
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
</main>
|
||||
<footer class="footer">
|
||||
<div class="container">
|
||||
<span class="text-muted">Offert avec des <i class="fa fa-heart"></i> par Klafyvel et Yoann</span>
|
||||
Site en construction, bugs et suggestions par <a href="https://etherpad.rezometz.org/p/site_tps">ici</a>.
|
||||
</div>
|
||||
</footer>
|
||||
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
{% extends 'base.html'%}
|
||||
{% block content %}
|
||||
<div class="container"
|
||||
<p> {{message|safe}} </p>
|
||||
{% if not upload_allowed %}
|
||||
<p>Les envois de contenu ne sont <em>pas autorisés</em> actuellement.</p>
|
||||
{% endif %}
|
||||
</dif>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue