mailtrain/views/layout.hbs
Tomas Bures 7788b0bc67 Fixed sandbox. Multiple tabs work now.
WiP on selectable mosaico templates.

TODO: Make files always point to trusted URL, such that we don't have to rebase them. They are public anyway. The same goes for mosaico endpoints: /mosaico/templates and /mosaico/img
2018-05-09 04:07:01 +02:00

41 lines
1.1 KiB
Handlebars

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{{#translate}}Self hosted email newsletter app{{/translate}}">
<link rel="icon" href="/public/favicon.ico">
<title>Mailtrain
{{#if title}} | {{title}}{{/if}}
</title>
<link rel="stylesheet" href="/public/bootstrap/themes/united.min.css">
<link rel="stylesheet" href="/public/css/footer.css">
<link rel="stylesheet" href="/public/css/mailtrain.css">
<script src="/public/jquery-2.2.1.min.js"></script>
<script src="/public/bootstrap/js/bootstrap.min.js"></script>
{{#if mailtrainConfig}}
<script>
{{#if reactCsrfToken}}window.csfrToken = '{{reactCsrfToken}}';{{/if}}
window.mailtrainConfig = {{{mailtrainConfig}}};
</script>
{{#each scriptFiles}}
<script src="{{this}}"></script>
{{/each}}
{{/if}}
</head>
<body class="{{bodyClass}}">
{{{body}}}
{{> tracking_scripts}}
</body>
</html>