summaryrefslogtreecommitdiffstats
path: root/templates/main-menu.html
diff options
context:
space:
mode:
authorSimon Rettberg2015-03-09 18:08:15 +0100
committerSimon Rettberg2015-03-09 18:08:15 +0100
commitdcb1d7a5b6c057f34f8cc4aa69275cc4ddb109d3 (patch)
tree5d9230b6ba937a272d4e966c9348238667da22f9 /templates/main-menu.html
parentFourth Commit (diff)
downloadbwlp-webadmin-dcb1d7a5b6c057f34f8cc4aa69275cc4ddb109d3.tar.gz
bwlp-webadmin-dcb1d7a5b6c057f34f8cc4aa69275cc4ddb109d3.tar.xz
bwlp-webadmin-dcb1d7a5b6c057f34f8cc4aa69275cc4ddb109d3.zip
+AGB, +DeleteUser feature
Diffstat (limited to 'templates/main-menu.html')
-rw-r--r--templates/main-menu.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/templates/main-menu.html b/templates/main-menu.html
index 721c0bb..8e78bc2 100644
--- a/templates/main-menu.html
+++ b/templates/main-menu.html
@@ -7,16 +7,18 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
- <a class="navbar-brand" href="?do=Main">bwLehrstuhl</a>
+ <a class="navbar-brand" href="?do=Main"><img src="/img/bwLehrpool_198x46.png" alt="bwLehrpool"></a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
{{#user}}
<li>
- <span>
+ <form method="post" action="?do=Logout">
+ <input type="hidden" name="token" value="{{token}}">
+ <input type="hidden" name="action" value="logout">
<b>{{user}}</b>
- <a class="btn btn-default btn-xs" href="?do=Logout">Abmelden</a>
- </span>
+ <button class="btn btn-default btn-xs" type="submit">Abmelden</button>
+ </form>
</li>
{{/user}}
{{^user}}