module templates et static communs
This commit is contained in:
parent
d03d2f3371
commit
c9e613adda
109 changed files with 221 additions and 225 deletions
33
common_files/templates/common_files/base.html
Normal file
33
common_files/templates/common_files/base.html
Normal file
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
|
||||
<head>
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="{% block description %}{% endblock %}">
|
||||
<meta name="author" content="Paul TREHIOU">
|
||||
|
||||
<title>Musique fraternité - {% block titre %}{% endblock %}</title>
|
||||
|
||||
{% include "common_files/include_head.html" %}
|
||||
|
||||
{% block extra_head %}
|
||||
{% endblock %}
|
||||
|
||||
</head>
|
||||
|
||||
<body id="page-top">
|
||||
|
||||
{% include "common_files/navbar.html" %}
|
||||
|
||||
{% block contenu %}
|
||||
{% endblock %}
|
||||
|
||||
{% include "common_files/footer.html" %}
|
||||
|
||||
{% include "common_files/include_foot.html" %}
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
23
common_files/templates/common_files/contact.html
Normal file
23
common_files/templates/common_files/contact.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
<section id="contact">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 text-center">
|
||||
<h2 class="section-heading">Contact</h2>
|
||||
<hr class="primary">
|
||||
<p>{{ responsable |default:"Eric TREHIOU, Président" }}</p>
|
||||
</div>
|
||||
<div class="col-lg-4 col-lg-offset-2 text-center">
|
||||
<i class="fa fa-phone fa-3x sr-contact"></i>
|
||||
<p>07 68 40 11 38</p>
|
||||
</div>
|
||||
<div class="col-lg-4 text-center">
|
||||
<i class="fa fa-at fa-3x sr-contact"></i>
|
||||
<p><a href="mailto:{{ email | default:"contact@musique-meyenheim.fr" }}">{{ email | default:"contact@musique-meyenheim.fr" }}</a></p>
|
||||
</div>
|
||||
<div class="col-lg-8 col-lg-offset-2 text-center">
|
||||
<i class="fa fa-envelope fa-3x sr-contact"></i>
|
||||
<p>{{ adresse | default:"Société de Musique Fraternité</br>10 rue de l’Ill</br>68890 MEYENHEIM" }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
4
common_files/templates/common_files/footer.html
Normal file
4
common_files/templates/common_files/footer.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<footer class="row row-no-gutters">
|
||||
<small class="col-md-6">Créé par Paul TREHIOU et inspiré du theme <a href="https://startbootstrap.com/template-overviews/creative/">Creative</a> <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Licence Creative Commons" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/80x15.png"></a> powered by <a href="https://nixos.org/">NixOS</a> and <a href="https://djangoproject.com">Django</a></small>
|
||||
<a class="col-md-6" href="{% url 'admin:index' %}">Admin</a>
|
||||
</footer>
|
14
common_files/templates/common_files/include_foot.html
Normal file
14
common_files/templates/common_files/include_foot.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
{% load static %}
|
||||
<!-- jQuery -->
|
||||
<script src="{% static "common_files/vendor/jquery.min.js" %}"></script>
|
||||
|
||||
<!-- Bootstrap Core JavaScript -->
|
||||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
|
||||
|
||||
<!-- Plugin JavaScript -->
|
||||
<script src="{% static "common_files/vendor/jquery.easing.min.js" %}"></script>
|
||||
<script src="{% static "common_files/vendor/scrollreveal.min.js" %}"></script>
|
||||
<script src="{% static "common_files/vendor/appear.min.js" %}"></script>
|
||||
|
||||
<!-- Theme JavaScript -->
|
||||
<script src="{% static "common_files/vendor/creative.min.js" %}"></script>
|
20
common_files/templates/common_files/include_head.html
Normal file
20
common_files/templates/common_files/include_head.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
{% load static %}
|
||||
<!-- Bootstrap Core CSS -->
|
||||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
|
||||
|
||||
<!-- Custom Fonts -->
|
||||
<script src="https://use.fontawesome.com/49602068ad.js"></script>
|
||||
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
|
||||
<link href='https://fonts.googleapis.com/css?family=Merriweather:400,300,300italic,400italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'>
|
||||
|
||||
<!-- Theme CSS -->
|
||||
<link href="{% static "common_files/vendor/creative.min.css" %}" rel="stylesheet">
|
||||
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<link rel="icon" type="image/jpg" href="{% static "common_files/img/favicon.jpg" %}" />
|
46
common_files/templates/common_files/navbar.html
Normal file
46
common_files/templates/common_files/navbar.html
Normal file
|
@ -0,0 +1,46 @@
|
|||
{% load static %}
|
||||
<nav id="mainNav" class="navbar navbar-default navbar-fixed-top">
|
||||
<div class="container-fluid">
|
||||
<!-- Brand and toggle get grouped for better mobile display -->
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||
<span class="sr-only">Toggle navigation</span> Menu <i class="fa fa-bars"></i>
|
||||
</button>
|
||||
<a class="navbar-brand page-scroll" href="{% url 'accueil' %}#page-top">
|
||||
<img alt="Logo" src="{% static "common_files/img/logo.jpg" %}" style="height: 65px;">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
<ul class="nav navbar-nav navbar-right" style="
|
||||
padding-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
">
|
||||
<li>
|
||||
<a class="page-scroll" href="{% url 'harmonie' %}">Harmonie intercommunale</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="page-scroll" href="{% url 'ecole' %}">École de musique</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="page-scroll" href="{% url 'evenements' %}">Évenements</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="page-scroll" href="{% url 'direction' %}">Direction</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="page-scroll" href="{% url 'salle' %}">La salle</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="page-scroll" href="{% url 'partenaires' %}">Partenaires</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="page-scroll" href="#contact">Contact</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- /.navbar-collapse -->
|
||||
</div>
|
||||
<!-- /.container-fluid -->
|
||||
</nav>
|
Loading…
Add table
Add a link
Reference in a new issue