mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
consolidate admin/public templates: common.css base in admin, nav partial, remove duplicate CSS
This commit is contained in:
@@ -23,22 +23,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
|
||||
$pageTitle = 'Connexion';
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Connexion – Posterg Admin</title>
|
||||
<link rel="icon" type="image/svg+xml" href="/assets/admin_favicon.svg">
|
||||
<link rel="stylesheet" href="/assets/css/modern-normalize.min.css">
|
||||
<link rel="stylesheet" href="/assets/css/admin.css">
|
||||
</head>
|
||||
<body class="admin-body">
|
||||
<nav class="admin-nav" aria-label="Navigation admin">
|
||||
<a href="/" class="admin-nav__logo" target="_blank" rel="noopener noreferrer">
|
||||
<span aria-hidden="true">← </span>Posterg<span class="sr-only"> (site public, nouvel onglet)</span>
|
||||
</a>
|
||||
</nav>
|
||||
<?php require_once APP_ROOT . '/templates/admin/head.php'; ?>
|
||||
|
||||
<div class="admin-login-wrap">
|
||||
<div class="admin-login-box">
|
||||
@@ -57,5 +42,5 @@ $pageTitle = 'Connexion';
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<?php require_once APP_ROOT . '/templates/admin/footer.php'; ?>
|
||||
|
||||
Reference in New Issue
Block a user