1
<!doctype html>
2
<html>
3
  <head>
4
    <title>SWeeT Store</title>
5
    <link rel=stylesheet type=text/css href="{{ url_for('static', filename='css/style.css') }}">
6
    <link rel=stylesheet type=text/css href="{{ url_for('static', filename='css/bootstrap.min.css') }}">
7
    {% block head %}{% endblock %}
8
  </head>
9
  <body>
10
    <div class="container">
11
      <div class="page">
12
        <h1>SWeeT Store</h1>
13
        <div class=metanav>
14
          {% if not session.logged_in %}
15
          <a href="{{ url_for('login') }}">Log In</a>
16
          {% else %}
17
          <a href="{{ url_for('serveUser') }}">Add User</a> |
18
          <a href="{{ url_for('logout') }}">Log Out</a>
19
          {% endif %}
20
        </div>
21
        {% for message in get_flashed_messages() %}
22
        <div class="flash">{{ message }}</div>
23
        {% endfor %}
24
        {% block body %}{% endblock %}
25
      </div>
26
    </div>
27
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
28
    <!--script>window.jQuery || document.write('<script src="{{ url_for('static', filename='js/jquery-1.9.1.min.js')}}"><\/script>')</script-->
29
  </body>
30
</html>