New project structure
Beta of extract.js for extracting english locale
This commit is contained in:
parent
e18d2b2f84
commit
2edbd67205
247 changed files with 6405 additions and 4237 deletions
58
server/views/mosaico/layout.hbs
Normal file
58
server/views/mosaico/layout.hbs
Normal file
|
@ -0,0 +1,58 @@
|
|||
<!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="shortcut icon" href="{{publicPath}}favicon.ico" type="image/x-icon" />
|
||||
<link rel="icon" href="{{publicPath}}static/favicon.ico">
|
||||
|
||||
<title>Mailtrain</title>
|
||||
|
||||
<script src="{{publicPath}}static/mosaico/vendor/jquery.min.js"></script>
|
||||
<script src="{{publicPath}}static/mosaico/vendor/jquery-migrate.min.js"></script>
|
||||
<script src="{{publicPath}}static/mosaico/vendor/knockout.js"></script>
|
||||
<script src="{{publicPath}}static/mosaico/vendor/jquery-ui.min.js"></script>
|
||||
<script src="{{publicPath}}static/mosaico/vendor/jquery.ui.touch-punch.min.js"></script>
|
||||
<script src="{{publicPath}}static/mosaico/vendor/load-image.all.min.js"></script>
|
||||
<script src="{{publicPath}}static/mosaico/vendor/canvas-to-blob.min.js"></script>
|
||||
<script src="{{publicPath}}static/mosaico/vendor/jquery.iframe-transport.js"></script>
|
||||
<script src="{{publicPath}}static/mosaico/vendor/jquery.fileupload.js"></script>
|
||||
<script src="{{publicPath}}static/mosaico/vendor/jquery.fileupload-process.js"></script>
|
||||
<script src="{{publicPath}}static/mosaico/vendor/jquery.fileupload-image.js"></script>
|
||||
<script src="{{publicPath}}static/mosaico/vendor/jquery.fileupload-validate.js"></script>
|
||||
<script src="{{publicPath}}static/mosaico/vendor/knockout-jqueryui.min.js"></script>
|
||||
<script src="{{publicPath}}static/mosaico/vendor/tinymce.min.js"></script>
|
||||
|
||||
<script src="{{publicPath}}static/mosaico/mosaico.min.js?v=0.16"></script>
|
||||
|
||||
{{#if languageStrings}}<script> window.mosaicoLanguageStrings = {{{languageStrings}}}; </script>{{/if}}
|
||||
<script> window.mosaicoPlugins = []; </script>
|
||||
<script> window.mosaicoHTMLPostRenderers = []; </script>
|
||||
|
||||
{{#if editorConfig.customscripts}}
|
||||
{{#each editorConfig.customscripts}}
|
||||
<script src="{{this}}"></script>
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
|
||||
<script>
|
||||
window.csfrToken = '{{reactCsrfToken}}';
|
||||
window.mailtrainConfig = {{{mailtrainConfig}}};
|
||||
</script>
|
||||
|
||||
{{#each scriptFiles}}
|
||||
<script src="{{this}}"></script>
|
||||
{{/each}}
|
||||
|
||||
<link rel="stylesheet" href="{{publicPath}}static/mosaico/mosaico-material.min.css?v=0.10" />
|
||||
<link rel="stylesheet" href="{{publicPath}}static/mosaico/vendor/notoregular/stylesheet.css" />
|
||||
</head>
|
||||
<body class="mo-standalone">
|
||||
{{{body}}}
|
||||
</body>
|
||||
</html>
|
||||
|
6
server/views/mosaico/root.hbs
Normal file
6
server/views/mosaico/root.hbs
Normal file
|
@ -0,0 +1,6 @@
|
|||
<div id="root"></div>
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
MailtrainReactBody.default();
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue