blob: 8ee5a62765720fcbfed6305962d18b1e9d616ed4 (
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
|
$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><a href="/admin/users/">Users Admin</a></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">×</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>
|