2015-03-26 00:17:43 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head lang="en">
|
2015-03-27 01:07:43 +01:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<title>FoodBot</title>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
|
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/main.css') }}">
|
|
|
|
|
2015-03-26 00:17:43 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
2015-03-27 01:07:43 +01:00
|
|
|
<nav class="navbar navbar-default navbar-fixed-top">
|
2015-03-26 00:17:43 +01:00
|
|
|
<div class="container">
|
2015-03-27 01:07:43 +01:00
|
|
|
<div class="navbar-header">
|
|
|
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
|
|
|
|
<span class="sr-only">Toggle navigation</span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
</button>
|
|
|
|
<a class="navbar-brand" href="{{ url_for('home') }}">FOODBOT</a>
|
|
|
|
</div>
|
|
|
|
<div id="navbar" class="navbar-collapse collapse">
|
|
|
|
<ul class="nav navbar-nav">
|
|
|
|
<li><a href="{{ url_for('home') }}">Home</a></li>
|
|
|
|
<li><a href="{{ url_for('about') }}">About</a></li>
|
|
|
|
<li><a href="{{ url_for('stats') }}">Stats</a></li>
|
|
|
|
</ul>
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
2015-03-26 23:31:13 +01:00
|
|
|
{% if current_user.is_anonymous() %}
|
|
|
|
<li><a href="{{ url_for('login') }}">Login</a></li>
|
|
|
|
{% else %}
|
2015-03-27 01:07:43 +01:00
|
|
|
<li><a href="#">{{ current_user.username }}</a></li>
|
2015-03-26 23:31:13 +01:00
|
|
|
<li><a href="{{ url_for('logout') }}">Logout</a></li>
|
|
|
|
{% endif %}
|
2015-03-26 00:17:43 +01:00
|
|
|
</ul>
|
2015-03-27 01:07:43 +01:00
|
|
|
</div><!--/.nav-collapse -->
|
2015-03-26 00:17:43 +01:00
|
|
|
</div>
|
2015-03-27 01:07:43 +01:00
|
|
|
</nav>
|
2015-03-26 00:17:43 +01:00
|
|
|
<div class="container">
|
|
|
|
{% block content %}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
2015-03-27 01:07:43 +01:00
|
|
|
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
|
|
|
|
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
|
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
|
2015-03-26 00:17:43 +01:00
|
|
|
</body>
|
|
|
|
</html>
|