summaryrefslogtreecommitdiff
path: root/sbhs/templates/base.html
blob: c6294a666f5df0169cf635ce20032c1336149799 (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
41
42
43
44
{% load staticfiles %}
<!DOCTYPE html>
<html>
<head>
	<title>
		{% block title %}
		{% endblock %}
	</title>
	<link rel="stylesheet" type="text/css" href="{% static 'img/favicon.ico' %}">
	<link rel="stylesheet" type="text/css" href="{% static 'css/bootstrap.min.css' %}">	
	<link rel="stylesheet" type="text/css" 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>
	
	{% block style_block %}
	{% endblock %}
</head>
<body>
	{% include 'nav.html' %}
	{% if messages %}	
		<div class = "container">
			{% for message in messages %}
				<div class = "alert alert-{{message.tags}}">
					{{message|safe}}
					<a href="#" data-dismiss="alert" class="close">x</a>
				</div>
			{% endfor %}		
		</div>
	{% endif %}
	{% block content %}
	{% endblock %}
	<br><br><br>
	{% include 'footer.html' %}
	{% include 'modals.html' %}
</body>
</html>