Project Timeline extjs3 » History » Version 10
Anonymous, 17/09/2015 11:35
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 | 10 | Anonymous | !/redmine/attachments/download/122/timeline.gif! |
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 | 8 | 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 | 9 | Anonymous | "timeline": [ |
18 | 9 | Anonymous | { |
19 | 9 | Anonymous | "daynum": 40585.0, |
20 | 9 | Anonymous | "date": "2011/02/11", |
21 | 9 | Anonymous | "day": "Friday", |
22 | 9 | Anonymous | "daycount": "J+241", |
23 | 9 | Anonymous | "starttime": "00:00:00", //event start time |
24 | 9 | Anonymous | "endtime": "15:00:00", //event end time |
25 | 9 | Anonymous | "text": "SODISM M1 offset X and Y Calibration Lambda: 607nm", //event name |
26 | 9 | Anonymous | "data": 1.0 //this event has some data to show, it will show a small icon for click |
27 | 9 | Anonymous | }, |
28 | 9 | Anonymous | { |
29 | 9 | Anonymous | "daynum": 40585.0, |
30 | 9 | Anonymous | "date": "2011/02/11", |
31 | 9 | Anonymous | "day": "Friday", |
32 | 9 | Anonymous | "daycount": "J+241", |
33 | 9 | Anonymous | "starttime": "16:00:00", |
34 | 9 | Anonymous | "endtime": "24:00:00", |
35 | 9 | Anonymous | "text": "SODISM M1 offset X and Y calibration Lambda: 782nm", |
36 | 9 | Anonymous | "data": 0.0 //this event has no data |
37 | 9 | Anonymous | } |
38 | 9 | Anonymous | ] |
39 | 5 | Anonymous | } |
40 | 3 | Anonymous | </code></pre> |
41 | 3 | Anonymous | |
42 | 1 | Anonymous | Here is the link to the code repository: |
43 | 1 | Anonymous | |
44 | 2 | Anonymous | source:git_sitools_idoc|solar/project_moduls_sitools2/Module_ProjectTimeline_sitools2@master |