securing with nextcloud oidc
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
<html xmlns:th="http://www.thymeleaf.org" layout:decorate="~{template}" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
|
||||
<body>
|
||||
<th:block layout:fragment="content">
|
||||
<div class="borderdist">
|
||||
<div class="borderdist" sec:authorize="hasRole('Bibelunterricht')">
|
||||
<div class="alert alert-danger" th:if="${bean}">
|
||||
Wollen Sie den Slot <span th:text="${#temporals.format(bean.slotDay, 'dd.MM.yyyy')}"></span> wirklich löschen?<br />
|
||||
<a th:href="@{/slot/{id}/destroy(id=${bean.pkSlot})}" class="btn btn-outline-danger" th:if="${bean.pkSlot}">Ja, definitiv</a>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<body>
|
||||
<th:block layout:fragment="content">
|
||||
<div class="borderdist">
|
||||
<div class="container">
|
||||
<div class="container" sec:authorize="hasRole('Bibelunterricht')">
|
||||
<div class="row g-2">
|
||||
<div class="col-sm-12">
|
||||
<h2>Terminfestlegung</h2>
|
||||
|
Reference in New Issue
Block a user