Last change
on this file since 443 was
443,
checked in by hendrikvanantwerpen, 12 years ago
|
Reorganized for Node --- the SVN gods hate us all!
Lost all historical info on moved files, because SVN is a f *.
Also we have Node now, serving both the static content and forwarding
database requests.
|
File size:
963 bytes
|
Line | |
---|
1 | define([ |
---|
2 | 'dojo/_base/declare', |
---|
3 | '../app/Router', |
---|
4 | '../app/Page', |
---|
5 | 'dojo/text!./templates/index.html' |
---|
6 | ],function(declare,Router,Page,template){ |
---|
7 | return declare([Page],{ |
---|
8 | templateString: template, |
---|
9 | selectedObject: null, |
---|
10 | startup: function() { |
---|
11 | if ( this._started ) { return; } |
---|
12 | this.inherited(arguments); |
---|
13 | this.btnContentCreate.on("click",function(){ Router.go("/sessions"); }); |
---|
14 | this.btnContentFacilitate.on("click",function(){ Router.go("/run"); }); |
---|
15 | this.btnSurveys.on("click",function(){ Router.go("/surveys"); }); |
---|
16 | this.btnQuestions.on("click",function(){ Router.go("/questions"); }); |
---|
17 | this.btnApplications.on("click",function(){ Router.go("/applications"); }); |
---|
18 | this.btnDashboards.on("click",function(){ Router.go("/dashboards"); }); |
---|
19 | this.btnResults.on("click",function(){ Router.go("/results"); }); |
---|
20 | } |
---|
21 | }); |
---|
22 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.