create-steedos-app 2.1.56 → 2.1.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/templates/default/README.md +80 -1
- package/templates/default/_package.json +8 -8
- package/templates/default/env +2 -0
- package/templates/default/jsreport-app/_package.json +3 -2
- package/templates/default/node-red-app/LICENSE.txt +706 -0
- package/templates/default/node-red-app/README.md +78 -0
- package/templates/default/node-red-app/_package.json +26 -0
- package/templates/default/node-red-app/index.js +137 -0
- package/templates/default/node-red-app/public/css/simplegrid.css +145 -0
- package/templates/default/node-red-app/public/css/style.css +482 -0
- package/templates/default/node-red-app/public/favicon.ico +0 -0
- package/templates/default/node-red-app/public/first-run.html +280 -0
- package/templates/default/node-red-app/public/fonts/css.css +224 -0
- package/templates/default/node-red-app/public/images/progress-bar.png +0 -0
- package/templates/default/node-red-app/public/images/progress-left.png +0 -0
- package/templates/default/node-red-app/public/images/progress-middle.png +0 -0
- package/templates/default/node-red-app/public/images/progress-o-bar.png +0 -0
- package/templates/default/node-red-app/public/images/progress-o-left.png +0 -0
- package/templates/default/node-red-app/public/images/progress-o-middle.png +0 -0
- package/templates/default/node-red-app/public/images/progress-o-right.png +0 -0
- package/templates/default/node-red-app/public/images/progress-right.png +0 -0
- package/templates/default/node-red-app/public/images/spin.svg +41 -0
- package/templates/default/node-red-app/public/images/title-wave.png +0 -0
- package/templates/default/node-red-app/public/index.html +220 -0
- package/templates/default/node-red-app/public/scripts/jquery-1.11.2.min.js +4 -0
- package/templates/default/node-red-app/public/scripts/zxcvbn.js +28 -0
- package/templates/default/node-red-app/public/steedos.png +0 -0
- package/templates/default/node-red-app/red.js +294 -0
- package/templates/default/node-red-app/routers/health.js +13 -0
- package/templates/default/node-red-app/settings.js +121 -0
- package/templates/default/steedos-app/_package.json +1 -1
- package/templates/default/steedos-config.yml +2 -2
|
@@ -0,0 +1,482 @@
|
|
|
1
|
+
body {
|
|
2
|
+
color: #555;
|
|
3
|
+
font-family: Arial;
|
|
4
|
+
font-size: 16px;
|
|
5
|
+
line-height: 1.6em;
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
a {
|
|
9
|
+
text-decoration: none;
|
|
10
|
+
color: #8f0000;
|
|
11
|
+
}
|
|
12
|
+
a:hover {
|
|
13
|
+
text-decoration: underline;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
h1,h2,h3,h4,h5 {
|
|
17
|
+
font-family: "Roboto Slab";
|
|
18
|
+
font-weight: normal;
|
|
19
|
+
}
|
|
20
|
+
h1 {
|
|
21
|
+
font-size: 36px;
|
|
22
|
+
font-weight: bold;
|
|
23
|
+
}
|
|
24
|
+
h2 {
|
|
25
|
+
font-size: 30px;
|
|
26
|
+
}
|
|
27
|
+
h3 {
|
|
28
|
+
font-size: 24px;
|
|
29
|
+
}
|
|
30
|
+
h4 {
|
|
31
|
+
font-size: 18px;
|
|
32
|
+
}
|
|
33
|
+
h5 {
|
|
34
|
+
font-size: 16px;
|
|
35
|
+
margin: 1em 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
.row2, .nodes {
|
|
40
|
+
background: #eee;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.title {
|
|
44
|
+
background: url(../images/title-wave.png) no-repeat 0% 100% #8f0000 ;
|
|
45
|
+
border-top: 10px solid #a22222;
|
|
46
|
+
text-align: center;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.blurb a {
|
|
50
|
+
text-decoration: underline;
|
|
51
|
+
color: #555;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
a.button {
|
|
56
|
+
text-decoration: none;
|
|
57
|
+
display: inline-block;
|
|
58
|
+
padding: 30px 40px;
|
|
59
|
+
border: 1px solid #aa6767;
|
|
60
|
+
border-radius: 1px;
|
|
61
|
+
background: none;
|
|
62
|
+
color: #aa6767;
|
|
63
|
+
}
|
|
64
|
+
a.button:hover {
|
|
65
|
+
text-decoration: none;
|
|
66
|
+
background: #aa6767;
|
|
67
|
+
color: #eee;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.row3, .row4, .row5 {
|
|
71
|
+
background: #fff;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.row9 {
|
|
75
|
+
background: #676767;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.links {
|
|
79
|
+
background: #444;
|
|
80
|
+
}
|
|
81
|
+
.links .grid {
|
|
82
|
+
font-size: 16px;
|
|
83
|
+
color: #aaa;
|
|
84
|
+
padding-top: 20px;
|
|
85
|
+
padding-bottom: 20px;
|
|
86
|
+
font-family: Arial;
|
|
87
|
+
}
|
|
88
|
+
.links p {
|
|
89
|
+
margin: 0 0 10px 0;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.links a {
|
|
93
|
+
color: #eee;
|
|
94
|
+
}
|
|
95
|
+
.links ul {
|
|
96
|
+
margin:0;
|
|
97
|
+
padding:0;
|
|
98
|
+
}
|
|
99
|
+
.links .content {
|
|
100
|
+
height: auto;
|
|
101
|
+
min-height: 0;
|
|
102
|
+
margin: 10px auto;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.content {
|
|
106
|
+
min-height: 250px;
|
|
107
|
+
padding: 60px 0;
|
|
108
|
+
margin: 0;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.blurb {
|
|
112
|
+
}
|
|
113
|
+
.blurb p {
|
|
114
|
+
margin-top: 0;
|
|
115
|
+
}
|
|
116
|
+
.blurb h3, .nodes h3 {
|
|
117
|
+
font-family: "Roboto Slab";
|
|
118
|
+
font-size: 24px;
|
|
119
|
+
font-weight: normal;
|
|
120
|
+
margin-top: 0;
|
|
121
|
+
margin-bottom: 0.5em;
|
|
122
|
+
}
|
|
123
|
+
.blurb h4 {
|
|
124
|
+
font-family: "Roboto Slab";
|
|
125
|
+
font-size: 18px;
|
|
126
|
+
font-weight: normal;
|
|
127
|
+
margin-top: 0.8em;
|
|
128
|
+
margin-bottom: 0.5em;
|
|
129
|
+
}
|
|
130
|
+
.feature {
|
|
131
|
+
max-width: 485px;
|
|
132
|
+
margin-left: auto;
|
|
133
|
+
margin-right: auto;
|
|
134
|
+
text-align: center;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.row3 .feature, .row4 .feature, .row5 .feature {
|
|
138
|
+
border: none;
|
|
139
|
+
}
|
|
140
|
+
.feature img {
|
|
141
|
+
max-width: 445px;
|
|
142
|
+
width: 100%;
|
|
143
|
+
}
|
|
144
|
+
.title .content {
|
|
145
|
+
height: 280px;
|
|
146
|
+
}
|
|
147
|
+
.title h1 {
|
|
148
|
+
margin-top: 20px;
|
|
149
|
+
margin-bottom: 10px;
|
|
150
|
+
color: #f0f0f0;
|
|
151
|
+
font-size: 2.5em;
|
|
152
|
+
font-weight: normal;
|
|
153
|
+
}
|
|
154
|
+
.title h2 {
|
|
155
|
+
margin-top: 0px;
|
|
156
|
+
font-size: 20px;
|
|
157
|
+
font-family: "Open Sans", sans-serif;
|
|
158
|
+
font-weight: normal;
|
|
159
|
+
color: #c19e9e;
|
|
160
|
+
}
|
|
161
|
+
.title p {
|
|
162
|
+
color: #c19e9e;
|
|
163
|
+
}
|
|
164
|
+
.title img {
|
|
165
|
+
margin: auto;
|
|
166
|
+
max-width: 769px;
|
|
167
|
+
width: 100%;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.nodes .content {
|
|
171
|
+
text-align: center;
|
|
172
|
+
height: auto;
|
|
173
|
+
min-height: 0;
|
|
174
|
+
margin: 40px 0 40px 0;
|
|
175
|
+
}
|
|
176
|
+
.nodes .grid {
|
|
177
|
+
padding-top: 40px;
|
|
178
|
+
padding-bottom: 40px;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.nodes h3 {
|
|
182
|
+
text-align: center;
|
|
183
|
+
}
|
|
184
|
+
.nodes h4 {
|
|
185
|
+
font-family: "Roboto Slab";
|
|
186
|
+
text-align: center;
|
|
187
|
+
font-weight: normal;
|
|
188
|
+
margin-top: 3px;
|
|
189
|
+
height: 50px;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.header {
|
|
193
|
+
font-family: "Roboto Slab";
|
|
194
|
+
font-size: 20px;
|
|
195
|
+
line-height: 50px;
|
|
196
|
+
color: #999;
|
|
197
|
+
padding: 0px 10px;
|
|
198
|
+
height: 62px;
|
|
199
|
+
background: #333;
|
|
200
|
+
}
|
|
201
|
+
.header-content {
|
|
202
|
+
width: 100%;
|
|
203
|
+
max-width: 1155px;
|
|
204
|
+
min-width: 755px;
|
|
205
|
+
margin: 0 auto;
|
|
206
|
+
background: #333;
|
|
207
|
+
border-bottom: 5px solid #333;
|
|
208
|
+
}
|
|
209
|
+
.header-content .brand {
|
|
210
|
+
display: inline-block;
|
|
211
|
+
float: left;
|
|
212
|
+
margin-top: 3px;
|
|
213
|
+
font-size: 20px;
|
|
214
|
+
padding: 0 15px 0 15px;
|
|
215
|
+
color: #eee;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.guide {
|
|
219
|
+
position: relative;
|
|
220
|
+
border: 1px solid #666;
|
|
221
|
+
border-radius: 2px;
|
|
222
|
+
overflow: hidden;
|
|
223
|
+
min-height: 700px;
|
|
224
|
+
width: 800px;
|
|
225
|
+
margin: 60px auto;
|
|
226
|
+
}
|
|
227
|
+
.body {
|
|
228
|
+
position: absolute;
|
|
229
|
+
width: 500%;
|
|
230
|
+
}
|
|
231
|
+
.toolbar {
|
|
232
|
+
position: absolute;
|
|
233
|
+
bottom: 0;
|
|
234
|
+
left: 0;
|
|
235
|
+
right: 0;
|
|
236
|
+
height: 80px;
|
|
237
|
+
border-top: 1px solid #999;
|
|
238
|
+
padding: 20px;
|
|
239
|
+
background: white;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
button {
|
|
243
|
+
border: 1px solid #666;
|
|
244
|
+
padding: 10px;
|
|
245
|
+
background: white;
|
|
246
|
+
font-size: 16px;
|
|
247
|
+
width: 100px;
|
|
248
|
+
margin-left: 20px;
|
|
249
|
+
cursor: pointer;
|
|
250
|
+
}
|
|
251
|
+
button:hover {
|
|
252
|
+
border-color: #8f0000;
|
|
253
|
+
color: #8f0000;
|
|
254
|
+
}
|
|
255
|
+
button:disabled {
|
|
256
|
+
color: #ccc;
|
|
257
|
+
border-color: #ccc;
|
|
258
|
+
}
|
|
259
|
+
.btn-group {
|
|
260
|
+
float: right;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.page {
|
|
264
|
+
vertical-align: top;
|
|
265
|
+
display:inline-block;
|
|
266
|
+
padding: 30px;
|
|
267
|
+
width: calc(20% - 5px);
|
|
268
|
+
}
|
|
269
|
+
.hide {
|
|
270
|
+
display:none;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.box-list {
|
|
274
|
+
list-style-type: none;
|
|
275
|
+
margin: 20px;
|
|
276
|
+
padding: 0;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.box-list li {
|
|
280
|
+
border: 1px solid #999;
|
|
281
|
+
border-radius: 2px;
|
|
282
|
+
margin-bottom: 10px;
|
|
283
|
+
}
|
|
284
|
+
.secureOptionLabel {
|
|
285
|
+
padding: 20px;
|
|
286
|
+
display: block;
|
|
287
|
+
min-height: 65px;
|
|
288
|
+
}
|
|
289
|
+
label {
|
|
290
|
+
cursor: pointer;
|
|
291
|
+
}
|
|
292
|
+
.box-list li input[type=radio] {
|
|
293
|
+
vertical-align: middle;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.secureOption-info {
|
|
297
|
+
padding: 0 20px 20px 50px;
|
|
298
|
+
}
|
|
299
|
+
.secureOption-info > div {
|
|
300
|
+
line-height: 54px;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.secureOption-info label {
|
|
304
|
+
display: inline-block;
|
|
305
|
+
width: 120px;
|
|
306
|
+
}
|
|
307
|
+
.secureOption-info label.checkboxLabel {
|
|
308
|
+
width: 100%;
|
|
309
|
+
vertical-align: middle;
|
|
310
|
+
}
|
|
311
|
+
input[type=text],input[type=password] {
|
|
312
|
+
border: 1px solid #999;
|
|
313
|
+
border-radius: 2px;
|
|
314
|
+
padding: 10px;
|
|
315
|
+
font-size: 16px;
|
|
316
|
+
width: 300px;
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.progress {
|
|
322
|
+
height: 30px;
|
|
323
|
+
display: inline-block;
|
|
324
|
+
width: 500px;
|
|
325
|
+
font-size: 0;
|
|
326
|
+
}
|
|
327
|
+
.progress-step {
|
|
328
|
+
display: inline-block;
|
|
329
|
+
height: 100%;
|
|
330
|
+
width: 20px;
|
|
331
|
+
background: url(../images/progress-middle.png) repeat-x 50% 50%;
|
|
332
|
+
}
|
|
333
|
+
.progress-step.active {
|
|
334
|
+
background-image: url(../images/progress-o-middle.png);
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.progress-step:first-child {
|
|
338
|
+
background-image: url(../images/progress-left.png);
|
|
339
|
+
}
|
|
340
|
+
.progress-step.active:first-child {
|
|
341
|
+
background-image: url(../images/progress-o-left.png);
|
|
342
|
+
}
|
|
343
|
+
.progress-step:last-child {
|
|
344
|
+
background-image: url(../images/progress-right.png);
|
|
345
|
+
}
|
|
346
|
+
.progress-step.active:last-child {
|
|
347
|
+
background-image: url(../images/progress-o-right.png);
|
|
348
|
+
}
|
|
349
|
+
.progress-bar {
|
|
350
|
+
display: inline-block;
|
|
351
|
+
height: 100%;
|
|
352
|
+
width: calc((500px - (5*20px)) / 4 );
|
|
353
|
+
background: url(../images/progress-bar.png) repeat-x 50% 50%;
|
|
354
|
+
}
|
|
355
|
+
.progress-bar.active {
|
|
356
|
+
background-image: url(../images/progress-o-bar.png);
|
|
357
|
+
}
|
|
358
|
+
.password-hints {
|
|
359
|
+
font-size: 0.8em;
|
|
360
|
+
color: #999;
|
|
361
|
+
margin-left: 10px;
|
|
362
|
+
line-height: 12px;
|
|
363
|
+
display: inline-block;
|
|
364
|
+
}
|
|
365
|
+
.secureOption-password-box {
|
|
366
|
+
position: relative;
|
|
367
|
+
display: inline-block;
|
|
368
|
+
vertical-align: top;
|
|
369
|
+
margin-top: 6px;
|
|
370
|
+
line-height: 1em;
|
|
371
|
+
}
|
|
372
|
+
.password-strength {
|
|
373
|
+
display: inline-block;
|
|
374
|
+
position: absolute;
|
|
375
|
+
text-align: right;
|
|
376
|
+
width: 55px;
|
|
377
|
+
margin-top:3px;
|
|
378
|
+
font-size: 0.8em;
|
|
379
|
+
line-height: 12px;
|
|
380
|
+
}
|
|
381
|
+
#secureOption-password {
|
|
382
|
+
display: block;
|
|
383
|
+
}
|
|
384
|
+
meter {
|
|
385
|
+
width: 240px;
|
|
386
|
+
height: 16px;
|
|
387
|
+
border: 1px solid #ccc;
|
|
388
|
+
-moz-appearance: none;
|
|
389
|
+
appearance: none;
|
|
390
|
+
background: none;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
meter::-webkit-meter-bar {
|
|
394
|
+
background: none;
|
|
395
|
+
}
|
|
396
|
+
meter[value="0"]::-webkit-meter-optimum-value { background: white; }
|
|
397
|
+
meter[value="1"]::-webkit-meter-optimum-value { background: red; }
|
|
398
|
+
meter[value="2"]::-webkit-meter-optimum-value { background: red; }
|
|
399
|
+
meter[value="3"]::-webkit-meter-optimum-value { background: yellow; }
|
|
400
|
+
meter[value="4"]::-webkit-meter-optimum-value { background: yellowgreen; }
|
|
401
|
+
meter[value="5"]::-webkit-meter-optimum-value { background: green; }
|
|
402
|
+
|
|
403
|
+
meter[value="0"]::-moz-meter-bar { background: white; }
|
|
404
|
+
meter[value="1"]::-moz-meter-bar { background: red; }
|
|
405
|
+
meter[value="2"]::-moz-meter-bar { background: red; }
|
|
406
|
+
meter[value="3"]::-moz-meter-bar { background: yellow; }
|
|
407
|
+
meter[value="4"]::-moz-meter-bar { background: yellowgreen; }
|
|
408
|
+
meter[value="5"]::-moz-meter-bar { background: green; }
|
|
409
|
+
|
|
410
|
+
meter::-webkit-meter-optimum-value {
|
|
411
|
+
transition: width .5s , background-color .5s;
|
|
412
|
+
}
|
|
413
|
+
.nodelistContainer {
|
|
414
|
+
background: #f9f9f9;
|
|
415
|
+
height: 340px;
|
|
416
|
+
border-top: 1px solid #aaa;
|
|
417
|
+
overflow-y: scroll;
|
|
418
|
+
padding: 35px;
|
|
419
|
+
width: 800px;
|
|
420
|
+
margin-left: -30px;
|
|
421
|
+
}
|
|
422
|
+
.nodelist {
|
|
423
|
+
list-style-type: none;
|
|
424
|
+
padding: 0;
|
|
425
|
+
margin:0;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.nodelist li {
|
|
429
|
+
background: white;
|
|
430
|
+
display: inline-block;
|
|
431
|
+
width: 330px;
|
|
432
|
+
margin: 10px;
|
|
433
|
+
font-size: 14px;
|
|
434
|
+
height: 100px;
|
|
435
|
+
vertical-align: top;
|
|
436
|
+
line-height: 1.7em;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.nodelist h4 {
|
|
440
|
+
margin: 0;
|
|
441
|
+
font-size: 16px;
|
|
442
|
+
color: #333;
|
|
443
|
+
}
|
|
444
|
+
.nodelist a {
|
|
445
|
+
border: 1px solid #999;
|
|
446
|
+
border-radius: 2px;
|
|
447
|
+
color: #999;
|
|
448
|
+
display: inline-block;
|
|
449
|
+
width: 100%;
|
|
450
|
+
height: 100%;
|
|
451
|
+
padding: 5px;
|
|
452
|
+
}
|
|
453
|
+
.nodelist a:hover {
|
|
454
|
+
border-color: #8f0000;
|
|
455
|
+
text-decoration: none;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.deploy {
|
|
459
|
+
margin-top: 200px;
|
|
460
|
+
text-align: center;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
ul.customisations {
|
|
464
|
+
list-style-type: none;
|
|
465
|
+
padding: 0;
|
|
466
|
+
margin: 0;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
ul.customisations > li {
|
|
470
|
+
border: 1px solid #999;
|
|
471
|
+
border-radius: 2px;
|
|
472
|
+
margin-bottom: 20px;
|
|
473
|
+
}
|
|
474
|
+
ul.customisations > li > h4 {
|
|
475
|
+
margin: 0;
|
|
476
|
+
padding: 12px;
|
|
477
|
+
cursor: pointer;
|
|
478
|
+
}
|
|
479
|
+
ul.customisations > li > .custom-content {
|
|
480
|
+
padding: 8px 16px;
|
|
481
|
+
display: none;
|
|
482
|
+
}
|
|
Binary file
|