mirror of https://github.com/Freeboard/plugins.git
100 lines
3.0 KiB
JSON
Executable File
100 lines
3.0 KiB
JSON
Executable File
{
|
|
"allow_edit": true,
|
|
"plugins": [],
|
|
"panes": [
|
|
{
|
|
"title": "Houses",
|
|
"width": 1,
|
|
"row": {
|
|
"2": 1,
|
|
"3": 1
|
|
},
|
|
"col": {
|
|
"2": 1,
|
|
"3": 1
|
|
},
|
|
"widgets": [
|
|
{
|
|
"type": "text_widget",
|
|
"settings": {
|
|
"title": "House of Stark - Jon",
|
|
"size": "regular",
|
|
"value": "datasources[\"Jon\"].value",
|
|
"sparkline": true,
|
|
"animate": true
|
|
}
|
|
},
|
|
{
|
|
"type": "text_widget",
|
|
"settings": {
|
|
"title": "House of Lannister - Tyrion",
|
|
"size": "regular",
|
|
"value": "datasources[\"Tyrion\"].value",
|
|
"sparkline": true,
|
|
"animate": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"title": "Timezones",
|
|
"width": 1,
|
|
"row": {
|
|
"3": 1
|
|
},
|
|
"col": {
|
|
"3": 2
|
|
},
|
|
"widgets": [
|
|
{
|
|
"type": "text_widget",
|
|
"settings": {
|
|
"title": "House of Stark - Jon",
|
|
"size": "regular",
|
|
"value": "new Date(datasources[\"Jon\"].time_stamp).toLocaleTimeString();",
|
|
"animate": false
|
|
}
|
|
},
|
|
{
|
|
"type": "text_widget",
|
|
"settings": {
|
|
"title": "House of Lannister - Tyrion",
|
|
"size": "regular",
|
|
"value": "new Date(datasources[\"Tyrion\"].time_stamp).toLocaleTimeString();",
|
|
"animate": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"datasources": [
|
|
{
|
|
"name": "Jon",
|
|
"type": "node_js",
|
|
"settings": {
|
|
"url": "http://localhost:8989/shows",
|
|
"eventName": "house.stark.jon",
|
|
"rooms": [
|
|
{
|
|
"roomName": "got",
|
|
"roomEvent": "subscribe"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "Tyrion",
|
|
"type": "node_js",
|
|
"settings": {
|
|
"url": "http://localhost:8989/shows",
|
|
"eventName": "house.lannister.tyrion",
|
|
"rooms": [
|
|
{
|
|
"roomName": "got",
|
|
"roomEvent": "subscribe"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |