1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 06:58:51 +03:00

BE sync / gitea

This commit is contained in:
Anton Afanasyeu
2026-06-10 20:22:08 +02:00
parent 10fade4a4d
commit 5e4f208d83
14 changed files with 781 additions and 17 deletions

View File

@@ -3,14 +3,20 @@ $bp = Auth::basePath();
$ab = assets_base();
?>
<!DOCTYPE html>
<html lang="en">
<html lang="en" data-theme="dark">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Login — <?= h(cfg('app_name')) ?></title>
<script>
(function () {
var t = localStorage.getItem('crash_console_theme');
if (t === 'light' || t === 'dark') document.documentElement.setAttribute('data-theme', t);
})();
</script>
<link rel="stylesheet" href="<?= h($ab) ?>/assets/css/app.css">
</head>
<body class="login-page">
<body class="login-page" data-base-path="<?= h($ab) ?>">
<form class="login-card" method="post" action="<?= h($bp) ?>/login">
<h1><?= h(cfg('app_name')) ?></h1>
<p class="muted">Sign in (same credentials as Crashes / Tickets)</p>