chore: remove link in header note

This commit is contained in:
2025-11-26 15:15:42 +01:00
parent d099a33191
commit 2e9cb4d6af

View File

@@ -14,7 +14,7 @@
<img class="logo" src="https://www.ph-freiburg.de/_assets/cc3dd7db45300ecc1f3aeed85bda5532/Images/logo-big-blue.svg" alt="PH Freiburg Logo" />
<div class="brand">
<div class="brand-title">Bibliothek der Pädagogischen Hochschule Freiburg</div>
<div class="brand-sub"><a href="https://www.ph-freiburg.de/bibliothek.html" target="_blank" rel="noopener noreferrer">Hochschulbibliothek</a> · Online-Formulare</div>
<div class="brand-sub">Hochschulbibliothek · Semesterapparatsformulare</div>
</div>
</div>
<button type="button" id="theme-toggle" class="theme-toggle" aria-label="Switch to dark mode" title="Switch to dark mode">
@@ -45,8 +45,8 @@
<div class="service-icon">
<span class="mdi mdi-library-shelves"></span>
</div>
<h2>ELSA</h2>
<p>Elektronischer Semesterapparat</p>
<h2>Elektronischer Semesterapparat (ELSA)</h2>
<p>Antrag für die Einrichtung eines elektronischen Semesterapparats</p>
<div class="service-arrow">
<span class="mdi mdi-arrow-right"></span>
</div>
@@ -66,12 +66,15 @@
<a href="https://www.ph-freiburg.de/bibliothek/lernen/semesterapparate.html" target="_blank" rel="noopener noreferrer">
<span class="mdi mdi-open-in-new"></span> Zu den Semesterapparaten
</a>
<a href="license.php" target="_blank" rel="noopener noreferrer">
<span class="mdi mdi-file-document-outline"></span> Lizenzinformationen
</a>
</div>
</div>
</section>
</main>
<div id="success-toast" class="toast <?php echo isset($_GET['success']) && $_GET['success'] === 'true' ? '' : 'hidden'; ?>">
<div id="success-toast" class="toast <?php echo (defined('DEBUG_SHOW_TOAST') && DEBUG_SHOW_TOAST) || (isset($_GET['success']) && $_GET['success'] === 'true') ? '' : 'hidden'; ?>">
<div class="toast-icon">
<span class="mdi mdi-check-circle"></span>
</div>
@@ -123,14 +126,18 @@
// Show toast and auto-hide
(function() {
const urlParams = new URLSearchParams(window.location.search);
if (urlParams.get('success') === 'true') {
const debugMode = <?php echo (defined('DEBUG_SHOW_TOAST') && DEBUG_SHOW_TOAST) ? 'true' : 'false'; ?>;
if (debugMode || urlParams.get('success') === 'true') {
const toast = document.getElementById('success-toast');
setTimeout(() => toast.classList.add('show'), 10);
setTimeout(hideSuccessToast, 20000);
// Clean URL
const cleanUrl = window.location.pathname;
window.history.replaceState({}, document.title, cleanUrl);
// Clean URL (only if not in debug mode)
if (!debugMode) {
const cleanUrl = window.location.pathname;
window.history.replaceState({}, document.title, cleanUrl);
}
}
})();
</script>