baseline
This commit is contained in:
49
templates/login.phtml
Normal file
49
templates/login.phtml
Normal file
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
|
||||
use MintyPHP\Buffer;
|
||||
|
||||
$defaultTitle = appTitle();
|
||||
$primaryVars = appPrimaryCssVars();
|
||||
$theme = appDefaultTheme();
|
||||
$user = $_SESSION['user'] ?? [];
|
||||
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html data-theme="<?php e($theme); ?>" <?php if ($primaryVars !== ''): ?>style="<?php e($primaryVars); ?>" <?php endif; ?>>
|
||||
|
||||
<head>
|
||||
<base href="<?php e(localeBase()); ?>">
|
||||
<script>
|
||||
window.APP_ASSET_BASE = "<?php e(asset('')); ?>";
|
||||
</script>
|
||||
<title><?php e($defaultTitle); ?> <?php if (Buffer::get('title')); ?></title>
|
||||
<meta property="og:site_name" content="<?php e($defaultTitle); ?>">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="<?php e(appFaviconUrl('favicon-32x32.png')); ?>">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="<?php e(appFaviconUrl('favicon-16x16.png')); ?>">
|
||||
<link rel="apple-touch-icon" href="<?php e(appFaviconUrl('apple-touch-icon.png')); ?>">
|
||||
<link rel="manifest" href="<?php e(asset('favicon/site.webmanifest')); ?>">
|
||||
<link href="<?php e(asset('vendor/bootstrap-icons/bootstrap-icons.css')); ?>" rel="stylesheet">
|
||||
<link href="<?php e(asset('css/base/variables.css')); ?>" rel="stylesheet">
|
||||
<link href="<?php e(asset('css/components/app-badges.css')); ?>" rel="stylesheet">
|
||||
<link href="<?php e(asset('css/layout/app-shell.css')); ?>" rel="stylesheet">
|
||||
<link href="<?php e(asset('css/components/app-blockquote.css')); ?>" rel="stylesheet">
|
||||
<link href="<?php e(asset('css/components/app-forms.css')); ?>" rel="stylesheet">
|
||||
<link href="<?php e(asset('css/components/app-flash.css')); ?>" rel="stylesheet">
|
||||
<link href="<?php e(asset('css/components/app-brand.css')); ?>" rel="stylesheet">
|
||||
<link href="<?php e(asset('css/pages/app-login.css')); ?>" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<main>
|
||||
<div class="container-small">
|
||||
<?php require __DIR__ . '/partials/app-flash.phtml'; ?>
|
||||
<?php Buffer::get('html'); ?>
|
||||
</div>
|
||||
</main>
|
||||
<?php require __DIR__ . '/partials/app-footer.phtml'; ?>
|
||||
<script type="module" src="<?php e(asset('js/app-login-init.js')); ?>"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user