summaryrefslogtreecommitdiff
path: root/templates/layout.html
blob: 32300ffdccd319d506d42b93630d2a6812a67585 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{% load staticfiles %}
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Single Board Heater System &middot; Virtual Labs</title>
    <link rel="shortcut icon" href="{% static 'img/favicon.ico' %}">
    <link rel="stylesheet" href="{% static "css/bootstrap.min.css" %}">
    <link rel="stylesheet" href="{% static "css/bootstrap-responsive.min.css" %}">
    <script src="{% static "js/jquery-latest.min.js" %}"></script>
    <script src="{% static "js/bootstrap.min.js" %}"></script>
    {% block headerfiles %}
    {% endblock %}
    <style>
    html { margin: 0; height: 100%; }
    body { padding-top: 70px; position: relative; margin: 0; min-height: 88%; }
    </style>
</head>
<body>
    
    {% include 'nav.html' %}
    {% if messages %}
    <div class="container">
        {% for message in messages %}
        <div class="alert alert-{{ message.tags }}">{{ message|safe }}
            <a class="close" data-dismiss="alert" href="#">&times;</a></div>
        {% endfor %}
    </div>
    {% endif %}

    {% block content %}
    {% endblock %}
    <br><br><br>
    {% include 'footer.html' %}
    {% include 'modals.html' %}
    <script>
    $(".alert").alert();
    </script>
</body>
</html>