Project

General

Profile

Project Timeline extjs3 » History » Version 6

Anonymous, 15/09/2015 15:00

1 1 Anonymous
h1. Project Timeline extjs3
2 1 Anonymous
3 2 Anonymous
This is a project module developed in extjs 3 for showing project events in a timeline with the functionality of access data.
4 6 Anonymous
This module works with the versions of sitools2 in extjs3.
5 1 Anonymous
6 2 Anonymous
!https://idoc-projets.ias.u-psud.fr/redmine/attachments/download/119/Screenshot%20from%202015-09-15%2014_15_30.png!
7 1 Anonymous
8 1 Anonymous
How to:
9 2 Anonymous
* Get the code from here: source:git_sitools_idoc|solar/project_moduls_sitools2/Module_ProjectTimeline_sitools2@master
10 2 Anonymous
* Put *all files downloaded* in _yourPathTo/workspace/client-user/js/modules/projectTimeline_
11 2 Anonymous
* Create a new project module with xtype "sitools.user.modules.projectTimeline" and set Dependencies with all the *.js and *.css files downloaded
12 2 Anonymous
* All events data are stored in the .json file, you can modify it to create events for your project. 
13 1 Anonymous
14 5 Anonymous
> Json example:
15 5 Anonymous
> <pre><code class="json">
16 5 Anonymous
{
17 5 Anonymous
"timeline": 
18 5 Anonymous
{
19 5 Anonymous
"daynum": 40585.0, 
20 5 Anonymous
"date": "2011/02/11", 
21 5 Anonymous
"day": "Friday", 
22 5 Anonymous
"daycount": "J+241",
23 5 Anonymous
"starttime": "00:00:00", //event start time
24 5 Anonymous
"endtime": "15:00:00", //event end time
25 5 Anonymous
"text": "SODISM M1 offset X and Y Calibration Lambda: 607nm", //event name 
26 5 Anonymous
"data": 1.0 //this event has some data to show, it will show a small icon for click
27 5 Anonymous
}, 
28 5 Anonymous
{
29 5 Anonymous
"daynum": 40585.0, 
30 5 Anonymous
"date": "2011/02/11", 
31 5 Anonymous
"day": "Friday", 
32 5 Anonymous
"daycount": "J+241", 
33 5 Anonymous
"starttime": "16:00:00", 
34 5 Anonymous
"endtime": "24:00:00", 
35 5 Anonymous
"text": "SODISM M1 offset X and Y calibration Lambda: 782nm", 
36 5 Anonymous
"data": 0.0 //this event has no data
37 5 Anonymous
}
38 5 Anonymous
}
39 3 Anonymous
</code></pre>
40 3 Anonymous
  
41 1 Anonymous
Here is the link to the code repository:
42 1 Anonymous
43 2 Anonymous
source:git_sitools_idoc|solar/project_moduls_sitools2/Module_ProjectTimeline_sitools2@master