summaryrefslogtreecommitdiffstats
path: root/templates/main-menu.html
blob: 29ded4bd8215a3eda6fb5f672dbb482ba3cb27a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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>