treport 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/connect.rb +1 -0
  3. data/app/models/db.rb +1 -1
  4. data/app/models/map.rb +1 -0
  5. data/app/models/map_requirement.rb +1 -0
  6. data/app/models/report.rb +17 -9
  7. data/app/models/requirement.rb +1 -0
  8. data/public/treport/plugins/datePicker/My97DatePicker.htm +48 -48
  9. data/public/treport/plugins/datePicker/WdatePicker.js +52 -52
  10. data/public/treport/plugins/datePicker/calendar.js +4 -4
  11. data/public/treport/plugins/datePicker/config.js +16 -16
  12. data/public/treport/plugins/datePicker/lang/en.js +13 -13
  13. data/public/treport/plugins/datePicker/lang/zh-cn.js +13 -13
  14. data/public/treport/plugins/datePicker/lang/zh-tw.js +13 -13
  15. data/public/treport/plugins/datePicker/skin/WdatePicker.css +9 -9
  16. data/public/treport/plugins/datePicker/skin/areo/datepicker.css +301 -301
  17. data/public/treport/plugins/datePicker/skin/armyGreen/datepicker.css +301 -301
  18. data/public/treport/plugins/datePicker/skin/blue/datepicker.css +114 -114
  19. data/public/treport/plugins/datePicker/skin/blueGreen/datepicker.css +301 -301
  20. data/public/treport/plugins/datePicker/skin/darkBlue/datepicker.css +308 -308
  21. data/public/treport/plugins/datePicker/skin/darkYellow/datepicker.css +114 -114
  22. data/public/treport/plugins/datePicker/skin/deepBlue/datepicker.css +300 -300
  23. data/public/treport/plugins/datePicker/skin/default/datepicker.css +245 -245
  24. data/public/treport/plugins/datePicker/skin/green/datepicker.css +114 -114
  25. data/public/treport/plugins/datePicker/skin/lightBlue/datepicker.css +114 -114
  26. data/public/treport/plugins/datePicker/skin/modernBlue/datepicker.css +301 -301
  27. data/public/treport/plugins/datePicker/skin/orange/datepicker.css +114 -114
  28. data/public/treport/plugins/datePicker/skin/red/datepicker.css +114 -114
  29. data/public/treport/plugins/datePicker/skin/whyGreen/datepicker.css +255 -255
  30. data/public/treport/plugins/datePicker/skin/yellowGreen/datepicker.css +114 -114
  31. data/public/treport/plugins/validationEngine/jquery.validationEngine-zh_CN.js +181 -181
  32. data/public/treport/plugins/validationEngine/jquery.validationEngine.js +2160 -2160
  33. data/public/treport/plugins/validationEngine/template.css +124 -124
  34. data/public/treport/plugins/validationEngine/validationEngine.jquery.css +182 -182
  35. data/public/treport/plugins/zDialog/dialog.js +1312 -1312
  36. data/public/treport/plugins/zDialog/drag.js +91 -91
  37. data/public/treport/plugins/zDialog/skins/blue/dir.txt +24 -24
  38. data/public/treport/plugins/zDialog/skins/darkBlue/dir.txt +24 -24
  39. data/public/treport/plugins/zDialog/skins/darkYellow/dir.txt +24 -24
  40. data/public/treport/plugins/zDialog/skins/green/dir.txt +24 -24
  41. data/public/treport/plugins/zDialog/skins/lightBlue/dir.txt +24 -24
  42. data/public/treport/plugins/zDialog/skins/red/dir.txt +24 -24
  43. data/public/treport/plugins/zDialog/skins/yellowGreen/dir.txt +24 -24
  44. data/public/treport/plugins/zDialog/zDialog.js +763 -763
  45. metadata +2 -2
@@ -1,309 +1,309 @@
1
- /*
2
- * My97 DatePicker 4.7
3
- * Ƥ������:ext
4
- * Ƥ������:CssRain
5
- * ����blog:http://www.CssRain.cn
6
- * ��������:cssrain@gmail.com
7
- */
8
-
9
- /* ����ѡ������ DIV */
10
- .WdateDiv{
11
- width:180px;
12
- background-color:#fff;
13
- border:1px solid #718BB7;
14
- }
15
- /* ˫�������Ŀ��� */
16
- .WdateDiv2{
17
- width:360px;
18
- }
19
- .WdateDiv *{font-size:9pt;}
20
-
21
- /****************************
22
- * ����ͼ�� ȫ����A��ǩ
23
- ***************************/
24
- .WdateDiv .NavImg a{
25
- margin-top:3px;
26
- cursor:pointer;
27
- display:block;
28
- width:15px;
29
- height:15px;
30
- }
31
- .WdateDiv .NavImgll a{
32
- background:url(left-btn2.gif) no-repeat center center;
33
- float:left;
34
- margin-left:2px;
35
- }
36
- .WdateDiv .NavImgl a{
37
- background:url(left-btn.gif) no-repeat center center;
38
- float:left;
39
- margin-left:2px;
40
- }
41
- .WdateDiv .NavImgr a{
42
- background:url(right-btn.gif) no-repeat center center;
43
- float:right;
44
- margin-right:2px;
45
- }
46
- .WdateDiv .NavImgrr a{
47
- background:url(right-btn2.gif) no-repeat center center;
48
- float:right;
49
- margin-right:2px;
50
- }
51
-
52
- /****************************
53
- * ����·����
54
- ***************************/
55
- /* ����·��� DIV */
56
- .WdateDiv #dpTitle{
57
- height:22px;
58
- background:transparent url(hd-sprite.gif) repeat-x scroll 0 -83px;
59
- color:#FFFFFF;
60
- font-family:"sans serif",tahoma,verdana,helvetica;
61
- font-size:12px;
62
- font-size-adjust:none;
63
- font-stretch:normal;
64
- font-style:normal;
65
- font-variant:normal;
66
- font-weight:bold;
67
- padding-top:2px;
68
- }
69
- /* ����·������ INPUT */
70
- .WdateDiv .yminput{
71
- margin-top:2px;
72
- text-align:center;
73
- border:0px;
74
- height:20px;
75
- width:50px;
76
- color:#FFF;
77
- background-color:transparent;
78
- cursor:pointer;
79
- }
80
- /* ����·�������ý���ʱ����ʽ INPUT */
81
- .WdateDiv .yminputfocus{
82
- margin-top:2px;
83
- text-align:center;
84
- border:#939393 1px solid;
85
- font-weight:bold;
86
- color:#034c50;
87
- height:16px;
88
- width:50px;
89
- }
90
- /* �˵�ѡ��� DIV */
91
- .WdateDiv .menuSel{
92
- z-index:1;
93
- position:absolute;
94
- background-color:#FFFFFF;
95
- border:1px solid #718BB7;
96
- display:none;
97
- }
98
- /* �˵�����ʽ TD */
99
- .WdateDiv .menu{
100
- cursor:pointer;
101
- background-color:#fff;
102
- color:#11777C;
103
- }
104
- /* �˵���mouseover��ʽ TD */
105
- .WdateDiv .menuOn{
106
- cursor:pointer;
107
- background-color: #B3CEEF;
108
- }
109
- /* �˵���Чʱ����ʽ TD */
110
- .WdateDiv .invalidMenu{
111
- color:#aaa;
112
- }
113
- /* ��ѡ����ƫ�� DIV */
114
- .WdateDiv .YMenu{
115
- margin-top:16px;
116
- }
117
- /* ��ѡ����ƫ�� DIV */
118
- .WdateDiv .MMenu{
119
- margin-top:16px;
120
- *width:62px;
121
- }
122
- /* ʱѡ����λ�� DIV */
123
- .WdateDiv .hhMenu{
124
- margin-top:-90px;
125
- margin-left:26px;
126
- }
127
- /* ��ѡ����λ�� DIV */
128
- .WdateDiv .mmMenu{
129
- margin-top:-46px;
130
- margin-left:26px;
131
- }
132
- /* ��ѡ����λ�� DIV */
133
- .WdateDiv .ssMenu{
134
- margin-top:-24px;
135
- margin-left:26px;
136
- }
137
-
138
- /****************************
139
- * �����
140
- ***************************/
141
- .WdateDiv .Wweek {
142
- text-align:center;
143
- background:#DAF3F5;
144
- border-right:#BDEBEE 1px solid;
145
- }
146
- /****************************
147
- * ����,�������
148
- ***************************/
149
- /* ������ TR */
150
- .WdateDiv .MTitle{
151
- color:#233D6D;
152
- background:#DFECFB url(glass-bg.gif) repeat-x scroll left top;
153
- color:#233D6D;
154
- cursor:default;
155
- font-size:10px;
156
- padding-top:2px;
157
- }
158
- .WdateDiv .MTitle td{
159
- border-bottom:1px solid #A3BAD9;
160
- }
161
- .WdateDiv .WdayTable2{
162
- border-collapse:collapse;
163
- border:black 1px solid;
164
- }
165
- .WdateDiv .WdayTable2 table{
166
- border:0;
167
- }
168
- /* ���������� TABLE */
169
- .WdateDiv .WdayTable{
170
- line-height:20px;
171
- color:black;
172
- }
173
- .WdateDiv .WdayTable td{
174
- text-align:center;
175
- }
176
- /* ���ڸ����ʽ TD */
177
- .WdateDiv .Wday{
178
- cursor:pointer;
179
- }
180
- /* ���ڸ��mouseover��ʽ TD */
181
- .WdateDiv .WdayOn{
182
- cursor:pointer;
183
- background-color:#B3CEEF;
184
- }
185
- /* ��ĩ���ڸ����ʽ TD */
186
- .WdateDiv .Wwday{
187
- cursor:pointer;
188
- color:#ab1e1e;
189
- }
190
- /* ��ĩ���ڸ��mouseover��ʽ TD */
191
- .WdateDiv .WwdayOn{
192
- cursor:pointer;
193
- background-color:#B3CEEF;
194
- }
195
- .WdateDiv .Wtoday{
196
- cursor:pointer;
197
- color:red;
198
- }
199
- .WdateDiv .Wselday{
200
- background-color:#B3CEEF;
201
- }
202
- .WdateDiv .WspecialDay{
203
- background-color:#66F4DF;
204
- }
205
- /* �����·ݵ����� */
206
- .WdateDiv .WotherDay{
207
- cursor:pointer;
208
- color:#AAAAAA;
209
- }
210
- /* �����·ݵ�����mouseover��ʽ */
211
- .WdateDiv .WotherDayOn{
212
- cursor:pointer;
213
- background-color:#B3CEEF;
214
- }
215
- /* ��Ч���ڵ���ʽ,�������ڷ�Χ�������ڸ����ʽ,����ѡ������� */
216
- .WdateDiv .WinvalidDay{
217
- color:#aaa;
218
- }
219
-
220
- /****************************
221
- * ʱ�����
222
- ***************************/
223
- /* ʱ���� DIV */
224
- .WdateDiv #dpTime{
225
- width:120px;
226
- text-align:left;
227
- margin-left:32px;
228
- height:20px;
229
- line-height:20px;
230
- padding-top:1px;
231
- }
232
- /* ʱ������ SPAN */
233
- .WdateDiv #dpTime #dpTimeStr{
234
- margin-left:1px;
235
- color:#233D6D;
236
- }
237
- /* ʱ������� INPUT */
238
- .WdateDiv #dpTime input{
239
- height:16px;
240
- width:18px;
241
- text-align:center;
242
- color:#333;
243
- border:#A3BAD9 1px solid;
244
- }
245
- /* ʱ�� ʱ INPUT */
246
- .WdateDiv #dpTime .tB{
247
- border-right:0px;
248
- }
249
- /* ʱ�� �ֺͼ���� ':' INPUT */
250
- .WdateDiv #dpTime .tE{
251
- border-left:0;
252
- border-right:0;
253
- }
254
- /* ʱ�� �� INPUT */
255
- .WdateDiv #dpTime .tm{
256
- width:7px;
257
- border-left:0;
258
- border-right:0;
259
- }
260
- /* ʱ���ұߵ����ϰ�ť BUTTON */
261
- .WdateDiv #dpTime #dpTimeUp{
262
- height:8px;
263
- width:13px;
264
- border:0px;
265
- background:url(img.gif) no-repeat -32px -16px;
266
- cursor:pointer;
267
- margin-bottom:0;
268
- padding-bottom:0;
269
- }
270
- /* ʱ���ұߵ����°�ť BUTTON */
271
- .WdateDiv #dpTime #dpTimeDown{
272
- height:8px;
273
- width:13px;
274
- border:0px;
275
- background:url(img.gif) no-repeat -48px -16px;
276
- cursor:pointer;
277
- margin-top:0;
278
- padding-top:0;
279
- }
280
- /****************************
281
- * ����
282
- ***************************/
283
- .WdateDiv #dpQS {
284
- float:left;
285
- margin-left:3px;
286
- margin-top:9px;
287
- background:url(dateselect.gif) no-repeat;
288
- width:20px;
289
- height:20px;
290
- cursor:pointer;
291
- }
292
- .WdateDiv #dpControl {
293
- text-align:right;
294
- margin-top:3px;
295
- background:#DFECFB url(glass-bg.gif) repeat-x scroll left top;
296
- border-top:1px solid #A3BAD9;
297
- padding:4px;
298
- }
299
- .WdateDiv .dpButton{
300
- width:44px;
301
- height:22px;
302
- background:#083772 none repeat scroll 0 0;
303
- border-color:#3366CC #000055 #000055 #3366CC;
304
- border-style:solid;
305
- border-width:1px;
306
- color:white;
307
- cursor:pointer;
308
-
1
+ /*
2
+ * My97 DatePicker 4.7
3
+ * Ƥ������:ext
4
+ * Ƥ������:CssRain
5
+ * ����blog:http://www.CssRain.cn
6
+ * ��������:cssrain@gmail.com
7
+ */
8
+
9
+ /* ����ѡ������ DIV */
10
+ .WdateDiv{
11
+ width:180px;
12
+ background-color:#fff;
13
+ border:1px solid #718BB7;
14
+ }
15
+ /* ˫�������Ŀ��� */
16
+ .WdateDiv2{
17
+ width:360px;
18
+ }
19
+ .WdateDiv *{font-size:9pt;}
20
+
21
+ /****************************
22
+ * ����ͼ�� ȫ����A��ǩ
23
+ ***************************/
24
+ .WdateDiv .NavImg a{
25
+ margin-top:3px;
26
+ cursor:pointer;
27
+ display:block;
28
+ width:15px;
29
+ height:15px;
30
+ }
31
+ .WdateDiv .NavImgll a{
32
+ background:url(left-btn2.gif) no-repeat center center;
33
+ float:left;
34
+ margin-left:2px;
35
+ }
36
+ .WdateDiv .NavImgl a{
37
+ background:url(left-btn.gif) no-repeat center center;
38
+ float:left;
39
+ margin-left:2px;
40
+ }
41
+ .WdateDiv .NavImgr a{
42
+ background:url(right-btn.gif) no-repeat center center;
43
+ float:right;
44
+ margin-right:2px;
45
+ }
46
+ .WdateDiv .NavImgrr a{
47
+ background:url(right-btn2.gif) no-repeat center center;
48
+ float:right;
49
+ margin-right:2px;
50
+ }
51
+
52
+ /****************************
53
+ * ����·����
54
+ ***************************/
55
+ /* ����·��� DIV */
56
+ .WdateDiv #dpTitle{
57
+ height:22px;
58
+ background:transparent url(hd-sprite.gif) repeat-x scroll 0 -83px;
59
+ color:#FFFFFF;
60
+ font-family:"sans serif",tahoma,verdana,helvetica;
61
+ font-size:12px;
62
+ font-size-adjust:none;
63
+ font-stretch:normal;
64
+ font-style:normal;
65
+ font-variant:normal;
66
+ font-weight:bold;
67
+ padding-top:2px;
68
+ }
69
+ /* ����·������ INPUT */
70
+ .WdateDiv .yminput{
71
+ margin-top:2px;
72
+ text-align:center;
73
+ border:0px;
74
+ height:20px;
75
+ width:50px;
76
+ color:#FFF;
77
+ background-color:transparent;
78
+ cursor:pointer;
79
+ }
80
+ /* ����·�������ý���ʱ����ʽ INPUT */
81
+ .WdateDiv .yminputfocus{
82
+ margin-top:2px;
83
+ text-align:center;
84
+ border:#939393 1px solid;
85
+ font-weight:bold;
86
+ color:#034c50;
87
+ height:16px;
88
+ width:50px;
89
+ }
90
+ /* �˵�ѡ��� DIV */
91
+ .WdateDiv .menuSel{
92
+ z-index:1;
93
+ position:absolute;
94
+ background-color:#FFFFFF;
95
+ border:1px solid #718BB7;
96
+ display:none;
97
+ }
98
+ /* �˵�����ʽ TD */
99
+ .WdateDiv .menu{
100
+ cursor:pointer;
101
+ background-color:#fff;
102
+ color:#11777C;
103
+ }
104
+ /* �˵���mouseover��ʽ TD */
105
+ .WdateDiv .menuOn{
106
+ cursor:pointer;
107
+ background-color: #B3CEEF;
108
+ }
109
+ /* �˵���Чʱ����ʽ TD */
110
+ .WdateDiv .invalidMenu{
111
+ color:#aaa;
112
+ }
113
+ /* ��ѡ����ƫ�� DIV */
114
+ .WdateDiv .YMenu{
115
+ margin-top:16px;
116
+ }
117
+ /* ��ѡ����ƫ�� DIV */
118
+ .WdateDiv .MMenu{
119
+ margin-top:16px;
120
+ *width:62px;
121
+ }
122
+ /* ʱѡ����λ�� DIV */
123
+ .WdateDiv .hhMenu{
124
+ margin-top:-90px;
125
+ margin-left:26px;
126
+ }
127
+ /* ��ѡ����λ�� DIV */
128
+ .WdateDiv .mmMenu{
129
+ margin-top:-46px;
130
+ margin-left:26px;
131
+ }
132
+ /* ��ѡ����λ�� DIV */
133
+ .WdateDiv .ssMenu{
134
+ margin-top:-24px;
135
+ margin-left:26px;
136
+ }
137
+
138
+ /****************************
139
+ * �����
140
+ ***************************/
141
+ .WdateDiv .Wweek {
142
+ text-align:center;
143
+ background:#DAF3F5;
144
+ border-right:#BDEBEE 1px solid;
145
+ }
146
+ /****************************
147
+ * ����,�������
148
+ ***************************/
149
+ /* ������ TR */
150
+ .WdateDiv .MTitle{
151
+ color:#233D6D;
152
+ background:#DFECFB url(glass-bg.gif) repeat-x scroll left top;
153
+ color:#233D6D;
154
+ cursor:default;
155
+ font-size:10px;
156
+ padding-top:2px;
157
+ }
158
+ .WdateDiv .MTitle td{
159
+ border-bottom:1px solid #A3BAD9;
160
+ }
161
+ .WdateDiv .WdayTable2{
162
+ border-collapse:collapse;
163
+ border:black 1px solid;
164
+ }
165
+ .WdateDiv .WdayTable2 table{
166
+ border:0;
167
+ }
168
+ /* ���������� TABLE */
169
+ .WdateDiv .WdayTable{
170
+ line-height:20px;
171
+ color:black;
172
+ }
173
+ .WdateDiv .WdayTable td{
174
+ text-align:center;
175
+ }
176
+ /* ���ڸ����ʽ TD */
177
+ .WdateDiv .Wday{
178
+ cursor:pointer;
179
+ }
180
+ /* ���ڸ��mouseover��ʽ TD */
181
+ .WdateDiv .WdayOn{
182
+ cursor:pointer;
183
+ background-color:#B3CEEF;
184
+ }
185
+ /* ��ĩ���ڸ����ʽ TD */
186
+ .WdateDiv .Wwday{
187
+ cursor:pointer;
188
+ color:#ab1e1e;
189
+ }
190
+ /* ��ĩ���ڸ��mouseover��ʽ TD */
191
+ .WdateDiv .WwdayOn{
192
+ cursor:pointer;
193
+ background-color:#B3CEEF;
194
+ }
195
+ .WdateDiv .Wtoday{
196
+ cursor:pointer;
197
+ color:red;
198
+ }
199
+ .WdateDiv .Wselday{
200
+ background-color:#B3CEEF;
201
+ }
202
+ .WdateDiv .WspecialDay{
203
+ background-color:#66F4DF;
204
+ }
205
+ /* �����·ݵ����� */
206
+ .WdateDiv .WotherDay{
207
+ cursor:pointer;
208
+ color:#AAAAAA;
209
+ }
210
+ /* �����·ݵ�����mouseover��ʽ */
211
+ .WdateDiv .WotherDayOn{
212
+ cursor:pointer;
213
+ background-color:#B3CEEF;
214
+ }
215
+ /* ��Ч���ڵ���ʽ,�������ڷ�Χ�������ڸ����ʽ,����ѡ������� */
216
+ .WdateDiv .WinvalidDay{
217
+ color:#aaa;
218
+ }
219
+
220
+ /****************************
221
+ * ʱ�����
222
+ ***************************/
223
+ /* ʱ���� DIV */
224
+ .WdateDiv #dpTime{
225
+ width:120px;
226
+ text-align:left;
227
+ margin-left:32px;
228
+ height:20px;
229
+ line-height:20px;
230
+ padding-top:1px;
231
+ }
232
+ /* ʱ������ SPAN */
233
+ .WdateDiv #dpTime #dpTimeStr{
234
+ margin-left:1px;
235
+ color:#233D6D;
236
+ }
237
+ /* ʱ������� INPUT */
238
+ .WdateDiv #dpTime input{
239
+ height:16px;
240
+ width:18px;
241
+ text-align:center;
242
+ color:#333;
243
+ border:#A3BAD9 1px solid;
244
+ }
245
+ /* ʱ�� ʱ INPUT */
246
+ .WdateDiv #dpTime .tB{
247
+ border-right:0px;
248
+ }
249
+ /* ʱ�� �ֺͼ���� ':' INPUT */
250
+ .WdateDiv #dpTime .tE{
251
+ border-left:0;
252
+ border-right:0;
253
+ }
254
+ /* ʱ�� �� INPUT */
255
+ .WdateDiv #dpTime .tm{
256
+ width:7px;
257
+ border-left:0;
258
+ border-right:0;
259
+ }
260
+ /* ʱ���ұߵ����ϰ�ť BUTTON */
261
+ .WdateDiv #dpTime #dpTimeUp{
262
+ height:8px;
263
+ width:13px;
264
+ border:0px;
265
+ background:url(img.gif) no-repeat -32px -16px;
266
+ cursor:pointer;
267
+ margin-bottom:0;
268
+ padding-bottom:0;
269
+ }
270
+ /* ʱ���ұߵ����°�ť BUTTON */
271
+ .WdateDiv #dpTime #dpTimeDown{
272
+ height:8px;
273
+ width:13px;
274
+ border:0px;
275
+ background:url(img.gif) no-repeat -48px -16px;
276
+ cursor:pointer;
277
+ margin-top:0;
278
+ padding-top:0;
279
+ }
280
+ /****************************
281
+ * ����
282
+ ***************************/
283
+ .WdateDiv #dpQS {
284
+ float:left;
285
+ margin-left:3px;
286
+ margin-top:9px;
287
+ background:url(dateselect.gif) no-repeat;
288
+ width:20px;
289
+ height:20px;
290
+ cursor:pointer;
291
+ }
292
+ .WdateDiv #dpControl {
293
+ text-align:right;
294
+ margin-top:3px;
295
+ background:#DFECFB url(glass-bg.gif) repeat-x scroll left top;
296
+ border-top:1px solid #A3BAD9;
297
+ padding:4px;
298
+ }
299
+ .WdateDiv .dpButton{
300
+ width:44px;
301
+ height:22px;
302
+ background:#083772 none repeat scroll 0 0;
303
+ border-color:#3366CC #000055 #000055 #3366CC;
304
+ border-style:solid;
305
+ border-width:1px;
306
+ color:white;
307
+ cursor:pointer;
308
+
309
309
  }