|
|
@ -244,17 +244,6 @@ adminController.themes.get = function(req, res, next) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var branding = [];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for (var key in meta.css.branding) {
|
|
|
|
|
|
|
|
if (meta.css.branding.hasOwnProperty(key)) {
|
|
|
|
|
|
|
|
branding.push({
|
|
|
|
|
|
|
|
key: key,
|
|
|
|
|
|
|
|
value: meta.css.branding[key]
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var templates = [],
|
|
|
|
var templates = [],
|
|
|
|
list = {}, index = 0;
|
|
|
|
list = {}, index = 0;
|
|
|
|
|
|
|
|
|
|
|
@ -278,8 +267,7 @@ adminController.themes.get = function(req, res, next) {
|
|
|
|
res.render('admin/themes', {
|
|
|
|
res.render('admin/themes', {
|
|
|
|
templates: templates,
|
|
|
|
templates: templates,
|
|
|
|
areas: widgetData.areas,
|
|
|
|
areas: widgetData.areas,
|
|
|
|
widgets: widgetData.widgets,
|
|
|
|
widgets: widgetData.widgets
|
|
|
|
branding: branding
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|