fixed css
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
class DashboardsController extends EICController {
|
||||
|
||||
constructor(params) {
|
||||
super(params)
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @returns
|
||||
*/
|
||||
index() {
|
||||
let models = {
|
||||
// mailings: new MailingsModel(payload['/mailings'].permissions)
|
||||
}
|
||||
// await app.Assets.loadHtml({name:'mailing/tile.html'})
|
||||
this.loadWindow(
|
||||
'dashboards/MainDashboardView',
|
||||
{
|
||||
title: 'Main dashboard',
|
||||
static: true,
|
||||
expanded: true
|
||||
},
|
||||
{
|
||||
models: models
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
app.registerClass('DashboardsController', DashboardsController);
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"routes": [
|
||||
{
|
||||
"url": "/",
|
||||
"role": [ "admin" ],
|
||||
"controller" : "/dashboard/DashboardsController",
|
||||
"method": "index"
|
||||
}
|
||||
],
|
||||
"models": [
|
||||
],
|
||||
"views": [
|
||||
"dashboards/MainDashboardView"
|
||||
],
|
||||
"controllerDependencies": [
|
||||
"/helpers/basicDialogs",
|
||||
"/helpers/validators",
|
||||
"/helpers/activeAttributes",
|
||||
"/thirdparty/Snaptobus/snap.svg-min",
|
||||
"/thirdparty/Snaptobus/snaptobus"
|
||||
],
|
||||
"assets": {
|
||||
"styles": [
|
||||
],
|
||||
"json": [
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user