@@ -1,120 +1,81 | |||||
1 | @font-face { |
|
1 | /* | |
2 |
font-family: ' |
|
2 | * font-family: 'Droid Sans', sans-serif; | |
3 | font-style: normal; |
|
3 | * font-family: 'Ubuntu', sans-serif; | |
4 | font-weight: 300; |
|
4 | * font-family: 'Open Sans', sans-serif; | |
5 | src: local('Open Sans Light'), local('OpenSans-Light'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff) format('woff'); |
|
5 | * font-family: 'Open Sans Condensed', sans-serif; | |
6 | } |
|
6 | * font-family: 'Roboto Condensed', sans-serif; | |
7 | @font-face { |
|
7 | */ | |
8 | font-family: 'Open Sans'; |
|
|||
9 | font-style: normal; |
|
|||
10 | font-weight: 400; |
|
|||
11 | src: local('Open Sans'), local('OpenSans'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff'); |
|
|||
12 | } |
|
|||
13 | @font-face { |
|
|||
14 | font-family: 'Open Sans'; |
|
|||
15 | font-style: normal; |
|
|||
16 | font-weight: 600; |
|
|||
17 | src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/MTP_ySUJH_bn48VBG8sNSnhCUOGz7vYGh680lGh-uXM.woff) format('woff'); |
|
|||
18 | } |
|
|||
19 | @font-face { |
|
|||
20 | font-family: 'Open Sans'; |
|
|||
21 | font-style: normal; |
|
|||
22 | font-weight: 700; |
|
|||
23 | src: local('Open Sans Bold'), local('OpenSans-Bold'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff) format('woff'); |
|
|||
24 | } |
|
|||
25 | @font-face { |
|
|||
26 | font-family: 'Open Sans'; |
|
|||
27 | font-style: normal; |
|
|||
28 | font-weight: 800; |
|
|||
29 | src: local('Open Sans Extrabold'), local('OpenSans-Extrabold'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/EInbV5DfGHOiMmvb1Xr-hnhCUOGz7vYGh680lGh-uXM.woff) format('woff'); |
|
|||
30 | } |
|
|||
31 | @font-face { |
|
|||
32 | font-family: 'Open Sans'; |
|
|||
33 | font-style: italic; |
|
|||
34 | font-weight: 300; |
|
|||
35 | src: local('Open Sans Light Italic'), local('OpenSansLight-Italic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxh_xHqYgAV9Bl_ZQbYUxnQU.woff) format('woff'); |
|
|||
36 | } |
|
|||
37 | @font-face { |
|
|||
38 | font-family: 'Open Sans'; |
|
|||
39 | font-style: italic; |
|
|||
40 | font-weight: 400; |
|
|||
41 | src: local('Open Sans Italic'), local('OpenSans-Italic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/xjAJXh38I15wypJXxuGMBobN6UDyHWBl620a-IRfuBk.woff) format('woff'); |
|
|||
42 | } |
|
|||
43 | @font-face { |
|
|||
44 | font-family: 'Open Sans'; |
|
|||
45 | font-style: italic; |
|
|||
46 | font-weight: 600; |
|
|||
47 | src: local('Open Sans Semibold Italic'), local('OpenSans-SemiboldItalic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxn5HxGBcBvicCpTp6spHfNo.woff) format('woff'); |
|
|||
48 | } |
|
|||
49 | @font-face { |
|
|||
50 | font-family: 'Open Sans'; |
|
|||
51 | font-style: italic; |
|
|||
52 | font-weight: 700; |
|
|||
53 | src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxjqR_3kx9_hJXbbyU8S6IN0.woff) format('woff'); |
|
|||
54 | } |
|
|||
55 | @font-face { |
|
|||
56 | font-family: 'Open Sans'; |
|
|||
57 | font-style: italic; |
|
|||
58 | font-weight: 800; |
|
|||
59 | src: local('Open Sans Extrabold Italic'), local('OpenSans-ExtraboldItalic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxkCDe67GEgBv_HnyvHTfdew.woff) format('woff'); |
|
|||
60 | } |
|
|||
61 |
|
8 | |||
62 | body {font-size: 11px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif} |
|
9 | body { font-size: 11px; } | |
63 | article, aside, figure, footer, header, hgroup, nav, section { display:block; } |
|
|||
64 | header {border: 1px solid #fcc; font-size: 2em; height: 50px; text-align: center; line-height: 50px} |
|
10 | header {border: 1px solid #fcc; font-size: 2em; height: 50px; text-align: center; line-height: 50px} | |
65 | #schema {margin: 0 auto; width: 980px; border: 1px solid #f00; padding: 10px 10px 10px 10px} |
|
11 | #schema {margin: 0 auto; width: 980px; border: 1px solid #f00; padding: 10px 10px 10px 10px} | |
66 | #content {border: 1px solid #1cc; margin-top: 5px; margin-bottom: 5px} |
|
12 | #content {border: 1px solid #1cc; margin-top: 5px; margin-bottom: 5px} | |
67 |
#content #leftcolumn {float: left;border: 1px solid #c55; width: 150px; |
|
13 | #content #leftcolumn {float: left;border: 1px solid #c55; width: 150px; } | |
68 | #content #maincolumn {float: left; border: 1px solid #000; width: 800px; padding-left: 20px;} |
|
14 | #content #maincolumn {float: left; border: 1px solid #000; width: 800px; padding-left: 20px;} | |
69 | footer {border: 1px solid #200; font-size: 0.9em; height: 30px; text-align: center; line-height: 20px} |
|
15 | footer {border: 1px solid #200; font-size: 0.9em; height: 30px; text-align: center; line-height: 20px} | |
70 |
|
16 | |||
71 | .cleardivs {clear: both; border: 0px solid #400; height: 0px} |
|
17 | .cleardivs {clear: both; border: 0px solid #400; height: 0px} | |
72 | /****************************************************************************************/ |
|
18 | /****************************************************************************************/ | |
73 | /****** ESTILOS GENERALES *****************/ |
|
19 | /****** ESTILOS GENERALES *****************/ | |
74 | /****************************************************************************************/ |
|
20 | /****************************************************************************************/ | |
75 |
.mnu{ height: 22px; border: |
|
21 | .mnu{ height: 22px; border: 0px solid #c55 !important;} | |
76 | .mnu li{ display:inline;} |
|
22 | .mnu li{ display:inline;} | |
|
23 | .MnuVertical, .MnuHorizontal { font-family: 'Droid Sans', sans-serif; font-size: 1.2em; font-style: italic; text-shadow: 2px 2px #eee} | |||
|
24 | .MnuHorizontal ul{ list-style: none; list-style-type: none; margin: 0;} | |||
|
25 | ||||
77 | /*.MnuHorizontal{ display: -webkit-box; -webkit-box-orient:horizontal;}*/ |
|
26 | /*.MnuHorizontal{ display: -webkit-box; -webkit-box-orient:horizontal;}*/ | |
78 | /*.MnuHorizontal a{ display:block; padding:10px; -webkit-box-flex:1; text-align:center; }*/ |
|
27 | /*.MnuHorizontal a{ display:block; padding:10px; -webkit-box-flex:1; text-align:center; }*/ | |
79 |
|
28 | |||
80 | /****************************************************************************************/ |
|
29 | /****************************************************************************************/ | |
81 | /****** MENU DE NAVEGACION DE PERFILES **********************************/ |
|
30 | /****** MENU DE NAVEGACION DE PERFILES **********************************/ | |
82 | /****************************************************************************************/ |
|
31 | /****************************************************************************************/ | |
83 | #content #infoProfiles {border: 1px solid #d00; width: 140px; margin: 0px; padding-top: 2px; padding-bottom: 2px} |
|
32 | #content #infoProfiles {border: 1px solid #d00 !important; width: 140px; margin: 0px; padding-top: 2px; padding-bottom: 2px} | |
84 | .lblInfo {padding-left: 12px; line-height: 20px;} |
|
33 | .lblInfo {padding-left: 12px; line-height: 20px;} | |
85 | #infoProfiles select {padding-left: 12px; line-height: 20px;margin-left: 12px} |
|
34 | #infoProfiles select {padding-left: 12px; line-height: 20px;margin-left: 12px} | |
86 |
#content nav {border: 0px solid #c55 !important; margin: 0px; |
|
35 | #content nav {border: 0px solid #c55 !important; margin: 0px;} | |
87 | #content nav ul{list-style: none; list-style-type: none; margin: 0; padding-left: 20px; border: 0px solid #eee !important} |
|
36 | ||
88 | #content nav ul li{line-height: 22px; } |
|
37 | #leftcolumn #mnuProfiles{ margin: 5px 0px; border: 0px solid #1494F6 !important; } | |
|
38 | #mnuProfiles ul{list-style: none; list-style-type: none; margin: 0; padding-left: 20px; border: 0px solid #f00 !important} | |||
|
39 | #mnuProfiles li{ width: 80px; padding: 2px; border: 0px solid #c55 !important; line-height: 22px} | |||
|
40 | #mnuProfiles a{ font-weight: normal; color: #1494F6; display: block; border: 0px solid #1cc !important; text-align: left} | |||
89 |
|
41 | |||
90 | /****************************************************************************************/ |
|
42 | /****************************************************************************************/ | |
91 | /******** FORMULARIO DE PERFILES *************************************/ |
|
43 | /******** FORMULARIO DE PERFILES *************************************/ | |
92 | /****************************************************************************************/ |
|
44 | /****************************************************************************************/ | |
93 | #divProfile { border: 0px solid #dff; margin: 10px 0px; padding: 10px 10px; width: 500px } |
|
45 | #divProfile { border: 0px solid #dff; margin: 10px 0px; padding: 10px 10px; width: 500px } | |
94 | .flsAntenna { margin: 10px 0px; width: 750px; padding: 10px 10px } |
|
46 | .flsAntenna { margin: 10px 0px; width: 750px; padding: 10px 10px } | |
95 | #divPattern textarea,input[type=text],label{ font-family: Monaco; font-size: inherit; } |
|
47 | #divPattern textarea,input[type=text],label{ font-family: Monaco; font-size: inherit; } | |
96 |
|
48 | |||
97 | #divPattern textarea {resize: none; overflow: hidden} |
|
49 | #divPattern textarea {resize: none; overflow: hidden} | |
98 |
|
50 | |||
99 | .divAntenna { float: left; margin: 10px; height: 160px; border: 0px solid #fcc !important; width: 260px } |
|
51 | .divAntenna { float: left; margin: 10px; height: 160px; border: 0px solid #fcc !important; width: 260px } | |
100 | .divAntenna label{ display: block } |
|
52 | .divAntenna label{ display: block } | |
101 | .txtAntenna { max-width: 250px; max-height: 125px; width: 250px; height: 125px } |
|
53 | .txtAntenna { max-width: 250px; max-height: 125px; width: 250px; height: 125px } | |
102 | .divAntenna p{ max-width: 250px; max-height: 125px; width: 250px; height: 125px } |
|
54 | .divAntenna p{ max-width: 250px; max-height: 125px; width: 250px; height: 125px } | |
103 |
|
55 | |||
104 | .divTx { display: block; float: left; margin: 10px; height: 150px } |
|
56 | .divTx { display: block; float: left; margin: 10px; height: 150px } | |
105 | .divTx label{ display: block } |
|
57 | .divTx label{ display: block } | |
106 | .divTx textarea{ width: 135px; max-width: 135px; height: 125px; max-height: 125px; text-align: justify } |
|
58 | .divTx textarea{ width: 135px; max-width: 135px; height: 125px; max-height: 125px; text-align: justify } | |
107 | .divTx p{ width: 135px; max-width: 135px; height: 125px; max-height: 125px; text-align: justify } |
|
59 | .divTx p{ width: 135px; max-width: 135px; height: 125px; max-height: 125px; text-align: justify } | |
108 |
|
60 | |||
109 | .divUes { display: block; margin: 10px} |
|
61 | .divUes { display: block; margin: 10px} | |
110 | .divUes input[type=text] { width: 240px; max-width: 240px;} |
|
62 | .divUes input[type=text] { width: 240px; max-width: 240px;} | |
111 |
|
63 | |||
112 | /****************************************************************************************/ |
|
64 | /****************************************************************************************/ | |
113 | /****** MENU DE NAVEGACION DE PATRONES **********************************/ |
|
65 | /****** MENU DE NAVEGACION DE PATRONES **********************************/ | |
114 | /****************************************************************************************/ |
|
66 | /****************************************************************************************/ | |
115 |
#divMnuPattern{ width: |
|
67 | #divMnuPattern{ width: 280px; height: 25px; display: block; border: 0px solid #1cc !important; float: left; margin-left: 500px} | |
|
68 | #divMnuPattern li{ float: left; display: block; width: 60px; border: 0px solid #2cc !important} | |||
|
69 | #divMnuPattern a{ display: block; line-height: 22px; text-decoration: none; padding: 0px 5px; | |||
|
70 | border-bottom: 1px solid #1494F6 !important; margin: 0px 2px; text-align: center; color: #1494F6 | |||
|
71 | } | |||
116 | #infoPattern{ display: block; border: 1px solid #1494f6 !important, margin: 5px 2px; } |
|
72 | #infoPattern{ display: block; border: 1px solid #1494f6 !important, margin: 5px 2px; } | |
117 | #navPatterns{ margin: 5px auto; padding: 2px; border: 1px solid #d00 !important; width: 400px; height: 25px} |
|
73 | ||
118 | #navPatterns ul li{ width: 50px; border: 1px solid #1cc !important} |
|
74 | #navPatterns{ margin: 10px auto; border: 0px solid #d00 !important; width: 500px; height: 30px; font-family: 'Ubuntu', sans-serif; font-size: 14px; | |
119 | #navPatterns a{ width: 50px; border: 0px solid #1cc !important} |
|
75 | padding: 10px 0px} | |
120 | #navPatternList{ margin: 0px auto; border: 1px solid #ecc !important} |
|
76 | #navPatternList{ margin: 0px auto; border: 1px solid #ecc !important} | |
|
77 | #navPatternList ul{ list-style: none; list-style-type: none; margin: 0;} | |||
|
78 | #navPatternList ul li{ float: left; width: 50px; border: 1px solid #eee !important; } | |||
|
79 | #navPatternList a{ width: 50px; border: 0px solid #1cc !important; display: block; text-align: center; line-height: 25px} | |||
|
80 | .lnkPattern{ background-color: #ccc !important; color: #eee;} | |||
|
81 | .lnkPatternSelected{ background-color: #2cc !important; color: #fff;} |
@@ -1,93 +1,93 | |||||
1 | {% extends "abscontrol/index.html" %} |
|
1 | {% extends "abscontrol/index.html" %} | |
2 | {% block title %}ABS CONTROL:::PROFILE:::{{ objProfile.name }}{% endblock %} |
|
2 | {% block title %}ABS CONTROL:::PROFILE:::{{ objProfile.name }}{% endblock %} | |
3 | {% block scripting %} |
|
3 | {% block scripting %} | |
4 | <script src="/static/static/js/patterns.js"></script> |
|
4 | <script src="/static/static/js/patterns.js"></script> | |
5 | {% endblock %} |
|
5 | {% endblock %} | |
6 | {% block maincolumn%} |
|
6 | {% block maincolumn%} | |
7 | <div id="maincolumn"> |
|
7 | <div id="maincolumn"> | |
8 | <div id="divProfile"> |
|
8 | <div id="divProfile"> | |
9 | <label for="lblName">Profile:</label> |
|
9 | <label for="lblName">Profile:</label> | |
10 | <label for="lblProfile">{{ objProfile.name }}</label> |
|
10 | <label for="lblProfile">{{ objProfile.name }}</label> | |
11 | </div> |
|
11 | </div> | |
12 | <div id="divPattern"> |
|
12 | <div id="divPattern"> | |
13 | {% block mnuPattern %} |
|
13 | {% block mnuPattern %} | |
14 | <div class="divMenu" id="divMnuPattern"> |
|
14 | <div class="divMenu" id="divMnuPattern"> | |
15 | <nav class="MnuHorizontal"> |
|
15 | <nav class="MnuHorizontal"> | |
16 | <ul class="mnu" id="mnuPattern"> |
|
16 | <ul class="mnu" id="mnuPattern"> | |
17 | <li><a href="/abscontrol/{{ objProfile.id }}/add">Add</a></li> |
|
17 | <li><a href="/abscontrol/{{ objProfile.id }}/add">Add</a></li> | |
18 | <li><a href="/abscontrol/{{ objProfile.id }}/edit/{{ patternChoosen.id }}">Edit</a></li> |
|
18 | <li><a href="/abscontrol/{{ objProfile.id }}/edit/{{ patternChoosen.id }}">Edit</a></li> | |
19 | {% if lsPatterns|length > 1 %} |
|
19 | {% if lsPatterns|length > 1 %} | |
20 | <li><a href="/abscontrol/{{ objProfile.id }}/delete/{{ patternChoosen.id }}">Delete</a></li> |
|
20 | <li><a href="/abscontrol/{{ objProfile.id }}/delete/{{ patternChoosen.id }}">Delete</a></li> | |
21 | {% endif %} |
|
21 | {% endif %} | |
22 | <li><a href="#">Apply</a></li> |
|
22 | <li><a href="#">Apply</a></li> | |
23 | </ul> |
|
23 | </ul> | |
24 | </nav> |
|
24 | </nav> | |
25 | </div> |
|
25 | </div> | |
26 | <div class="cleardivs"></div> |
|
26 | <div class="cleardivs"></div> | |
27 | {% endblock %} |
|
27 | {% endblock %} | |
28 | {% block pattern %} |
|
28 | {% block pattern %} | |
29 | <div id="infoPattern"> |
|
29 | <div id="infoPattern"> | |
30 | {% if patternChoosen %} |
|
30 | {% if patternChoosen %} | |
31 | <div id="navPatterns"> |
|
31 | <div id="navPatterns"> | |
32 |
<nav class=" |
|
32 | <nav class="" id="navPatternList"> | |
33 |
<ul |
|
33 | <ul> | |
34 | {% for element in lsPatterns %} |
|
34 | {% for element in lsPatterns %} | |
35 | {% if patternChoosen.id == element.id %} |
|
35 | {% if patternChoosen.id == element.id %} | |
36 | <li><a href="/abscontrol/{{ objProfile.id }}/view/{{ element.id }}" class="lnkPatternSelected">{{ element.value }}</a></li> |
|
36 | <li><a href="/abscontrol/{{ objProfile.id }}/view/{{ element.id }}" class="lnkPatternSelected">{{ element.value }}</a></li> | |
37 | {% else %} |
|
37 | {% else %} | |
38 | <li><a href="/abscontrol/{{ objProfile.id }}/view/{{ element.id }}" class="lnkPattern">{{ element.value }}</a></li> |
|
38 | <li><a href="/abscontrol/{{ objProfile.id }}/view/{{ element.id }}" class="lnkPattern">{{ element.value }}</a></li> | |
39 | {% endif %} |
|
39 | {% endif %} | |
40 | {% endfor %} |
|
40 | {% endfor %} | |
41 | </ul> |
|
41 | </ul> | |
42 | </nav> |
|
42 | </nav> | |
43 | </div> |
|
43 | </div> | |
44 | {% endif %} |
|
44 | {% endif %} | |
45 | <div id="antennaUp"> |
|
45 | <div id="antennaUp"> | |
46 | <fieldset class="flsAntenna"> |
|
46 | <fieldset class="flsAntenna"> | |
47 | <legend>UP</legend> |
|
47 | <legend>UP</legend> | |
48 | <div class="divAntenna"> |
|
48 | <div class="divAntenna"> | |
49 | <label for="lblAntenna">Antenna</label> |
|
49 | <label for="lblAntenna">Antenna</label> | |
50 | <p>{{ antennaUp.value }}</p> |
|
50 | <p>{{ antennaUp.value }}</p> | |
51 | </div> |
|
51 | </div> | |
52 | <div class="divTx"> |
|
52 | <div class="divTx"> | |
53 | <label for="lblTx">Tx</label> |
|
53 | <label for="lblTx">Tx</label> | |
54 | <p>{{ antennaUp.tx }}</p> |
|
54 | <p>{{ antennaUp.tx }}</p> | |
55 | </div> |
|
55 | </div> | |
56 | <div class="divTx"> |
|
56 | <div class="divTx"> | |
57 | <label for="lblRx">Rx</label> |
|
57 | <label for="lblRx">Rx</label> | |
58 | <p>{{ antennaUp.rx }}</p> |
|
58 | <p>{{ antennaUp.rx }}</p> | |
59 | </div> |
|
59 | </div> | |
60 | <div class="cleardivs"></div> |
|
60 | <div class="cleardivs"></div> | |
61 | <div class="divUes"> |
|
61 | <div class="divUes"> | |
62 | <label for="lblUes">Ues:</label> |
|
62 | <label for="lblUes">Ues:</label> | |
63 | <label for="lblAntennaUpUes">{{ antennaUp.ues }}</label> |
|
63 | <label for="lblAntennaUpUes">{{ antennaUp.ues }}</label> | |
64 | </div> |
|
64 | </div> | |
65 | </fieldset> |
|
65 | </fieldset> | |
66 | </div> |
|
66 | </div> | |
67 | <div id="antennaDown"> |
|
67 | <div id="antennaDown"> | |
68 | <fieldset class="flsAntenna"> |
|
68 | <fieldset class="flsAntenna"> | |
69 | <legend>DOWN</legend> |
|
69 | <legend>DOWN</legend> | |
70 | <div class="divAntenna"> |
|
70 | <div class="divAntenna"> | |
71 | <label for="lblAntenna">Antenna</label> |
|
71 | <label for="lblAntenna">Antenna</label> | |
72 | <p>{{ antennaDown.value }}</textarea> |
|
72 | <p>{{ antennaDown.value }}</textarea> | |
73 | </div> |
|
73 | </div> | |
74 | <div class="divTx"> |
|
74 | <div class="divTx"> | |
75 | <label for="lblTx">Tx</label> |
|
75 | <label for="lblTx">Tx</label> | |
76 | <p>{{ antennaDown.tx }}</p> |
|
76 | <p>{{ antennaDown.tx }}</p> | |
77 | </div> |
|
77 | </div> | |
78 | <div class="divTx"> |
|
78 | <div class="divTx"> | |
79 | <label for="lblRx">Rx</label> |
|
79 | <label for="lblRx">Rx</label> | |
80 | <p>{{ antennaDown.rx }}</p> |
|
80 | <p>{{ antennaDown.rx }}</p> | |
81 | </div> |
|
81 | </div> | |
82 | <div class="cleardivs"></div> |
|
82 | <div class="cleardivs"></div> | |
83 | <div class="divUes"> |
|
83 | <div class="divUes"> | |
84 | <label for="lblUes">Ues:</label> |
|
84 | <label for="lblUes">Ues:</label> | |
85 | <label for="lblAntennaDownUes">{{ antennaDown.ues }}</label> |
|
85 | <label for="lblAntennaDownUes">{{ antennaDown.ues }}</label> | |
86 | </div> |
|
86 | </div> | |
87 | </fieldset> |
|
87 | </fieldset> | |
88 | </div> |
|
88 | </div> | |
89 | </div> |
|
89 | </div> | |
90 | {% endblock %} |
|
90 | {% endblock %} | |
91 | </div> |
|
91 | </div> | |
92 | </div> |
|
92 | </div> | |
93 | {% endblock %} |
|
93 | {% endblock %} |
@@ -1,60 +1,60 | |||||
1 | {% extends "base.html" %} |
|
1 | {% extends "base.html" %} | |
2 |
|
2 | |||
3 | {% block title %}ABS CONTROL:::::{% endblock %} |
|
3 | {% block title %}ABS CONTROL:::::{% endblock %} | |
4 | {% block scripting %} |
|
4 | {% block scripting %} | |
5 | {% if profile_list %} |
|
5 | {% if profile_list %} | |
6 | <script src="/static/static/js/profiles.js"></script> |
|
6 | <script src="/static/static/js/profiles.js"></script> | |
7 | {% endif %} |
|
7 | {% endif %} | |
8 | {% endblock %} |
|
8 | {% endblock %} | |
9 | {% block content %} |
|
9 | {% block content %} | |
10 | <div id="content"> |
|
10 | <div id="content"> | |
11 | {% block leftcolumn %} |
|
11 | {% block leftcolumn %} | |
12 | <div id="leftcolumn"> |
|
12 | <div id="leftcolumn"> | |
13 | <div id="lsProfiles"> |
|
13 | <div id="lsProfiles"> | |
14 | <div id="infoProfiles"> |
|
14 | <div id="infoProfiles"> | |
15 | <label for="lblProfile" class="lblInfo">Profiles:</label><br /> |
|
15 | <label for="lblProfile" class="lblInfo">Profiles:</label><br /> | |
16 | {% if profile_list %} |
|
16 | {% if profile_list %} | |
17 | <select name="lsProfiles" id="listProfiles"> |
|
17 | <select name="lsProfiles" id="listProfiles"> | |
18 | <option value="-1">Choose ...</option> |
|
18 | <option value="-1">Choose ...</option> | |
19 | {% for entry in profile_list %} |
|
19 | {% for entry in profile_list %} | |
20 | {% if objProfile %} |
|
20 | {% if objProfile %} | |
21 | {% if objProfile.id == entry.id %} |
|
21 | {% if objProfile.id == entry.id %} | |
22 | <option value="{{ entry.id }}" selected>{{ entry.name }}</option> |
|
22 | <option value="{{ entry.id }}" selected>{{ entry.name }}</option> | |
23 | {% else %} |
|
23 | {% else %} | |
24 | <option value="{{ entry.id }}">{{ entry.name }}</option> |
|
24 | <option value="{{ entry.id }}">{{ entry.name }}</option> | |
25 | {% endif %} |
|
25 | {% endif %} | |
26 | {% else %} |
|
26 | {% else %} | |
27 | <option value="{{ entry.id }}">{{ entry.name }}</option> |
|
27 | <option value="{{ entry.id }}">{{ entry.name }}</option> | |
28 | {% endif %} |
|
28 | {% endif %} | |
29 | {% endfor %} |
|
29 | {% endfor %} | |
30 | </select> |
|
30 | </select> | |
31 | {% else %} |
|
31 | {% else %} | |
32 | <label for="lblMessage" class="lblInfo">No profiles.</label> |
|
32 | <label for="lblMessage" class="lblInfo">No profiles.</label> | |
33 | {% endif %} |
|
33 | {% endif %} | |
34 | </div> |
|
34 | </div> | |
35 | </div> |
|
35 | </div> | |
36 | {% block mnu_profile %} |
|
36 | {% block mnu_profile %} | |
37 | <nav> |
|
37 | <nav class="MnuVertical" id="mnuProfiles"> | |
38 | <ul> |
|
38 | <ul> | |
39 | <li><a href="/abscontrol/new">New</a></li> |
|
39 | <li><a href="/abscontrol/new">New</a></li> | |
40 | {% if objProfile %} |
|
40 | {% if objProfile %} | |
41 | <li><a href="/abscontrol/edit/{{ objProfile.id }}">Edit</a></li> |
|
41 | <li><a href="/abscontrol/edit/{{ objProfile.id }}">Edit</a></li> | |
42 | <li><a href="#">Save</a></li> |
|
42 | <li><a href="#">Save</a></li> | |
43 | {% endif %} |
|
43 | {% endif %} | |
44 | <li><a href="#">Save as</a></li> |
|
44 | <li><a href="#">Save as</a></li> | |
45 | <li><a href="#">Import</a></li> |
|
45 | <li><a href="#">Import</a></li> | |
46 | <li><a href="#">Export</a></li> |
|
46 | <li><a href="#">Export</a></li> | |
47 | <li><a href="#">Apply</a></li> |
|
47 | <li><a href="#">Apply</a></li> | |
48 | </ul> |
|
48 | </ul> | |
49 | </nav> |
|
49 | </nav> | |
50 | {% endblock %} |
|
50 | {% endblock %} | |
51 | </div> |
|
51 | </div> | |
52 | {% endblock %} |
|
52 | {% endblock %} | |
53 | {% block maincolumn %} |
|
53 | {% block maincolumn %} | |
54 | <div id="maincolumn"> |
|
54 | <div id="maincolumn"> | |
55 |
|
55 | |||
56 | </div> |
|
56 | </div> | |
57 | {% endblock %} |
|
57 | {% endblock %} | |
58 | <div class="cleardivs"></div> |
|
58 | <div class="cleardivs"></div> | |
59 | </div> |
|
59 | </div> | |
60 | {% endblock %} No newline at end of file |
|
60 | {% endblock %} |
@@ -1,74 +1,74 | |||||
1 | {% extends "abscontrol/index.html" %} |
|
1 | {% extends "abscontrol/index.html" %} | |
2 | {% block title %}ABS CONTROL:::PROFILE:::{{ objProfile.name }}{% endblock %} |
|
2 | {% block title %}ABS CONTROL:::PROFILE:::{{ objProfile.name }}{% endblock %} | |
3 |
|
3 | |||
4 | {% block maincolumn%} |
|
4 | {% block maincolumn%} | |
5 | <div id="maincolumn"> |
|
5 | <div id="maincolumn"> | |
6 | <div id="divProfile"> |
|
6 | <div id="divProfile"> | |
7 | <label for="lblName">Profile:</label> |
|
7 | <label for="lblName">Profile:</label> | |
8 | <label for="lblProfile">{{ objProfile.name }}</label> |
|
8 | <label for="lblProfile">{{ objProfile.name }}</label> | |
9 | </div> |
|
9 | </div> | |
10 | <div id="divPattern"> |
|
10 | <div id="divPattern"> | |
11 | <div id="infoPattern"> |
|
11 | <div id="infoPattern"> | |
12 | {% if patternChoosen %} |
|
12 | {% if patternChoosen %} | |
13 | <div id="navPatterns"> |
|
13 | <div id="navPatterns"> | |
14 |
<nav class=" |
|
14 | <nav class="" id="navPatternList"> | |
15 |
<ul |
|
15 | <ul> | |
16 | {% for element in lsPatterns %} |
|
16 | {% for element in lsPatterns %} | |
17 | {% if patternChoosen.id == element.id %} |
|
17 | {% if patternChoosen.id == element.id %} | |
18 | <li><a href="/abscontrol/{{ objProfile.id }}/view/{{ element.id }}" class="lnkPatternSelected">{{ element.value }}</a></li> |
|
18 | <li><a href="/abscontrol/{{ objProfile.id }}/view/{{ element.id }}" class="lnkPatternSelected">{{ element.value }}</a></li> | |
19 | {% else %} |
|
19 | {% else %} | |
20 | <li><a href="/abscontrol/{{ objProfile.id }}/view/{{ element.id }}" class="lnkPattern">{{ element.value }}</a></li> |
|
20 | <li><a href="/abscontrol/{{ objProfile.id }}/view/{{ element.id }}" class="lnkPattern">{{ element.value }}</a></li> | |
21 | {% endif %} |
|
21 | {% endif %} | |
22 | {% endfor %} |
|
22 | {% endfor %} | |
23 | </ul> |
|
23 | </ul> | |
24 | </nav> |
|
24 | </nav> | |
25 | </div> |
|
25 | </div> | |
26 | {% endif %} |
|
26 | {% endif %} | |
27 | <div id="antennaUp"> |
|
27 | <div id="antennaUp"> | |
28 | <fieldset class="flsAntenna"> |
|
28 | <fieldset class="flsAntenna"> | |
29 | <legend>UP</legend> |
|
29 | <legend>UP</legend> | |
30 | <div class="divAntenna"> |
|
30 | <div class="divAntenna"> | |
31 | <label for="lblAntenna">Antenna</label> |
|
31 | <label for="lblAntenna">Antenna</label> | |
32 | <p>{{ antennaUp.value }}</p> |
|
32 | <p>{{ antennaUp.value }}</p> | |
33 | </div> |
|
33 | </div> | |
34 | <div class="divTx"> |
|
34 | <div class="divTx"> | |
35 | <label for="lblTx">Tx</label> |
|
35 | <label for="lblTx">Tx</label> | |
36 | <p>{{ antennaUp.tx }}</p> |
|
36 | <p>{{ antennaUp.tx }}</p> | |
37 | </div> |
|
37 | </div> | |
38 | <div class="divTx"> |
|
38 | <div class="divTx"> | |
39 | <label for="lblRx">Rx</label> |
|
39 | <label for="lblRx">Rx</label> | |
40 | <p>{{ antennaUp.rx }}</p> |
|
40 | <p>{{ antennaUp.rx }}</p> | |
41 | </div> |
|
41 | </div> | |
42 | <div class="cleardivs"></div> |
|
42 | <div class="cleardivs"></div> | |
43 | <div class="divUes"> |
|
43 | <div class="divUes"> | |
44 | <label for="lblUes">Ues:</label> |
|
44 | <label for="lblUes">Ues:</label> | |
45 | <label for="lblAntennaUpUes">{{ antennaUp.ues }}</label> |
|
45 | <label for="lblAntennaUpUes">{{ antennaUp.ues }}</label> | |
46 | </div> |
|
46 | </div> | |
47 | </fieldset> |
|
47 | </fieldset> | |
48 | </div> |
|
48 | </div> | |
49 | <div id="antennaDown"> |
|
49 | <div id="antennaDown"> | |
50 | <fieldset class="flsAntenna"> |
|
50 | <fieldset class="flsAntenna"> | |
51 | <legend>DOWN</legend> |
|
51 | <legend>DOWN</legend> | |
52 | <div class="divAntenna"> |
|
52 | <div class="divAntenna"> | |
53 | <label for="lblAntenna">Antenna</label> |
|
53 | <label for="lblAntenna">Antenna</label> | |
54 | <p>{{ antennaDown.value }}</p> |
|
54 | <p>{{ antennaDown.value }}</p> | |
55 | </div> |
|
55 | </div> | |
56 | <div class="divTx"> |
|
56 | <div class="divTx"> | |
57 | <label for="lblTx">Tx</label> |
|
57 | <label for="lblTx">Tx</label> | |
58 | <p>{{ antennaDown.tx }}</p> |
|
58 | <p>{{ antennaDown.tx }}</p> | |
59 | </div> |
|
59 | </div> | |
60 | <div class="divTx"> |
|
60 | <div class="divTx"> | |
61 | <label for="lblRx">Rx</label> |
|
61 | <label for="lblRx">Rx</label> | |
62 | <p>{{ antennaDown.rx }}</p> |
|
62 | <p>{{ antennaDown.rx }}</p> | |
63 | </div> |
|
63 | </div> | |
64 | <div class="cleardivs"></div> |
|
64 | <div class="cleardivs"></div> | |
65 | <div class="divUes"> |
|
65 | <div class="divUes"> | |
66 | <label for="lblUes">Ues:</label> |
|
66 | <label for="lblUes">Ues:</label> | |
67 | <label for="lblAntennaDownUes">{{ antennaDown.ues }}</label> |
|
67 | <label for="lblAntennaDownUes">{{ antennaDown.ues }}</label> | |
68 | </div> |
|
68 | </div> | |
69 | </fieldset> |
|
69 | </fieldset> | |
70 | </div> |
|
70 | </div> | |
71 | </div> |
|
71 | </div> | |
72 | </div> |
|
72 | </div> | |
73 | </div> |
|
73 | </div> | |
74 | {% endblock %} |
|
74 | {% endblock %} |
@@ -1,80 +1,81 | |||||
1 | {% extends "abscontrol/edit.html" %} |
|
1 | {% extends "abscontrol/edit.html" %} | |
2 |
|
2 | |||
3 | {% block mnuPattern %} |
|
3 | {% block mnuPattern %} | |
4 | <div class="divMenu" id="divMnuPattern"> |
|
4 | <div class="divMenu" id="divMnuPattern"> | |
5 | <nav class="MnuHorizontal"> |
|
5 | <nav class="MnuHorizontal"> | |
6 | <ul class="mnu" id="mnuPattern"> |
|
6 | <ul class="mnu" id="mnuPattern"> | |
7 | <li><a href="/abscontrol/{{ objProfile.id }}/edit/{{ patternChoosen.id }}">Edit</a></li> |
|
7 | <li><a href="/abscontrol/{{ objProfile.id }}/edit/{{ patternChoosen.id }}">Edit</a></li> | |
8 | {% if lsPatterns|length > 1 %} |
|
8 | {% if lsPatterns|length > 1 %} | |
9 | <li><a href="/abscontrol/{{ objProfile.id }}/delete/{{ patternChoosen.id }}">Delete</a></li> |
|
9 | <li><a href="/abscontrol/{{ objProfile.id }}/delete/{{ patternChoosen.id }}">Delete</a></li> | |
10 | {% endif %} |
|
10 | {% endif %} | |
11 | <li><a href="#">Apply</a></li> |
|
11 | <li><a href="#">Apply</a></li> | |
12 | </ul> |
|
12 | </ul> | |
13 | </nav> |
|
13 | </nav> | |
14 | </div> |
|
14 | </div> | |
15 | <div class="cleardivs"></div> |
|
15 | <div class="cleardivs"></div> | |
16 | {% endblock %} |
|
16 | {% endblock %} | |
17 | {% block pattern %} |
|
17 | {% block pattern %} | |
18 | <div id="infoPattern"> |
|
18 | <div id="infoPattern"> | |
19 | {% if patternChoosen %} |
|
19 | {% if patternChoosen %} | |
20 | <div id="navPatterns"> |
|
20 | <div id="navPatterns"> | |
21 |
<nav class=" |
|
21 | <nav class="" id="navPatternList"> | |
22 | <ul class="mnu" id="navPatternList"> |
|
22 | <ul> | |
23 | {% for element in lsPatterns %} |
|
23 | {% for element in lsPatterns %} | |
24 | {% if patternChoosen.id == element.id %} |
|
24 | {% if patternChoosen.id == element.id %} | |
25 | <li><a href="/abscontrol/{{ objProfile.id }}/view/{{ element.id }}" class="lnkPatternSelected">{{ element.value }}</a></li> |
|
25 | <li><a href="/abscontrol/{{ objProfile.id }}/view/{{ element.id }}" class="lnkPatternSelected">{{ element.value }}</a></li> | |
26 | {% else %} |
|
26 | {% else %} | |
27 | <li><a href="/abscontrol/{{ objProfile.id }}/view/{{ element.id }}" class="lnkPattern">{{ element.value }}</a></li> |
|
27 | <li><a href="/abscontrol/{{ objProfile.id }}/view/{{ element.id }}" class="lnkPattern">{{ element.value }}</a></li> | |
28 | {% endif %} |
|
28 | {% endif %} | |
29 | {% endfor %} |
|
29 | {% endfor %} | |
30 | </ul> |
|
30 | </ul> | |
31 | </nav> |
|
31 | </nav> | |
32 | </div> |
|
32 | </div> | |
|
33 | <div class="cleardivs"></div> | |||
33 | {% endif %} |
|
34 | {% endif %} | |
34 | <div id="antennaUp"> |
|
35 | <div id="antennaUp"> | |
35 | <fieldset class="flsAntenna"> |
|
36 | <fieldset class="flsAntenna"> | |
36 | <legend>UP</legend> |
|
37 | <legend>UP</legend> | |
37 | <div class="divAntenna"> |
|
38 | <div class="divAntenna"> | |
38 | <label for="lblAntenna">Antenna</label> |
|
39 | <label for="lblAntenna">Antenna</label> | |
39 | <p>{{ antennaUp.value }}</p> |
|
40 | <p>{{ antennaUp.value }}</p> | |
40 | </div> |
|
41 | </div> | |
41 | <div class="divTx"> |
|
42 | <div class="divTx"> | |
42 | <label for="lblTx">Tx</label> |
|
43 | <label for="lblTx">Tx</label> | |
43 | <p>{{ antennaUp.tx }}</p> |
|
44 | <p>{{ antennaUp.tx }}</p> | |
44 | </div> |
|
45 | </div> | |
45 | <div class="divTx"> |
|
46 | <div class="divTx"> | |
46 | <label for="lblRx">Rx</label> |
|
47 | <label for="lblRx">Rx</label> | |
47 | <p>{{ antennaUp.rx }}</p> |
|
48 | <p>{{ antennaUp.rx }}</p> | |
48 | </div> |
|
49 | </div> | |
49 | <div class="cleardivs"></div> |
|
50 | <div class="cleardivs"></div> | |
50 | <div class="divUes"> |
|
51 | <div class="divUes"> | |
51 | <label for="lblUes">Ues:</label> |
|
52 | <label for="lblUes">Ues:</label> | |
52 | <label for="lblAntennaUpUes">{{ antennaUp.ues }}</label> |
|
53 | <label for="lblAntennaUpUes">{{ antennaUp.ues }}</label> | |
53 | </div> |
|
54 | </div> | |
54 | </fieldset> |
|
55 | </fieldset> | |
55 | </div> |
|
56 | </div> | |
56 | <div id="antennaDown"> |
|
57 | <div id="antennaDown"> | |
57 | <fieldset class="flsAntenna"> |
|
58 | <fieldset class="flsAntenna"> | |
58 | <legend>DOWN</legend> |
|
59 | <legend>DOWN</legend> | |
59 | <div class="divAntenna"> |
|
60 | <div class="divAntenna"> | |
60 | <label for="lblAntenna">Antenna</label> |
|
61 | <label for="lblAntenna">Antenna</label> | |
61 | <p>{{ antennaDown.value }}</p> |
|
62 | <p>{{ antennaDown.value }}</p> | |
62 | </div> |
|
63 | </div> | |
63 | <div class="divTx"> |
|
64 | <div class="divTx"> | |
64 | <label for="lblTx">Tx</label> |
|
65 | <label for="lblTx">Tx</label> | |
65 | <p>{{ antennaDown.tx }}</p> |
|
66 | <p>{{ antennaDown.tx }}</p> | |
66 | </div> |
|
67 | </div> | |
67 | <div class="divTx"> |
|
68 | <div class="divTx"> | |
68 | <label for="lblRx">Rx</label> |
|
69 | <label for="lblRx">Rx</label> | |
69 | <p>{{ antennaDown.rx }}</p> |
|
70 | <p>{{ antennaDown.rx }}</p> | |
70 | </div> |
|
71 | </div> | |
71 | <div class="cleardivs"></div> |
|
72 | <div class="cleardivs"></div> | |
72 | <div class="divUes"> |
|
73 | <div class="divUes"> | |
73 | <label for="lblUes">Ues:</label> |
|
74 | <label for="lblUes">Ues:</label> | |
74 | <label for="lblAntennaDownUes">{{ antennaDown.ues }}</label> |
|
75 | <label for="lblAntennaDownUes">{{ antennaDown.ues }}</label> | |
75 | </div> |
|
76 | </div> | |
76 | </fieldset> |
|
77 | </fieldset> | |
77 | </div> |
|
78 | </div> | |
78 | <input type="hidden" name="profile_id" id="profile_id" value="{{ objProfile.id }}" /> |
|
79 | <input type="hidden" name="profile_id" id="profile_id" value="{{ objProfile.id }}" /> | |
79 | </div> |
|
80 | </div> | |
80 | {% endblock %} |
|
81 | {% endblock %} |
@@ -1,52 +1,53 | |||||
1 | {% load static %} |
|
1 | {% load static %} | |
2 | <!DOCTYPE html> |
|
2 | <!DOCTYPE html> | |
3 | <html lang="en"> |
|
3 | <html lang="en"> | |
4 | <head> |
|
4 | <head> | |
5 | <meta charset="utf-8" /> |
|
5 | <meta charset="utf-8" /> | |
6 | {% comment %} |
|
6 | {% comment %} | |
7 | <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame |
|
7 | <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame | |
8 | Remove this if you use the .htaccess --> |
|
8 | Remove this if you use the .htaccess --> | |
9 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> |
|
9 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | |
10 | {% endcomment %} |
|
10 | {% endcomment %} | |
|
11 | <link href='http://fonts.googleapis.com/css?family=Droid+Sans|Ubuntu:400,500,300italic|Open+Sans:400,300,600|Open+Sans+Condensed:300,700|Roboto+Condensed:400,300' rel='stylesheet' type='text/css'> | |||
11 | <link rel="stylesheet" href="{% static 'static/css/style.css' %}" type="text/css" /> |
|
12 | <link rel="stylesheet" href="{% static 'static/css/style.css' %}" type="text/css" /> | |
12 | <script src="{% static 'static/js/jquery-1.9.1.min.js' %}"></script> |
|
13 | <script src="{% static 'static/js/jquery-1.9.1.min.js' %}"></script> | |
13 | {% block scripting %}{% endblock %} |
|
14 | {% block scripting %}{% endblock %} | |
14 | <title>{% block title %}JRO WEB APPS::::{% endblock %}</title> |
|
15 | <title>{% block title %}JRO WEB APPS::::{% endblock %}</title> | |
15 | <meta name="description" content="JRO WEB APPLICATIONS" /> |
|
16 | <meta name="description" content="JRO WEB APPLICATIONS" /> | |
16 | <meta name="author" content="Jose Antonio Sal y Rosas Celi" /> |
|
17 | <meta name="author" content="Jose Antonio Sal y Rosas Celi" /> | |
17 |
|
18 | |||
18 | {# <meta name="viewport" content="width=device-width; initial-scale=1.0" /> #} |
|
19 | {# <meta name="viewport" content="width=device-width; initial-scale=1.0" /> #} | |
19 | {% comment %} |
|
20 | {% comment %} | |
20 | <!-- Replace favicon.ico & apple-touch-icon.png in the root of your domain and delete these references --> |
|
21 | <!-- Replace favicon.ico & apple-touch-icon.png in the root of your domain and delete these references --> | |
21 | <link rel="shortcut icon" href="/favicon.ico" /> |
|
22 | <link rel="shortcut icon" href="/favicon.ico" /> | |
22 | <link rel="apple-touch-icon" href="/apple-touch-icon.png" /> |
|
23 | <link rel="apple-touch-icon" href="/apple-touch-icon.png" /> | |
23 | {% endcomment %} |
|
24 | {% endcomment %} | |
24 | </head> |
|
25 | </head> | |
25 | <body> |
|
26 | <body> | |
26 | <div id="schema"> |
|
27 | <div id="schema"> | |
27 | <header> |
|
28 | <header> | |
28 | {% block header %} |
|
29 | {% block header %} | |
29 | <nav> |
|
30 | <nav> | |
30 | <a href="/abscontrol">ABS</a> | |
|
31 | <a href="/abscontrol">ABS</a> | | |
31 | <a href="#">CR</a> | |
|
32 | <a href="#">CR</a> | | |
32 | <a href="#">DDS</a> | |
|
33 | <a href="#">DDS</a> | | |
33 | <a href="#">JARS</a> |
|
34 | <a href="#">JARS</a> | |
34 | </nav> |
|
35 | </nav> | |
35 | {% endblock %} |
|
36 | {% endblock %} | |
36 | </header> |
|
37 | </header> | |
37 | {% block content %} |
|
38 | {% block content %} | |
38 | <div id="content"> |
|
39 | <div id="content"> | |
39 | <nav> |
|
40 | <nav> | |
40 | <p><a href="/">Home</a></p> |
|
41 | <p><a href="/">Home</a></p> | |
41 | <p><a href="/contact">Contact</a></p> |
|
42 | <p><a href="/contact">Contact</a></p> | |
42 | </nav> |
|
43 | </nav> | |
43 | </div> |
|
44 | </div> | |
44 | {% endblock %} |
|
45 | {% endblock %} | |
45 | <footer> |
|
46 | <footer> | |
46 | {% block footer %} |
|
47 | {% block footer %} | |
47 | <p>© Copyright by Jicamarca Radio Observatory</p> |
|
48 | <p>© Copyright by Jicamarca Radio Observatory</p> | |
48 | {% endblock %} |
|
49 | {% endblock %} | |
49 | </footer> |
|
50 | </footer> | |
50 | </div> |
|
51 | </div> | |
51 | </body> |
|
52 | </body> | |
52 | </html> |
|
53 | </html> |
General Comments 0
You need to be logged in to leave comments.
Login now