Initial
This commit is contained in:
35
resources/app/templates/views/layouts/main.hbs
Normal file
35
resources/app/templates/views/layouts/main.hbs
Normal file
@@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!-- Page Metadata -->
|
||||
<title>{{{title}}}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<link rel="icon" href="icons/vtt.png">
|
||||
|
||||
<!-- Included Stylesheets -->
|
||||
{{#each styles}}
|
||||
<link href="{{this.src}}" rel="stylesheet" type="text/css" media="all">
|
||||
{{/each}}
|
||||
|
||||
<!-- Included Scripts -->
|
||||
{{#each scripts}}
|
||||
<script defer src="{{this.src}}"{{#if this.isModule}} type="{{this.type}}"{{/if}}></script>
|
||||
{{/each}}
|
||||
|
||||
<!-- Global Variables -->
|
||||
<script>
|
||||
const SIGNED_EULA={{eula}};
|
||||
const ROUTE_PREFIX="{{routePrefix}}";
|
||||
const MESSAGES={{#if messages}}{{{messages}}}{{else}}null{{/if}};
|
||||
</script>
|
||||
</head>
|
||||
<body class="{{ bodyClass }}" style="{{ bodyStyle }}">
|
||||
{{{body}}}
|
||||
{{#if watermark}}
|
||||
<footer class="watermark">{{watermark}}</footer>
|
||||
{{/if}}
|
||||
<aside id="tooltip" role="tooltip"></aside>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user