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
          <a href="{{ url_for('show_entries') }}"> Home </a> |
15
          {% if not session.logged_in %}
16
          <a href="{{ url_for('login') }}">Log In</a>
17
          {% else %}
18
          <a href="{{ url_for('user') }}"> Users </a> |
19
          <a href="{{ url_for('serveUser') }}">Add User</a> |
20
          <a href="{{ url_for('logout') }}">Log Out</a>
21
          {% endif %}
22
        </div>
23
        {% for message in get_flashed_messages() %}
24
        <div class="flash">{{ message }}</div>
25
        {% endfor %}
26
        {% block body %}{% endblock %}
27
      </div>
28
    </div>
29
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
30
    <!--script>window.jQuery || document.write('<script src="{{ url_for('static', filename='js/jquery-1.9.1.min.js')}}"><\/script>')</script-->
31
  </body>
32
</html>