-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
126 lines (119 loc) · 6.29 KB
/
index.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE html>
<html>
<head>
<title>iigraph-A visual flowchart editor and animator</title>
<link rel="stylesheet" href="ui/css/main.css">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="3rd-party/coloris.css"/>
</head>
<body>
<div class="container">
<div class="header">
<div class="logo">
<img src="logo.svg"/>
</div>
<div class="navigation">
<div class="title">
<h3>iiGraph</h3>
</div>
<ul>
<li>File</li>
<li>Edit</li>
<li>View</li>
<li>Preference</li>
<li>Help</li>
<li><a href="https://github.com/me-sharif-hasan/iigraph">Github</a></li>
</ul>
</div>
</div>
<div class="left-sidebar">
<div class="drop">
<input type="checkbox" class="hidden toggler" id="general-switch" checked>
<label for="general-switch" class="title">General</label>
<div class="holder">
<div class="subholder">
<input type="image" name="circle" src="ui/icons/circle.svg" class="shape-icon"/>
<input type="image" name="isotherm" src="ui/icons/iso-triange.svg" class="shape-icon"/>
<input type="image" name="rightangle-triangle" src="ui/icons/rightangle.svg" class="shape-icon"/>
<input type="image" name="rect" src="ui/icons/rect.svg" class="shape-icon"/>
<input type="image" name="cube" src="ui/icons/cube.svg" class="shape-icon"/>
</div>
</div>
</div>
<div class="drop">
<input type="checkbox" class="hidden toggler" id="misc-switch">
<label for="misc-switch" class="title">Misc</label>
<div class="holder">
<div class="subholder">
<input type="image" name="heart" src="ui/icons/heart.svg" class="shape-icon"/>
<input type="image" name="cloud" src="ui/icons/cloud.svg" class="shape-icon"/>
<input type="image" name="human" src="ui/icons/actor.svg" class="shape-icon"/>
<input type="image" name="finger" src="ui/icons/finger.svg" class="shape-icon"/>
<input type="image" name="arrow" src="ui/icons/arrow.svg" class="shape-icon"/>
<input type="image" name="comment" src="ui/icons/comment.svg" class="shape-icon"/>
<input type="image" name="face" src="ui/icons/smile.svg" class="shape-icon"/>
</div>
</div>
</div>
</div>
<div class="drawing-area">
<svg style="width: 100%;height: 100%;" id="canvas">
</svg>
</div>
<div class="right-sidebar">
<div class="drop">
<input type="checkbox" class="hidden toggler" id="shape-position-switch" checked>
<label for="shape-position-switch" class="title">Options</label>
<div class="holder">
<div class="positioner subholder">
<input class="button-type-1 " id="shape-to-back" type="image" src="ui/icons/sendback.svg" data-btn="1"/>
<input class="button-type-1" id="shape-to-front" type="image" src="ui/icons/bringforward.svg" data-btn="2"/>
</div>
<div class="subholder mirror">
<input class="button-type-1 " id="mirror-horizontal" type="image" src="ui/icons/mirror-horizontal.svg" data-btn="1"/>
<input class="button-type-1" id="mirror-vertical" type="image" src="ui/icons/mirror-vertical.svg" data-btn="2"/>
</div>
</div>
</div>
<div class="drop">
<input type="checkbox" class="hidden toggler" id="shape-color-switch" checked>
<label for="shape-color-switch" class="title">Fill</label>
<div class="holder">
<div class="color subholder">
<div id="fill" class="property-box"></div>
</div>
</div>
</div>
<div class="drop">
<input type="checkbox" class="hidden toggler" id="shape-move-switch" checked>
<label for="shape-move-switch" class="title">Position</label>
<div class="holder">
<div class="color subholder">
<div id="move" class="property-box"></div>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="3rd-party/svg-path-commander.min.js"></script>
<script type="text/javascript" src="src/lib/Path.js"></script>
<script type="text/javascript" src="src/lib/Shapes/Circle.js"></script>
<script type="text/javascript" src="src/lib/Shapes/Face.js"></script>
<script type="text/javascript" src="src/lib/Shapes/Heart.js"></script>
<script type="text/javascript" src="src/lib/Shapes/Human.js"></script>
<script type="text/javascript" src="src/lib/Shapes/Cloud.js"></script>
<script type="text/javascript" src="src/lib/Shapes/Finger.js"></script>
<script type="text/javascript" src="src/lib/Shapes/Isotherm.js"></script>
<script type="text/javascript" src="src/lib/Shapes/Cube.js"></script>
<script type="text/javascript" src="src/lib/Shapes/RightAngleTriangle.js"></script>
<script type="text/javascript" src="src/lib/Shapes/Rectangle.js"></script>
<script type="text/javascript" src="src/lib/Adapters/HandleManager.js"></script>
<script type="text/javascript" src="src/lib/MouseActionManager/iimice.js"></script>
<script type="text/javascript" src="src/lib/Adapters/SelectionAdapter.js"></script>
<script type="text/javascript" src="src/lib/Adapters/ShapeEventManager.js"></script>
<script type="text/javascript" src="src/lib/PathParser.js"></script>
<script type="text/javascript" src="src/lib/Factory.js"></script>
<script type="text/javascript" src="3rd-party/coloris.js"></script>
<script type="text/javascript" src="src/main.js"></script>
</body>
</html>