Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·59 lines (52 loc) · 1.92 KB
/
Copy pathindex.html
File metadata and controls
executable file
·59 lines (52 loc) · 1.92 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ayajs@2.0.7/build/style.css">
<script type="application/javascript" src="aya.js"></script>
<script src="https://unpkg.com/mithril/mithril.js"></script>
<script src="https://cdn.tailwindcss.com"></script>
<style type="text/tailwindcss">
input,
select {
@apply bg-white border-gray-400 border-2 w-full rounded p-2 mb-8 disabled:bg-gray-200 disabled:cursor-not-allowed
}
</style>
<!-- <script type="application/javascript" src="https://cdn.jsdelivr.net/npm/ayajs@2.0.7/build/aya.js"></script> -->
<title>graphical resources</title>
</head>
<body >
<script>
var aya = aya.init();
console.log(aya);
aya.config.text.textanchor = "start";
aya.config.text.startoffset = "0%";
aya.config.link.type = null;
aya.grid(aya.svg);
</script>
<script src="src/panel.js"></script>
<script src="constantes/index.js"></script>
<script src="src/actions/resactions.js"></script>
<script src="src/actions/pathactions.js"></script>
<script src="src/actions/varactions.js"></script>
<script src="src/events.js"></script>
<script src="utils.js"></script>
<script src="src/entities/resource.js"></script>
<script src="src/entities/variable.js"></script>
<script src="src/entities/path.js"></script>
<script src="src/layout.js"></script>
<script src="src/register.js"></script>
<script src="src/editor.js"></script>
<script>
Layout.init(SVG_W, SVG_H);
m.mount(document.body, {
oninit(vnode) {
let path = new Path({path: '/', x: 500, y: 500});
},
view: () => m(editor)
});
</script>
</body>
</html>