mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
Include layout.html
This commit is contained in:
parent
38eda35e6c
commit
97a020b59f
|
@ -1,25 +1,14 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html xmlns:th="http://www.thymeleaf.org"
|
<html xmlns:th="http://www.thymeleaf.org"
|
||||||
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
||||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||||
|
layout:decorate="~{layout.html(title='Katalog')}">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<link rel="stylesheet" th:href="@{/resources/css/style.css}">
|
<link rel="stylesheet" th:href="@{/resources/css/style.css}">
|
||||||
<title th:text="Katalog">Katalog</title>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="topnav"> <!-- später für css -->
|
<section layout:fragment="content">
|
||||||
<a th:href="@{/}" th:text="Home">Home</a>
|
|
||||||
<a th:href="@{/catalog}" th:text="Katalog">Katalog</a>
|
|
||||||
<a th:href="@{/event}" th:text="Eventplaner">Eventplaner</a>
|
|
||||||
<a th:href="@{/orders}" th:text="Aufträge">Aufträge</a>
|
|
||||||
<!--<a href="#account">Mein Konto</a>-->
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<h1>Katalog</h1>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<table style="width: 100%;">
|
<table style="width: 100%;">
|
||||||
<tr style="text-align: left;">
|
<tr style="text-align: left;">
|
||||||
|
@ -56,35 +45,6 @@
|
||||||
<button type="submit">Hinzufügen</button>
|
<button type="submit">Hinzufügen</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
</section>
|
||||||
<div>
|
|
||||||
<form th:action="@{/catalog_editor}">
|
|
||||||
<button type="submit">Hinzufügen</button>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<form th:action="@{/catalog_editor}">
|
|
||||||
<button type="submit">Hinzufügen</button>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<form th:action="@{/catalog_editor}">
|
|
||||||
<button type="submit">Hinzufügen</button>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<button type="button">Hinzufügen</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
<footer style="bottom: 0; position: absolute;">
|
|
||||||
<p>© Hannes Wurst @ Mampf GmbH</p>
|
|
||||||
<p>
|
|
||||||
<a href="mailto:catering@mampf.com">catering@mampf.com</a>
|
|
||||||
</p>
|
|
||||||
</footer>
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,21 +1,11 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html xmlns:th="http://www.thymeleaf.org"
|
<html xmlns:th="http://www.thymeleaf.org"
|
||||||
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
||||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||||
<head>
|
layout:decorate="~{layout.html(title='Katalog bearbeiten')}">
|
||||||
<title>Basisevent-Konfiguration</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
<body>
|
||||||
<nav>
|
<section layout:fragment="content">
|
||||||
<div class="topnav"> <!-- später für css -->
|
|
||||||
<a th:href="@{/}" th:text="Home">Home</a>
|
|
||||||
<a th:href="@{/catalog}" th:text="Katalog">Katalog</a>
|
|
||||||
<a th:href="@{/event}" th:text="Eventplaner">Eventplaner</a>
|
|
||||||
<a th:href="@{/orders}" th:text="Aufträge">Aufträge</a>
|
|
||||||
<!--<a href="#account">Mein Konto</a>-->
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
<h1>Basisevent konfigurieren</h1>
|
|
||||||
<input type="hidden" name="addCatalog">
|
<input type="hidden" name="addCatalog">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<h2>Dienstleistung</h2>
|
<h2>Dienstleistung</h2>
|
||||||
|
@ -80,5 +70,6 @@
|
||||||
<button type="submit">Zum Katalog hinzufügen</button>
|
<button type="submit">Zum Katalog hinzufügen</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
</section>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html xmlns:th="http://www.thymeleaf.org"
|
||||||
<head>
|
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
||||||
<meta charset="utf-8" />
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||||
<link rel="stylesheet" th:href="@{/resources/css/customer/style.css}" />
|
layout:decorate="~{layout.html(title='Kundenverwaltung')}">
|
||||||
<title th:text="${title}"></title>
|
|
||||||
</head>
|
|
||||||
<body>
|
<body>
|
||||||
|
<section layout:fragment="content">
|
||||||
<div class="verwaltung">
|
<div class="verwaltung">
|
||||||
<h1>Kundenverwaltung</h1>
|
|
||||||
<h2>Kundenübersicht</h2>
|
<h2>Kundenübersicht</h2>
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -39,5 +38,6 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
</section>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html xmlns:th="http://www.thymeleaf.org">
|
<html xmlns:th="http://www.thymeleaf.org"
|
||||||
|
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
||||||
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||||
|
layout:decorate="~{layout.html(title='Kunden bearbeiten')}">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<title>Kunde Bearbeiten</title>
|
<title>Kunde Bearbeiten</title>
|
||||||
|
@ -10,6 +13,7 @@
|
||||||
/>
|
/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<section layout:fragment="content">
|
||||||
<div class="edit-customer-form">
|
<div class="edit-customer-form">
|
||||||
<h2>Kunde Bearbeiten</h2>
|
<h2>Kunde Bearbeiten</h2>
|
||||||
<form
|
<form
|
||||||
|
@ -29,5 +33,6 @@
|
||||||
</form>
|
</form>
|
||||||
<a th:href="@{/customer}" class="button">Cancel</a>
|
<a th:href="@{/customer}" class="button">Cancel</a>
|
||||||
</div>
|
</div>
|
||||||
|
</section>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html xmlns:th="http://www.thymeleaf.org">
|
<html xmlns:th="http://www.thymeleaf.org"
|
||||||
|
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
||||||
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||||
|
layout:decorate="~{layout.html(title='Personal bearbeiten')}">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<title>Personal Bearbeiten</title>
|
<title>Personal Bearbeiten</title>
|
||||||
|
@ -7,6 +10,7 @@
|
||||||
<link rel="stylesheet" th:href="@{/resources/css/staff/edit-style.css}" />
|
<link rel="stylesheet" th:href="@{/resources/css/staff/edit-style.css}" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<section layout:fragment="content">
|
||||||
<div class="edit-staff-form">
|
<div class="edit-staff-form">
|
||||||
<h2>Personal Bearbeiten</h2>
|
<h2>Personal Bearbeiten</h2>
|
||||||
<form th:action="@{/staff/update}" th:object="${staff}" method="post">
|
<form th:action="@{/staff/update}" th:object="${staff}" method="post">
|
||||||
|
@ -25,5 +29,6 @@
|
||||||
</form>
|
</form>
|
||||||
<a th:href="@{/staff}" class="button">Cancel</a>
|
<a th:href="@{/staff}" class="button">Cancel</a>
|
||||||
</div>
|
</div>
|
||||||
|
</section>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,23 +1,11 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html xmlns:th="http://www.thymeleaf.org"
|
<html xmlns:th="http://www.thymeleaf.org"
|
||||||
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
||||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||||
<head>
|
layout:decorate="~{layout.html(title='Event konfigurieren')}">
|
||||||
<meta charset="utf-8">
|
|
||||||
<link rel="stylesheet" th:href="@{/resources/css/style.css}">
|
|
||||||
<title th:text="Eventplaner">Katalog</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
<body>
|
||||||
<div class="topnav"> <!-- später für css -->
|
<section layout:fragment="content">
|
||||||
<a th:href="@{/}" th:text="Home">Home</a>
|
|
||||||
<a th:href="@{/catalog}" th:text="Katalog">Katalog</a>
|
|
||||||
<a th:href="@{/event}" th:text="Eventplaner">Eventplaner</a>
|
|
||||||
<a th:href="@{/orders}" th:text="Aufträge">Aufträge</a>
|
|
||||||
<!--<a href="#account">Mein Konto</a>-->
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<h1>Eventplaner (planen Sie Ihr Event)</h1>
|
|
||||||
|
|
||||||
<span th:text="'Typ: ' + ${orderType}"/>
|
<span th:text="'Typ: ' + ${orderType}"/>
|
||||||
|
|
||||||
<form th:action="@{/event/changeOrderType}" method="post">
|
<form th:action="@{/event/changeOrderType}" method="post">
|
||||||
|
@ -63,13 +51,6 @@
|
||||||
<input type="submit" th:value="'Kostenpflichtig bestellen'"/>
|
<input type="submit" th:value="'Kostenpflichtig bestellen'"/>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
</section>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
<footer style="bottom: 0; position: absolute;">
|
|
||||||
<p>© Hannes Wurst @ Mampf GmbH</p>
|
|
||||||
<p>
|
|
||||||
<a href="mailto:catering@mampf.com">catering@mampf.com</a>
|
|
||||||
</p>
|
|
||||||
</footer>
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html xmlns:th="http://www.thymeleaf.org"
|
<html xmlns:th="http://www.thymeleaf.org"
|
||||||
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
||||||
<head>
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||||
</head>
|
layout:decorate="~{layout.html(title='Lagerverwaltung')}">
|
||||||
<body>
|
<body>
|
||||||
<h1>Lagerverwaltung</h1>
|
<section layout:fragment="content">
|
||||||
<h2 th:text="${'Produkt ' + (product == null ? 'anlegen' : 'bearbeiten')}"></h2>
|
<h2 th:text="${'Produkt ' + (product == null ? 'anlegen' : 'bearbeiten')}"></h2>
|
||||||
<!-- TODO: maybe migrate to th:field (which is a pain) -->
|
<!-- TODO: maybe migrate to th:field (which is a pain) -->
|
||||||
<form method="post">
|
<form method="post">
|
||||||
|
@ -38,5 +38,6 @@
|
||||||
</div>
|
</div>
|
||||||
<!-- KANN: Bild und Beschreibungstext -->
|
<!-- KANN: Bild und Beschreibungstext -->
|
||||||
</form>
|
</form>
|
||||||
|
</section>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html xmlns:th="http://www.thymeleaf.org"
|
<html xmlns:th="http://www.thymeleaf.org"
|
||||||
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
||||||
<head>
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||||
</head>
|
layout:decorate="~{layout.html(title='Inventar')}">
|
||||||
<body>
|
<body>
|
||||||
<h1>Lagerverwaltung</h1>
|
<section layout:fragment="content">
|
||||||
<table border>
|
<table border>
|
||||||
<thead>
|
<thead>
|
||||||
<!-- TODO: i18n? -->
|
<!-- TODO: i18n? -->
|
||||||
|
@ -40,5 +40,6 @@
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</section>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
|
||||||
|
<link rel="stylesheet" th:href="@{/resources/css/style.css}">
|
||||||
|
|
||||||
<!--<link th:href="@{/resources/css/style.css}" rel="stylesheet"-->
|
<!--<link th:href="@{/resources/css/style.css}" rel="stylesheet"-->
|
||||||
<!--href="../static/resources/css/style.css" type="text/css"/>-->
|
<!--href="../static/resources/css/style.css" type="text/css"/>-->
|
||||||
|
@ -20,4 +21,10 @@
|
||||||
<section layout:fragment="content"></section>
|
<section layout:fragment="content"></section>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
<footer style="bottom: 0; position: absolute;">
|
||||||
|
<p>© Hannes Wurst @ Mampf GmbH</p>
|
||||||
|
<p>
|
||||||
|
<a href="mailto:catering@mampf.com">catering@mampf.com</a>
|
||||||
|
</p>
|
||||||
|
</footer>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html xmlns:th="http://www.thymeleaf.org"
|
||||||
<h1>Login</h1>
|
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
||||||
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||||
|
layout:decorate="~{layout.html(title='Login')}">
|
||||||
|
|
||||||
<!-- FIXME no inline styles -->
|
<!-- FIXME no inline styles -->
|
||||||
|
|
||||||
|
@ -38,6 +40,7 @@
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<section layout:fragment="content">
|
||||||
<form class="ui form" role="form" th:action="@{/login}" method="post">
|
<form class="ui form" role="form" th:action="@{/login}" method="post">
|
||||||
|
|
||||||
<div class="field">
|
<div class="field">
|
||||||
|
@ -65,5 +68,6 @@
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<p>Haben Sie noch keinen Account? Registrieren Sie sich <a th:href="@{/register}">hier</a>.</p>
|
<p>Haben Sie noch keinen Account? Registrieren Sie sich <a th:href="@{/register}">hier</a>.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -6,100 +6,116 @@
|
||||||
<body>
|
<body>
|
||||||
<nav th:fragment="navigation">
|
<nav th:fragment="navigation">
|
||||||
<div class="ui menu">
|
<div class="ui menu">
|
||||||
|
<a
|
||||||
|
class="item"
|
||||||
|
href="welcome.html"
|
||||||
|
th:href="@{/}"
|
||||||
|
th:text="Startseite"
|
||||||
|
>
|
||||||
|
Startseite
|
||||||
|
</a>
|
||||||
|
|
||||||
<!--prototype-paul-simon-->
|
<!--prototype-paul-simon-->
|
||||||
|
<!--sec:authorize="hasRole('CUSTOMER')"-->
|
||||||
<a
|
<a
|
||||||
class="item"
|
class="item"
|
||||||
href="register.html"
|
href="register.html"
|
||||||
th:href="@{/register}"
|
th:href="@{/register}"
|
||||||
sec:authorize="hasRole('CUSTOMER')"
|
th:text="Registrierung"
|
||||||
th:text="#{nav.register}"
|
|
||||||
>
|
>
|
||||||
Registrierung
|
Registrierung
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
<!--sec:authorize="hasAnyRole('BOSS','CUSTOMER')"-->
|
||||||
<a
|
<a
|
||||||
class="item"
|
class="item"
|
||||||
href="login.html"
|
href="login.html"
|
||||||
th:href="@{/login}"
|
th:href="@{/login}"
|
||||||
sec:authorize="hasAnyRole('BOSS','CUSTOMER')"
|
th:text="Login"
|
||||||
th:text="#{nav.login}"
|
|
||||||
>
|
>
|
||||||
Login
|
Login
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
<!--sec:authorize="hasRole('BOSS')"-->
|
||||||
<a
|
<a
|
||||||
class="item"
|
class="item"
|
||||||
href="inventory.html"
|
href="inventory.html"
|
||||||
th:href="@{/inventory}"
|
th:href="@{/inventory}"
|
||||||
sec:authorize="hasRole('BOSS')"
|
th:text="Inventar"
|
||||||
th:text="#{nav.inventory}"
|
|
||||||
>
|
>
|
||||||
Inventar
|
Inventar
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
||||||
<!--prototype-eren-denis-->
|
|
||||||
<a
|
<a
|
||||||
class="item"
|
class="item"
|
||||||
href="employee.html"
|
href="catalog.html"
|
||||||
th:href="@{/employee}"
|
th:href="@{/catalog}"
|
||||||
sec:authorize="hasRole('BOSS')"
|
th:text="Katalog"
|
||||||
th:text="#{nav.employee}"
|
>
|
||||||
|
Katalog
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
<!--prototype-eren-denis-->
|
||||||
|
<!--sec:authorize="hasRole('BOSS')"-->
|
||||||
|
<a
|
||||||
|
class="item"
|
||||||
|
href="staff.html"
|
||||||
|
th:href="@{/staff}"
|
||||||
|
th:text="Angestellte"
|
||||||
>
|
>
|
||||||
Angestellte
|
Angestellte
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
<!--sec:authorize="hasRole('BOSS')"-->
|
||||||
<a
|
<a
|
||||||
class="item"
|
class="item"
|
||||||
href="customer.html"
|
href="customer.html"
|
||||||
th:href="@{/customer}"
|
th:href="@{/customer}"
|
||||||
sec:authorize="hasRole('BOSS')"
|
th:text="Kunden"
|
||||||
th:text="#{nav.customer}"
|
|
||||||
>
|
>
|
||||||
Kunden
|
Kunden
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
<!--sec:authorize="hasAnyRole('BOSS','CUSTOMER')"-->
|
||||||
<a
|
<a
|
||||||
class="item"
|
class="item"
|
||||||
href="profile.html"
|
href="profile.html"
|
||||||
th:href="@{/profile}"
|
th:href="@{/profile}"
|
||||||
sec:authorize="hasAnyRole('BOSS','CUSTOMER')"
|
th:text="Profil"
|
||||||
th:text="#{nav.profile}"
|
|
||||||
>
|
>
|
||||||
Registrierung
|
Registrierung
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
||||||
<!--prototype-eric-mathis-->
|
<!--prototype-eric-mathis-->
|
||||||
|
<!--sec:authorize="hasAnyRole('BOSS','CUSTOMER')"-->
|
||||||
<a
|
<a
|
||||||
class="item"
|
class="item"
|
||||||
href="orders.html"
|
href="orders.html"
|
||||||
th:href="@{/orders}"
|
th:href="@{/orders}"
|
||||||
sec:authorize="hasAnyRole('BOSS','CUSTOMER')"
|
th:text="Bestellungen"
|
||||||
th:text="#{nav.orders}"
|
|
||||||
>
|
>
|
||||||
Bestellungen
|
Bestellungen
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
<!--sec:authorize="hasAnyRole('BOSS','CUSTOMER')"-->
|
||||||
<a
|
<a
|
||||||
class="item"
|
class="item"
|
||||||
href="event.html"
|
href="event.html"
|
||||||
th:href="@{/event}"
|
th:href="@{/event}"
|
||||||
sec:authorize="hasAnyRole('BOSS','CUSTOMER')"
|
th:text="'Event planen'"
|
||||||
th:text="#{nav.event}"
|
|
||||||
>
|
>
|
||||||
Events
|
Events
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!--prototpye-theo-->
|
<!--prototpye-theo-->
|
||||||
|
<!--sec:authorize="hasRole('BOSS')"-->
|
||||||
<a
|
<a
|
||||||
class="item"
|
class="item"
|
||||||
href="orders.calender.html"
|
href="orders.calender.html"
|
||||||
th:href="@{/orders/calender}"
|
th:href="@{/orders/calender}"
|
||||||
sec:authorize="hasRole('BOSS')"
|
th:text="Kalender"
|
||||||
th:text="#{nav.orders.calender}"
|
|
||||||
>
|
>
|
||||||
Kalender der Bestellungen
|
Kalender der Bestellungen
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -1,25 +1,10 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html xmlns:th="http://www.thymeleaf.org"
|
<html xmlns:th="http://www.thymeleaf.org"
|
||||||
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
||||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||||
<head>
|
layout:decorate="~{layout.html(title='Bestellungen')}">
|
||||||
<meta charset="utf-8">
|
|
||||||
<link rel="stylesheet" th:href="@{/resources/css/style.css}">
|
|
||||||
<title th:text="Aufträge">Aufträge</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
<body>
|
||||||
<div class="topnav"> <!-- später für css -->
|
<section layout:fragment="content">
|
||||||
<a th:href="@{/}" th:text="Home">Home</a>
|
|
||||||
<a th:href="@{/catalog}" th:text="Katalog">Katalog</a>
|
|
||||||
<a th:href="@{/event}" th:text="Eventplaner">Eventplaner</a>
|
|
||||||
<a th:href="@{/orders}" th:text="Aufträge">Aufträge</a>
|
|
||||||
<!--<a href="#account">Mein Konto</a>-->
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<h1>Auftragsliste</h1>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div> <!--th:unless"${cart.empty}"-->
|
<div> <!--th:unless"${cart.empty}"-->
|
||||||
<table style="width:100%; text-align:left">
|
<table style="width:100%; text-align:left">
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -66,18 +51,11 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<span>
|
<span>
|
||||||
<th:block th:text="Insgesamt "/>
|
<th:block th:text="Insgesamt "/>
|
||||||
<th:block th:text="${total}"/>
|
<th:block th:text="${total}"/>
|
||||||
<th:block th:text=" Aufträge"/>
|
<th:block th:text=" Aufträge"/>
|
||||||
</span>
|
</span>
|
||||||
|
</section>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
<footer style="bottom: 0; position: absolute;">
|
|
||||||
<p>© Hannes Wurst @ Mampf GmbH</p>
|
|
||||||
<p>
|
|
||||||
<a href="mailto:catering@mampf.com">catering@mampf.com</a>
|
|
||||||
</p>
|
|
||||||
</footer>
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<html xmlns:th="http://www.thymeleaf.org"
|
<html xmlns:th="http://www.thymeleaf.org"
|
||||||
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
||||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||||
layout:decorate="~{layout.html(title=calender_of_orders)}">
|
layout:decorate="~{layout.html(title='Kalender')}">
|
||||||
<head>
|
<head>
|
||||||
<style>
|
<style>
|
||||||
table {
|
table {
|
||||||
|
|
|
@ -1,11 +1,15 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html xmlns:th="http://www.thymeleaf.org">
|
<html xmlns:th="http://www.thymeleaf.org"
|
||||||
|
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
||||||
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||||
|
layout:decorate="~{layout.html(title='Profil')}">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<link rel="stylesheet" th:href="@{/resources/css/profile/style.css}" />
|
<link rel="stylesheet" th:href="@{/resources/css/profile/style.css}" />
|
||||||
<title th:text="#{profile.title}" />
|
<title th:text="#{profile.title}" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<section layout:fragment="content">
|
||||||
<form th:action="@{/profile}" method="post" >
|
<form th:action="@{/profile}" method="post" >
|
||||||
<h1 th:text="#{profile.title}"></h1>
|
<h1 th:text="#{profile.title}"></h1>
|
||||||
<h2 class="settings" th:text="#{profile.authentification}"></h2>
|
<h2 class="settings" th:text="#{profile.authentification}"></h2>
|
||||||
|
@ -36,5 +40,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
</section>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html xmlns:th="http://www.thymeleaf.org"
|
||||||
<h1>Registrierung</h1>
|
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
||||||
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||||
|
layout:decorate="~{layout.html(title='Registrierung')}">
|
||||||
|
|
||||||
|
<section layout:fragment="content">
|
||||||
<form method="post" role="form" class="ui form" id="form" th:action="@{/register}">
|
<form method="post" role="form" class="ui form" id="form" th:action="@{/register}">
|
||||||
|
|
||||||
<div class="field">
|
<div class="field">
|
||||||
|
@ -35,6 +38,6 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
</section>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,13 +1,16 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html xmlns:th="http://www.thymeleaf.org"
|
||||||
|
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
||||||
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||||
|
layout:decorate="~{layout.html(title='Angestellte')}">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<link rel="stylesheet" th:href="@{/resources/css/staff/style.css}" />
|
<link rel="stylesheet" th:href="@{/resources/css/staff/style.css}" />
|
||||||
<title th:text="${title}"></title>
|
<title th:text="${title}"></title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<section layout:fragment="content">
|
||||||
<div class="verwaltung">
|
<div class="verwaltung">
|
||||||
<h1>Personalverwaltung</h1>
|
|
||||||
<h2>Mitarbeiterdetails</h2>
|
<h2>Mitarbeiterdetails</h2>
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -51,5 +54,6 @@
|
||||||
<button type="submit">Hinzufügen</button>
|
<button type="submit">Hinzufügen</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
</section>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,22 +1,15 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html xmlns:th="http://www.thymeleaf.org"
|
||||||
<head>
|
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
||||||
<meta charset="utf-8">
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||||
<link rel="stylesheet" th:href="@{/resources/css/style.css}">
|
layout:decorate="~{layout.html(title='Wilkommen bei Wurst’s Catering')}">
|
||||||
<title th:text="#{welcome.title}">Welcome!</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
<body>
|
||||||
|
<section layout:fragment="content">
|
||||||
<div class="topnav"> <!-- später für css -->
|
<!--<h1 th:text="#{welcome.title}">Welcome!</h1>-->
|
||||||
<a th:href="@{/}" th:text="Home">Home</a>
|
<p th:text="'Hier bekommen Sie übrigens nicht nur Wurst.'"></p>
|
||||||
<a th:href="@{/catalog}" th:text="Katalog">Katalog</a>
|
<p th:text="'Test: (äöü)'"
|
||||||
<a th:href="@{/event}" th:text="Eventplaner">Eventplaner</a>
|
</section>
|
||||||
<a th:href="@{/orders}" th:text="Aufträge">Aufträge</a>
|
|
||||||
<!--<a href="#account">Mein Konto</a>-->
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<h1 th:text="#{welcome.title}">Welcome!</h1>
|
|
||||||
<p th:text="#{welcome.text}"></p>
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
<footer style="bottom: 0; position: absolute;">
|
<footer style="bottom: 0; position: absolute;">
|
||||||
|
|
|
@ -35,6 +35,6 @@ class WelcomeControllerIntegrationTests {
|
||||||
void showsWelcomeMessage() throws Exception {
|
void showsWelcomeMessage() throws Exception {
|
||||||
mvc.perform(get("/")) //
|
mvc.perform(get("/")) //
|
||||||
.andExpect(status().isOk())
|
.andExpect(status().isOk())
|
||||||
.andExpect(content().string(containsString("Welcome back!")));
|
.andExpect(content().string(containsString("Wilkommen bei Wurst’s Catering")));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue