library upgrade
This commit is contained in:
		| @@ -22,8 +22,8 @@ | ||||
| 						<div class="row mb-2"> | ||||
| 							<label for="inputLocation" class="col-sm-2 col-form-label">Ort</label> | ||||
| 							<div class="col-sm-10"> | ||||
| 								<span class="error" th:each="error : ${#fields.errors('fkLocation')}">[[${error}]]<br /></span> | ||||
| 								<select id="inputLocation" th:field="*{fkLocation}" th:class="${'form-select ' + (#fields.hasErrors('fkLocation') ? 'inputerror' : '')}"> | ||||
| 								<span class="error" th:each="error : ${#fields.errors('fkLocation')}">[[${error}]]<br /></span> <select id="inputLocation" th:field="*{fkLocation}" | ||||
| 									th:class="${'form-select ' + (#fields.hasErrors('fkLocation') ? 'inputerror' : '')}"> | ||||
| 									<option value="">--- bitte wählen ---</option> | ||||
| 									<option th:each="l : ${locations}" th:value="${l.pk}" th:text="${l.name}"></option> | ||||
| 								</select> | ||||
| @@ -56,15 +56,15 @@ | ||||
| 						<div class="row mb-2"> | ||||
| 							<label for="inputPrice" class="col-sm-2 col-form-label">Preis</label> | ||||
| 							<div class="col-sm-10"> | ||||
| 								<span class="error" th:each="error : ${#fields.errors('price')}">[[${error}]]<br /></span> <textarea id="inputPrice" type="text" th:field="*{price}" | ||||
| 									th:class="${'form-control ' + (#fields.hasErrors('price') ? 'inputerror' : '')}"></textarea> | ||||
| 								<span class="error" th:each="error : ${#fields.errors('price')}">[[${error}]]<br /></span> | ||||
| 								<textarea id="inputPrice" th:field="*{price}" th:class="${'form-control ' + (#fields.hasErrors('price') ? 'inputerror' : '')}"></textarea> | ||||
| 							</div> | ||||
| 						</div> | ||||
| 						<div class="row mb-2"> | ||||
| 							<label for="inputCountries" class="col-sm-2 col-form-label">Ferien in</label> | ||||
| 							<div class="col-sm-10"> | ||||
| 								<span class="error" th:each="error : ${#fields.errors('countriesList')}">[[${error}]]<br /></span> | ||||
| 								<select id="inputCountries" th:field="*{countriesList}" th:class="${'form-select ' + (#fields.hasErrors('countriesList') ? 'inputerror' : '')}" multiple="multiple"> | ||||
| 								<span class="error" th:each="error : ${#fields.errors('countriesList')}">[[${error}]]<br /></span> <select id="inputCountries" th:field="*{countriesList}" | ||||
| 									th:class="${'form-select ' + (#fields.hasErrors('countriesList') ? 'inputerror' : '')}" multiple="multiple"> | ||||
| 									<option value="Baden-Württemberg">Baden-Württemberg</option> | ||||
| 									<option value="Bayern">Bayern</option> | ||||
| 									<option value="Berlin">Berlin</option> | ||||
| @@ -84,7 +84,7 @@ | ||||
| 								</select> | ||||
| 							</div> | ||||
| 							<script type="text/javascript"> | ||||
| 								$(document).ready(function(){ | ||||
| 								$(document).ready(function() { | ||||
| 									$("#inputCountries").select2(); | ||||
| 								}); | ||||
| 							</script> | ||||
| @@ -122,15 +122,13 @@ | ||||
| 						<div class="row mb-2"> | ||||
| 							<label for="inputLockSales" class="col-sm-2 col-form-label">Kassenschluss</label> | ||||
| 							<div class="col-sm-10"> | ||||
| 								<input id="lockSales" type="checkbox" name="lockSales" th:checked="*{lockSales}" /> | ||||
| 								<label for="lockSales">Abrechnung abgeschlossen</label> | ||||
| 								<input id="lockSales" type="checkbox" name="lockSales" th:checked="*{lockSales}" /> <label for="lockSales">Abrechnung abgeschlossen</label> | ||||
| 							</div> | ||||
| 						</div> | ||||
| 						<div class="row mb-2"> | ||||
| 							<div class="col-sm-2"></div> | ||||
| 							<div class="col-sm-10"> | ||||
| 								<input type="submit" class="btn btn-success" value="Ok" /> | ||||
| 								<a th:href="@{/admin/camp}" class="btn btn-outline-secondary">Abbrechen</a> | ||||
| 								<input type="submit" class="btn btn-success" value="Ok" /> <a th:href="@{/admin/camp}" class="btn btn-outline-secondary">Abbrechen</a> | ||||
| 								<div class="dropdown" style="display: inline" th:if="${bean.pk}"> | ||||
| 									<button class="btn btn-outline-danger dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false"> | ||||
| 										<i class="fas fa-trash-alt"></i> | ||||
|   | ||||
| @@ -12,7 +12,7 @@ | ||||
|           <div class="row mb-2"> | ||||
|             <label for="outputPk" class="col-sm-2 col-form-label">ID</label> | ||||
|             <div class="col-sm-10"> | ||||
|               <input type="text" th:field="*{pk}" class="outputPk form-control locked"></span> | ||||
|               <input type="text" th:field="*{pk}" class="outputPk form-control locked" /> | ||||
|             </div> | ||||
|           </div> | ||||
|           <div class="row mb-2"> | ||||
|   | ||||
| @@ -4,15 +4,15 @@ | ||||
| <title>Camp Organizer 2</title> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | ||||
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | ||||
| <link th:rel="stylesheet" type="text/css" media="all" th:href="@{/webjars/bootstrap/5.2.0/css/bootstrap.min.css} " /> | ||||
| <link th:rel="stylesheet" type="text/css" media="all" th:href="@{/webjars/bootstrap/5.2.3/css/bootstrap.min.css} " /> | ||||
| <link th:rel="stylesheet" type="text/css" media="all" th:href="@{/webjars/font-awesome/5.15.4/css/all.css} " /> | ||||
| <link th:rel="stylesheet" type="text/css" media="all" th:href="@{/webjars/datatables/1.11.4/css/jquery.dataTables.min.css}" /> | ||||
| <link th:rel="stylesheet" type="text/css" media="all" th:href="@{/webjars/datatables/1.13.2/css/jquery.dataTables.min.css}" /> | ||||
| <link th:rel="stylesheet" type="text/css" media="all" th:href="@{/webjars/select2/4.0.13/css/select2.min.css}" /> | ||||
| <link th:rel="stylesheet" type="text/css" media="all" th:href="@{/css/style.css}" /> | ||||
| <link th:rel="stylesheet" type="text/css" media="all" th:href="@{/css/select2-bootstrap-5-theme.min.css}" /> | ||||
| <script th:src="@{/webjars/jquery/3.6.0/jquery.min.js}"></script> | ||||
| <script th:src="@{/webjars/bootstrap/5.2.0/js/bootstrap.bundle.min.js}"></script> | ||||
| <script th:src="@{/webjars/datatables/1.11.4/js/jquery.dataTables.min.js}"></script> | ||||
| <script th:src="@{/webjars/jquery/3.6.4/jquery.min.js}"></script> | ||||
| <script th:src="@{/webjars/bootstrap/5.2.3/js/bootstrap.bundle.min.js}"></script> | ||||
| <script th:src="@{/webjars/datatables/1.13.2/js/jquery.dataTables.min.js}"></script> | ||||
| <script th:src="@{/webjars/select2/4.0.13/js/select2.full.min.js}"></script> | ||||
| <script th:src="@{/js/dataTables.de.js}"></script> | ||||
| <script th:src="@{/js/mytoggle.js}"></script> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user