feat: add license page WIP
This commit is contained in:
64
php/license.php
Normal file
64
php/license.php
Normal file
@@ -0,0 +1,64 @@
|
||||
<?php require_once 'config.php'; ?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Lizenzinformationen</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="stylesheet" href="<?php echo STATIC_PATH; ?>/styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<header class="site-header">
|
||||
<div class="container header-inner">
|
||||
<div class="header-left">
|
||||
<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">Lizenzinformationen</div>
|
||||
</div>
|
||||
</div>
|
||||
<button type="button" id="theme-toggle" class="theme-toggle" aria-label="Switch to dark mode" title="Switch to dark mode">
|
||||
<span class="mdi mdi-theme-light-dark" aria-hidden="true"></span>
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="container">
|
||||
<section class="card">
|
||||
<h1>Lizenz & Copyright</h1>
|
||||
|
||||
<p>Please review and adjust the project license below to match your chosen license.</p>
|
||||
|
||||
<h2>Project License</h2>
|
||||
<p><a href="https://opensource.org/licenses/MIT" target="_blank" rel="noopener noreferrer">MIT</a></p>
|
||||
|
||||
<h2>Third-party assets</h2>
|
||||
<ul>
|
||||
<li>Icons: <strong>@mdi/font</strong> (Material Design Icons) — license & details: <a href="https://github.com/Templarian/MaterialDesign" target="_blank" rel="noopener noreferrer">https://github.com/Templarian/MaterialDesign</a></li>
|
||||
<li>Fonts: system and web fonts used (e.g. Segoe UI, Roboto) — please verify license terms with the respective vendors/providers.
|
||||
Useful links: <a href="https://fonts.google.com/" target="_blank" rel="noopener noreferrer">Google Fonts</a>
|
||||
</li>
|
||||
<li>Any other third-party libraries used (e.g. PHPMailer) — check their repository for license text.</li>
|
||||
</ul>
|
||||
|
||||
<p class="footer-note">
|
||||
Hinweis: Weitere Informationen finden Sie auf den verlinkten Projektseiten.
|
||||
</p>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
const STORAGE_KEY = 'theme';
|
||||
const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
|
||||
const saved = localStorage.getItem(STORAGE_KEY);
|
||||
|
||||
function setTheme(theme) {
|
||||
document.documentElement.setAttribute('data-theme', theme);
|
||||
localStorage.setItem(STORAGE_KEY, theme);
|
||||
}
|
||||
|
||||
setTheme(saved || (prefersDark ? 'dark' : 'light'));
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user