Topbar¶
This module adds a topbar to Dashticz.
Default there will be the name, clock and settings-button presented in the Topbar.
You can customize the Topbar with the following settings in CONFIG.js
:
var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['logo','miniclock','settings']
Item | Description |
---|---|
logo | Title of Topbar (as defined in config[‘app_title’] = ‘Dashticz’;) |
miniclock | Clock in Topbar |
settings | Settings & Fullscreen button in Topbar |
Applicable config-parameters from CONFIG.js
:
Parameter | Description |
---|---|
app_title | Name of the Dashboard - Title to show in the Topbar
'Dashticz' = Show ‘Dashticz’ in the top bar |
hide_topbar | 0 / 1
Hide or Show Topbar
|
Complete example:
config['hide_topbar'] = 0;
config['app_title'] = 'Dashticz';
var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['logo','miniclock','settings']