@@ -1,85 +1,96 | |||
|
1 | 1 | /* No newline at end of file |
|
2 | 2 | * font-family: 'Droid Sans', sans-serif; No newline at end of file |
|
3 | 3 | * font-family: 'Ubuntu', sans-serif; No newline at end of file |
|
4 | 4 | * font-family: 'Open Sans', sans-serif; No newline at end of file |
|
5 | 5 | * font-family: 'Open Sans Condensed', sans-serif; No newline at end of file |
|
6 | 6 | * font-family: 'Roboto Condensed', sans-serif; No newline at end of file |
|
7 | 7 | */ No newline at end of file |
|
8 | 8 | No newline at end of file |
|
9 | 9 | body { font-size: 12px; } No newline at end of file |
|
10 | 10 | header {border: 1px solid #fcc; font-size: 2em; height: 50px; text-align: center; line-height: 50px} No newline at end of file |
|
11 | 11 | #schema {margin: 0 auto; width: 980px; border: 1px solid #f00; padding: 10px 10px 10px 10px} No newline at end of file |
|
12 | 12 | #content {border: 1px solid #1cc; margin-top: 5px; margin-bottom: 5px} No newline at end of file |
|
13 | 13 | #content #leftcolumn {float: left;border: 1px solid #c55; width: 150px; } No newline at end of file |
|
14 | 14 | #content #maincolumn {float: left; border: 1px solid #000; width: 800px; padding-left: 20px;} No newline at end of file |
|
15 | 15 | footer {border: 1px solid #200; font-size: 0.9em; height: 30px; text-align: center; line-height: 20px} No newline at end of file |
|
16 | 16 | No newline at end of file |
|
17 | 17 | .cleardivs {clear: both; border: 0px solid #400; height: 0px} No newline at end of file |
|
18 | 18 | /****************************************************************************************/ No newline at end of file |
|
19 | 19 | /****** ESTILOS GENERALES *****************/ No newline at end of file |
|
20 | 20 | /****************************************************************************************/ No newline at end of file |
|
21 | 21 | .mnu{ height: 22px; border: 0px solid #c55 !important;} No newline at end of file |
|
22 | 22 | .mnu li{ display:inline;} No newline at end of file |
|
23 | 23 | .MnuVertical, .MnuHorizontal { font-family: 'Droid Sans', sans-serif; font-size: 1.2em; font-style: italic; text-shadow: 2px 2px #eee} No newline at end of file |
|
24 | 24 | .MnuHorizontal ul{ list-style: none; list-style-type: none; margin: 0;} No newline at end of file |
|
25 | 25 | No newline at end of file |
|
26 | 26 | /*.MnuHorizontal{ display: -webkit-box; -webkit-box-orient:horizontal;}*/ No newline at end of file |
|
27 | 27 | /*.MnuHorizontal a{ display:block; padding:10px; -webkit-box-flex:1; text-align:center; }*/ No newline at end of file |
|
28 | 28 | No newline at end of file |
|
29 | 29 | /****************************************************************************************/ No newline at end of file |
|
30 | 30 | /****** MENU DE NAVEGACION DE PERFILES **********************************/ No newline at end of file |
|
31 | 31 | /****************************************************************************************/ No newline at end of file |
|
32 | 32 | #content #infoProfiles {border: 1px solid #d00 !important; width: 140px; margin: 0px; padding-top: 2px; padding-bottom: 2px} No newline at end of file |
|
33 | 33 | .lblInfo {padding-left: 12px; line-height: 20px;} No newline at end of file |
|
34 | 34 | #infoProfiles select {padding-left: 12px; line-height: 20px;margin-left: 12px} No newline at end of file |
|
35 | 35 | #content nav {border: 0px solid #c55 !important; margin: 0px;} No newline at end of file |
|
36 | 36 | No newline at end of file |
|
37 | 37 | #leftcolumn #mnuProfiles{ margin: 5px 0px; border: 0px solid #1494F6 !important; } No newline at end of file |
|
38 | 38 | #mnuProfiles ul{list-style: none; list-style-type: none; margin: 0; padding-left: 20px; border: 0px solid #f00 !important} No newline at end of file |
|
39 | 39 | #mnuProfiles li{ width: 80px; padding: 2px; border: 0px solid #c55 !important; line-height: 22px} No newline at end of file |
|
40 | 40 | #mnuProfiles a{ font-weight: normal; color: #1494F6; display: block; border: 0px solid #1cc !important; text-align: left} No newline at end of file |
|
41 | 41 | No newline at end of file |
|
42 | 42 | /****************************************************************************************/ No newline at end of file |
|
43 | 43 | /******** FORMULARIO DE PERFILES *************************************/ No newline at end of file |
|
44 | 44 | /****************************************************************************************/ No newline at end of file |
|
45 | 45 | #divProfile { border: 0px solid #dff; margin: 10px 0px; padding: 10px 10px; width: 500px } |
|
46 | No newline at end of file | |
|
46 | .flsAntenna { margin: 10px 0px; width: 750px; padding: 10px 10px } No newline at end of file | |
|
47 | 47 | #divPattern textarea,input[type=text],label{ font-family: "Open Sans"; font-size: inherit; } No newline at end of file |
|
48 | 48 | No newline at end of file |
|
49 | 49 | #divPattern textarea {resize: none; overflow: hidden} |
|
50 | No newline at end of file | |
|
50 | ||
|
No newline at end of file | ||
|
51 | No newline at end of file | |
|
51 | .divAntenna { float: left; margin: 10px; height: 160px; border: 0px solid #fcc !important; width: 260px } No newline at end of file | |
|
No newline at end of file | ||
|
52 | .divAntenna { float: left; margin: 10px; border: 0px solid #fcc !important; width: 190px } | |
|
No newline at end of file | ||
|
53 | .divAntenna label{ display: block } No newline at end of file | |
|
52 | 54 | .divAntenna label{ display: block } |
|
55 | No newline at end of file | |
|
53 | .txtAntenna { width: 250px; max-width: 250px; height: 135px; max-height: 140px; } | |
|
No newline at end of file | ||
|
56 | No newline at end of file | |
|
54 | .divAntenna p{ width: 250px; max-width: 250px; height: 130px; max-height: 130px; border: 1px solid #eee !important} No newline at end of file | |
|
No newline at end of file | ||
|
57 | .divAntenna p{ width: 175px; max-width: 180px; height: 160px; max-height: 165px; background: #fdfdfb; padding: 2px; | |
|
No newline at end of file | ||
|
58 | border: 1px solid #eee !important; font-family: "Ubuntu"; font-size: inherit; | |
|
No newline at end of file | ||
|
59 | text-align: justify; margin: 0 auto; line-height: 20px} | |
|
No newline at end of file | ||
|
60 | No newline at end of file | |
|
55 | 61 | No newline at end of file |
|
56 | 62 | .divTx { display: block; float: left; margin: 10px; height: 150px } No newline at end of file |
|
57 | 63 | .divTx label{ display: block } No newline at end of file |
|
58 | 64 |
.divTx |
|
65 | No newline at end of file | |
|
59 | .divTx p{ width: 135px; max-width: 135px; height: 130px; max-height: 130px; text-align: justify } No newline at end of file | |
|
No newline at end of file | ||
|
66 | text-align: justify; margin: 0 auto; line-height: 20px;} | |
|
No newline at end of file | ||
|
67 | No newline at end of file | |
|
60 | 68 | No newline at end of file |
|
61 | 69 | .divUes { display: block; margin: 10px} |
|
70 | No newline at end of file | |
|
62 | .divUes input[type=text] { width: 240px; max-width: 240px;} No newline at end of file | |
|
No newline at end of file | ||
|
71 | .overJRO img{width: 200; height: 145px; text-align: center; vertical-align: middle; margin: 25px 5px 5px 5px; | |
|
No newline at end of file | ||
|
72 | display: block; background: #fdfdfb; border: 1px solid #eee !important;} | |
|
No newline at end of file | ||
|
73 | .overJRO a{ text-align: center; margin: 0 auto; display: block} | |
|
No newline at end of file | ||
|
74 | No newline at end of file | |
|
63 | 75 | No newline at end of file |
|
64 | 76 | /****************************************************************************************/ No newline at end of file |
|
65 | 77 | /****** MENU DE NAVEGACION DE PATRONES **********************************/ No newline at end of file |
|
66 | 78 | /****************************************************************************************/ No newline at end of file |
|
67 | 79 |
#divMnuPattern{ |
|
68 | 80 | #divMnuPattern li{ float: left; display: block; width: 60px; border: 0px solid #2cc !important} No newline at end of file |
|
69 | 81 | #divMnuPattern a{ display: block; line-height: 22px; text-decoration: none; padding: 0px 5px; No newline at end of file |
|
70 | 82 | border-bottom: 1px solid #1494F6 !important; margin: 0px 2px; text-align: center; color: #1494F6 No newline at end of file |
|
71 | 83 | } No newline at end of file |
|
72 | 84 | #infoPattern{ display: block; border: 1px solid #1494f6 !important, margin: 5px 2px; } No newline at end of file |
|
73 | 85 | No newline at end of file |
|
74 | 86 | #navPatterns{ margin: 10px auto; border: 0px solid #d00 !important; width: 500px; height: 30px; font-family: 'Ubuntu', sans-serif; font-size: 14px; No newline at end of file |
|
75 | 87 | padding: 10px 0px} No newline at end of file |
|
76 | 88 | #navPatternList{ margin: 0px auto; border: 1px solid #ecc !important} No newline at end of file |
|
77 | 89 | #navPatternList ul{ list-style: none; list-style-type: none; margin: 0;} No newline at end of file |
|
78 | 90 |
#navPatternList |
|
79 | 91 | #navPatternList a{ width: 50px; border: 0px solid #1cc !important; display: block; text-align: center; line-height: 25px} No newline at end of file |
|
80 | 92 |
.lnkPattern{ background-color: # |
|
81 | 93 | .lnkPatternSelected{ background-color: #2cc !important; color: #fff;} No newline at end of file |
|
82 | 94 | No newline at end of file |
|
83 | 95 |
.div |
|
84 | 96 | .divPattern{ width: 600px; display: block; border: 1px solid #f00 !important; margin: 2px auto; } No newline at end of file |
|
85 | 97 | No newline at end of file |
@@ -1,12 +1,15 | |||
|
1 | 1 | /** No newline at end of file |
|
2 | 2 | * @author Jose Antonio Sal y Rosas Celi No newline at end of file |
|
3 | 3 | * @contact: jose.salyrosas@jro.igp.gob.pe, arturo.jasyrc@gmail.com No newline at end of file |
|
4 | 4 | */ No newline at end of file |
|
5 | 5 | No newline at end of file |
|
6 | 6 | $(document).on('ready',function(){ No newline at end of file |
|
7 | 7 | $('#listProfiles').change(function() { No newline at end of file |
|
8 | 8 | if($(this).val() != -1){ No newline at end of file |
|
9 | 9 | location.href="/abscontrol/view/" + $(this).val(); No newline at end of file |
|
10 | 10 | } No newline at end of file |
|
11 | 11 | }); No newline at end of file |
|
12 | $('.activeOverJRO').click(function() { | |
|
No newline at end of file | ||
|
13 | alert("OverJRO"); No newline at end of file | |
|
12 | 14 | }); No newline at end of file |
|
15 | }); No newline at end of file |
@@ -1,60 +1,64 | |||
|
1 | 1 | {% extends "abscontrol/index.html" %} No newline at end of file |
|
2 | 2 | {% block title %}ABS CONTROL:::::NEW PROFILE{% endblock %} No newline at end of file |
|
3 | 3 | No newline at end of file |
|
4 | 4 | {% block maincolumn%} No newline at end of file |
|
5 | 5 | <div id="maincolumn"> No newline at end of file |
|
6 | 6 | <form action="/abscontrol/save/" method="post"> No newline at end of file |
|
7 | 7 | <div id="divProfile"> No newline at end of file |
|
8 | 8 | <label for="lblName">Profile:</label> No newline at end of file |
|
9 | 9 | <input type="text" name="txtProfile" id="" value="" /> No newline at end of file |
|
10 | 10 | <input type="submit" value="Save" /> No newline at end of file |
|
11 | 11 | </div> No newline at end of file |
|
12 | 12 | <div id="divPattern"> No newline at end of file |
|
13 | 13 | <div id="antennaUp"> No newline at end of file |
|
14 | 14 | <fieldset class="flsAntenna"> No newline at end of file |
|
15 | 15 | <legend>UP</legend> No newline at end of file |
|
16 | 16 | <div class="divAntenna"> No newline at end of file |
|
17 | 17 | <label for="lblAntenna">Antenna</label> No newline at end of file |
|
18 | 18 | <textarea name="txtAntennaUp" class="txtAntenna" cols="38" rows="8">{{ txtAntenna }}</textarea> No newline at end of file |
|
19 | 19 | </div> No newline at end of file |
|
20 | 20 | <div class="divTx"> No newline at end of file |
|
21 | 21 | <label for="lblTx">Tx</label> No newline at end of file |
|
22 | 22 | <textarea name="txtTxUp" class="txtTR" cols="20" rows="8">{{ txtTxUp }}</textarea> No newline at end of file |
|
23 | 23 | </div> No newline at end of file |
|
24 | 24 | <div class="divTx"> No newline at end of file |
|
25 | 25 | <label for="lblRx">Rx</label> No newline at end of file |
|
26 | 26 | <textarea name="txtRxUp" class="txtTR" cols="20" rows="8">{{ txtRxUp }}</textarea> No newline at end of file |
|
27 | 27 | </div> No newline at end of file |
|
28 | 28 | <div class="cleardivs"></div> No newline at end of file |
|
29 | 29 | <div class="divUes"> No newline at end of file |
|
30 | 30 | <label for="lblUes">Ues:</label> No newline at end of file |
|
31 | 31 | <input type="text" name="txtUesUp" value="{{ txtUes }}" /> No newline at end of file |
|
32 | <input type="checkbox" name="chkOnlyRxUp" value="" /> | |
|
No newline at end of file | ||
|
33 | <label for="lblOnlyRx">Only RX</label> No newline at end of file | |
|
32 | 34 | </div> No newline at end of file |
|
33 | 35 | </fieldset> No newline at end of file |
|
34 | 36 | </div> No newline at end of file |
|
35 | 37 | <div id="antennaDown"> No newline at end of file |
|
36 | 38 | <fieldset class="flsAntenna"> No newline at end of file |
|
37 | 39 | <legend>DOWN</legend> No newline at end of file |
|
38 | 40 | <div class="divAntenna"> No newline at end of file |
|
39 | 41 | <label for="lblAntenna">Antenna</label> No newline at end of file |
|
40 | 42 | <textarea name="txtAntennaDown" class="txtAntenna" cols="38" rows="8">{{ txtAntenna }}</textarea> No newline at end of file |
|
41 | 43 | </div> No newline at end of file |
|
42 | 44 | <div class="divTx"> No newline at end of file |
|
43 | 45 | <label for="lblTx">Tx</label> No newline at end of file |
|
44 | 46 | <textarea name="txtTxDown" class="txtTR" cols="20" rows="8">{{ txtTxDown }}</textarea> No newline at end of file |
|
45 | 47 | </div> No newline at end of file |
|
46 | 48 | <div class="divTx"> No newline at end of file |
|
47 | 49 | <label for="lblRx">Rx</label> No newline at end of file |
|
48 | 50 | <textarea name="txtRxDown" class="txtTR" cols="20" rows="8">{{ txtRxDown }}</textarea> No newline at end of file |
|
49 | 51 | </div> No newline at end of file |
|
50 | 52 | <div class="cleardivs"></div> No newline at end of file |
|
51 | 53 | <div class="divUes"> No newline at end of file |
|
52 | 54 | <label for="lblUes">Ues:</label> No newline at end of file |
|
53 | 55 | <input type="text" name="txtUesDown" value="{{ txtUes }}" /> No newline at end of file |
|
56 | <input type="checkbox" name="chkOnlyRxDown" value="" /> | |
|
No newline at end of file | ||
|
57 | <label for="lblOnlyRx">Only RX</label> No newline at end of file | |
|
54 | 58 | </div> No newline at end of file |
|
55 | 59 | </fieldset> No newline at end of file |
|
56 | 60 | </div> No newline at end of file |
|
57 | 61 | </div> No newline at end of file |
|
58 | 62 | </form> No newline at end of file |
|
59 | 63 | </div> No newline at end of file |
|
60 | 64 | {% endblock %} No newline at end of file |
@@ -1,74 +1,100 | |||
|
1 | 1 | {% extends "abscontrol/index.html" %} No newline at end of file |
|
2 | 2 | {% block title %}ABS CONTROL:::PROFILE:::{{ objProfile.name }}{% endblock %} No newline at end of file |
|
3 | 3 | No newline at end of file |
|
4 | 4 | {% block maincolumn%} No newline at end of file |
|
5 | 5 | <div id="maincolumn"> No newline at end of file |
|
6 | 6 | <div id="divProfile"> No newline at end of file |
|
7 | 7 | <label for="lblName">Profile:</label> No newline at end of file |
|
8 | 8 | <label for="lblProfile">{{ objProfile.name }}</label> No newline at end of file |
|
9 | 9 | </div> No newline at end of file |
|
10 | 10 | <div id="divPattern"> No newline at end of file |
|
11 | 11 | <div id="infoPattern"> No newline at end of file |
|
12 | 12 | {% if patternChoosen %} No newline at end of file |
|
13 | 13 | <div id="navPatterns"> No newline at end of file |
|
14 | 14 | <nav class="" id="navPatternList"> No newline at end of file |
|
15 | 15 | <ul> No newline at end of file |
|
16 | 16 | {% for element in lsPatterns %} No newline at end of file |
|
17 | 17 | {% if patternChoosen.id == element.id %} No newline at end of file |
|
18 | 18 | <li><a href="/abscontrol/{{ objProfile.id }}/view/{{ element.id }}" class="lnkPatternSelected">{{ element.value }}</a></li> No newline at end of file |
|
19 | 19 | {% else %} No newline at end of file |
|
20 | 20 | <li><a href="/abscontrol/{{ objProfile.id }}/view/{{ element.id }}" class="lnkPattern">{{ element.value }}</a></li> No newline at end of file |
|
21 | 21 | {% endif %} No newline at end of file |
|
22 | 22 | {% endfor %} No newline at end of file |
|
23 | 23 | </ul> No newline at end of file |
|
24 | 24 | </nav> No newline at end of file |
|
25 | 25 | </div> No newline at end of file |
|
26 | 26 | {% endif %} |
|
27 | No newline at end of file | |
|
27 | <div id="antennaUp"> No newline at end of file | |
|
28 | 28 | <fieldset class="flsAntenna"> No newline at end of file |
|
29 | 29 | <legend>UP</legend> No newline at end of file |
|
30 | <div class="infoAntenna"> No newline at end of file | |
|
30 | 31 | <div class="divAntenna"> No newline at end of file |
|
31 | 32 | <label for="lblAntenna">Antenna</label> No newline at end of file |
|
32 | 33 | <p>{{ antennaUp.value }}</p> No newline at end of file |
|
33 | 34 | </div> No newline at end of file |
|
34 | 35 | <div class="divTx"> No newline at end of file |
|
35 | 36 | <label for="lblTx">Tx</label> No newline at end of file |
|
36 | 37 | <p>{{ antennaUp.tx }}</p> No newline at end of file |
|
37 | 38 | </div> No newline at end of file |
|
38 | 39 | <div class="divTx"> No newline at end of file |
|
39 | 40 | <label for="lblRx">Rx</label> No newline at end of file |
|
40 | 41 | <p>{{ antennaUp.rx }}</p> No newline at end of file |
|
41 | 42 | </div> No newline at end of file |
|
42 | 43 | <div class="cleardivs"></div> No newline at end of file |
|
43 | 44 | <div class="divUes"> No newline at end of file |
|
44 | 45 | <label for="lblUes">Ues:</label> No newline at end of file |
|
45 | 46 | <label for="lblAntennaUpUes">{{ antennaUp.ues }}</label> No newline at end of file |
|
47 | {% if antennaUp.only_rx == 0 %} | |
|
No newline at end of file | ||
|
48 | <input type="checkbox" name="chkOnlyRxUp" value="" /> | |
|
No newline at end of file | ||
|
49 | {% else %} | |
|
No newline at end of file | ||
|
50 | <input type="checkbox" name="chkOnlyRxUp" value="" checked="checked"/> | |
|
No newline at end of file | ||
|
51 | {% endif %} | |
|
No newline at end of file | ||
|
52 | <label for="lblOnlyRx">Only RX</label> No newline at end of file | |
|
46 | 53 | </div> No newline at end of file |
|
54 | </div> | |
|
No newline at end of file | ||
|
55 | <div class="overJRO"> | |
|
No newline at end of file | ||
|
56 | <img /> | |
|
No newline at end of file | ||
|
57 | <a href="#" class="activeOverJRO" id="patternChoosen.id">Preview</a> | |
|
No newline at end of file | ||
|
58 | </div> | |
|
No newline at end of file | ||
|
59 | <div class="cleardivs"></div> No newline at end of file | |
|
47 | 60 | </fieldset> No newline at end of file |
|
48 | 61 | </div> |
|
62 | No newline at end of file | |
|
49 | <div id="antennaDown"> No newline at end of file | |
|
50 | 63 | <fieldset class="flsAntenna"> No newline at end of file |
|
51 | 64 | <legend>DOWN</legend> No newline at end of file |
|
65 | <div class="infoAntenna"> No newline at end of file | |
|
52 | 66 | <div class="divAntenna"> No newline at end of file |
|
53 | 67 | <label for="lblAntenna">Antenna</label> No newline at end of file |
|
54 | 68 | <p>{{ antennaDown.value }}</p> No newline at end of file |
|
55 | 69 | </div> No newline at end of file |
|
56 | 70 | <div class="divTx"> No newline at end of file |
|
57 | 71 | <label for="lblTx">Tx</label> No newline at end of file |
|
58 | 72 | <p>{{ antennaDown.tx }}</p> No newline at end of file |
|
59 | 73 | </div> No newline at end of file |
|
60 | 74 | <div class="divTx"> No newline at end of file |
|
61 | 75 | <label for="lblRx">Rx</label> No newline at end of file |
|
62 | 76 | <p>{{ antennaDown.rx }}</p> No newline at end of file |
|
63 | 77 | </div> No newline at end of file |
|
64 | 78 | <div class="cleardivs"></div> No newline at end of file |
|
65 | 79 | <div class="divUes"> No newline at end of file |
|
66 | 80 | <label for="lblUes">Ues:</label> No newline at end of file |
|
67 | 81 | <label for="lblAntennaDownUes">{{ antennaDown.ues }}</label> No newline at end of file |
|
82 | {% if antennaDown.only_rx == 0 %} | |
|
No newline at end of file | ||
|
83 | <input type="checkbox" name="chkOnlyRxDown" value="" /> | |
|
No newline at end of file | ||
|
84 | {% else %} | |
|
No newline at end of file | ||
|
85 | <input type="checkbox" name="chkOnlyRxDown" value="" checked="checked"/> | |
|
No newline at end of file | ||
|
86 | {% endif %} | |
|
No newline at end of file | ||
|
87 | <label for="lblOnlyRx">Only RX</label> No newline at end of file | |
|
68 | 88 | </div> No newline at end of file |
|
89 | </div> | |
|
No newline at end of file | ||
|
90 | <div class="overJRO"> | |
|
No newline at end of file | ||
|
91 | <img /> | |
|
No newline at end of file | ||
|
92 | <a href="#" class="activeOverJRO" id="{{ patternChoosen.id }}">Preview</a> | |
|
No newline at end of file | ||
|
93 | </div> | |
|
No newline at end of file | ||
|
94 | <div class="cleardivs"></div> No newline at end of file | |
|
69 | 95 | </fieldset> No newline at end of file |
|
70 | 96 | </div> No newline at end of file |
|
71 | 97 | </div> No newline at end of file |
|
72 | 98 | </div> No newline at end of file |
|
73 | 99 | </div> No newline at end of file |
|
74 | 100 | {% endblock %} No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now