summaryrefslogtreecommitdiffstats
path: root/templates/main-menu.html
diff options
context:
space:
mode:
authorSimon Rettberg2015-03-02 16:51:04 +0100
committerSimon Rettberg2015-03-02 16:51:04 +0100
commitab23338fe9f1b3ed21455867f1c032d7b146ceb8 (patch)
tree33d27fd848e25ae24a57b309348b5d73a811f223 /templates/main-menu.html
downloadbwlp-webadmin-ab23338fe9f1b3ed21455867f1c032d7b146ceb8.tar.gz
bwlp-webadmin-ab23338fe9f1b3ed21455867f1c032d7b146ceb8.tar.xz
bwlp-webadmin-ab23338fe9f1b3ed21455867f1c032d7b146ceb8.zip
Initial Commit
Diffstat (limited to 'templates/main-menu.html')
-rw-r--r--templates/main-menu.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/templates/main-menu.html b/templates/main-menu.html
new file mode 100644
index 0000000..29ded4b
--- /dev/null
+++ b/templates/main-menu.html
@@ -0,0 +1,34 @@
+<!-- Fixed navbar -->
+<div class="navbar navbar-default navbar-fixed-top">
+ <div class="container">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="?do=Main">bwLehrstuhl</a>
+ </div>
+ <div class="navbar-collapse collapse">
+ <ul class="nav navbar-nav">
+ <li>
+ <a href="#">Hallo</a>
+ </li>
+ </ul>
+ <ul class="nav navbar-nav navbar-right">
+ {{#user}}
+ <li>
+ <span>
+ <b>{{user}}</b>
+ <a class="btn btn-default btn-xs" href="?do=Logout">Abmelden</a>
+ </span>
+ </li>
+ {{/user}}
+ {{^user}}
+ <li><a href="?do=Session&amp;action=login">Anmelden</a></li>
+ {{/user}}
+ </ul>
+ </div>
+ </div>
+</div>
+