-
Johannes Wilhelm authoredJohannes Wilhelm authored
menu.html 2.06 KiB
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:th="http://www.thymeleaf.org">
<nav th:fragment="menu" class="navbar navbar-default">
<!-- <div class="container" style="background-color: grey; opacity:0.7;">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Menü umschalten</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" th:href="@{~/welcome}">Home</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1" style="color: white">
<ul class="nav navbar-nav">
<li class="dropdown" >
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Zimmer <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a th:href="@{~/zimmer/zimmer1}">Zimmer 1</a></li>
<li><a th:href="@{~/fahrt/aktuelle}">Zimmer 2</a></li>
<!-- <li><a th:href="@{~/fahrt/findAll}">Alle Buchungen</a></li> -->
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Registrierung<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a th:href="@{~/boot/edit}">Neues Zimmer eintragen</a></li>
<li><a th:href="@{~/boot/findAll}">Alle Zimmer</a></li>
<li role="separator" class="divider"></li>
<li><a th:href="@{~/person/edit}">Neuen Kunden eintragen</a></li>
<li><a th:href="@{~/person/findAll}">Alle Kunden</a></li>
</ul>
</li>
<li><a th:href="@{~/fahrt/findAdmin}">Fahrten (admin)</a></li>
</ul>
</div><!-- /.navbar-collapse -->
<!-- </div> -->
</nav>
</html>