3
0
Fork 0
mirror of https://github.com/nanoy42/coope synced 2024-12-25 00:13:46 +00:00
coope/templates/base.html

73 lines
2.8 KiB
HTML
Raw Normal View History

{% load static %}
2018-10-05 22:03:02 +00:00
{% load vip %}
<!DOCTYPE html>
<html>
<head>
2019-06-09 23:01:52 +00:00
<title>{% block title %}Coopé Technopôle Metz{% endblock %}</title>
<link rel="shortcut icon" href="{% static 'favicon16.ico' %}" type="image/x-icon">
<link rel="icon" sizes="16x16" href="{% static 'favicon16.ico' %}" type="image/x-icon">
<link rel="icon" sizes="32x32" href="{% static 'favicon32.ico' %}" type="image/x-icon">
<link rel="icon" sizes="96x96" href="{% static 'favicon96.ico' %}" type="image/x-icon">
2019-01-20 08:28:11 +00:00
<link rel="stylesheet" href="{% static 'css/main.css' %}" />
2019-09-22 13:32:40 +00:00
<link rel="stylesheet" href="{% static 'dropdown.css' %}" />
2019-01-20 08:28:11 +00:00
{% block extra_css %}{% endblock %}
{% block extra_script %}{% endblock %}
2019-01-06 04:18:31 +00:00
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<div id="wrapper">
2019-09-23 10:44:32 +00:00
<form method="get" action="/search/search">
<input id="search_input" placeholder="Rechercher" name="q" value="{{q}}" style="float:left; color:black;"> <button class="button small" action="submit" style="float:left;background-color:white;color:black;margin-left:10px;min-width:0;"><i class="fa fa-search" style="color:black"></i></button>
</form>
<header id="header" class="alt">
<span class="logo"><img src="{%static 'Images/coope.png' %}" alt="" /></span>
<h1>{% block entete %}{% endblock %}</h1>
2018-10-05 22:03:02 +00:00
<h3>{% global_message %}</h3>
<nav>
{% include 'nav.html' %}
</nav>
</header>
<nav id="nav">
{% block navbar %}{% endblock %}
</nav>
<div id="main">
{% if messages %}
<section class="main">
<ul class="messages">
{% for message in messages %}
<li {% if message.tags %} class="{{message.tags}}"{% endif %}>{{message}}</li>
{% endfor %}
</ul>
</section>
{% endif %}
{% block content %}{% endblock %}
</div>
<footer id="footer">
{% include 'footer.html'%}
</footer>
</div>
2019-01-20 11:14:53 +00:00
{% if request.user.is_authenticated %}
<script>
time = {% logout_time %};
function logout(){
window.location.replace("{% url 'users:logout' %}");
}
if(time != 0){
setTimeout(logout, 60000 * time);
}
</script>
{% endif %}
2019-09-22 13:32:40 +00:00
<script src="{% static 'dropdown.js' %}"></script>
2019-09-23 16:43:29 +00:00
<!--<script src="{% static 'js/jquery.min.js' %}"></script>-->
2019-09-23 10:44:32 +00:00
<script src="{% static 'js/jquery.scrollex.min.js' %}"></script>
<script src="{% static 'js/jquery.scrolly.min.js' %}"></script>
<script src="{% static 'js/browser.min.js' %}"></script>
<script src="{% static 'js/breakpoints.min.js' %}"></script>
<script src="{% static 'js/util.js' %}"></script>
<script src="{% static 'js/main.js' %}"></script>
</body>
</html>