summaryrefslogtreecommitdiff
path: root/stashbox/templates/base.html
blob: e6dc781b3f4d3a2fe79378001cf9d772a481c37a (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
63
$def with (page)

<!DOCTYPE html>
<html lang="en">
<head>
    <title>Mustache</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="/static/css/bootstrap.min.css" rel="stylesheet" media="screen">
    <link href="/static/css/bootstrap-responsive.css" rel="stylesheet">
    <link href="/static/css/stashbox.css" rel="stylesheet">
</head>
<body>

    <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="brand" href="/">Mustache</a>
          <div class="nav-collapse collapse">
            <ul class="nav nav-tabs">
              <li class="dropdown">
		<a href="#" class="dropdown-toggle" data-toggle="dropdown">
		  Admin
		  <b class="caret"></b>
		</a>
		<ul class="dropdown-menu">
		  <li><a href="/admin/users/">Users</a></li>
		</ul>
	      </li>
            </ul>
          </div><!--/.nav-collapse -->
        </div>
      </div>
    </div>

    <div class="container-fluid">

      $if context['messages']:
        <div id="messageBox" class="row-fluid">
   	  <div class="span9">
            $for message in context['messages']:
              <div class="alert">
		<button type="button" class="close" data-dismiss="alert">&times;</button>
		$message
	      </div>
	  </div>
	  $ context['messages'] = []
        </div>

      <div class="row-fluid">
	$:page
      </div>

    </div> <!-- /container -->

 <script src="http://code.jquery.com/jquery.js"></script>
 <script src="/static/js/bootstrap.min.js"></script>
</body>
</html>