8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-09 03:16:25 +00:00
re2o/templates/base.html

91 lines
3.5 KiB
HTML
Raw Normal View History

2016-06-30 23:46:14 +00:00
{% load staticfiles %}
{# Load the tag library #}
{% load bootstrap3 %}
<!DOCTYPE html>
<html lang="fr">
<head>
{# Load CSS and JavaScript #}
{% bootstrap_css %}
<link rel="stylesheet" href="{% static "/static/css/base.css" %}">
{% bootstrap_javascript %}
<title>Re2o : {% block title %}Accueil{% endblock %}</title>
2016-06-30 23:46:14 +00:00
</head>
<body>
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">Re2o</a>
2016-06-30 23:46:14 +00:00
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li><a href="{% url "users:index" %}">Adhérents</a></li>
<li><a href="#">Machines</a></li>
2016-07-02 13:59:44 +00:00
<li><a href="{% url "cotisations:index" %}">Cotisations</a></li>
<li><a href="#">Topologie</a></li>
<li><a href="#">Statistiques</a></li>
2016-06-30 23:46:14 +00:00
</ul>
<div class="col-sm-3 col-md-3 navbar-right">
<form class="navbar-form" role="search">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search" name="srch-term" id="srch-term">
<div class="input-group-btn">
<button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button>
</div>
</div>
</form>
</div>
<ul class="nav navbar-nav navbar-right">
<li><a href="#"><span class="glyphicon glyphicon-log-in"></span> Login</a></li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid text-center">
<div class="row content">
<div class="col-sm-2 sidenav">
{% block sidebar %}
2016-06-30 23:46:14 +00:00
<p><a href="#">Link</a></p>
<p><a href="#">Link</a></p>
<p><a href="#">Link</a></p>
{% endblock %}
2016-06-30 23:46:14 +00:00
</div>
<div class="col-sm-8 text-left">
{# Display django.contrib.messages as Bootstrap alerts #}
{% bootstrap_messages %}
<hr>
{% block content %}{% endblock %}
</div>
<div class="col-sm-2 sidenav">
<div class="well">
<p>ADS</p>
</div>
<div class="well">
<p>ADS</p>
</div>
</div>
</div>
</div>
<footer class="navbar navbar-fixed-bottom">
<div class="containerfluid text-center">
2016-07-02 22:17:35 +00:00
<p>Re2o 2016 - Goulven Kermarec, Gabriel Détraz, Augustin Lemesle</p>
</div>
2016-06-30 23:46:14 +00:00
</footer>
{# Read the documentation for more information #}
</body>
</html>