Files
server-manager/views/layouts/auth.php

28 lines
1.6 KiB
PHP
Executable File

<!DOCTYPE html>
<html lang="en" data-theme="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?= htmlspecialchars($title ?? 'ServerManager') ?></title>
<meta name="description" content="ServerManager — Linux server management platform. Monitor, manage, and control your servers with real-time metrics and web terminal.">
<link rel="canonical" href="<?= htmlspecialchars(($_ENV['APP_URL'] ?? 'https://sysadmin.lan') . parse_url($_SERVER['REQUEST_URI'] ?? '/', PHP_URL_PATH)) ?>">
<meta property="og:title" content="<?= htmlspecialchars($title ?? 'ServerManager') ?>">
<meta property="og:description" content="ServerManager — Linux server management platform.">
<meta property="og:type" content="website">
<meta property="og:image" content="<?= htmlspecialchars(($_ENV['APP_URL'] ?? 'https://sysadmin.lan') . '/assets/img/icon-512.png') ?>">
<meta name="twitter:card" content="summary_large_image">
<link rel="icon" type="image/svg+xml" href="/assets/img/server.svg">
<link rel="manifest" href="/manifest.json">
<meta name="theme-color" content="#0f1117">
<link rel="stylesheet" href="/assets/css/style.css?v=<?= asset_version() ?>">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
</head>
<body class="auth-page">
<div class="auth-container">
<?= $content ?? '' ?>
</div>
<div id="toastContainer" class="toast-container"></div>
<script src="/assets/js/app.js?v=<?= asset_version() ?>"></script>
</body>
</html>