site_tps/templates/base.html

61 lines
2.3 KiB
HTML
Raw Normal View History

2018-03-01 13:06:23 +00:00
{% load static %}
{% load bootstrap4 %}
2018-01-20 22:14:11 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
2018-03-01 06:59:35 +00:00
<title>Il était une fois dans l'est</title>
2018-01-20 22:14:11 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
2018-02-12 08:16:25 +00:00
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
2018-03-01 13:06:23 +00:00
<link rel="stylesheet" href="{% static "style.css" %}"/>
2018-02-12 08:16:25 +00:00
<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
2018-02-28 14:06:55 +00:00
<style>
2018-02-28 21:28:10 +00:00
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;
2018-03-01 13:06:23 +00:00
}
@font-face {
font-family: 'Valeria';
font-style: normal;
src: url("/static/ValeriaBoldGrunge.ttf");
}
h1.site-title
{
font-family: 'Valeria';
2018-02-28 21:28:10 +00:00
}
2018-02-28 14:06:55 +00:00
{% block style %}{% endblock %}
</style>
2018-01-20 22:14:11 +00:00
</head>
<body>
{% include 'nav_bar.html' %}
2018-02-28 21:28:10 +00:00
<main role="main" class="container">
2018-03-01 12:58:06 +00:00
<br/>
<br/>
{% bootstrap_messages %}
2018-01-20 22:14:11 +00:00
{% block content %}{% endblock %}
2018-02-28 21:28:10 +00:00
</main>
2018-03-01 12:58:06 +00:00
<br/>
<br/>
2018-02-28 21:28:10 +00:00
<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>
2018-01-20 22:14:11 +00:00
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
2018-02-12 08:16:25 +00:00
<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>
2018-01-20 22:14:11 +00:00
</body>
</html>