diff --git a/pom.xml b/pom.xml index 2446177..735f82b 100644 --- a/pom.xml +++ b/pom.xml @@ -45,6 +45,13 @@ Use Maven Central for package search (https://search.maven.org/). --> + + org.webjars + bootstrap + 5.3.2 + runtime + + diff --git a/src/main/resources/static/resources/css/customer/edit-style.css b/src/main/resources/static/resources/css/customer/edit-style.css deleted file mode 100644 index f102890..0000000 --- a/src/main/resources/static/resources/css/customer/edit-style.css +++ /dev/null @@ -1,21 +0,0 @@ -body { - font: 13px/22px Helvetica, Arial, sans-serif; - background: #f0f0f0; -} - -h2 { - text-decoration: underline; -} - -.button { - cursor: pointer; - font-size: 13px; - text-decoration: none; - background-color: #EEEEEE; - color: #333333; - padding: 2px 6px 2px 6px; - border-top: 1px solid #333333; - border-right: 1px solid #333333; - border-bottom: 1px solid #333333; - border-left: 1px solid #333333; -} diff --git a/src/main/resources/static/resources/css/customer/style.css b/src/main/resources/static/resources/css/customer/style.css deleted file mode 100644 index 9aeb7b4..0000000 --- a/src/main/resources/static/resources/css/customer/style.css +++ /dev/null @@ -1,64 +0,0 @@ -/* CSS RESET */ - -body { - margin: 0 auto; - width: 940px; - font: 13px/22px Helvetica, Arial, sans-serif; - background: #f0f0f0; -} - -h1 { - font-size: 3em; - line-height: 3.2em; - text-align:center; -} - -table { - border-collapse: collapse; - width: 95%; - margin-top: 20px; - -} -th, -td { - border: 1px solid #dddddd; - text-align: left; - padding: 8px; -} -th { - background-color: #f2f2f2; - text-decoration: underline; - font-size: 19px; -} -tr{ - font-size: 17px; -} - -td:last-child, -td:nth-child(5) { - width: 50px; - text-align: center; -} -tr:nth-child(even) { - background-color: rgb(214, 236, 216); -} - -button { - cursor: pointer; - font-size: 13px; - margin-left: 4px; - margin-right: 4px; -} - -.button { - cursor: pointer; - font-size: 13px; - text-decoration: none; - background-color: #EEEEEE; - color: #333333; - padding: 2px 6px 2px 6px; - border-top: 1px solid #333333; - border-right: 1px solid #333333; - border-bottom: 1px solid #333333; - border-left: 1px solid #333333; -} diff --git a/src/main/resources/static/resources/css/profile/style.css b/src/main/resources/static/resources/css/profile/style.css deleted file mode 100644 index 42f0afe..0000000 --- a/src/main/resources/static/resources/css/profile/style.css +++ /dev/null @@ -1,57 +0,0 @@ -/* CSS RESET */ - -* { - margin: 0; - padding: 0; -} - -body { - margin: 0 auto; - width: 940px; - font: 13px/22px Helvetica, Arial, sans-serif; - background: #f0f0f0; -} - -h1 { - font-size: 3em; - line-height: 3.2em; - text-align:center; -} - -table { - border-collapse: separate; - border-spacing: 5 2em; - padding: 20px; - padding-left: 50px; - font-size: 20px; -} - -h2 { - margin: 10px; -} - -th, td { - padding: 15px; -} - -.horizontal_center { - display: flex; - justify-content: center; - align-items: center; -} - -div.danger_zone { - margin-bottom: 50px; -} - -button.danger_zone { - padding-top: 15px; - padding-bottom: 15px; - padding-right: 25px; - padding-left: 25px; - margin-left: 40px; - margin-right: 40px; - color: red; - border: 2px solid red; - border-radius: 4px; -} diff --git a/src/main/resources/static/resources/css/staff/edit-style.css b/src/main/resources/static/resources/css/staff/edit-style.css deleted file mode 100644 index f102890..0000000 --- a/src/main/resources/static/resources/css/staff/edit-style.css +++ /dev/null @@ -1,21 +0,0 @@ -body { - font: 13px/22px Helvetica, Arial, sans-serif; - background: #f0f0f0; -} - -h2 { - text-decoration: underline; -} - -.button { - cursor: pointer; - font-size: 13px; - text-decoration: none; - background-color: #EEEEEE; - color: #333333; - padding: 2px 6px 2px 6px; - border-top: 1px solid #333333; - border-right: 1px solid #333333; - border-bottom: 1px solid #333333; - border-left: 1px solid #333333; -} diff --git a/src/main/resources/static/resources/css/staff/style.css b/src/main/resources/static/resources/css/staff/style.css deleted file mode 100644 index faba771..0000000 --- a/src/main/resources/static/resources/css/staff/style.css +++ /dev/null @@ -1,70 +0,0 @@ -/* CSS RESET */ - -body { - margin: 0 auto; - width: 940px; - font: 13px/22px Helvetica, Arial, sans-serif; - background: #f0f0f0; -} - -h1 { - font-size: 3em; - line-height: 3.2em; - text-align:center; -} - -h2 { - text-decoration: underline; -} - -table { - border-collapse: collapse; - width: 95%; - margin-top: 20px; -} -th, -td { - border: 1px solid #dddddd; - text-align: left; - padding: 8px; -} -th { - background-color: #f2f2f2; - text-decoration: underline; - font-size: 19px; -} -tr { - font-size: 17px; -} - -td:last-child, -td:nth-child(5) { - width: 50px; - text-align: center; -} -tr:nth-child(even) { - background-color: rgb(214, 236, 216); -} -.add-button { - margin-top: 20px; - font-size: 16px; -} -button { - cursor: pointer; - font-size: 13px; - margin-left: 4px; - margin-right: 4px; -} - -.button { - cursor: pointer; - font-size: 13px; - text-decoration: none; - background-color: #EEEEEE; - color: #333333; - padding: 2px 6px 2px 6px; - border-top: 1px solid #333333; - border-right: 1px solid #333333; - border-bottom: 1px solid #333333; - border-left: 1px solid #333333; -} diff --git a/src/main/resources/static/resources/css/style.css b/src/main/resources/static/resources/css/style.css index ed03f7e..3e93e1d 100644 --- a/src/main/resources/static/resources/css/style.css +++ b/src/main/resources/static/resources/css/style.css @@ -1,19 +1,14 @@ -/* CSS RESET */ +/* specific to login */ -* { - margin: 0; - padding: 0; +.login-container { + max-width: 24rem; } -body { - margin: 0 auto; - width: 940px; - font: 13px/22px Helvetica, Arial, sans-serif; - background: #f0f0f0; +.calendar { + border-collapse: separate; } -h1 { - font-size: 3em; - line-height: 3.2em; - text-align:center; +.calendar th, +.calendar td { + font-weight: bold; } diff --git a/src/main/resources/templates/catalog.html b/src/main/resources/templates/catalog.html index b7613b6..a75b70c 100644 --- a/src/main/resources/templates/catalog.html +++ b/src/main/resources/templates/catalog.html @@ -4,25 +4,25 @@ xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorate="~{layout.html(title='Katalog')}"> - - + - - + + Name Mindestzeitraum Basisausstattung Preis ab + **BILD** - h + @@ -32,7 +32,7 @@ - Entfernen + Entfernen @@ -40,10 +40,10 @@ - - Hinzufügen - + + Hinzufügen + - +