Add link to source repo.
[tranquillity.git] / templates / base_generic.html
CommitLineData
26235f08
MF
1<!DOCTYPE html>
2<html lang="en">
3<head>
4
5 {% block title %}<title>Tranquillity</title>{% endblock %}
6 <meta charset="utf-8">
7 <meta name="viewport" content="width=device-width, initial-scale=1">
8 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
9
10 <!-- Add additional CSS in static file -->
11 {% load static %}
12 <link rel="stylesheet" href="{% static 'css/styles.css' %}">
13</head>
14
15<body>
16
17 <div class="container-fluid">
18
19 <div class="row">
20 <div class="col-sm-2">
21 {% block sidebar %}
22 <ul class="sidebar-nav">
23 <li><a href="{% url 'index' %}">Home</a></li>
24 {% if user.is_authenticated %}
25 <li>User: {{ user.get_username }}</li>
26 <li><a href="{% url 'logout'%}?next={{request.path}}">Logout</a></li>
27 {% else %}
28 <li><a href="{% url 'login'%}?next={{request.path}}">Login</a></li>
29 {% endif %}
9d8ced93 30 <li><a href="https://git.frykholm.com/tranquillity.git">Clone the source</a></li>
26235f08
MF
31 </ul>
32 {% endblock %}
33 </div>
34 <div class="col-sm-10 ">
35 {% block content %}{% endblock %}
36 </div>
37 </div>
38
39 </div>
40</body>
41</html>