-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-hb.json
69 lines (68 loc) · 1.84 KB
/
config-hb.json
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
{
"tls": false,
"hostname": "localhost",
"port": 3210,
"routePrefix": null,
"httpServerOptions": {},
"webSocketOptions": {
"path": "/socket",
"cors": {
"origin": "http://localhost:8080",
"methods": ["GET", "POST"],
"allowedHeaders": ["Origin"],
"credentials": true
}
},
"userProfiles": [
{ "uid": "0", "name": "Invité", "role": "guest", "dashboardPageId": "dashboard", "imagePath": "/assets/images/user.svg"},
{ "uid": "1", "name": "Romain", "role": "admin", "dashboardPageId": "dashboard", "imagePath": "https://i.pinimg.com/originals/ec/9a/63/ec9a634c7db904a4b031a9c0eea6359f.jpg"}
],
"devices": [
{ "oid": "IotDeviceMatrix", "uid": "matrix", "hostname": "http://matrix.romainmnr.com"}
],
"pages": [
{
"uid":"dashboard",
"name": "Dashboard",
"icon": "fas fa-home",
"tiles": []
},
{
"uid": "BCEed2JbOm",
"name": "Homepage",
"tiles": [
{
"oid": "UiTile",
"uid": "ysuinHKeTd",
"size": 1,
"title": {
"type": "@HBDynamicValue",
"default": "A def title",
"script" : "result = 'the dynamic title'"
},
"subtitle": "description",
"iconType": "icon",
"iconColor": "red",
"iconContent": "fas fa-home",
"isIconClickable": true,
"iconAction": null,
"settingIcon": "fas fa-sliders-h",
"settingPanelType": "",
"content": {
"type": "@HBButtonGroup",
"mode": "COMPACT",
"buttons": [
{
"type": "@HBButton",
"color": "red",
"icon": "fas fa-sliders-h",
"label": "A button",
"onClick": null
}
]
}
}
]
}
]
}