Project Timeline extjs3 » History » Version 9
Version 8 (Anonymous, 17/09/2015 10:56) → Version 9/10 (Anonymous, 17/09/2015 10:59)
h1. Project Timeline extjs3
This is a project module developed in extjs 3 for showing project events in a timeline with the functionality of access data.
This module works with the versions of sitools2 in extjs3.
!https://idoc-projets.ias.u-psud.fr/redmine/attachments/download/122/timeline.gif!
How to:
* Get the code from here: source:git_sitools_idoc|solar/project_moduls_sitools2/Module_ProjectTimeline_sitools2@master
* Put *all files downloaded* in _yourPathTo/workspace/client-user/js/modules/projectTimeline/_
* Create a new project module with xtype "sitools.user.modules.projectTimeline" and set Dependencies with all the *.js and *.css files downloaded
* All events data are stored in the .json file, you can modify it to create events for your project.
> Json example:
> <pre><code class="json">
{
"timeline": [
{
"daynum": 40585.0,
"date": "2011/02/11",
"day": "Friday",
"daycount": "J+241",
"starttime": "00:00:00", //event start time
"endtime": "15:00:00", //event end time
"text": "SODISM M1 offset X and Y Calibration Lambda: 607nm", //event name
"data": 1.0 //this event has some data to show, it will show a small icon for click
},
{
"daynum": 40585.0,
"date": "2011/02/11",
"day": "Friday",
"daycount": "J+241",
"starttime": "16:00:00",
"endtime": "24:00:00",
"text": "SODISM M1 offset X and Y calibration Lambda: 782nm",
"data": 0.0 //this event has no data
}
]
}
</code></pre>
Here is the link to the code repository:
source:git_sitools_idoc|solar/project_moduls_sitools2/Module_ProjectTimeline_sitools2@master
This is a project module developed in extjs 3 for showing project events in a timeline with the functionality of access data.
This module works with the versions of sitools2 in extjs3.
!https://idoc-projets.ias.u-psud.fr/redmine/attachments/download/122/timeline.gif!
How to:
* Get the code from here: source:git_sitools_idoc|solar/project_moduls_sitools2/Module_ProjectTimeline_sitools2@master
* Put *all files downloaded* in _yourPathTo/workspace/client-user/js/modules/projectTimeline/_
* Create a new project module with xtype "sitools.user.modules.projectTimeline" and set Dependencies with all the *.js and *.css files downloaded
* All events data are stored in the .json file, you can modify it to create events for your project.
> Json example:
> <pre><code class="json">
{
"timeline": [
{
"daynum": 40585.0,
"date": "2011/02/11",
"day": "Friday",
"daycount": "J+241",
"starttime": "00:00:00", //event start time
"endtime": "15:00:00", //event end time
"text": "SODISM M1 offset X and Y Calibration Lambda: 607nm", //event name
"data": 1.0 //this event has some data to show, it will show a small icon for click
},
{
"daynum": 40585.0,
"date": "2011/02/11",
"day": "Friday",
"daycount": "J+241",
"starttime": "16:00:00",
"endtime": "24:00:00",
"text": "SODISM M1 offset X and Y calibration Lambda: 782nm",
"data": 0.0 //this event has no data
}
]
}
</code></pre>
Here is the link to the code repository:
source:git_sitools_idoc|solar/project_moduls_sitools2/Module_ProjectTimeline_sitools2@master