2024-01-03 20:05:53 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>Marinesco - Application settings</title>
|
|
|
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
2024-01-05 23:53:28 +03:00
|
|
|
<link rel="alternate icon" href="/favicon.png" type="image/png">
|
2024-01-03 20:05:53 +03:00
|
|
|
<link rel="stylesheet" th:href="@{/styles/styles.css}" />
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div class="page">
|
|
|
|
<div th:replace="~{fragments/header :: 'header'}"></div>
|
|
|
|
<div class="container base">
|
2024-01-05 23:53:28 +03:00
|
|
|
<span
|
|
|
|
th:text="${'New users registration is now ' + (allowRegistration ? 'enabled. ' : 'disabled. ' )}"></span>
|
|
|
|
<a th:href="${'/settings/allow_registration/' + !allowRegistration }"
|
|
|
|
th:text="${'Click here to ' + (allowRegistration ? 'disable' : 'enable' )}"></a>
|
2024-01-10 02:48:47 +03:00
|
|
|
<p>
|
|
|
|
|
|
|
|
<span class="validationError" th:if="${rescanError} != null" th:text="${rescanError}"></span>
|
|
|
|
<span class="validationPass" th:if="${rescanOk} != null" th:text="${rescanOk}"></span>
|
|
|
|
<br />
|
2024-01-06 23:33:16 +03:00
|
|
|
<a href="/settings/rescan" >Click to rescan library</a>
|
2024-01-10 02:48:47 +03:00
|
|
|
<br />
|
|
|
|
<span class="validationError" th:if="${lastScanErrors} != ''" th:text="${lastScanErrors}"></span>
|
2024-01-05 23:53:28 +03:00
|
|
|
</p>
|
2024-01-03 20:05:53 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div th:replace="~{fragments/footer :: 'footer'}"></div>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|