Skip to content
Snippets Groups Projects
Commit 87fa6751 authored by Johannes Wilhelm's avatar Johannes Wilhelm
Browse files

sd

parent 1a1caf75
No related branches found
No related tags found
No related merge requests found
......@@ -22,8 +22,14 @@ public class HomeController {
log.info("Controller für die Methode welcome");
ModelAndView mv = new ModelAndView();
mv.addObject("title", "Hallo Leute !");
mv.addObject("message", "Test blalbalbala");
mv.addObject("title", "Herzlich Willkommen !");
mv.addObject("title2", "Umgeben von zahlreichen Wald- und Wiesenlandschaften\r\n" +
"befindet sich unser Schleicherhof." );
mv.addObject("message", "Sie wohnen bei uns in einer herrlichen Einzelhofanlage abseits vom Straßenverkehr, die Kinder können auch einmal ohne Aufsicht toben, sie fühlen sich bei uns wie im Paradies." +
"Für die Eltern beginnt ein erholsamer Ferienurlaub, einfach nur entspannen und erholen.\r\n" +
"Wir bieten Ihnen eine ideale Abwechslung für Freizeitangebote und unzählige Ausflugsziele zu jeder Jahreszeit. Reitmöglichkeit auf Anfrage in der Nähe ca. 5 Min. zu Fuß.\r\n" +
"\r\n" +
"Stöbern Sie in den weiteren Seiten und lernen Sie Ihr Feriendomizil besser können.");
mv.setViewName("home");
return mv;
......
schleicherhof_pms/src/main/resources/static/photos/background.jpg

1.38 MiB

schleicherhof_pms/src/main/resources/static/photos/logo.png

7.45 MiB

<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:th="http://www.thymeleaf.org">
<div th:fragment="foot">
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script th:src="@{~/js/bootstrap.min.js}"></script>
</div>
</html>
\ No newline at end of file
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:th="http://www.thymeleaf.org">
<head th:fragment="head">
<meta http-equiv="Content-Script-Type" content="text/javascript"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Pension Schleicherhof</title>
<!-- Bootstrap -->
<link th:href="@{~/css/bootstrap.min.css}" rel="stylesheet"/>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<li id="bg-header" class="imgHeader fullscreen background parallax"
data-img-width="2493" data-img-height="1422" data-diff="100" style="background-attachment: fixed;
background-size: 1732.13px 988px; background-position: 100% -52.1968px; opacity: 1;"></li>
</head>
</html>
\ No newline at end of file
<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="@{~/boot/freieBoote}">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><!-- /.container-fluid -->
</nav>
</html>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment