summaryrefslogtreecommitdiffstats
path: root/templates/layout.html
blob: 7325543fa3bcd879a1550ba313da919050964c91 (plain)
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
<!DOCTYPE html>
<html>
  <head>
    <title>Padlite Teams</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- Bootstrap -->
    <link href="{{ url_for('static', filename='css/bootstrap.min.css') }}" rel="stylesheet" media="screen">
    <link href="{{ url_for('static', filename='css/bootstrap-theme.min.css') }}" rel="stylesheet" media="screen">

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="{{ url_for('static', filename='js/html5shiv.js') }}"></script>
      <script src="{{ url_for('static', filename='js/respond.min.js') }}"></script>
    <![endif]-->
  </head>
  <body>
    <div class="container">
      <div class="page-header">
        <h1>{% block head %}{% endblock %}</h1>
      </div>

      <ol class="breadcrumb">
        <li{% if not group %} class="active"{% endif %}>
          {% if group %}<a href="{{ url_for('index') }}">{% endif %}
            Home
          {% if group %}</a>{% endif %}
        </li>
        {% if group %}
          <li class="active">{{group}}</li>
        {% endif %}
      </ol>

  
      {% for categorie, message in get_flashed_messages(with_categories=true) %}
        {% if categorie == 'message' %}
          <div class="alert alert-danger">{{ message }}</div>
        {% else %}
          <div class="alert alert-{{categorie}}">{{ message }}</div>
        {% endif %}
      {% endfor %}
    
      {% block content %}{% endblock %}
    
      <script src="{{ url_for('static', filename='js/jquery.js') }}"></script>
      <script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
    </div>
  </body>
</html>