summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/page.tmpl13
1 files changed, 12 insertions, 1 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index b9308be3..4e120c2c 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -44,6 +44,9 @@
</TMPL_LOOP>
</TMPL_UNLESS>
+ <script type="text/javascript" src="<TMPL_VAR BASEURL>js/jquery.min.js"></script>
+ <script type="text/javascript" src="<TMPL_VAR BASEURL>js/bootstrap.min.js"></script>
+
</head>
<body>
@@ -77,7 +80,15 @@
<TMPL_IF HAVE_ACTIONS>
<TMPL_IF HTML5><nav class="navbar navbar-default" role="navigation"><TMPL_ELSE><div class="navbar navbar-default"></TMPL_IF>
- <div class="collapse navbar-collapse">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#editlinks">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ </div>
+ <div class="collapse navbar-collapse" id="editlinks">
<ul class="nav navbar-nav">
<TMPL_IF EDITURL>
<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>