-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
42 lines (41 loc) · 1.27 KB
/
Copy pathindex.html
File metadata and controls
42 lines (41 loc) · 1.27 KB
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
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title><%= title %></title>
<link
href="<%= pathdragifyCss ? pathdragifyCss : 'https://unpkg.com/dragifyjs@' + dragifyVersion + '/dist/css/dragify.min.css' %>"
rel="stylesheet"
/>
<script src="<%= pathdragify ? pathdragify : 'https://unpkg.com/dragifyjs@' + dragifyVersion %>"></script>
<style>
body,
html {
height: 100%;
margin: 0;
}
</style>
</head>
<body>
<div id="dragify" style="height: 0px; overflow: hidden">
<div style="margin: 100px 100px 25px; padding: 25px; font: caption">
This is a demo content generated from <b>dragifyJS CLI</b>. For the development, you should create a _index.html
template file (might be a copy of this one) and on the next server start the new file will be served, and it
will be ignored by git.
</div>
</div>
<script type="text/javascript">
window.onload = () => {
window.editor = dragifyjs.init({
height: '100%',
container: '#dragify',
showOffsets: 1,
noticeOnUnload: 0,
storageManager: false,
fromElement: true,
plugins: ['<%= name %>'],
});
};
</script>
</body>
</html>