Add tentative first templates [WIP]
This commit is contained in:
parent
f8d6be1c25
commit
b2c5d5c3c6
3 changed files with 53 additions and 0 deletions
29
mainsite/templates/base.html
Normal file
29
mainsite/templates/base.html
Normal file
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="keywords" lang="fr" content="COF,BOcal,ENS,AEENS">
|
||||
<title>Le BOcal</title>
|
||||
|
||||
<!-- BOOTSTRAP: to update, visit
|
||||
https://getbootstrap.com/docs/4.0/getting-started/introduction/
|
||||
-->
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="/static/font-awesome/css/font-awesome.min.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{% include "header.html" %}
|
||||
|
||||
{% block content %}
|
||||
{% endblock content %}
|
||||
|
||||
<!-- BOOTSTRAP: to update, visit
|
||||
https://getbootstrap.com/docs/4.0/getting-started/introduction/
|
||||
-->
|
||||
<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.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script>
|
||||
</body>
|
||||
</html>
|
20
mainsite/templates/header.html
Normal file
20
mainsite/templates/header.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!-- Based on
|
||||
https://bootsnipp.com/snippets/featured/responsive-navigation-menu
|
||||
Thanks! :) -->
|
||||
|
||||
<div class="nav-side-menu">
|
||||
<div class="brand">Brand Logo</div>
|
||||
<i class="fa fa-bars fa-2x toggle-btn" data-toggle="collapse" data-target="#menu-content"></i>
|
||||
|
||||
<div class="menu-list">
|
||||
<ul id="menu-content" class="menu-content collapse out">
|
||||
<li><a href="#">
|
||||
<i class="fa fa-home" aria-hidden="true"></i> Accueil
|
||||
</a></li>
|
||||
|
||||
<li><a href="#">
|
||||
<i class="fa fa-pencil" aria-hidden="true"></i> Écrire un article
|
||||
</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
4
mainsite/templates/mainsite/year_view.html
Normal file
4
mainsite/templates/mainsite/year_view.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
{% endblock content %}
|
Loading…
Reference in a new issue