Add landing page
This commit is contained in:
parent
9439de0603
commit
aaf1aa7890
603 changed files with 637 additions and 1 deletions
46
private/kirby/views/panel.php
Normal file
46
private/kirby/views/panel.php
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<meta name="referrer" content="same-origin">
|
||||
|
||||
<title>Kirby Panel</title>
|
||||
|
||||
<link nonce="<?= $nonce ?>" rel="stylesheet" href="<?= $assetUrl ?>/css/app.css">
|
||||
<link nonce="<?= $nonce ?>" rel="stylesheet" href="<?= $pluginCss ?>">
|
||||
|
||||
<?php if ($customCss) : ?>
|
||||
<link nonce="<?= $nonce ?>" rel="stylesheet" href="<?= $customCss ?>">
|
||||
<?php endif ?>
|
||||
|
||||
<link nonce="<?= $nonce ?>" rel="apple-touch-icon" href="<?= $assetUrl ?>/apple-touch-icon.png" />
|
||||
<link nonce="<?= $nonce ?>" rel="shortcut icon" href="<?= $assetUrl ?>/favicon.png">
|
||||
|
||||
<base href="<?= $panelUrl ?>">
|
||||
</head>
|
||||
<body>
|
||||
<svg aria-hidden="true" class="k-icons" xmlns="http://www.w3.org/2000/svg" overflow="hidden" nonce="<?= $nonce ?>">
|
||||
<defs />
|
||||
</svg>
|
||||
|
||||
<div id="app"></div>
|
||||
|
||||
<noscript>
|
||||
Please enable JavaScript in your browser
|
||||
</noscript>
|
||||
|
||||
<?= $icons ?>
|
||||
|
||||
<script nonce="<?= $nonce ?>">window.panel = <?= json_encode($options, JSON_UNESCAPED_SLASHES) ?></script>
|
||||
<script nonce="<?= $nonce ?>" src="<?= $assetUrl ?>/js/plugins.js" defer></script>
|
||||
<script nonce="<?= $nonce ?>" src="<?= $assetUrl ?>/js/vendor.js" defer></script>
|
||||
<script nonce="<?= $nonce ?>" src="<?= $pluginJs ?>" defer></script>
|
||||
<?php if (isset($config['js'])) : ?>
|
||||
<script nonce="<?= $nonce ?>" src="<?= Url::to($config['js']) ?>" defer></script>
|
||||
<?php endif ?>
|
||||
<script nonce="<?= $nonce ?>" src="<?= $assetUrl ?>/js/app.js" defer></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue