Commit 25c0f32598c2089f4b3d5e454f85fc72230d5afa

Authored by Benjamin Renard
2 parents 684bfc1c f5aaaec9

Merge branch 'master' into plot-tt-catalog

generic_data/operations.json
1 1 {"nodes": [
2   - {"nodeType" : "request", "text" : "Plot / Download", "id" : "request-treeRootNode"} ,
  2 + {"nodeType" : "request", "text" : "Plot", "id" : "request-treeRootNode"} ,
3 3 {"nodeType" : "condition","text" : "Data Mining","id" : "condition-treeRootNode" }
4 4 ]}
... ...
js/app/models/PlotNode.js
... ... @@ -5,12 +5,6 @@
5 5 * @extends amdaModel.ExecutableNode
6 6 * @brief Basic Model of Node corresponding to a plot request
7 7 * @author Benjamin Renard
8   - * @version $Id: $
9   - * @todo
10   - *******************************************************************************
11   - * FT Id : Date : Name - Description
12   - *******************************************************************************
13   - * : :21/08/2015: BRE - file creation
14 8 */
15 9  
16 10 Ext.define('amdaModel.PlotNode', {
... ... @@ -45,9 +39,6 @@ Ext.define('amdaModel.PlotNode', {
45 39 fnId : 'leaf-editPlot',
46 40 text : 'Plot By Request'
47 41 }, {
48   - fnId : 'leaf-editDownload',
49   - text : 'Download By Request'
50   - }, {
51 42 fnId : 'leaf-renameNode',
52 43 text : 'Rename Request'
53 44 }, {
... ... @@ -77,7 +68,7 @@ Ext.define('amdaModel.PlotNode', {
77 68 },
78 69  
79 70 onMenuItemClick : function(menu,item,event) {
80   - // fnId parsing :
  71 +
81 72 var fnId = Ext.util.Format.substr(item.fnId, 5, item.fnId.length);
82 73  
83 74 switch (fnId) {
... ... @@ -97,19 +88,6 @@ Ext.define('amdaModel.PlotNode', {
97 88 case 'editPlot':
98 89 this.editLeaf();
99 90 break;
100   -
101   - case 'editDownload':
102   - amdaModel.DownloadNode.set('realLinkedNode',this);
103   -
104   - if (!this.get('object')){
105   - AmdaAction.getObject(this.get('id'), this.get('nodeType'), amdaModel.DownloadNode.getObjectCallback, this);
106   - }
107   - else {
108   - var downObject = amdaModel.DownloadNode.decodeObject();
109   - amdaModel.DownloadNode.set('object',Ext.create('amdaModel.Download',downObject));
110   - amdaModel.DownloadNode.editInModule();
111   - }
112   - break;
113 91  
114 92 case 'deleteMulti':
115 93 this.deleteMulti();
... ... @@ -117,7 +95,7 @@ Ext.define('amdaModel.PlotNode', {
117 95  
118 96 default:
119 97 break;
120   - } // switch end
  98 + }
121 99 }
122 100  
123 101 });
... ...
js/app/views/PlotComponents/PlotStandardForm.js
... ... @@ -160,6 +160,7 @@ Ext.define('amdaPlotComp.PlotStandardForm', {
160 160 addStandardFieldSet: function(title, checkboxName, items, onChangeCheck) {
161 161 return {
162 162 xtype: 'fieldset',
  163 + cls : 'child-fieldset',
163 164 title: title,
164 165 collapsible: true,
165 166 collapsed: true,
... ...
js/resources/css/FisheyeMenu.css deleted
... ... @@ -1,62 +0,0 @@
1   -/* styles for CSS Reset */
2   -body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote{margin:0;padding:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}ol,ul {list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;}
3   -
4   -/* styles for examples */
5   -body {
6   - background-color: #DFE8F6;
7   -}
8   -
9   -#fisheye-menu {
10   - text-align: center;
11   -}
12   -
13   -/* styles for FisheyeMenu */
14   -.ux-fisheye-menu-container {
15   - position: absolute;
16   - height: 60px;
17   -}
18   -
19   -a.ux-fisheye-menu-item {
20   - display: block;
21   - font: bold 12px Arial, Helvetica, sans-serif;
22   - width: 40px;
23   - color: #000;
24   - position: absolute;
25   - text-align: center;
26   - text-decoration: none;
27   - border: none;
28   -}
29   -
30   -a.ux-fisheye-menu-item span {
31   - margin-bottom: 5px;
32   - border: none;
33   - color: #FFF;
34   - display: none;
35   - text-align: center;
36   - text-decoration: none;
37   -}
38   -
39   -a.ux-fisheye-menu-item img {
40   - border: none;
41   - margin-right: 10px;
42   - width: 100%;
43   - text-decoration: none;
44   -}
45   -
46   -.menu-wrap-top {
47   - position: relative;
48   -}
49   -.menu-wrap-bottom {
50   - position: absolute;
51   - width: 100%;
52   - bottom: 35px;
53   -}
54   -
55   -.menu-align-top {
56   - top: 0;
57   - bottom: auto;
58   -}
59   -.menu-align-bottom {
60   - bottom: 0;
61   - top: auto;
62   -}
63 0 \ No newline at end of file
js/resources/css/amda.css
... ... @@ -2,15 +2,18 @@
2 2  
3 3 /* Safari 11 fieldset collapse/expose bug */
4 4 .x-fieldset {
5   - overflow : visible;
  5 + overflow : visible !important;
6 6 }
7   -
  7 +
  8 +.child-fieldset {
  9 + background-color: #f8f6ee;
  10 +}
  11 +
8 12 .window-active .x-window-header {
9   - background-color:#6c0985;
  13 + background-color: #6c0985;
10 14 }
11 15  
12 16 .window-active .x-window-header-text {
13   -/* color: #08d5c9; */
14 17 color: #cafdff;
15 18 }
16 19  
... ...
js/resources/css/styles.css deleted
... ... @@ -1,206 +0,0 @@
1   -/*
2   -Design by Metamorphosis Design
3   -http://www.metamorphozis.com
4   -Released for free under a Creative Commons Attribution 2.5 License
5   -*/
6   -
7   -*
8   -{
9   -margin: 0px;
10   -padding: 0px;
11   -}
12   -
13   -a:link {
14   - color: #A5A9B2;
15   -}
16   -
17   -a:hover {
18   - text-decoration: none;
19   - color: #FF0000;
20   -}
21   -
22   -a:visited {
23   - color: #A5A9B2;
24   -}
25   -
26   -body {
27   -
28   - background: url(../images/ciel10.jpg) ;
29   - font: 13px Arial, Helvetica, sans-serif;
30   - color: #555555;
31   - margin-top: 20px;
32   -}
33   -
34   -#content
35   -{
36   - width: 738px;
37   - margin: 0px auto;
38   -}
39   -
40   -#main
41   -{
42   -width: 710px;
43   -height: 320px;
44   -padding: 10px;
45   -padding-top: 20px;
46   -/*background: #ffffff; */
47   -background: #F6F3E7;
48   -}
49   -
50   -#main2
51   -{
52   -width: 710px;
53   -height: 830px;
54   -padding: 10px;
55   -padding-top: 20px;
56   -/*background: #ffffff; */
57   -background: #F6F3E7;
58   -}
59   -
60   -#back
61   -{
62   -width: 738px;
63   -}
64   -
65   -#right
66   -{
67   - width: 215px;
68   - float: right;
69   -}
70   -
71   -#right H3
72   -{
73   -width: 160px;
74   -height: 29px;
75   -font-size: 14px;
76   -font-weight: bold;
77   -padding-left: 0px;
78   -padding-top: 10px;
79   -text-transform: uppercase;
80   -text-decoration: underline;
81   -color: #555555;
82   -text-align: center;
83   -/*background: url(../images/test.png) no-repeat; */
84   -}
85   -
86   -#right H4
87   -{
88   - margin: 0;
89   - padding: 0px;
90   - font-size: 12px;
91   - color:#555555;
92   -}
93   -
94   -#right ul {
95   - list-style: none;
96   - margin-bottom: 10px;
97   - padding-top: 10px;
98   -}
99   -
100   -#right li {
101   - padding: 4px;
102   - padding-left: 20px;
103   - padding-right: 20px;
104   -
105   -}
106   -
107   -
108   -#right a {
109   - color: #6495ED;
110   -}
111   -
112   -#right a:hover {
113   - color: #ff0000;
114   -}
115   -
116   -#right p
117   -{
118   -font-size: 10px;
119   -padding-left: 10px;
120   -}
121   -
122   -
123   -#left
124   -{
125   -width: 450px;
126   -margin-left: 20px;
127   -}
128   -
129   -#left H4
130   -{
131   - margin: 0;
132   - padding: 0px;
133   - font-size: 12px;
134   - color:#555555;
135   -}
136   -
137   -#left a
138   -{
139   -color: #6495ED;
140   -text-decoration: none;
141   -}
142   -
143   -#left a:hover
144   -{
145   -color: #FF0000;
146   -text-decoration: none;
147   -}
148   -
149   -#left p {
150   - margin: 5px;
151   - padding: 0;
152   -}
153   -
154   -#left h2 {
155   - margin: 0;
156   - padding: 0;
157   - padding-top: 0px;
158   - color: #555555;
159   -}
160   -
161   -#left ol, #left ul
162   -{
163   -margin-left: 30px;
164   -}
165   -
166   -.date {
167   - text-align: left;
168   - color: #555555;
169   - font-size: 10px;
170   -
171   -}
172   -
173   -.date a {
174   - color: #6495ED;
175   -
176   -}
177   -
178   -
179   -#footer {
180   - height: 50px;
181   - clear: both;
182   - padding-top: 1px;
183   -}
184   -
185   -#footer p {
186   - margin: 0;
187   - font-size: 10px;
188   - text-align: center;
189   - color: #666666;
190   -}
191   -
192   -#footer a {
193   - color: #666666;
194   -}
195   -
196   -#left .news {
197   -
198   - font-size: 13px;
199   - color: #003366;
200   -}
201   -
202   -#left .warning {
203   -
204   - font-size: 13px;
205   - color: #880000;
206   -}
js/resources/css/styles2.css deleted
... ... @@ -1,34 +0,0 @@
1   -/*
2   -Design by Metamorphosis Design
3   -http://www.metamorphozis.com
4   -Released for free under a Creative Commons Attribution 2.5 License
5   -*/
6   -
7   -*
8   -{
9   -margin: 0px;
10   -padding: 0px;
11   -}
12   -
13   -body {
14   -
15   - background: url(../images/ciel10.jpg) ;
16   - font: 13px Arial, Helvetica, sans-serif;
17   - color: #555555;
18   - margin-top: 20px;
19   -}
20   -
21   -#content
22   -{
23   - width: 1438px;
24   - margin: 0px auto;
25   -}
26   -
27   -#main
28   -{
29   -width: 1410px;
30   -padding: 10px;
31   -padding-top: 20px;
32   -/*background: #ffffff; */
33   -background: #F6F3E7;
34   -}