ComptaClub/src/templates/base.html

101 lines
4.9 KiB
HTML

{% load static %}
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="{% static "css/normalize_v801.css" %}" media="all" />
<link rel="stylesheet" href="{% static "css/bootstrap.min.css" %}" media="all" />
<!-- JQuery UI CSS -->
<link href="{% static "js/jqueryui/jquery-ui.theme.min.css" %}" rel="stylesheet" />
<link href="{% static "js/jqueryui/jquery-ui.min.css" %}" rel="stylesheet" />
<link rel="stylesheet" href="{% static "css/app_screen.css" %}" media="all" />
<link rel="stylesheet" href="{% static "css/app_printer.css" %}" media="print" />
{% block extra_head %}{% endblock %}
<title>{% block page_title %}Comptabilité{% endblock %}</title>
</head>
<body role="document">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">{{ SITE_TITLE }}</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="/">Home</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Comptabilité <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="/comptability/annual">Annuelle</a></li>
<li><a href="/comptability/event">Evenementielle</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Facturation <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="/billing/client/">Liste clients</a></li>
<li><a href="/billing/contract/">Liste contracts</a></li>
</ul>
</li>
{% if user.username == 'Sulley' %}
<li><a href="/admin/" target="_blank">Administration</a></li>
{% endif %}
<li><a href="{% url 'logout' %}">Déconnexion</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
<script src="{% static "js/jquery-2.1.4.min.js" %}"></script>
<script src="{% static "js/bootstrap.min.js" %}"></script>
<script src="{% static "js/highcharts/highcharts.js" %}"></script>
<script src="{% static "js/highcharts/exporting.js" %}"></script>
<script src="{% static "js/highcharts/dark-unica.js" %}"></script>
<!-- <script src="{% static "js/tablesort.js" %}"></script> -->
<!-- <link href="{% static "css/theme.default.min.css" %}" rel="stylesheet"> -->
<script src="{% static "js/jquery.tablesorter.js" %}"></script>
<script src="{% static "js/jquery.tablesorter.widgets.js" %}"></script>
<script src="{% static "js/jqueryui/jquery-ui.min.js" %}"></script>
{% block extra_script %}{% endblock %}
<script type="text/javascript">
$(document).ready(function() {
Highcharts.setOptions({
lang: {
months: ['Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre'],
shortMonths: [ "Jan" , "Feb" , "Mar" , "Apr" , "May" , "Jun" , "Jul" , "Aug" , "Sep" , "Oct" , "Nov" , "Dec"],
weekdays: ['Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'],
decimalPoint: ",",
thousandsSep: ".",
downloadJPEG: "Telecharger en JPEG",
downloadPDF: "Telecharger en PDF",
downloadPNG: "Telecharger en PNG",
downloadSVG: "Telecharger en SVG",
printChart: "Imprimer",
resetZoom: "Rétablir",
resetZoomTitle: "Rétablir",
loading: "Chargement…",
noData: "Pas de données disponibles."
}
});
});
</script>
<section id="main" class="container">{% block content %}{% endblock %}</section>
<footer>
<div class="footer-content"></div>
</footer>
</body>
</html>