summaryrefslogtreecommitdiff
path: root/stashbox/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'stashbox/templates/base.html')
-rw-r--r--stashbox/templates/base.html55
1 files changed, 52 insertions, 3 deletions
diff --git a/stashbox/templates/base.html b/stashbox/templates/base.html
index 7171658..e6dc781 100644
--- a/stashbox/templates/base.html
+++ b/stashbox/templates/base.html
@@ -3,12 +3,61 @@ $def with (page)
<!DOCTYPE html>
<html lang="en">
<head>
- <title>Shareguard</title>
- <link rel="stylesheet" type="text/css" href="/static/main.css" />
+ <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>
-$:page
+ <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>