summaryrefslogtreecommitdiffstats
path: root/templates/master-admin.html
blob: e57c031cc97daa53c51a4ca8eed9bffbeb98c47e (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<!--[if IE 8]><html class="ie8"><![endif]-->
<!--[if gt IE 8]><!--><html><!--<![endif]-->
  <head>
    <title>{{ title }}</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="{{ basepath }}/ui/css/admin.css" rel="stylesheet" media="screen, print">
    <script src="{{ basepath }}/ui/js/jquery.js"></script>
    <script src="{{ basepath }}/ui/js/bootstrap.js"></script>
    <script src="{{ basepath }}/ui/js/patternfly.js"></script>
  </head>
  <body>
    <nav class="navbar navbar-default navbar-pf" role="navigation">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-1">
          <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="/">
          <img src="{{ basepath }}/ui/img/brand.png" alt="Ipsilon" />
        </a>
      </div>
      <div class="collapse navbar-collapse navbar-collapse-1">
        <ul class="nav navbar-nav navbar-utility">
          <!-- <li>
            <a href="#">Status</a>
          </li> -->
          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <span class="pficon pficon-user"></span>
              {{ user.fullname }} <b class="caret"></b>
            </a>
            <ul class="dropdown-menu">
              <li>
                <a href="{{ basepath }}/logout" id="logout">Log Out</a>
              </li>
            </ul>
          </li>
        </ul>
        <ul class="nav navbar-nav navbar-primary">
          <li>
            <a href="{{ basepath }}/admin">Login plugins</a>
          </li>
          <li>
            <a href="{{ basepath }}/admin">Providers</a>
          </li>
          <li>
            <a href="{{ basepath }}/admin">Sites</a>
          </li>
        </ul>
      </div>
    </nav>

    <div class="container">
      {% block main %}
      {% endblock %}
    </div>
  </body>
</html>