changed strips for widgets in config files

This commit is contained in:
jean-emmanuel 2015-04-10 12:50:58 +02:00 • committed by Jean-Emmanuel
parent 6596f7e5a0
commit 03bc2a460a
4 changed files with 7 additions and 7 deletions

View file

@ -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">\

View file

@ -9,7 +9,7 @@ TABS = {
MonitorsDag:{
title: 'Monitor Dag-Z',
strips: {
widgets: {
mdDrums: {
title:'Drums',

View file

@ -9,7 +9,7 @@ TABS = {
MonitorsJeannot:{
title: 'Monitor Jeannot',
strips: {
widgets: {
mjDrums: {

View file

@ -9,7 +9,7 @@ TABS = {
MonitorsORL:{
title: 'Monitor ORL',
strips: {
widgets: {
moDrums: {