Project

General

Profile

Project Timeline extjs3 » History » Version 5

Version 4 (Anonymous, 15/09/2015 14:42) → Version 5/10 (Anonymous, 15/09/2015 14:48)

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.

!https://idoc-projets.ias.u-psud.fr/redmine/attachments/download/119/Screenshot%20from%202015-09-15%2014_15_30.png!

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