##// END OF EJS Templates
- Agregado el archivo requirements.txt para las librerias pre-requisitos....
jsalyrosas -
r190:191
parent child
Show More
@@ -0,0 +1,6
1 Django==1.4.3
2 MySQL-python==1.2.3
3 argparse==1.2.1
4 numpy==1.7.1
5 wsgiref==0.1.2
6 yolk==0.4.3
@@ -1,467 +1,481
1 1 /*
2 2 * font-family: 'Droid Sans', sans-serif;
3 3 * font-family: 'Ubuntu', sans-serif;
4 4 * font-family: 'Open Sans', sans-serif;
5 5 * font-family: 'Open Sans Condensed', sans-serif;
6 6 * font-family: 'Roboto Condensed', sans-serif;
7 7 */
8 8
9 9 body {
10 10 padding: 0;
11 11 margin: 0;
12 12 font-size: 12px; }
13 13
14 14 header {
15 15 width: 980px;
16 16 height: 50px;
17 17 text-align: center;
18 18 line-height: 50px;
19 19 border: 0px solid #fcc !important; }
20 20
21 21 #schema {
22 22 margin: 0 auto;
23 23 width: 980px;
24 24 padding: 10px 10px;
25 25 border: 0px solid #f00 !important; }
26 26
27 27 #content {
28 28 margin: 5px 0px;
29 29 border: 0px solid #1cc; }
30 30
31 31 #topcolumn {
32 32 float: left;
33 33 width: 980px;
34 34 height: 40px;
35 35 line-height: 35px;
36 36 margin: 2px 0px;
37 37 border: 1px solid #ddd !important;
38 38 box-shadow: 2px 2px 5px #888; }
39 39
40 40 #maincolumn {
41 41 float: left;
42 42 width: 980px;
43 43 margin: 2px 0px;
44 44 padding: 0px 0px;
45 45 border: 1px solid #ddd !important;
46 46 box-shadow: 2px 2px 5px #666; }
47 47
48 48 footer {
49 49 height: 30px;
50 50 line-height: 30px;
51 51 text-align: center;
52 52 margin: 0px 0px;
53 53 border: 0px solid #200 !important;
54 54 box-shadow: 2px 2px 5px #888; }
55 55
56 56 .cleardivs {
57 57 clear: both;
58 58 border: 0px solid #400;
59 59 height: 0px; }
60 60
61 61 textarea {
62 62 resize: none;
63 63 overflow: hidden; }
64 64
65 65 /****************************************************************************************/
66 66 /****** ESTILOS GENERALES *****************/
67 67 /****************************************************************************************/
68 68 .mnu {
69 69 height: 22px;
70 70 border: 0px solid #c55 !important; }
71 71
72 72 .mnu li {
73 73 display:inline; }
74 74
75 75 .MnuVertical, .MnuHorizontal {
76 76 font-family: 'Droid Sans', sans-serif;
77 77 font-size: inherit;
78 78 font-style: normal;
79 79 text-shadow: 2px 2px #eee; }
80 80
81 81 .MnuHorizontal ul {
82 82 list-style: none;
83 83 list-style-type: none;
84 84 margin: 0; }
85 85
86 86 /*.MnuHorizontal{
87 87 display: -webkit-box;
88 88 -webkit-box-orient:horizontal; }
89 89
90 90 .MnuHorizontal a{
91 91 display:block;
92 92 padding:10px;
93 93 -webkit-box-flex:1;
94 94 text-align:center; }*/
95 95
96 96 /****************************************************************************************/
97 97 /****** MENU DE NAVEGACION DE PERFILES *************/
98 98 /****************************************************************************************/
99 99 #infoProfiles {
100 100 float: left;
101 101 width: 300px;
102 102 margin: 0px;
103 103 padding: 2px 0px;
104 104 border: 0px solid #1cc !important; }
105 105
106 106 #infoProfiles label {
107 107 padding: 10px 10px 10px 12px;
108 108 margin: 10px 0; }
109 109
110 110 #infoProfiles select {
111 111 padding: 4px 0px; margin: 0;
112 112 font-family: 'Droid Sans', sans-serif;
113 113 font-size: 12px;
114 114 letter-spacing: 0.029em;
115 115 width: 200px; }
116 116
117 117 #mnuProfiles {
118 118 margin: 0;
119 119 float: right;
120 120 padding: 2px 10px;
121 121 border: 0px solid #1494F6 !important; }
122 122
123 123 #mnuProfiles ul {
124 124 list-style: none;
125 125 list-style-type: none;
126 126 margin: 0;
127 127 padding-left: 20px;
128 128 border: 0px solid #f00 !important; }
129 129
130 130 #mnuProfiles li {
131 131 width: 80px;
132 132 float: left;
133 133 padding: 2px;
134 134 border: 0px solid #c55 !important; }
135 135
136 136 #mnuProfiles a {
137 137 font-weight: normal;
138 138 color: #1494F6;
139 139 display: block;
140 140 text-align: center;
141 141 border-bottom: 1px solid #1494F6 !important;
142 142 text-decoration: none;
143 143 padding: 0px 4px;
144 144 line-height: 18px;
145 145 margin: 6px; }
146 146
147 147 /****************************************************************************************/
148 148 /******** FORMULARIO DE PERFILES *************************************/
149 149 /****************************************************************************************/
150 150 #divProfile {
151 151 margin: 10px 0px;
152 152 padding: 10px 10px;
153 153 width: 500px;
154 154 border: 0px solid #dff !important; }
155 155
156 156 #divPattern textarea,input[type=text],label,input[type=file],input[type=button],input[type=submit] {
157 157 font-family: 'Open Sans', sans-serif;
158 158 font-size: inherit; }
159 159
160 160 .antenna, .NewAntenna {
161 161 box-shadow: 1px 1px 2px #666;
162 162 padding: 5px;
163 163 margin: 10px auto;
164 164 width: 520px;
165 165 display: block;
166 166 border: 0px solid #fee !important; }
167 167
168 168 .antenna {
169 169 width: 520px; }
170 170
171 171 .NewAntenna {
172 172 width: 620px; }
173 173
174 174 .flsAntenna, .NewFlsAntenna {
175 175 margin: 0;
176 176 padding: 0px;
177 177 border: 1px solid #fee !important;
178 178 width: 510px; }
179 179
180 180 .flsAntenna {
181 181 width: 510px; }
182 182
183 183 .NewFlsAntenna {
184 184 width: 610px; }
185 185
186 186 .legendAntenna {
187 187 font-family: 'Roboto Condensed', sans-serif;
188 188 font-size: inherit;
189 189 text-align: center;
190 190 margin-left: 10px; }
191 191
192 192 .infoAntenna {
193 193 width: 500px;
194 194 float: left;
195 195 border: 0px solid #f00 !important; }
196 196
197 197 .overJRO {
198 198 width: 250px;
199 199 float: left;
200 200 margin: 0px 5px;
201 201 border: 0px solid #1cc !important; }
202 202
203 203 .divAntenna {
204 204 width: 220px;
205 205 float: left;
206 206 margin: 10px;
207 207 border: 0px solid #fcc !important; }
208 208
209 209 .NewDivAntenna {
210 210 width: 290px;
211 211 float: left;
212 212 margin: 10px;
213 213 border: 0px solid #fcc !important; }
214 214
215 215 .titleField {
216 216 display: block;
217 217 text-align: center; }
218 218
219 219 .txtAntenna, .view-textAntenna {
220 220 width: 175px;
221 221 max-width: 180px;
222 222 height: 160px;
223 223 max-height: 165px;
224 224 background: #fdfdfb;
225 225 border: 2px solid #eee !important;
226 226 text-align: justify;
227 227 margin: 0 auto;
228 228 line-height: 20px; }
229 229
230 230 .txtAntenna {
231 231 padding: 4px;
232 232 }
233 233
234 234 .view-textAntenna {
235 235 padding: 2px;
236 236 font-family: "Ubuntu";
237 237 font-size: inherit; }
238 238
239 239 .boxAntenna {
240 240 width: 280px;
241 241 border: 2px solid #eee !important;
242 242 text-align: center;
243 243 display: block;
244 244 float: left;
245 245 margin: 0;
246 246 padding: 0; }
247 247
248 248 .lineInputs {
249 249 width: 262px;
250 250 text-align: center;
251 251 line-height: 18px;
252 252 padding: 0;
253 253 height: 20px;
254 254 margin: 0 auto;
255 255 display: block;
256 256 border: 0px solid #1cc !important; }
257 257
258 258 .lineInputs label {
259 259 float: left;
260 260 margin: 0px 2px;
261 261 border: 0px solid #bbb !important; }
262 262
263 .divValuesAntenna, .divValuesTR {
264 float: left;
265 display: block;
266 margin: 0 auto;
267 border: 0px solid #bbb !important; }
268
263 269 .divValuesAntenna {
264 width: 230px;
265 border: 0px solid #bbb !important;
266 float: left;
267 display: block;
268 margin: 0 auto; }
269
270 .divValuesAntenna input[type=text] {
271 width: 18px;
270 width: 230px;
271 border: 0px solid #bbb !important; }
272
273 .divValuesTR {
274 width: 180px;
275 border: 0px solid #bbb !important; }
276
277 .divValuesAntenna input[type=text], .divValuesTR input[type=text] {
272 278 border: 0px;
273 279 border-bottom: 1px solid #666 !important;
274 line-height: 20px; }
280 line-height: 20px;
281 }
282
283 .divValuesAntenna input[type=text] {
284 width: 18px; }
285
286 .divValuesTR input[type=text]{
287 width: 11px;
288 }
275 289
276 290 .lblSign {
277 291 width: 8px;
278 292 font-family: 'Roboto Condensed', sans-serif;
279 293 font-size: 1.1em;
280 294 color: #666; }
281 295
282 296 #lblSignLeft, #lblSignRight {
283 297 margin: 0;
284 298 line-height: 18px;
285 299 height: 20px;
286 300 float: left;
287 301 padding: 0; }
288 302
289 303 .divTx {
290 304 display: block;
291 305 float: left;
292 306 margin: 10px;
293 307 border: 0px solid #f00 !important; }
294 308
295 309 .divTx label {
296 310 display: block; }
297 311
298 312 .divTx textarea {
299 313 width: 100px;
300 314 max-width: 100px;
301 315 height: 160px;
302 316 max-height: 165px;
303 317 text-align: justify;
304 318 border: 2px solid #eee !important;
305 319 font-family: "Ubuntu";
306 320 font-size: inherit;
307 321 line-height: 20px; }
308 322
309 323 .divTx p {
310 324 width: 100px;
311 325 max-width: 105px;
312 326 height: 160px;
313 327 max-height: 165px;
314 328 background: #fdfdfb;
315 329 padding: 2px;
316 330 border: 1px solid #eee !important;
317 331 font-family: 'Ubuntu', sans-serif;
318 332 font-size: inherit;
319 333 text-align: justify;
320 334 margin: 0 auto;
321 335 line-height: 20px; }
322 336
323 337 .divUes {
324 338 display: block;
325 339 margin: 10px; }
326 340
327 341 .divUes input[type=text] {
328 342 width: 240px;
329 343 max-width: 240px;
330 344 font-family: 'Ubuntu', sans-serif;
331 345 font-size: inherit; }
332 346
333 347 .overJRO img {
334 348 width: 400px;
335 349 height: 200px;
336 350 text-align: center;
337 351 vertical-align: middle;
338 352 margin: 40px 5px 5px 5px;
339 353 display: block;
340 354 background: #fdfdfb;
341 355 border: 1px solid #eee !important; }
342 356
343 357 .overJRO a {
344 358 text-align: center;
345 359 margin: 0 auto;
346 360 display: block; }
347 361
348 362 /****************************************************************************************/
349 363 /****** MENU DE NAVEGACION DE PATRONES **********************************/
350 364 /****************************************************************************************/
351 365 #divMnuPattern {
352 366 width: 280px;
353 367 height: 25px;
354 368 display: block;
355 369 float: right;
356 370 margin: 5px 40px 5px 0px;
357 371 border: 0px solid #1cc !important; }
358 372
359 373 #divMnuPattern li {
360 374 float: right;
361 375 display: block;
362 376 width: 60px;
363 377 border: 0px solid #2cc !important; }
364 378
365 379 #divMnuPattern a {
366 380 display: block;
367 381 line-height: 22px;
368 382 text-decoration: none;
369 383 padding: 0px 5px;
370 384 margin: 0px 2px;
371 385 text-align: center;
372 386 color: #1494F6;
373 387 border-bottom: 1px solid #1494F6 !important; }
374 388
375 389 #infoPattern {
376 390 display: block;
377 391 margin: 0px 25px;
378 392 border: 0px solid #1494f6 !important; }
379 393
380 394 #navPatterns {
381 395 margin: 0 auto;
382 396 width: 700px;
383 397 height: 30px;
384 398 border: 0px solid #d00 !important;
385 399 font-family: 'Ubuntu', sans-serif;
386 400 font-size: 14px;
387 401 padding: 5px 0px; }
388 402
389 403 #navPatternList {
390 404 margin: 0 auto;
391 405 border: 0px solid #ecc !important; }
392 406
393 407 #navPatternList ul {
394 408 list-style: none;
395 409 list-style-type: none;
396 410 margin: 0; }
397 411
398 412 #navPatternList ul li {
399 413 float: left;
400 414 width: 50px;
401 415 border: 1px solid #eee !important; }
402 416
403 417 #navPatternList a {
404 418 width: 50px;
405 419 display: block;
406 420 text-align: center;
407 421 line-height: 30px;
408 422 padding: 1px 0px;
409 423 border: 0px solid #1cc !important; }
410 424
411 425 .lnkPattern {
412 426 background-color: #ccc !important;
413 427 color: #eee; }
414 428
415 429 .lnkPatternSelected {
416 430 background-color: #2cc !important;
417 431 color: #fff; }
418 432
419 433 .divListofPatterns {
420 434 width: 650px;
421 435 display: block;
422 436 border: 1px solid #1cc !important;
423 437 margin: 0 auto; }
424 438
425 439 .divPattern {
426 440 width: 600px;
427 441 display: block;
428 442 border: 1px solid #f00 !important;
429 443 margin: 2px auto; }
430 444
431 445 /****************************************************************************************/
432 446 /****** HEADER *************/
433 447 /****************************************************************************************/
434 448 header nav {
435 449 width: 960px;
436 450 margin: 0 auto;
437 451 height: 100%;
438 452 border: 0px solid #1cc !important; }
439 453
440 454 header nav a {
441 455 font-family: 'Roboto Condensed', sans-serif;
442 456 font-size: 1.98em;
443 457 text-transform: uppercase;
444 458 width: 232px;
445 459 padding: 2px;
446 460 text-align: center;
447 461 border: 1px solid #ddd !important;
448 462 box-shadow: 1px 1px 2px #ddd;
449 463 display: block;
450 464 float: left;
451 465 height: 45px;
452 466 text-decoration: none;
453 467 background: #eee;
454 468 line-height: 45px;
455 469 color: #15425d;
456 470 margin: 0px 1px; }
457 471
458 472 header nav a.selected {
459 473 background: #666;
460 474 color: #fff; }
461 475
462 476 /****************************************************************************************/
463 477 /****** FOOTER *************/
464 478 /****************************************************************************************/
465 479 footer p {
466 480 font-family: 'Roboto Condensed', sans-serif;
467 481 font-size: 0.98em; } No newline at end of file
@@ -1,109 +1,128
1 1 {% extends "abscontrol/index.html" %}
2 2 {% block title %}ABS CONTROL:::::NEW PROFILE{% endblock %}
3 3 {% block scripting %}
4 4 <script src="/static/static/js/patterns.js"></script>
5 5 {% endblock %}
6 6 {% block maincolumn%}
7 7 <div id="maincolumn">
8 8 <!-- <form action="/abscontrol/{{ profile_id }}/save/" method="post" id="frmPattern"> -->
9 9 <form action="/abscontrol/upgrade/{{ profile_id }}/" method="post" id="frmPattern">
10 10 <div id="divProfile">
11 11 <label for="lblName">Profile: {{ profile_name }}</label>
12 12 </div>
13 13 {% block mnuPattern %}
14 14 <div class="divMenu" id="divMnuPattern">
15 15 <nav class="MnuHorizontal">
16 16 <ul class="mnu" id="mnuPattern">
17 17 <li><a href="#" id="lnkSavePattern">Save</a></li>
18 18 </ul>
19 19 </nav>
20 20 </div>
21 21 <div class="cleardivs"></div>
22 22 {% endblock %}
23 23 <div id="divPattern">
24 24 <div id="antennaUp" class="NewAntenna">
25 25 <fieldset class="NewFlsAntenna">
26 26 <legend class="legendAntenna">UP</legend>
27 27 <div class="NewDivAntenna">
28 28 <label for="lblAntenna" class="titleField">Antenna</label>
29 29 <div class="boxAntenna" id="divtxtAntenna">
30 30 {% for i in range %}
31 31 <div class="lineInputs">
32 32 {% if i == 0 %}<label for="lblSignLeft" class="lblSign" id="lblSignLeft">[</label>{% endif %}
33 33 <label for="lblSign" class="lblSign">[</label>
34 34 <div class="divValuesAntenna">
35 35 {% for j in range %}
36 36 <input type="text" name="txtUnitAntennaUp" class="txtUnitAntenna" id="txtUnitAntennaUp_{{ i }}_{{ j }}" value="0.5" />
37 37 {% if j != 7 %},{% endif %}
38 38 {% endfor %}
39 39 </div>
40 40 <label for="lblSign" class="lblSign">]</label>
41 41 {% if i == 7 %}<label for="lblSignRight" class="lblSign" id="lblSignRight">]</label>{% endif %}
42 42 </div>
43 43 {% endfor %}
44 44 </div>
45 45 </div>
46 <div class="NewDivTR">
47 <label for="lblTx" class="titleField">Tx</label>
48 <div class="boxTR" id="divtxtTR">
49 {% for i in range %}
50 <div class="lineInputsTR">
51 {% if i == 0 %}<label for="lblSignLeft" class="lblSign" id="lblSignLeft">[</label>{% endif %}
52 <label for="lblSign" class="lblSign">[</label>
53 <div class="divValuesTR">
54 {% for j in range %}
55 <input type="text" name="txtUnitTR" class="txtUnitTR" id="txtUnitTR_{{ i }}_{{ j }}" value="1" />
56 {% if j != 7 %},{% endif %}
57 {% endfor %}
58 </div>
59 <label for="lblSign" class="lblSign">]</label>
60 {% if i == 7 %}<label for="lblSignRight" class="lblSign" id="lblSignRight">]</label>{% endif %}
61 </div>
62 {% endfor %}
63 </div>
64 </div>
46 65 <div class="divTx">
47 <label for="lblTx" class="titleField">Tx</label>
48 66 <textarea name="txtTxUp" class="txtTR" cols="18" rows="8">{{ txtTxUp }}</textarea>
49 67 </div>
50 68 <div class="divTx">
51 69 <label for="lblRx" class="titleField" >Rx</label>
52 70 <textarea name="txtRxUp" class="txtTR" cols="18" rows="8">{{ txtRxUp }}</textarea>
53 71 </div>
54 72 <div class="cleardivs"></div>
55 73 <div class="divUes">
56 74 <label for="lblUes">Ues:</label>
57 75 <input type="text" name="txtUesUp" value="{{ txtUes }}" />
58 76 <input type="checkbox" name="chkOnlyRxUp" value="" />
59 77 <label for="lblOnlyRx">Only RX</label>
60 78 </div>
61 79 </fieldset>
62 80 <input type="hidden" name="txtAntennaUp" value="" />
81 <input type="hidden" name="txtTxUp" value="" />
63 82 </div>
64 83
65 84 <div id="antennaDown" class="NewAntenna">
66 85 <fieldset class="NewFlsAntenna">
67 86 <legend class="legendAntenna">DOWN</legend>
68 87 <div class="NewDivAntenna">
69 88 <label for="lblAntenna" class="titleField">Antenna</label>
70 89 <div class="boxAntenna" id="divtxtAntenna">
71 90 {% for i in range %}
72 91 <div class="lineInputs">
73 92 {% if i == 0 %}<label for="lblSignLeft" class="lblSign" id="lblSignLeft">[</label>{% endif %}
74 93 <label for="lblSign" class="lblSign">[</label>
75 94 <div class="divValuesAntenna">
76 95 {% for j in range %}
77 96 <input type="text" name="txtUnitAntennaDown" class="txtUnitAntenna" id="txtUnitAntennaDown_{{ i }}_{{ j }}" value="0.5" />
78 97 {% if j != 7 %},{% endif %}
79 98 {% endfor %}
80 99 </div>
81 100 <label for="lblSign" class="lblSign">]</label>
82 101 {% if i == 7 %}<label for="lblSignRight" class="lblSign" id="lblSignRight">]</label>{% endif %}
83 102 </div>
84 103 {% endfor %}
85 104 </div>
86 105 </div>
87 106 <div class="divTx">
88 107 <label for="lblTx">Tx</label>
89 108 <textarea name="txtTxDown" class="txtTR" cols="15" rows="8">{{ txtTxDown }}</textarea>
90 109 </div>
91 110 <div class="divTx">
92 111 <label for="lblRx">Rx</label>
93 112 <textarea name="txtRxDown" class="txtTR" cols="15" rows="8">{{ txtRxDown }}</textarea>
94 113 </div>
95 114 <div class="cleardivs"></div>
96 115 <div class="divUes">
97 116 <label for="lblUes">Ues:</label>
98 117 <input type="text" name="txtUesDown" value="{{ txtUes }}" />
99 118 <input type="checkbox" name="chkOnlyRxDown" value="" />
100 119 <label for="lblOnlyRx">Only RX</label>
101 120 </div>
102 121 </fieldset>
103 122 <input type="hidden" name="txtAntennaDown" value="" />
104 123 </div>
105 124 </div>
106 125 <input type="hidden" name="mode" value="e">
107 126 </form>
108 127 </div>
109 128 {% endblock %}
General Comments 0
You need to be logged in to leave comments. Login now