summaryrefslogtreecommitdiff
path: root/mustash/templates/base.html
diff options
context:
space:
mode:
authorAaron Williamson <aaron@copiesofcopies.org>2013-03-06 09:37:45 -0500
committerAaron Williamson <aaron@copiesofcopies.org>2013-03-06 09:37:45 -0500
commit7b0d82539e2d8a451b8ea9ee54baab0f308a4d8a (patch)
tree677e5e8f5ec032f9403175b1bc78f378bd0d2d5c /mustash/templates/base.html
parent673b5ffc0f4fe267901d2acef5212bc158b7885e (diff)
Added license notices, rebranded.
Diffstat (limited to 'mustash/templates/base.html')
-rw-r--r--mustash/templates/base.html55
1 files changed, 55 insertions, 0 deletions
diff --git a/mustash/templates/base.html b/mustash/templates/base.html
new file mode 100644
index 0000000..b73af89
--- /dev/null
+++ b/mustash/templates/base.html
@@ -0,0 +1,55 @@
+$def with (page)
+
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <title>&mu;stash</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="/">&mu;stash</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">&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>