unclean SPARC
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
class CoachingAdminController extends EICController {
|
||||
|
||||
dashboard() {
|
||||
|
||||
let models = {
|
||||
coachings: new CoachingAdminModel()
|
||||
}
|
||||
|
||||
this.loadWindow(
|
||||
'coachings/admin/CoachingAdminDashboardView',
|
||||
{
|
||||
title: 'Coaching monitoring',
|
||||
static: true,
|
||||
expanded: true
|
||||
},
|
||||
{
|
||||
models: models
|
||||
});
|
||||
}
|
||||
|
||||
coaching(options) {
|
||||
|
||||
}
|
||||
|
||||
profile(options) {
|
||||
this.loadWindow('coachings/common/CoachProfileView', {
|
||||
title: 'Coach profile',
|
||||
static: true,
|
||||
expanded: true
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
app.registerClass('CoachingAdminController', CoachingAdminController);
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"routes": [ ],
|
||||
"models": [ "coachings/CoachingAdminModel" ],
|
||||
"views": [
|
||||
"coachings/common/CoachProfileView",
|
||||
"coachings/admin/CoachingAdminDashboardView",
|
||||
"coachings/admin/dialogs/CoachingCreditsDialog"
|
||||
],
|
||||
"dependencies": { },
|
||||
"controllerDependencies": [
|
||||
"/thirdparty/eicui/plugins/SVG/SVG",
|
||||
"/thirdparty/eicui/plugins/NodeMap/NodeMap"
|
||||
],
|
||||
"assets": {
|
||||
"styles": [
|
||||
{"path": "/app/thirdparty/eicui/plugins/SVG", "name":"/SVG.css" },
|
||||
{"path": "/app/thirdparty/eicui/plugins/NodeMap", "name":"/NodeMap.css" }
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
class CoachingApplicantController extends EICController {
|
||||
|
||||
view(options) {
|
||||
this.loadWindow('coachings/applicant/CoachingApplicantView', {
|
||||
title: 'My coaching ' + options.params.id,
|
||||
static: true,
|
||||
expanded: true
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
app.registerClass('CoachingApplicantController', CoachingApplicantController);
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"routes": [ ],
|
||||
"models": [ ],
|
||||
"views": [ "coachings/applicant/CoachingApplicantView" ],
|
||||
"dependencies": { },
|
||||
"assets": { }
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
class CoachingCoachController extends EICController {
|
||||
|
||||
dashboard() {
|
||||
let models = {
|
||||
coachings: new CoachingCoachModel()
|
||||
}
|
||||
|
||||
this.loadWindow('coachings/coach/CoachingCoachDashboardView', {
|
||||
title: 'Coach dashboard',
|
||||
static: true,
|
||||
expanded: true
|
||||
},
|
||||
{
|
||||
models: models
|
||||
});
|
||||
}
|
||||
|
||||
coaching(id) {
|
||||
|
||||
}
|
||||
|
||||
profile(options) {
|
||||
this.loadWindow('coachings/common/CoachProfileView', {
|
||||
title: 'My profile',
|
||||
static: true,
|
||||
expanded: true
|
||||
},
|
||||
{
|
||||
mode: 'edit'
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
app.registerClass('CoachingCoachController', CoachingCoachController);
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"routes": [ ],
|
||||
"models": [ "coachings/CoachingCoachModel" ],
|
||||
"views": [
|
||||
"coachings/coach/CoachingCoachView",
|
||||
"coachings/coach/CoachingCoachDashboardView"
|
||||
],
|
||||
"dependencies": { },
|
||||
"assets": { }
|
||||
}
|
||||
Reference in New Issue
Block a user