|
|
||
|---|---|---|
| www | ||
| README.md | ||
| settings.json.example | ||
README.md
NOC Screen Tab Rotator
This app will automatically rotate and refresh tabs based on the hostname of the ?hostname variable passed to the script.
The config Has the following:
- defaults - common defaults across all clients
-
- tabTime - how long each tab should be displayed for (Default: 30)
-
- tabRefresh - Global setting for if a tab should be refreshed before display (Default: true)
-
- masterRefresh - How often should the overal page be reloaded in seconds - default 86400
- screens - A list of clients
-
- hostname - config for the host
-
-
- tabTime - Overide for this host
-
-
-
- tabRefresh - Overide for this host
-
-
-
- masterRefresh - Overide for this host
-
-
-
- urls - A dict of URLs to display
-
-
-
-
- url - the URL to load
-
-
-
-
-
-
- tabRefresh - optionall overide if this tab should(n't) be refresh before display
-
-
-
Example Config:
{
"defaults": {
"tabTime": 30,
"tabRefresh": true,
"masterRefresh": 86400
},
"screens": {
"screen0": {
"urls": {
"http://www.example.com/": {"tabRefresh": false},
"http://news.bbc.co.uk/": {}
}
},
"screen1": {
"tabTime": 60,
"urls": {
"http://www.google.com/": {}
}
}
}
}