Files
pulse-signage/src/web/views/frame-layout.hbs
T

48 lines
1.7 KiB
Handlebars

<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{{title}} - Signage</title>
<script src="/assets/js/theme-init.js"></script>
<link rel="stylesheet" href="/assets/css/admin.css" />
{{#if stylesheets.length}}
{{#each stylesheets}}
<link rel="stylesheet" href="/assets/{{this}}" />
{{/each}}
{{/if}}
</head>
<body class="admin-shell-body admin-shell-body--frame {{frameBodyClass}}">
<div class="app-shell app-shell--frame">
<div class="shell-main shell-main--frame">
{{#unless hideThemeToggle}}
<button type="button" class="theme-toggle theme-toggle--floating" data-theme-toggle aria-pressed="false" aria-label="Switch to dark mode">
<span class="theme-toggle__icon theme-toggle__icon--moon" aria-hidden="true"></span>
</button>
{{/unless}}
{{#unless hideFrameHeader}}
<header class="topbar topbar--frame">
<div class="topbar-copy">
<span class="eyebrow">Slide workspace</span>
<h1>{{title}}</h1>
</div>
</header>
{{/unless}}
<main class="content content--frame">
<div class="page-shell page-shell--frame">
{{{body}}}
</div>
</main>
</div>
</div>
<script src="/assets/js/theme-sidebar.js"></script>
<script src="/assets/js/toast.js"></script>
<script src="/assets/js/admin-page.js"></script>
{{#if scripts.length}}
{{#each scripts}}
<script src="/assets/{{this}}"></script>
{{/each}}
{{/if}}
</body>
</html>