changed strips for widgets in config files
This commit is contained in:
parent
6596f7e5a0
commit
03bc2a460a
4 changed files with 7 additions and 7 deletions
|
|
@ -47,7 +47,7 @@ function parsetabs(TABS,parent,sub) {
|
|||
parent.append($nav).append($content);
|
||||
|
||||
}
|
||||
|
||||
|
||||
$.each(TABS,function(tabId,tabData){
|
||||
|
||||
var title = tabData.title||tabId
|
||||
|
|
@ -64,14 +64,14 @@ function parsetabs(TABS,parent,sub) {
|
|||
} else {
|
||||
|
||||
$.each(tabData.widgets,function(widgetId,widgetData){// parse widgets
|
||||
|
||||
return
|
||||
var color = widgetData.color?'style="background-color:'+widgetData.color+'"':'';
|
||||
var title = widgetData.title || widgetId;
|
||||
|
||||
|
||||
switch(widgetData.type) {
|
||||
|
||||
case 'button':
|
||||
|
||||
|
||||
var dv = widgetData.args?widgetData.args.off:0;
|
||||
var $widget = $('\
|
||||
<div class="widget">\
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ TABS = {
|
|||
MonitorsDag:{
|
||||
title: 'Monitor Dag-Z',
|
||||
|
||||
strips: {
|
||||
widgets: {
|
||||
|
||||
mdDrums: {
|
||||
title:'Drums',
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ TABS = {
|
|||
MonitorsJeannot:{
|
||||
title: 'Monitor Jeannot',
|
||||
|
||||
strips: {
|
||||
widgets: {
|
||||
|
||||
|
||||
mjDrums: {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ TABS = {
|
|||
MonitorsORL:{
|
||||
title: 'Monitor ORL',
|
||||
|
||||
strips: {
|
||||
widgets: {
|
||||
|
||||
|
||||
moDrums: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue