Talisman fixes
All checks were successful
Build & Push / Build & Push image (push) Successful in 39s
All checks were successful
Build & Push / Build & Push image (push) Successful in 39s
This commit is contained in:
@@ -103,7 +103,9 @@ def create_app():
|
|||||||
}
|
}
|
||||||
Talisman(
|
Talisman(
|
||||||
app,
|
app,
|
||||||
force_https=is_https,
|
# HTTPS redirect hoort in nginx, NIET hier.
|
||||||
|
# Talisman zou anders redirecten naar het interne Docker adres (127.0.0.1:5000).
|
||||||
|
force_https=False,
|
||||||
strict_transport_security=is_https,
|
strict_transport_security=is_https,
|
||||||
strict_transport_security_max_age=31536000,
|
strict_transport_security_max_age=31536000,
|
||||||
strict_transport_security_include_subdomains=True,
|
strict_transport_security_include_subdomains=True,
|
||||||
|
|||||||
@@ -322,7 +322,7 @@
|
|||||||
|
|
||||||
<div class="notification" id="notification"></div>
|
<div class="notification" id="notification"></div>
|
||||||
|
|
||||||
<script>
|
<script nonce="{{ csp_nonce() }}">
|
||||||
document.addEventListener('DOMContentLoaded', async () => {
|
document.addEventListener('DOMContentLoaded', async () => {
|
||||||
await loadStats();
|
await loadStats();
|
||||||
await loadSgIct();
|
await loadSgIct();
|
||||||
|
|||||||
@@ -348,7 +348,7 @@
|
|||||||
|
|
||||||
<div class="notification" id="notification"></div>
|
<div class="notification" id="notification"></div>
|
||||||
|
|
||||||
<script>
|
<script nonce="{{ csp_nonce() }}">
|
||||||
let teachers = [];
|
let teachers = [];
|
||||||
let allGoals = {};
|
let allGoals = {};
|
||||||
let vakData = {};
|
let vakData = {};
|
||||||
|
|||||||
@@ -192,7 +192,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="notification" id="notification"></div>
|
<div class="notification" id="notification"></div>
|
||||||
<script>
|
<script nonce="{{ csp_nonce() }}">
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
loadDoelen();
|
loadDoelen();
|
||||||
switchUploadTab('xlsx');
|
switchUploadTab('xlsx');
|
||||||
|
|||||||
@@ -351,7 +351,7 @@
|
|||||||
|
|
||||||
<div class="notification" id="notification"></div>
|
<div class="notification" id="notification"></div>
|
||||||
|
|
||||||
<script>
|
<script nonce="{{ csp_nonce() }}">
|
||||||
// ── State ────────────────────────────────────────────────────────────────────
|
// ── State ────────────────────────────────────────────────────────────────────
|
||||||
let currentUser = null;
|
let currentUser = null;
|
||||||
let currentVakId = null;
|
let currentVakId = null;
|
||||||
|
|||||||
@@ -311,7 +311,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script nonce="{{ csp_nonce() }}">
|
||||||
let saVisible = false;
|
let saVisible = false;
|
||||||
|
|
||||||
function toggleSuperadmin() {
|
function toggleSuperadmin() {
|
||||||
|
|||||||
@@ -332,7 +332,7 @@
|
|||||||
|
|
||||||
<div class="notification" id="notification"></div>
|
<div class="notification" id="notification"></div>
|
||||||
|
|
||||||
<script>
|
<script nonce="{{ csp_nonce() }}">
|
||||||
const IS_SUPERADMIN = {{ 'true' if is_superadmin else 'false' }};
|
const IS_SUPERADMIN = {{ 'true' if is_superadmin else 'false' }};
|
||||||
let schools = [];
|
let schools = [];
|
||||||
|
|
||||||
|
|||||||
@@ -319,7 +319,7 @@
|
|||||||
|
|
||||||
<div class="notification" id="notification"></div>
|
<div class="notification" id="notification"></div>
|
||||||
|
|
||||||
<script>
|
<script nonce="{{ csp_nonce() }}">
|
||||||
let mySchoolId = null;
|
let mySchoolId = null;
|
||||||
|
|
||||||
const ROLLEN = [
|
const ROLLEN = [
|
||||||
|
|||||||
@@ -254,7 +254,7 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script nonce="{{ csp_nonce() }}">
|
||||||
document.getElementById('setupForm').addEventListener('submit', async (e) => {
|
document.getElementById('setupForm').addEventListener('submit', async (e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
const errorEl = document.getElementById('error-msg');
|
const errorEl = document.getElementById('error-msg');
|
||||||
|
|||||||
@@ -243,7 +243,7 @@
|
|||||||
<a href="/auth/login" class="back-link">← Terug naar normale loginpagina</a>
|
<a href="/auth/login" class="back-link">← Terug naar normale loginpagina</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script nonce="{{ csp_nonce() }}">
|
||||||
document.getElementById('password').addEventListener('keydown', e => {
|
document.getElementById('password').addEventListener('keydown', e => {
|
||||||
if (e.key === 'Enter') doLogin();
|
if (e.key === 'Enter') doLogin();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user