-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathindex.html
260 lines (230 loc) · 10.1 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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
<html>
<head>
<title>GraphLinq | IDE</title>
<script defer src="./node_modules/@fortawesome/fontawesome-free/js/brands.js"></script>
<script defer src="./node_modules/@fortawesome/fontawesome-free/js/solid.js"></script>
<script defer src="./node_modules/@fortawesome/fontawesome-free/js/fontawesome.js"></script>
<script defer src="./node_modules/toastr/toastr.js"></script>
<script defer src="./js/shared/node_help.js"></script>
<link rel="stylesheet" href="./scss/index.scss">
<link rel="stylesheet" href="./node_modules/toastr/toastr.scss">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="favicon.png" />
</head>
<body>
<div id="loading-screen">
<div class="logo">
<img
src="./assets/logo_2.svg" />
</div>
</div>
<!-- menu -->
<div id="menu">
<div class="logo"></div>
<div class="menu-item">
<i class="fas fa-file"></i> File
<div class="sub-menu">
<div class="sub-menu-item" data-app-menu="file.new">
<i class="fas fa-file"></i> New graph (CTRL+,)
</div>
<div class="sub-menu-item" data-app-menu="file.load">
<input type="file" id="file-input" style="display: none;" />
<i class="fas fa-file-upload"></i> Load graph (CTRL+O)
</div>
<div class="sub-menu-item" data-app-menu="file.save">
<i class="fas fa-file-download"></i> Save graph (CTRL+S)
</div>
<div class="sub-menu-item" data-app-menu="file.export">
<i class="fas fa-file-download"></i> Export as file
</div>
<div class="sub-menu-item" data-app-menu="file.export_human_schema">
<i class="fas fa-file-download"></i> Export H.Schema
</div>
<div class="sub-menu-item" data-app-menu="file.export_js">
<i class="fas fa-scroll"></i> Export javascript
</div>
<!--
<div class="sub-menu-item" data-app-menu="file.export_image">
<i class="fas fa-images"></i> Export as image
</div>
-->
</div>
</div>
<div class="menu-item">
<i class="fas fa-terminal"></i> Execution
<div class="sub-menu">
<div class="sub-menu-item" data-app-menu="execution.launch">
<i class="fas fa-play"></i> Launch (CTRL+E)
</div>
</div>
</div>
<div class="menu-item" onclick="javascript: window.open('https://app.graphlinq.io')">
<i class="fas fa-columns"></i> Dashboard
</div>
<div class="menu-item" onclick="javascript: window.open('https://analytics.graphlinq.io')">
<i class="fas fa-chart-area"></i> Analytics
</div>
<div class="menu-item" onclick="javascript: window.open('https://docs.graphlinq.io')">
<i class="fas fa-book"></i> Documentation
</div>
<div class="menu-item" onclick="javascript: window.open('https://t.me/graphlinq')">
<i class="fas fa-question-circle"></i> Help
</div>
<div class="right-container">
<div class="menu-item" data-app-menu="login">
<i class="fas fa-sign-in-alt"></i> Connect to wallet
</div>
<div class="menu-item" data-app-menu="logged.as" style="display: none;">
<i class="fas fa-wallet"></i>
<span></span>
</div>
</div>
</div>
<div id="toolbox">
<div id="project-manager">
<div class="title">
<i class="fas fa-cube"></i> Projects
</div>
<div class="projects-container">
</div>
</div>
<div id="search-manager">
<div class="title">
<i class="fas fa-search"></i> Search
</div>
<div class="searchbox">
<input type="text" id="toolbar-search-input" placeholder="Search a block by name" autocomplete="off" />
</div>
</div>
<div id="node-manager">
<div class="title">
<i class="fas fa-cubes"></i> Blocks
</div>
<div class="group-container">
</div>
</div>
</div>
<div id="toolbar">
<div class="toolbar-input graph-name">
<input type="text" placeholder="Graph name.." spellcheck="false" />
</div>
<center>
<div class="toolbar-btn" data-app-menu="graph.add_comment">
<i class="fas fa-comment"></i>
</div>
<div class="toolbar-btn" data-app-menu="graph.add_group_comment">
<i class="fas fa-layer-group"></i>
</div>
</center>
</div>
<!-- graph-container -->
<div id="graph-container">
<div class="inner-container">
</div>
<div id="dependency-page">
<div class="page-title">
<i class="fas fa-link"></i> Dependencies
</div>
<div class="container">
</div>
</div>
<div id="linker-block" class="disable">
<div class="btn red btn-cancel">
<i class="fas fa-ban"></i> Cancel
</div>
</div>
</div>
<!-- template-page -->
<div id="template-page">
<div class="overlay"></div>
<div class="page">
<div class="exit-btn" data-action="close-template-page">
<div class="icon"><i class="fas fa-arrow-left"></i></div> Return to IDE
</div>
<div class="container">
</div>
</div>
</div>
<!-- sub-graph-tab-container -->
<div id="sub-graph-tab-container">
<div class="sub-graph-tab"><i class="fas fa-project-diagram"></i> Main Graph</div>
</div>
<div id="subgraph-toolbox">
<div id="minimine-terminal-btn" class="btn">
<i class="fas fa-arrow-down"></i>
</div>
<div id="maximize-terminal-btn" class="btn">
<i class="fas fa-arrow-up"></i>
</div>
<div id="dependencies-open-btn" class="btn">
<i class="fas fa-link"></i>
</div>
<div id="template-open-btn" class="btn">
<i class="fas fa-book"></i>
<span>Templates</span>
</div>
<div id="ai-prompt">
<div id="ai-thinking-loading" class="bouncing-dots">
<div class="dot" id="dot1"></div>
<div class="dot" id="dot2"></div>
<div class="dot" id="dot3"></div>
</div>
<div class="load"></div>
<i class="fas fa-robot"></i>
<input type="text" placeholder="<Ask to the Graphlinq AI to create a graph for you>" />
</div>
</div>
<!-- console -->
<div id="console">
<!--
<div class="header">
<i class="fas fa-terminal"></i> Terminal
</div>
-->
<div style="display: flex; height: 100%; gap: 20px;">
<div class="console-entry-scroll" style="flex: 1; overflow: auto; height: 100%;">
<div class="title">
<i class="fas fa-terminal"></i> Terminal
</div>
<div class="console-entry-container">
</div>
<div class="console-input">
<input type="text" />
</div>
</div>
<div class="logs-entry-scroll" style="flex: 1; overflow: auto; height: 100%;">
<div class="title">
<i class="fas fa-download"></i> Execution Logs
</div>
<div class="logs-entry-container">
</div>
<div id="minimap">
<canvas width="250" height="140"></canvas>
</div>
</div>
</div>
</div>
<!-- template-list -->
<div id="template-list">
<div class="overlay"></div>
<div class="container">
<div class="template-list">
<div class="template-item">
<img class="logo" src="./assets/logo-single.png" />
</div>
</div>
</div>
</div>
<!-- Node Help & Intro -->
<div id="popup" class="popup-wrapper hide">
<div id="popup-content" class="popup-content">
<div id="popup-title" class="popup-title">
<button type="button" class="popup-close">×</button>
<h3 id="popup-header"></h3>
</div>
<div id="popup-body" class="popup-body"></div>
</div>
</div>
<script src="js/app.js"></script>
</body>
</html>