base.html 2.46 KB
Newer Older
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Joe Kunnath - {{title}}</title>

	<!-- get the screen size -->
  <meta name="viewport" content="width=device-width, initial-scale=1">
	<!-- Latest compiled and minified CSS -->
	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">

	<!-- Optional theme -->
	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">

	<!-- Latest compiled and minified JavaScript -->
	<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>

	<link rel="stylesheet" type="text/css" href="stylesheets/style.css">


</head>
<body>
	<header>
		<h1>Joe Kunnath</h1>
		<div class="titler">
			<h1>{{title}}</h1>
		</div>

		<nav class="navbar">
			<div class="container-fluid">
				<div class="navbar-header">
<!--					<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbarr">
						<span class="icon-bar"></span>
				        <span class="icon-bar"></span>
				        <span class="icon-bar"></span>
					</button>
		 			<a class="navbar-brand" href="#">Wtf is this shit</a>
-->
				</div>
				<div >
					<ul class="nav nav-justified nav-pills">
						{% set var = page -%}
						{% if var == '/home' or var == '/' %}
							<li class="active"><a href="home">HOME</a></li>
						{% else %}
							<li><a href="home">Home</a></li>
						{% endif %}
						{% if var == '/twos' %}
							<li class="active"><a href="twos">TWOS</a></li>
						{% else %}
							<li><a href="twos">Two</a></li>
						{% endif %}
						{% if var == '/soccer' %}
							<li class="active"><a href="soccer">SOCCER</a></li>
						{% else %}
							<li><a href="soccer">Soccer</a></li>
						{% endif %}
						{% if var == '/login' or var == '/login_good' %}
							<li class="active"><a href="login">LOGIN</a></li>
						{% else %}
							<li><a href="login">Login</a></li>
						{% endif %}
					</ul>

				</div>
			</div>
		</nav>

	</header>
	{% block content %}
		To be replaced
	{% endblock %}
	<footer>
	<div class="foot">
		<h5>Copyright &copy; Joe Kunnath</h5>
	</div>
	</footer>
	
</body>
</html>