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="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
7
    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
8
    <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
9
    <script type="text/javascript" src="//underscorejs.org/underscore-min.js"></script>
10
    {% block head %}{% endblock %}
11
  </head>
12
  <body>
13
    <div class="container">
14
      <div class="page">
15
        <h1>SWeeT Store</h1>
16
        <div class=metanav>
17
          <a href="{{ url_for('show_entries') }}"> Home </a> |
18
          {% if not session.logged_in %}
19
          <a href="{{ url_for('login') }}">Log In</a>
20
          {% else %}
21
          <a href="{{ url_for('user') }}"> Users </a> |
22
          <a href="{{ url_for('serveUser') }}">Add User</a> |
23
          <a href="{{ url_for('logout') }}">Log Out</a>
24
          {% endif %}
25
        </div>
26
        {% for message in get_flashed_messages() %}
27
        <div class="flash">{{ message }}</div>
28
        {% endfor %}
29
        {% block body %}{% endblock %}
30
      </div>
31
    </div>
32
    <!-- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> -->
33
    <!--script>window.jQuery || document.write('<script src="{{ url_for('static', filename='js/jquery-1.9.1.min.js')}}"><\/script>')</script-->
34
  </body>
35
</html>