-
Notifications
You must be signed in to change notification settings - Fork 8
/
editor.html
55 lines (50 loc) · 1.99 KB
/
editor.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=1024, initial-scale=1">
<link rel="canonical" href="http://mosaico.io" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<script src="dist/vendor/knockout.js"></script>
<script src="dist/vendor/jquery.min.js"></script>
<script src="dist/vendor/jquery-ui.min.js"></script>
<script src="dist/vendor/jquery.ui.touch-punch.min.js"></script>
<script src="dist/vendor/load-image.all.min.js"></script>
<script src="dist/vendor/canvas-to-blob.min.js"></script>
<script src="dist/vendor/jquery.iframe-transport.js"></script>
<script src="dist/vendor/jquery.fileupload.js"></script>
<script src="dist/vendor/jquery.fileupload-process.js"></script>
<script src="dist/vendor/jquery.fileupload-image.js"></script>
<script src="dist/vendor/jquery.fileupload-validate.js"></script>
<script src="dist/vendor/knockout-jqueryui.min.js"></script>
<script src="dist/vendor/evol.colorpicker.min.js"></script>
<script src="dist/vendor/tinymce.min.js"></script>
<script src="dist/mosaico.min.js?v={{site.mosaico_version}}"></script>
<script>
$(function() {
if (!Mosaico.isCompatible()) {
alert('Update your browser!');
return;
}
var ok = Mosaico.init({
imgProcessorBackend: '/img',
emailProcessorBackend: '/dl',
titleToken: "MOSAICO Responsive Email Designer",
fileuploadConfig: {
url: '/upload',
// messages??
}
});
if (!ok) {
console.log("Missing initialization hash, redirecting to main entrypoint");
document.location = ".";
}
});
</script>
<link rel="stylesheet" href="dist/mosaico-material.min.css?v={{site.mosaico_version}}" />
<link rel="stylesheet" href="dist/vendor/notoregular/stylesheet.css" />
<link rel="stylesheet" href="dist/vendor/evol.colorpicker.min.css" /> <!-- 2k -->
</head>
<body class="mo-standalone">
</body>
</html>