-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
190 lines (190 loc) · 6.08 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<title>Syntactique | Syntax Tree Builder</title>
<link rel="stylesheet" href="./vendor/font-awesome.css" />
<link rel="stylesheet" href="./vendor/animate.css" />
<link rel="stylesheet" href="./css/style.css" />
<script src="./vendor/d3.v3.js"></script>
<script src="./vendor/jquery.min.js"></script>
<script src="./vendor/jquery-ui.min.js"></script>
<link
rel="apple-touch-icon"
sizes="180x180"
href="./apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="./favicon-16x16.png"
/>
<link rel="manifest" href="./site.webmanifest" />
</head>
<body>
<p id="credits">© 2020 Nafeu Nasir</p>
<div id="header">
<h3 class="brand">
syntactique<span id="sub"> : : syntax tree builder</span>
</h3>
<div id="toolbar">
<div
id="toolbtn-edit"
onclick="setSelectedTool('edit')"
class="toolbtn-opt toolbtn-purple"
>
<i aria-hidden="true" class="fa fa-pencil"></i>EDIT
</div>
<div
id="toolbtn-add"
onclick="setSelectedTool('add')"
class="toolbtn-opt toolbtn-green"
>
<i aria-hidden="true" class="fa fa-plus"></i>ADD
</div>
<div
id="toolbtn-move"
onclick="setSelectedTool('move')"
class="toolbtn-opt toolbtn-blue"
>
<i aria-hidden="true" class="fa fa-arrows"></i>MOVE
</div>
<div
id="toolbtn-delete"
onclick="setSelectedTool('delete')"
class="toolbtn-opt toolbtn-red"
>
<i aria-hidden="true" class="fa fa-remove"></i>DELETE
</div>
<div
id="toolbtn-build"
onclick="setSelectedTool('build')"
class="toolbtn-opt toolbtn-orange"
>
<i aria-hidden="true" class="fa fa-magic"></i>BUILD
</div>
<div onclick="undo()" class="solo-button">
<i aria-hidden="true" class="fa fa-undo"></i>UNDO
</div>
<div class="group-button">
WIDTH<i
id="toolbtn-width-minus"
aria-hidden="true"
onclick="shrinkTreeWidth()"
class="fa fa-minus-square"
></i
><i
id="toolbtn-width-plus"
aria-hidden="true"
onclick="growTreeWidth()"
class="fa fa-plus-square"
></i>
</div>
<div class="group-button">
HEIGHT<i
id="toolbtn-height-minus"
aria-hidden="true"
onclick="shrinkTreeHeight()"
class="fa fa-minus-square"
></i
><i
id="toolbtn-height-plus"
aria-hidden="true"
onclick="growTreeHeight()"
class="fa fa-plus-square"
></i>
</div>
<div class="group-button">
SIZE<i
id="toolbtn-size-minus"
aria-hidden="true"
onclick="shrinkNodeSize()"
class="fa fa-minus-square"
></i
><i
id="toolbtn-size-plus"
aria-hidden="true"
onclick="growNodeSize()"
class="fa fa-plus-square"
></i>
</div>
<div
id="toolbtn-reset"
onclick="resetRenderDefaults()"
class="solo-button"
>
<i aria-hidden="true" class="fa fa-refresh"></i>RESET SIZING
</div>
<div onclick="restart()" class="solo-button">
<i aria-hidden="true" class="fa fa-eject"></i>RESTART
</div>
<div
onclick="window.location.href = 'https://www.youtube.com/watch?v=FTF8LdKE01M&list=PL1B3Q2e__PmlxkvPF6Dj4L4QVdrbBpKzm'"
class="solo-button"
>
<i aria-hidden="true" class="fa fa-video-camera"></i>TUTORIALS
</div>
</div>
<div id="toolconfig">
<i id="sliders-icon" aria-hidden="true" class="fa fa-sliders"></i>
<div id="toolsetting-edit" class="toolsetting animated fadeInDown">
<div data-setting="disabled" class="setting">edit</div>
</div>
<div id="toolsetting-add" class="toolsetting animated fadeInDown">
<div
id="setting-add-selection_toggle"
onclick="rotateSetting('add-selection_type')"
class="setting-static"
>
selection type : <span id="setting-add-selection_type"></span>
</div>
: :
<div
id="setting-add-edit_on_create"
data-setting="disabled"
onclick="toggleSetting('add-edit_on_create')"
class="setting"
>
edit on create<i class="fa fa-toggle-off toggle-icon"></i>
</div>
: :
<div
id="setting-add-auto_complete_phrase"
data-setting="disabled"
onclick="toggleSetting('add-auto_complete_phrase')"
class="setting"
>
auto complete phrase<i class="fa fa-toggle-off toggle-icon"></i>
</div>
</div>
<div id="toolsetting-move" class="toolsetting animated fadeInDown">
<div data-setting="disabled" class="setting">move</div>
</div>
<div id="toolsetting-delete" class="toolsetting animated fadeInDown">
<div data-setting="disabled" class="setting">delete</div>
</div>
<div id="toolsetting-build" class="toolsetting animated fadeInDown">
<div data-setting="disabled" class="setting">build</div>
</div>
</div>
<div id="sentence-input">
<textarea
id="sentence-content"
placeholder="Enter Sentence or Phrase"
></textarea>
</div>
</div>
<div id="main"></div>
<script src="./js/syntactique-model.js"></script>
<script src="./js/syntactique-ui.js"></script>
<script src="./js/scripts.js"></script>
</body>
</html>