-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
173 lines (155 loc) · 5.21 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
<!DOCTYPE html>
<html>
<head>
<title>sLess</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="lib/fontawesome5/css/all.css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="./lib/querybuilder/query-builder.default.css">
<link rel="stylesheet" href="./lib/floatb/floatbutton.css" rel="stylesheet" />
<link rel="stylesheet" href="./lib/muuri/styles/main.css">
<link rel="stylesheet" href="./lib/tribute/tribute.css">
<link rel="stylesheet" href="style.css">
<!-- <script>window.$ = window.jQuery = require("jquery");</script> -->
<script>window.$ = window.jQuery = require("./lib/jquery/jquery.js");</script>
<script src="./lib/jquery/jquery.extendext.js"></script>
<script src="./lib/esprima/esprima.js"></script>
<script src="./lib/esprima/escodegen.browser.js"></script>
<script src="./lib/json/editor.min.js"></script>
<script src="./lib/jquery.caret.js"></script>
<script src="./lib/querybuilder/query-builder.standalone.js"></script>
<script src="./lib/tribute/tribute.js"></script>
<script src="./lib/stream/stream.min.js"></script>
<script src="./lib/muuri/scripts/vendor/web-animations-2.3.2.min.js"></script>
<script src="./lib/muuri/scripts/vendor/muuri-0.8.0.js"></script>
</head>
<body>
<div id="main">
<div class="controls cf">
<div class="control search">
<div class="control-icon">
<i class="material-icons"></i>
</div>
<input class="control-field search-field form-control-main " type="text" name="search"
placeholder="Search..." />
</div>
<div class="control filter">
<div class="control-icon">
<i class="material-icons"></i>
</div>
<div class="select-arrow">
<i class="material-icons"></i>
</div>
<select class="control-field filter-field form-control-main">
<option value="" selected>All</option>
<option value="orange">Supplier</option>
<option value="red">Runnable</option>
<option value="blue">Consumer</option>
<option value="green">Function</option>
</select>
</div>
</div>
<div class="grid"></div>
</div>
<button id="click">Click</button>
<div id="code_editor">
<h1 id="code_header">Code Editor</h1>
<div id="idContentEditable">
<!-- <div contenteditable="true">
return
</div>
<div contenteditable="true"></div>
<div contenteditable="true"></div> -->
</div>
</div>
<div id="query_editor">
<h1>Query Builder</h1>
<div id="builder-basic">
</div>
</div>
<div id="object_builder" class="w3-modal">
<div class="w3-modal-content w3-card-4">
<h1>Object-Builder</h1>
<div id="json_editor"></div>
<button id="saveObject" class="w3-button w3-green">save</button>
</div>
</div>
<div id="fun_builder" class="w3-modal">
<div class="w3-modal-content w3-card-4">
<h2>Fun-Builder</h2>
<div id="fun_editor"></div>
<button id="createFun" class="w3-button w3-green">create</button>
</div>
</div>
<div id="calculator" class="w3-modal">
<div class="calculator w3-modal-content w3-card-4">
<div class="input" id="input"></div>
<div class="buttons">
<div class="operators">
<div>+</div>
<div>-</div>
<div>*</div>
<div>/</div>
</div>
<div id="vars" class="numbers">
</div>
<div class="leftPanel">
<div class="numbers">
<div>7</div>
<div>8</div>
<div>9</div>
</div>
<div class="numbers">
<div>4</div>
<div>5</div>
<div>6</div>
</div>
<div class="numbers">
<div>1</div>
<div>2</div>
<div>3</div>
</div>
<div class="numbers">
<div>0</div>
<div>.</div>
<div id="clear">C</div>
</div>
</div>
<div class="equal" id="result">=</div>
</div>
</div>
</div>
<div id="type_builder" class="w3-modal">
<div class="w3-modal-content w3-card-4">
<h2>Type-Builder</h2>
<div id="type_editor"></div>
<button id="createTyp" class="w3-button w3-green">create</button>
</div>
</div>
<div id="type_view">
<h1>Type View</h1>
<table class="w3-table-all">
<thead>
<tr class="w3-light-grey">
<th>Name</th>
<th>Fields</th>
</tr>
</thead>
<tbody id="typTable"></tbody>
</table>
</div>
<div class="fixed-action-btn horizontal" style="bottom: 45px; right: 24px;">
<a class="btn-floating btn-large red">
<i class="fa fa-user"></i>
</a>
<ul id="functions"></ul>
</div>
<script src="./lib/floatb/floatbutton.js"></script>
<script src="./pages/runAny.js"></script>
<script src="./pages/express.js"></script>
<script src="./pages/main_page.js"></script>
<script src="render.js"></script>
</body>
</html>