-
Notifications
You must be signed in to change notification settings - Fork 1
/
html.html
278 lines (262 loc) · 8.51 KB
/
html.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
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
<!--
This file is part of egg-force-one.
egg-force-one is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Foobar is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with egg-force-one. If not, see <http://www.gnu.org/licenses/>. 2
############################################################################
Created on Mon Sep 25 16:24:39 2017
@author: CASAL Guillaume
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" type="text/css" href="css.css">
<!--<link rel='stylesheet' type="text/css" href="/charac.css">-->
<title>Egg force one</title>
</head>
<body>
<script type="text/javascript" src="/jquery.min.js"></script>
<!--<script type="text/javascript" src="/socket.io.js"></script>-->
<script type="text/javascript" src="/script.js"></script>
<div class="info" id="info">
<div class="info2">
<div class="info3">
<div class="infoTitre">
<h3>Caméra</h3>
<h3 class="openClose" onclick="openClose(this)"></h3>
</div>
<div class="infoBody">
<!--<img src="\video_feed">-->
</div>
</div>
<div class="info3">
<div class="infoTitre">
<h3>Impression</h3>
<h3 class="openClose" onclick="openClose(this)"></h3>
</div>
<div class="infoBody">
<table>
<tr>
<td class="td1">Statut</td>
<td class="td2" id="statutImpression">Aucune impression</td>
</tr>
<tr>
<td class="td1">Progression impression</td>
<td class="td2"><progress id="progressPrint"></td>
</tr>
<tr>
<td class="td1">Progression couche</td>
<td class="td2"><progress id="progressLayer"></td>
</tr>
<tr>
<td class="td1">Fichier imprimer</td>
<td class="td2" id="emplacementFichier"></td>
</tr>
<tr>
<td class="td1">Nombre de lignes</td>
<td class="td2" id="nbLinesPrint"></td>
</tr>
<tr>
<td class="td1">ligne actuelle</td>
<td class="td2" id="LinesPrint"></td>
</tr>
<tr>
<td class="td1">Nombre de couches</td>
<td class="td2" id="nbLayerPrint"></td>
</tr>
<tr>
<td class="td1">Couche actuelle</td>
<td class="td2" id="layerPrint"></td>
</tr>
</table>
<button onclick="printStatut(3)">pause</button>
<button onclick="printStatut(1)">play</button>
<button onclick="printStatut(4)">stop</button>
</div>
</div>
<div class="info3">
<div class="infoTitre">
<h3>Lancement impression</h3>
<h3 class="openClose" onclick="openClose(this)"></h3>
</div>
<div class="infoBody">
<div>
<!--<button onclick="listDirUpdate()">actualiser</button>-->
<div class="listDir" id="listDir">
<div class="divDirPath">
<table id="dirPath" class="dirPath">
<tr class="trPath">
<td class="td1">Position</td>
<td class="td2">/</td>
</tr>
</table>
</div>
<div class="listDirStart" id="listDirStart">
<table id="listDirStartTable"></table>
<div id="dragFileUpload" class="none">
<div class="drag1">
<div class="drag2">Glisser déposer<br>
vos fichiers a ajouter</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="info3">
<div class="infoTitre">
<h3>Envoyer fichier</h3>
<h3 class="openClose" onclick="openClose(this)"></h3>
</div>
<div class="infoBody">
<form method="POST" action="/upload" enctype="multipart/form-data">
<table>
<tr>
<td class="td1">Groupe</td>
<td class="td2"><input type="text" class="txtInput" name="groupe"></td>
</tr>
<tr>
<td class="td1">Fichier</td>
<td class="td2"><input type="file" class="txtInput" name="uploadFile" id="uploadFile"></td>
</tr>
</table>
<input type="submit" name="submit" value="Envoyer" class="button">
</form>
</div>
</div>
<div class="info3">
<div class="infoTitre">
<h3>Connection</h3>
<h3 class="openClose" onclick="openClose(this)"></h3>
</div>
<div class="infoBody">
<table>
<tr>
<td class="td1">Type de connection</td>
<td class="td2">
<select>
<option value="USB">USB</option>
<!--<option value="wifi">Wifi</option>-->
<!--<option value="Bluetoots">Wifi</option>-->
</select>
</td>
</tr>
</table>
</div>
</div>
<div class="info3">
<div class="infoTitre">
<h3>USB</h3>
<h3 class="openClose" onclick="openClose(this)"></h3>
</div>
<div class="infoBody">
<table>
<tr>
<td class="td1">utiliser</td>
<td class="td2" id="inprimanteRunUsb">Non connecté</td>
</tr>
<tr>
<td class="td1">connecté</td>
<td class="td2" id="inprimanteConnecterUsb">Non connecté</td>
</tr>
<tr>
<td class="td1">port de connection</td>
<td class="td2" id="inprimantePortUsb">temp</td>
</tr>
<tr>
<td class="td1">bauderate</td>
<td class="td2" id="inprimanteBauderateUsb">temp</td>
</tr>
</table>
<button onclick="modifyUsb(0)" id="modifyUsb">modifier</button>
<button onclick="modifyUsb(0)" id="modifyCancelUsb" class="none">annuler</button>
<button onclick="modifyUsb(1)" id="modifySendUsb" class="none">appliquer</button>
</div>
</div>
<div class="info3">
<div class="infoTitre">
<h3>Mise a jour</h3>
<h3 class="openClose" onclick="openClose(this)"></h3>
</div>
<div class="infoBody">
<button onclick="updateSoftware()">Mettre a jour</button>
<br>
</div>
</div>
<div class="none">
<div class="infoTitre">
<h3>terminal</h3>
<h3 class="openClose" onclick="openClose(this)"></h3>
</div>
<div class="infoBody">
<div class="terminal">
<div class="terminalOutput" id="outputTerm"></div>
<div class="terminalInput">
<input class="terminalInput2" type="text" id="inputTerm" placeholder=">">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="menu">
<div class="none" id="menuHome">
<button onclick="sendAlive(1)">exit</button>
<button onclick="sendAlive(-1)">restart</button>
</div>
<button class="menuOpenClose" onclick="openCloseMenu(this)"></button>
</div>
<div class="menu2">
<div class="none" id="menu2Home">
<div>DEV</div>
<div class="menu2HomeArticle">
<table>
<tr>
<td class="td1">test_post</td>
<td class="td2"></td>
</tr>
<tr>
<td class="td1">url</td>
<td class="td2"><input type="text" class="txtInput" id="test_post_url"></td>
</tr>
<tr>
<td class="td1">data</td>
<td class="td2"><input type="text" class="txtInput" id="test_post_data"></td>
</tr>
</table>
<button onclick="test_post()">envoi</button>
</div>
</div>
<button class="menu2OpenClose" onclick="openCloseMenu2(this)"></button>
</div>
<div id="rightClicNone" class="none">
<div class="rightclickOption" onclick="createDir()">nouveau dossier</div>
<div class="rightclickOption">nouveau fichier</div>
</div>
<div id="rightClicDir" class="none">
<div class="rightclickOption" onclick="posDirUpdate2()">ouvrir</div>
<!--<div class="rightclickOption">copier</div>
<div class="rightclickOption">couper</div>-->
<div class="rightclickOption">renommer</div>
<div class="rightclickOption" onclick="deleteThisDir()">supprimer</div>
</div>
<div id="rightClicFolder" class="none">
<div class="rightclickOption">executer</div>
<div class="rightclickOption">modifier</div>
<!--<div class="rightclickOption">copier</div>
<div class="rightclickOption">couper</div>-->
<div class="rightclickOption">renommer</div>
<div class="rightclickOption" onclick="deleteThisFolder()">supprimer</div>
</div>
</body>
</html>