@@ -1,552 +1,564 | |||
|
1 | 1 | from django.shortcuts import render_to_response, redirect No newline at end of file |
|
2 | 2 | from django.http import HttpResponse No newline at end of file |
|
3 | 3 | from django.conf import settings No newline at end of file |
|
4 | 4 | from django.utils.encoding import smart_str No newline at end of file |
|
5 | 5 | from django.core.servers.basehttp import FileWrapper No newline at end of file |
|
6 | 6 | import mimetypes No newline at end of file |
|
7 | 7 | from django.contrib.auth.decorators import login_required No newline at end of file |
|
8 | 8 | from django.template import RequestContext No newline at end of file |
|
9 | 9 | No newline at end of file |
|
10 | 10 | from datetime import datetime No newline at end of file |
|
11 | 11 | import os No newline at end of file |
|
12 | 12 | from abscontrol.models import Profile, Pattern, AntennaDown, AntennaUp No newline at end of file |
|
13 | 13 | No newline at end of file |
|
14 | 14 | from util.readABSFile import readABSFile No newline at end of file |
|
15 | 15 | from util.saveABSFile import saveABSFile No newline at end of file |
|
16 | 16 | from util.ABSData import ABSData No newline at end of file |
|
17 | 17 | from util.OverJRO import OverJRO No newline at end of file |
|
18 | 18 | from scripts.sendFile import sendFile No newline at end of file |
|
19 | 19 | from scripts.changeBeam import changeBeam No newline at end of file |
|
20 | 20 | from overJroShow import overJroShow No newline at end of file |
|
21 | 21 | No newline at end of file |
|
22 | 22 | arrayTx = [["0","0","0","0","0","0","0","0"],\ No newline at end of file |
|
23 | 23 | ["0","0","0","0","0","0","0","0"],\ No newline at end of file |
|
24 | 24 | ["0","0","0","0","0","0","0","0"],\ No newline at end of file |
|
25 | 25 | ["0","0","0","0","0","0","0","0"],\ No newline at end of file |
|
26 | 26 | ["0","0","0","0","0","0","0","0"],\ No newline at end of file |
|
27 | 27 | ["0","0","0","0","0","0","0","0"],\ No newline at end of file |
|
28 | 28 | ["0","0","0","0","0","0","0","0"],\ No newline at end of file |
|
29 | 29 | ["0","0","0","0","0","0","0","0"]] No newline at end of file |
|
30 | 30 | No newline at end of file |
|
31 | 31 | arrayUes = ["0.533333","0.00000","1.06667","0.00000"] No newline at end of file |
|
32 | 32 | No newline at end of file |
|
33 | 33 | @login_required(login_url='/accounts/login/') No newline at end of file |
|
34 | 34 | def index(request): No newline at end of file |
|
35 | 35 | #latest_poll_list = profileAntenna.objects.all().order_by('-pub_date')[:5] No newline at end of file |
|
36 | 36 | profile_list = Profile.objects.filter(state=1) No newline at end of file |
|
37 | 37 | return render_to_response('abscontrol/index.html', {'profile_list': profile_list}, context_instance=RequestContext(request)) No newline at end of file |
|
38 | 38 | No newline at end of file |
|
39 | 39 | def new(request): No newline at end of file |
|
40 | 40 | profile_list = Profile.objects.filter(state=1) No newline at end of file |
|
41 | 41 | txtProfile = datetime.now().strftime("%Y%m%d%H%M%S%f") No newline at end of file |
|
42 | 42 | newprofile = Profile(name=txtProfile) No newline at end of file |
|
43 | 43 | newprofile.save() No newline at end of file |
|
44 | 44 | No newline at end of file |
|
45 | 45 | lsPatterns = None No newline at end of file |
|
46 | 46 | No newline at end of file |
|
47 | 47 | return render_to_response('abscontrol/new.html', {'profile_list': profile_list, No newline at end of file |
|
48 | 48 | 'profile_name' : newprofile.name, No newline at end of file |
|
49 | 49 | 'profile_id' : newprofile.id, No newline at end of file |
|
50 | 50 | 'lsPatterns' : lsPatterns, No newline at end of file |
|
51 | 51 | 'range' : range(8), 'arrayUes' : arrayUes, No newline at end of file |
|
52 | 52 | }, context_instance=RequestContext(request)) No newline at end of file |
|
53 | 53 | No newline at end of file |
|
54 | 54 | def save(request): No newline at end of file |
|
55 | 55 | No newline at end of file |
|
56 | 56 | txtProfile = request.POST["txtProfile"] No newline at end of file |
|
57 | 57 | No newline at end of file |
|
58 | 58 | txtAntennaUp = request.POST["txtAntennaUp"] No newline at end of file |
|
59 | 59 | txtTxUp = request.POST["txtTxUp"] No newline at end of file |
|
60 | 60 | txtRxUp = request.POST["txtRxUp"] No newline at end of file |
|
61 | 61 | txtUesUp = request.POST["txtUesUp"] No newline at end of file |
|
62 | 62 | No newline at end of file |
|
63 | 63 | txtAntennaDown = request.POST["txtAntennaDown"] No newline at end of file |
|
64 | 64 | txtTxDown = request.POST["txtTxDown"] No newline at end of file |
|
65 | 65 | txtRxDown = request.POST["txtRxDown"] No newline at end of file |
|
66 | 66 | txtUesDown = request.POST["txtUesDown"] No newline at end of file |
|
67 | 67 | No newline at end of file |
|
68 | 68 | newprofile = Profile(name=txtProfile) No newline at end of file |
|
69 | 69 | newprofile.save() No newline at end of file |
|
70 | 70 | No newline at end of file |
|
71 | 71 | newpattern = newprofile.pattern_set.create(value=1) No newline at end of file |
|
72 | 72 | newpattern.antennaup_set.create(value=txtAntennaUp,tx=txtTxUp,rx=txtRxUp,ues=txtUesUp) No newline at end of file |
|
73 | 73 | newpattern.antennadown_set.create(value=txtAntennaDown,tx=txtTxDown,rx=txtRxDown,ues=txtUesDown) No newline at end of file |
|
74 | 74 | No newline at end of file |
|
75 | 75 | newurl = '/abscontrol/view/%d' % newprofile.id No newline at end of file |
|
76 | 76 | No newline at end of file |
|
77 | 77 | return redirect(newurl) No newline at end of file |
|
78 | 78 | No newline at end of file |
|
79 | 79 | # Update temporal experiment No newline at end of file |
|
80 | 80 | def upgrade(request, profile_id): No newline at end of file |
|
81 | 81 | txtAntennaUp = request.POST["txtAntennaUp"] No newline at end of file |
|
82 | 82 | txtTxUp = request.POST["txtTxUp"] No newline at end of file |
|
83 | 83 | txtRxUp = request.POST["txtRxUp"] No newline at end of file |
|
84 | 84 | txtUesUp = request.POST["txtUesUp"] No newline at end of file |
|
85 | 85 | No newline at end of file |
|
86 | 86 | txtAntennaDown = request.POST["txtAntennaDown"] No newline at end of file |
|
87 | 87 | txtTxDown = request.POST["txtTxDown"] No newline at end of file |
|
88 | 88 | txtRxDown = request.POST["txtRxDown"] No newline at end of file |
|
89 | 89 | txtUesDown = request.POST["txtUesDown"] No newline at end of file |
|
90 | 90 | No newline at end of file |
|
91 | 91 | objProfile = Profile.objects.get(pk=profile_id) No newline at end of file |
|
92 | 92 | newpattern = objProfile.pattern_set.create(value=1) No newline at end of file |
|
93 | 93 | newpattern.antennaup_set.create(value=txtAntennaUp,tx=txtTxUp,rx=txtRxUp,ues=txtUesUp) No newline at end of file |
|
94 | 94 | newpattern.antennadown_set.create(value=txtAntennaDown,tx=txtTxDown,rx=txtRxDown,ues=txtUesDown) No newline at end of file |
|
95 | 95 | No newline at end of file |
|
96 | 96 | newurl = '/abscontrol/%d/edit/%d' % (int(profile_id), newpattern.id) No newline at end of file |
|
97 | 97 | return redirect(newurl) No newline at end of file |
|
98 | 98 | No newline at end of file |
|
99 | 99 | def update(request, profile_id): No newline at end of file |
|
100 | 100 | txtProfile = request.POST["txtProfile"] No newline at end of file |
|
101 | 101 | No newline at end of file |
|
102 | 102 | objProfile = Profile.objects.get(pk=profile_id) No newline at end of file |
|
103 | 103 | objProfile.name = txtProfile No newline at end of file |
|
104 | 104 | objProfile.state = 1 No newline at end of file |
|
105 | 105 | objProfile.save() No newline at end of file |
|
106 | 106 | No newline at end of file |
|
107 | 107 | newurl = '/abscontrol/view/%d' % objProfile.id No newline at end of file |
|
108 | 108 | return redirect(newurl) No newline at end of file |
|
109 | 109 | No newline at end of file |
|
110 | 110 | def changeName(request, profile_id): No newline at end of file |
|
111 | 111 | profile_list = Profile.objects.filter(state=1) No newline at end of file |
|
112 | 112 | objProfile = Profile.objects.get(pk=profile_id) No newline at end of file |
|
113 | 113 | lsPatterns = objProfile.pattern_set.all() No newline at end of file |
|
114 | 114 | No newline at end of file |
|
115 | 115 | return render_to_response('abscontrol/changeName.html', {'profile_list': profile_list, No newline at end of file |
|
116 | 116 | 'objProfile': objProfile, No newline at end of file |
|
117 | 117 | 'lsPatterns' : lsPatterns, No newline at end of file |
|
118 | 118 | }, context_instance=RequestContext(request)) No newline at end of file |
|
119 | 119 | No newline at end of file |
|
120 | 120 | def view(request, profile_id): No newline at end of file |
|
121 | 121 | objProfileActive = None No newline at end of file |
|
122 | 122 | objPatternActive = None No newline at end of file |
|
123 | 123 | No newline at end of file |
|
124 | 124 | if request.method == 'GET' and 'pattern' in request.GET: No newline at end of file |
|
125 | 125 | pattern_value = request.GET["pattern"] No newline at end of file |
|
126 | 126 | else: No newline at end of file |
|
127 | 127 | pattern_value = 1 No newline at end of file |
|
128 | 128 | No newline at end of file |
|
129 | 129 | profile_list = Profile.objects.filter(state=1) No newline at end of file |
|
130 | 130 | objProfile = Profile.objects.get(pk=profile_id) No newline at end of file |
|
131 | 131 | No newline at end of file |
|
132 | 132 | lsPatterns = objProfile.pattern_set.all() No newline at end of file |
|
133 | 133 | patternChoosen = objProfile.pattern_set.get(value=pattern_value) No newline at end of file |
|
134 | 134 | objAntennaUp = patternChoosen.antennaup_set.get() No newline at end of file |
|
135 | 135 | objAntennaDown = patternChoosen.antennadown_set.get() No newline at end of file |
|
136 | 136 | No newline at end of file |
|
137 | 137 | lsProfilesActive = Profile.objects.filter(is_active=1) No newline at end of file |
|
138 | 138 | if len(lsProfilesActive) > 0: No newline at end of file |
|
139 | 139 | objProfileActive = Profile.objects.get(is_active=1) No newline at end of file |
|
140 | 140 | No newline at end of file |
|
141 | 141 | lsPatternsActive = Pattern.objects.filter(is_active=1) No newline at end of file |
|
142 | 142 | if len(lsPatternsActive) > 0: No newline at end of file |
|
143 | 143 | objPatternActive = Pattern.objects.get(is_active=1) No newline at end of file |
|
144 | 144 | No newline at end of file |
|
145 | 145 | return render_to_response('abscontrol/view.html', {'objProfile': objProfile, 'profile_list': profile_list, No newline at end of file |
|
146 | 146 | 'patternChoosen' : patternChoosen, 'lsPatterns' : lsPatterns, No newline at end of file |
|
147 | 147 | 'antennaUp' : objAntennaUp, 'antennaDown' : objAntennaDown, No newline at end of file |
|
148 | 148 | 'profileActive' : objProfileActive, 'patternActive' : objPatternActive, No newline at end of file |
|
149 | 149 | }, context_instance=RequestContext(request)) No newline at end of file |
|
150 | 150 | No newline at end of file |
|
151 | 151 | def edit(request, profile_id): No newline at end of file |
|
152 | 152 | if request.method == 'GET' and 'pattern' in request.GET: No newline at end of file |
|
153 | 153 | pattern_value = request.GET["pattern"] No newline at end of file |
|
154 | 154 | else: No newline at end of file |
|
155 | 155 | pattern_value = 1 No newline at end of file |
|
156 | 156 | No newline at end of file |
|
157 | 157 | absData = ABSData() No newline at end of file |
|
158 | 158 | profile_list = Profile.objects.filter(state=1) No newline at end of file |
|
159 | 159 | objProfile = Profile.objects.get(pk=profile_id) No newline at end of file |
|
160 | 160 | No newline at end of file |
|
161 | 161 | lsPatterns = objProfile.pattern_set.all() No newline at end of file |
|
162 | 162 | patternChoosen = objProfile.pattern_set.get(value=pattern_value) No newline at end of file |
|
163 | 163 | objAntennaUp = patternChoosen.antennaup_set.get() No newline at end of file |
|
164 | 164 | objAntennaDown = patternChoosen.antennadown_set.get() No newline at end of file |
|
165 | 165 | No newline at end of file |
|
166 | 166 | arrayAntennaUp = absData.convertStringtoList2(objAntennaUp.value) No newline at end of file |
|
167 | 167 | if objAntennaUp.tx != None: No newline at end of file |
|
168 | 168 | arrayTxUp = absData.convertStringtoList2(objAntennaUp.tx) No newline at end of file |
|
169 | 169 | else: No newline at end of file |
|
170 | 170 | arrayTxUp = arrayTx No newline at end of file |
|
171 | 171 | if objAntennaUp.rx != None: No newline at end of file |
|
172 | 172 | arrayRxUp = absData.convertStringtoList2(objAntennaUp.rx) No newline at end of file |
|
173 | 173 | else: No newline at end of file |
|
174 | 174 | arrayRxUp = arrayTx No newline at end of file |
|
175 | 175 | if objAntennaUp.ues != None: No newline at end of file |
|
176 | 176 | arrayUesUp = absData.convertStringtoList1(objAntennaUp.ues) No newline at end of file |
|
177 | 177 | else: No newline at end of file |
|
178 | 178 | arrayUesUp = arrayUes No newline at end of file |
|
179 | 179 | No newline at end of file |
|
180 | 180 | arrayAntennaDown = absData.convertStringtoList2(objAntennaDown.value) No newline at end of file |
|
181 | 181 | if objAntennaDown.tx != None: No newline at end of file |
|
182 | 182 | arrayTxDown = absData.convertStringtoList2(objAntennaDown.tx) No newline at end of file |
|
183 | 183 | else: No newline at end of file |
|
184 | 184 | arrayTxDown = arrayTx No newline at end of file |
|
185 | 185 | if objAntennaDown.rx != None: No newline at end of file |
|
186 | 186 | arrayRxDown = absData.convertStringtoList2(objAntennaDown.rx) No newline at end of file |
|
187 | 187 | else: No newline at end of file |
|
188 | 188 | arrayRxDown = arrayTx No newline at end of file |
|
189 | 189 | if objAntennaDown.ues != None: No newline at end of file |
|
190 | 190 | arrayUesDown = absData.convertStringtoList1(objAntennaDown.ues) No newline at end of file |
|
191 | 191 | else: No newline at end of file |
|
192 | 192 | arrayUesDown = arrayUes No newline at end of file |
|
193 | 193 | No newline at end of file |
|
194 | 194 | return render_to_response('abscontrol/edit.html', {'objProfile': objProfile, 'profile_list': profile_list, No newline at end of file |
|
195 | 195 | 'patternChoosen' : patternChoosen, 'lsPatterns' : lsPatterns, No newline at end of file |
|
196 | 196 | 'antennaUp' : objAntennaUp, 'antennaDown' : objAntennaDown, No newline at end of file |
|
197 | 197 | 'arrayAntennaUp' : arrayAntennaUp, 'arrayTxUp' : arrayTxUp, No newline at end of file |
|
198 | 198 | 'arrayRxUp' : arrayRxUp, 'arrayRxDown' : arrayRxDown, No newline at end of file |
|
199 | 199 | 'arrayAntennaDown' : arrayAntennaDown, 'arrayTxDown' : arrayTxDown, No newline at end of file |
|
200 | 200 | 'arrayUesUp' : arrayUesUp, 'arrayUesDown' : arrayUesDown, No newline at end of file |
|
201 | 201 | }, context_instance=RequestContext(request)) No newline at end of file |
|
202 | 202 | No newline at end of file |
|
203 | 203 | def addPattern(request, profile_id): No newline at end of file |
|
204 | 204 | profile_list = Profile.objects.filter(state=1) No newline at end of file |
|
205 | 205 | objProfile = Profile.objects.get(pk=profile_id) No newline at end of file |
|
206 | 206 | No newline at end of file |
|
207 | 207 | return render_to_response('abscontrol/addPattern.html', {'objProfile': objProfile, 'profile_list': profile_list, No newline at end of file |
|
208 | 208 | 'range' : range(8), 'arrayUes' : arrayUes, No newline at end of file |
|
209 | 209 | }, context_instance=RequestContext(request)) No newline at end of file |
|
210 | 210 | No newline at end of file |
|
211 | 211 | def editPattern(request, profile_id, pattern_id): No newline at end of file |
|
212 | 212 | absData = ABSData() No newline at end of file |
|
213 | 213 | profile_list = Profile.objects.filter(state=1) No newline at end of file |
|
214 | 214 | objProfile = Profile.objects.get(pk=profile_id) No newline at end of file |
|
215 | 215 | lsPatterns = objProfile.pattern_set.all() No newline at end of file |
|
216 | 216 | patternChoosen = Pattern.objects.get(pk=pattern_id) No newline at end of file |
|
217 | 217 | objAntennaUp = patternChoosen.antennaup_set.get() No newline at end of file |
|
218 | 218 | objAntennaDown = patternChoosen.antennadown_set.get() No newline at end of file |
|
219 | 219 | No newline at end of file |
|
220 | 220 | arrayAntennaUp = absData.convertStringtoList2(objAntennaUp.value) No newline at end of file |
|
221 | 221 | if objAntennaUp.tx != None: No newline at end of file |
|
222 | 222 | arrayTxUp = absData.convertStringtoList2(objAntennaUp.tx) No newline at end of file |
|
223 | 223 | else: No newline at end of file |
|
224 | 224 | arrayTxUp = arrayTx No newline at end of file |
|
225 | 225 | if objAntennaUp.rx != None: No newline at end of file |
|
226 | 226 | arrayRxUp = absData.convertStringtoList2(objAntennaUp.rx) No newline at end of file |
|
227 | 227 | else: No newline at end of file |
|
228 | 228 | arrayRxUp = arrayTx No newline at end of file |
|
229 | 229 | if objAntennaUp.ues != None: No newline at end of file |
|
230 | 230 | arrayUesUp = absData.convertStringtoList1(objAntennaUp.ues) No newline at end of file |
|
231 | 231 | else: No newline at end of file |
|
232 | 232 | arrayUesUp = arrayUes No newline at end of file |
|
233 | 233 | No newline at end of file |
|
234 | 234 | arrayAntennaDown = absData.convertStringtoList2(objAntennaDown.value) No newline at end of file |
|
235 | 235 | if objAntennaDown.tx != None: No newline at end of file |
|
236 | 236 | arrayTxDown = absData.convertStringtoList2(objAntennaDown.tx) No newline at end of file |
|
237 | 237 | else: No newline at end of file |
|
238 | 238 | arrayTxDown = arrayTx No newline at end of file |
|
239 | 239 | if objAntennaDown.rx != None: No newline at end of file |
|
240 | 240 | arrayRxDown = absData.convertStringtoList2(objAntennaDown.rx) No newline at end of file |
|
241 | 241 | else: No newline at end of file |
|
242 | 242 | arrayRxDown = arrayTx No newline at end of file |
|
243 | 243 | if objAntennaDown.ues != None: No newline at end of file |
|
244 | 244 | arrayUesDown = absData.convertStringtoList1(objAntennaDown.ues) No newline at end of file |
|
245 | 245 | else: No newline at end of file |
|
246 | 246 | arrayUesDown = arrayUes No newline at end of file |
|
247 | 247 | No newline at end of file |
|
248 | 248 | return render_to_response('abscontrol/editPattern.html', {'objProfile': objProfile, 'profile_list': profile_list, No newline at end of file |
|
249 | 249 | 'patternChoosen' : patternChoosen, 'lsPatterns' : lsPatterns, No newline at end of file |
|
250 | 250 | 'antennaUp' : objAntennaUp, 'antennaDown' : objAntennaDown, No newline at end of file |
|
251 | 251 | 'arrayAntennaUp' : arrayAntennaUp, 'arrayTxUp' : arrayTxUp, No newline at end of file |
|
252 | 252 | 'arrayRxUp' : arrayRxUp, 'arrayRxDown' : arrayRxDown, No newline at end of file |
|
253 | 253 | 'arrayAntennaDown' : arrayAntennaDown, 'arrayTxDown' : arrayTxDown, No newline at end of file |
|
254 | 254 | 'arrayUesUp' : arrayUesUp, 'arrayUesDown' : arrayUesDown, No newline at end of file |
|
255 | 255 | }, context_instance=RequestContext(request)) No newline at end of file |
|
256 | 256 | No newline at end of file |
|
257 | 257 | def savePattern(request, profile_id): No newline at end of file |
|
258 | 258 | pattern_id = 0 No newline at end of file |
|
259 | 259 | method = "save" No newline at end of file |
|
260 | 260 | No newline at end of file |
|
261 | 261 | if 'pattern_id' in request.POST: No newline at end of file |
|
262 | 262 | pattern_id = request.POST["pattern_id"] No newline at end of file |
|
263 | 263 | method = "update" No newline at end of file |
|
264 | 264 | No newline at end of file |
|
265 | 265 | maxValuePattern = 0 No newline at end of file |
|
266 | 266 | txtAntennaUp = request.POST["txtAntennaUp"] No newline at end of file |
|
267 | 267 | txtTxUp = request.POST["txtTxUp"] No newline at end of file |
|
268 | 268 | txtRxUp = request.POST["txtRxUp"] No newline at end of file |
|
269 | 269 | txtUesUp = request.POST["txtUesUp"] No newline at end of file |
|
270 | if "chkOnlyRxUp" in request.POST: | |
|
No newline at end of file | ||
|
271 | chkOnlyRxUp = request.POST["chkOnlyRxUp"] | |
|
No newline at end of file | ||
|
272 | else: | |
|
No newline at end of file | ||
|
273 | chkOnlyRxUp = 0 No newline at end of file | |
|
270 | 274 | No newline at end of file |
|
271 | 275 | txtAntennaDown = request.POST["txtAntennaDown"] No newline at end of file |
|
272 | 276 | txtTxDown = request.POST["txtTxDown"] No newline at end of file |
|
273 | 277 | txtRxDown = request.POST["txtRxDown"] No newline at end of file |
|
274 | 278 | txtUesDown = request.POST["txtUesDown"] No newline at end of file |
|
279 | if "chkOnlyRxDown" in request.POST: | |
|
No newline at end of file | ||
|
280 | chkOnlyRxDown = request.POST["chkOnlyRxDown"] | |
|
No newline at end of file | ||
|
281 | else: | |
|
No newline at end of file | ||
|
282 | chkOnlyRxDown = 0 No newline at end of file | |
|
275 | 283 | No newline at end of file |
|
276 | 284 | mode = request.POST["mode"] No newline at end of file |
|
277 | 285 | No newline at end of file |
|
278 | 286 | if method == "save": No newline at end of file |
|
279 | 287 | objProfile = Profile.objects.get(pk=profile_id) No newline at end of file |
|
280 | 288 | lsPatterns = objProfile.pattern_set.all() No newline at end of file |
|
281 | 289 | if len(lsPatterns) > 0: No newline at end of file |
|
282 | 290 | for element in lsPatterns: No newline at end of file |
|
283 | 291 | if element.value > maxValuePattern: No newline at end of file |
|
284 | 292 | maxPattern = element.value No newline at end of file |
|
285 | 293 | else: No newline at end of file |
|
286 | 294 | maxPattern = 0 No newline at end of file |
|
287 | 295 | No newline at end of file |
|
288 | 296 | if maxPattern < 10 : No newline at end of file |
|
289 | 297 | newValuePattern = maxPattern + 1 No newline at end of file |
|
290 | 298 | newpattern = objProfile.pattern_set.create(value=newValuePattern) |
|
299 | No newline at end of file | |
|
291 | newpattern.antennaup_set.create(value=txtAntennaUp,tx=txtTxUp,rx=txtRxUp,ues=txtUesUp) | |
|
No newline at end of file | ||
|
300 | No newline at end of file | |
|
292 | newpattern.antennadown_set.create(value=txtAntennaDown,tx=txtTxDown,rx=txtRxDown,ues=txtUesDown) No newline at end of file | |
|
293 | 301 | error = 0 No newline at end of file |
|
294 | 302 | else: No newline at end of file |
|
295 | 303 | error = 1 # Can not add more patterns No newline at end of file |
|
296 | 304 | No newline at end of file |
|
297 | 305 | if mode == "e": No newline at end of file |
|
298 | 306 | newurl = '/abscontrol/%d/edit/%d' % (int(profile_id), newpattern.id) No newline at end of file |
|
299 | 307 | else: No newline at end of file |
|
300 | 308 | newurl = '/abscontrol/%d/view/%d' % (int(profile_id), newpattern.id) No newline at end of file |
|
301 | 309 | else: No newline at end of file |
|
302 | 310 | txtAntennaUpId = request.POST["txtAntennaUpId"] No newline at end of file |
|
303 | 311 | objAntennaUp = AntennaUp.objects.get(pk=txtAntennaUpId) No newline at end of file |
|
304 | 312 | objAntennaUp.value = txtAntennaUp No newline at end of file |
|
305 | 313 | objAntennaUp.tx = txtTxUp No newline at end of file |
|
306 | 314 | objAntennaUp.rx = txtRxUp No newline at end of file |
|
307 | 315 | objAntennaUp.ues = txtUesUp No newline at end of file |
|
316 | objAntennaUp.only_rx = chkOnlyRxUp No newline at end of file | |
|
308 | 317 | objAntennaUp.save() No newline at end of file |
|
309 | 318 | No newline at end of file |
|
310 | 319 | txtAntennaDownId = request.POST["txtAntennaDownId"] No newline at end of file |
|
311 | 320 | objAntennaDown = AntennaDown.objects.get(pk=txtAntennaDownId) No newline at end of file |
|
312 | 321 | objAntennaDown.value = txtAntennaDown No newline at end of file |
|
313 | 322 | objAntennaDown.tx = txtTxDown No newline at end of file |
|
314 | 323 | objAntennaDown.rx = txtRxDown No newline at end of file |
|
315 | 324 | objAntennaDown.ues = txtUesDown No newline at end of file |
|
325 | objAntennaDown.only_rx = chkOnlyRxDown No newline at end of file | |
|
316 | 326 | objAntennaDown.save() No newline at end of file |
|
317 | 327 | No newline at end of file |
|
318 | 328 | if mode == "e": No newline at end of file |
|
319 | 329 | newurl = '/abscontrol/%d/edit/%d' % (int(profile_id), int(pattern_id)) No newline at end of file |
|
320 | 330 | else: No newline at end of file |
|
321 | 331 | newurl = '/abscontrol/%d/view/%d' % (int(profile_id), int(pattern_id)) No newline at end of file |
|
322 | 332 | No newline at end of file |
|
323 | 333 | return redirect(newurl) No newline at end of file |
|
324 | 334 | No newline at end of file |
|
325 | 335 | def viewPattern(request, profile_id, pattern_id): No newline at end of file |
|
336 | objProfileActive = None | |
|
No newline at end of file | ||
|
337 | objPatternActive = None No newline at end of file | |
|
326 | 338 | No newline at end of file |
|
327 | 339 | profile_list = Profile.objects.filter(state=1) No newline at end of file |
|
328 | 340 | objProfile = Profile.objects.get(pk=profile_id) No newline at end of file |
|
329 | 341 | No newline at end of file |
|
330 | 342 | patternChoosen = Pattern.objects.get(pk=pattern_id) No newline at end of file |
|
331 | 343 | No newline at end of file |
|
332 | 344 | objAntennaUp = patternChoosen.antennaup_set.get() No newline at end of file |
|
333 | 345 | objAntennaDown = patternChoosen.antennadown_set.get() No newline at end of file |
|
334 | 346 | No newline at end of file |
|
335 | 347 | lsPatterns = objProfile.pattern_set.all() No newline at end of file |
|
336 | 348 | No newline at end of file |
|
337 | 349 | lsProfilesActive = Profile.objects.filter(is_active=1) No newline at end of file |
|
338 | 350 | if len(lsProfilesActive) > 0: No newline at end of file |
|
339 | 351 | objProfileActive = Profile.objects.get(is_active=1) No newline at end of file |
|
340 | 352 | No newline at end of file |
|
341 | 353 | lsPatternsActive = Pattern.objects.filter(is_active=1) No newline at end of file |
|
342 | 354 | if len(lsPatternsActive) > 0: No newline at end of file |
|
343 | 355 | objPatternActive = Pattern.objects.get(is_active=1) No newline at end of file |
|
344 | 356 | No newline at end of file |
|
345 | 357 | return render_to_response('abscontrol/viewPattern.html', {'objProfile': objProfile, 'profile_list': profile_list, No newline at end of file |
|
346 | 358 | 'patternChoosen' : patternChoosen, 'lsPatterns' : lsPatterns, No newline at end of file |
|
347 | 359 | 'antennaUp' : objAntennaUp, 'antennaDown' : objAntennaDown, No newline at end of file |
|
348 | 360 | 'profileActive' : objProfileActive, 'patternActive' : objPatternActive, No newline at end of file |
|
349 | 361 | }, context_instance=RequestContext(request)) No newline at end of file |
|
350 | 362 | No newline at end of file |
|
351 | 363 | def deletePattern(request, profile_id, pattern_id): No newline at end of file |
|
352 | 364 | newurl = '/abscontrol/edit/%d' % int(profile_id) No newline at end of file |
|
353 | 365 | No newline at end of file |
|
354 | 366 | return redirect(newurl) No newline at end of file |
|
355 | 367 | No newline at end of file |
|
356 | 368 | def importProfile(request): No newline at end of file |
|
357 | 369 | profile_list = Profile.objects.filter(state=1) No newline at end of file |
|
358 | 370 | return render_to_response('abscontrol/import.html', {'profile_list': profile_list,}, context_instance=RequestContext(request)) No newline at end of file |
|
359 | 371 | No newline at end of file |
|
360 | 372 | def upload(request): No newline at end of file |
|
361 | 373 | profile_list = Profile.objects.filter(state=1) No newline at end of file |
|
362 | 374 | if request.method == 'POST': No newline at end of file |
|
363 | 375 | txtFilename = request.FILES['txtFile'] No newline at end of file |
|
364 | 376 | if txtFilename: No newline at end of file |
|
365 | 377 | destination = open('/tmp/'+txtFilename.name, 'wb+') No newline at end of file |
|
366 | 378 | for chunk in txtFilename.chunks(): No newline at end of file |
|
367 | 379 | destination.write(chunk) No newline at end of file |
|
368 | 380 | destination.close() No newline at end of file |
|
369 | 381 | filename = '/tmp/'+txtFilename.name No newline at end of file |
|
370 | 382 | readFile = readABSFile(filename) No newline at end of file |
|
371 | 383 | expName, num_patterns, patterns = readFile.getMetadata() No newline at end of file |
|
372 | 384 | No newline at end of file |
|
373 | 385 | if expName != "" and num_patterns > 0: No newline at end of file |
|
374 | 386 | if len(Profile.objects.filter(name__iexact=expName)) > 0: No newline at end of file |
|
375 | 387 | txtError = "Experiment's name found." No newline at end of file |
|
376 | 388 | return render_to_response('abscontrol/error.html', {'profile_list': profile_list, No newline at end of file |
|
377 | 389 | 'txtError' : txtError, }, No newline at end of file |
|
378 | 390 | context_instance=RequestContext(request)) No newline at end of file |
|
379 | 391 | else: No newline at end of file |
|
380 | 392 | newprofile = Profile(name=expName) No newline at end of file |
|
381 | 393 | newprofile.save() No newline at end of file |
|
382 | 394 | newprofile.state = 1 No newline at end of file |
|
383 | 395 | No newline at end of file |
|
384 | 396 | for element in patterns: No newline at end of file |
|
385 | 397 | newpattern = newprofile.pattern_set.create(value=element["number"]) No newline at end of file |
|
386 | 398 | newpattern.antennaup_set.create(value=element["up"]) No newline at end of file |
|
387 | 399 | newpattern.antennadown_set.create(value=element["down"]) No newline at end of file |
|
388 | 400 | No newline at end of file |
|
389 | 401 | newprofile.save() No newline at end of file |
|
390 | 402 | No newline at end of file |
|
391 | 403 | newurl = '/abscontrol/edit/%d' % int(newprofile.id) No newline at end of file |
|
392 | 404 | return redirect(newurl) No newline at end of file |
|
393 | 405 | else: No newline at end of file |
|
394 | 406 | txtError = "Experiment's name not found or the number of patterns is 0." No newline at end of file |
|
395 | 407 | return render_to_response('abscontrol/error.html', {'profile_list': profile_list, No newline at end of file |
|
396 | 408 | 'txtError' : txtError, }, No newline at end of file |
|
397 | 409 | context_instance=RequestContext(request)) No newline at end of file |
|
398 | 410 | else: No newline at end of file |
|
399 | 411 | txtError = "No file." No newline at end of file |
|
400 | 412 | No newline at end of file |
|
401 | 413 | return render_to_response('abscontrol/error.html', {'profile_list': profile_list, 'txtError' : txtError, }, No newline at end of file |
|
402 | 414 | context_instance=RequestContext(request)) No newline at end of file |
|
403 | 415 | No newline at end of file |
|
404 | 416 | def getImgfromOverJRO(profile_id, objAntenna): No newline at end of file |
|
405 | 417 | objProfile = Profile.objects.get(pk=profile_id) No newline at end of file |
|
406 | 418 | exp_name = objProfile.name No newline at end of file |
|
407 | 419 | phase_tx = objAntenna.value No newline at end of file |
|
408 | 420 | gain_tx = objAntenna.tx No newline at end of file |
|
409 | 421 | gain_rx = objAntenna.rx No newline at end of file |
|
410 | 422 | ues_tx = objAntenna.ues No newline at end of file |
|
411 | 423 | just_rx = objAntenna.only_rx No newline at end of file |
|
412 | 424 | No newline at end of file |
|
413 | 425 | overjro = OverJRO() No newline at end of file |
|
414 | 426 | overjro.setParameters(settings.MEDIA_ROOT, exp_name, phase_tx, gain_tx, gain_rx, ues_tx, just_rx) No newline at end of file |
|
415 | 427 | contentFile = overjro.setTextContent() No newline at end of file |
|
416 | 428 | finalpath = overjro.saveFile(contentFile) No newline at end of file |
|
417 | 429 | No newline at end of file |
|
418 | 430 | currentdate = datetime.today() No newline at end of file |
|
419 | 431 | newOverJro = overJroShow() No newline at end of file |
|
420 | 432 | newOverJro.setInputParameters(settings.MEDIA_ROOT, currentdate, finalpath) No newline at end of file |
|
421 | 433 | newOverJro.setupParameters() No newline at end of file |
|
422 | 434 | newOverJro.execute() No newline at end of file |
|
423 | 435 | path = newOverJro.getPlot() No newline at end of file |
|
424 | 436 | No newline at end of file |
|
425 | 437 | return path No newline at end of file |
|
426 | 438 | No newline at end of file |
|
427 | 439 | def overJROUp(request, profile_id, pattern_id, antenna_id): No newline at end of file |
|
428 | 440 | objAntenna = AntennaUp.objects.get(pk=antenna_id) No newline at end of file |
|
429 | 441 | img_path = getImgfromOverJRO(profile_id, objAntenna) No newline at end of file |
|
430 | 442 | filename = os.path.split(img_path)[1] No newline at end of file |
|
431 | 443 | return render_to_response('abscontrol/overjro_up.html', {'img_up': filename,'antennaUp': objAntenna,}, No newline at end of file |
|
432 | 444 | context_instance=RequestContext(request)) No newline at end of file |
|
433 | 445 | No newline at end of file |
|
434 | 446 | def overJRODown(request, profile_id, pattern_id, antenna_id): No newline at end of file |
|
435 | 447 | objAntenna = AntennaDown.objects.get(pk=antenna_id) No newline at end of file |
|
436 | 448 | img_path = getImgfromOverJRO(profile_id, objAntenna) No newline at end of file |
|
437 | 449 | filename = os.path.split(img_path)[1] No newline at end of file |
|
438 | 450 | return render_to_response('abscontrol/overjro_down.html', {'img_down': filename, 'antennaDown': objAntenna,}, No newline at end of file |
|
439 | 451 | context_instance=RequestContext(request)) No newline at end of file |
|
440 | 452 | No newline at end of file |
|
441 | 453 | def export(request, profile_id): No newline at end of file |
|
442 | 454 | listPatterns = [] No newline at end of file |
|
443 | 455 | objProfile = Profile.objects.get(pk=profile_id) No newline at end of file |
|
444 | 456 | exp_name = objProfile.name No newline at end of file |
|
445 | 457 | lsPatterns = objProfile.pattern_set.all() No newline at end of file |
|
446 | 458 | for element in lsPatterns: No newline at end of file |
|
447 | 459 | objAntennaUp = element.antennaup_set.get() No newline at end of file |
|
448 | 460 | objAntennaDown = element.antennadown_set.get() No newline at end of file |
|
449 | 461 | dicPatterns = {"number" : element.value, "up" : objAntennaUp.value, "down" : objAntennaDown.value} No newline at end of file |
|
450 | 462 | listPatterns.append(dicPatterns) No newline at end of file |
|
451 | 463 | No newline at end of file |
|
452 | 464 | absFile = saveABSFile() No newline at end of file |
|
453 | 465 | absFile.setParameters(settings.MEDIA_ROOT, exp_name, listPatterns) No newline at end of file |
|
454 | 466 | filename, filesize = absFile.save() No newline at end of file |
|
455 | 467 | No newline at end of file |
|
456 | 468 | wrapper = FileWrapper( open( filename, "r" ) ) No newline at end of file |
|
457 | 469 | content_type = mimetypes.guess_type( filename )[0] No newline at end of file |
|
458 | 470 | No newline at end of file |
|
459 | 471 | response = HttpResponse(wrapper, content_type = content_type) No newline at end of file |
|
460 | 472 | response['Content-Description'] = 'File Transfer' No newline at end of file |
|
461 | 473 | response['Content-Disposition'] = 'attachment; filename=%s' % smart_str(filename) No newline at end of file |
|
462 | 474 | response['Content-Transfer-Encoding'] = 'binary' No newline at end of file |
|
463 | 475 | response['Expires'] = '0' No newline at end of file |
|
464 | 476 | response['Cache-Control'] = 'must-revalidate' No newline at end of file |
|
465 | 477 | response['Pragma'] = 'public' No newline at end of file |
|
466 | 478 | response['Content-Length'] = '%s' % str(filesize) No newline at end of file |
|
467 | 479 | response['X-Sendfile'] = '%s' % smart_str(filename) No newline at end of file |
|
468 | 480 | No newline at end of file |
|
469 | 481 | return response No newline at end of file |
|
470 | 482 | No newline at end of file |
|
471 | 483 | def send(request, profile_id): No newline at end of file |
|
472 | 484 | listPatterns = [] No newline at end of file |
|
473 | 485 | objProfile = Profile.objects.get(pk=profile_id) No newline at end of file |
|
474 | 486 | exp_name = objProfile.name No newline at end of file |
|
475 | 487 | No newline at end of file |
|
476 | 488 | lsPatterns = objProfile.pattern_set.all() No newline at end of file |
|
477 | 489 | for element in lsPatterns: No newline at end of file |
|
478 | 490 | objAntennaUp = element.antennaup_set.get() No newline at end of file |
|
479 | 491 | objAntennaDown = element.antennadown_set.get() No newline at end of file |
|
480 | 492 | dicPatterns = {"number" : element.value, "up" : objAntennaUp.value, "down" : objAntennaDown.value} No newline at end of file |
|
481 | 493 | listPatterns.append(dicPatterns) No newline at end of file |
|
482 | 494 | No newline at end of file |
|
483 | 495 | absFile = saveABSFile() No newline at end of file |
|
484 | 496 | absFile.setParameters(settings.MEDIA_ROOT, exp_name, listPatterns) No newline at end of file |
|
485 | 497 | filename, filesize = absFile.save() No newline at end of file |
|
486 | 498 | No newline at end of file |
|
487 | 499 | apiclient = sendFile() No newline at end of file |
|
488 | 500 | apiclient.execute(filename) No newline at end of file |
|
489 | 501 | output = apiclient.getOutput() No newline at end of file |
|
490 | 502 | No newline at end of file |
|
491 | 503 | if output == "OK": No newline at end of file |
|
492 | 504 | message = "File sent successfully." No newline at end of file |
|
493 | 505 | lsProfilesActive = Profile.objects.filter(is_active=1) No newline at end of file |
|
494 | 506 | if len(lsProfilesActive) > 0: No newline at end of file |
|
495 | 507 | objProfileActive = Profile.objects.get(is_active=1) No newline at end of file |
|
496 | 508 | objProfileActive.is_active = 0 No newline at end of file |
|
497 | 509 | objProfileActive.save() No newline at end of file |
|
498 | 510 | No newline at end of file |
|
499 | 511 | lsPatternsActive = Pattern.objects.filter(is_active=1) No newline at end of file |
|
500 | 512 | if len(lsPatternsActive) > 0: No newline at end of file |
|
501 | 513 | objPatternActive = Pattern.objects.get(is_active=1) No newline at end of file |
|
502 | 514 | objPatternActive.is_active = 0 No newline at end of file |
|
503 | 515 | objPatternActive.save() No newline at end of file |
|
504 | 516 | No newline at end of file |
|
505 | 517 | objProfile.hits += 1 No newline at end of file |
|
506 | 518 | objProfile.is_active = 1 No newline at end of file |
|
507 | 519 | objProfile.save() No newline at end of file |
|
508 | 520 | No newline at end of file |
|
509 | 521 | pattern_value = 1 No newline at end of file |
|
510 | 522 | patternChoosen = objProfile.pattern_set.get(value=pattern_value) No newline at end of file |
|
511 | 523 | patternChoosen.is_active = 1 No newline at end of file |
|
512 | 524 | patternChoosen.save() No newline at end of file |
|
513 | 525 | No newline at end of file |
|
514 | 526 | newurl = '/abscontrol/view/%d' % int(profile_id) No newline at end of file |
|
515 | 527 | No newline at end of file |
|
516 | 528 | return redirect(newurl) No newline at end of file |
|
517 | 529 | else: No newline at end of file |
|
518 | 530 | message = "Error sending file." No newline at end of file |
|
519 | 531 | No newline at end of file |
|
520 | 532 | profile_list = Profile.objects.all() No newline at end of file |
|
521 | 533 | No newline at end of file |
|
522 | 534 | return render_to_response('abscontrol/sendFile.html', {'message': message, "profile_list" : profile_list, No newline at end of file |
|
523 | 535 | 'objProfile': objProfile, No newline at end of file |
|
524 | 536 | }, context_instance=RequestContext(request)) No newline at end of file |
|
525 | 537 | No newline at end of file |
|
526 | 538 | def changePattern(request, profile_id, pattern_id): No newline at end of file |
|
527 | 539 | patternChoosen = Pattern.objects.get(id=pattern_id) No newline at end of file |
|
528 | 540 | beam = int(patternChoosen.value)-1 No newline at end of file |
|
529 | 541 | No newline at end of file |
|
530 | 542 | apiclient = changeBeam() No newline at end of file |
|
531 | 543 | apiclient.execute(str(beam)) No newline at end of file |
|
532 | 544 | output = apiclient.getOutput() No newline at end of file |
|
533 | 545 | No newline at end of file |
|
534 | 546 | if output == "OK": No newline at end of file |
|
535 | 547 | lsPatternsActive = Pattern.objects.filter(is_active=1) No newline at end of file |
|
536 | 548 | if len(lsPatternsActive) > 0: No newline at end of file |
|
537 | 549 | objPatternActive = Pattern.objects.get(is_active=1) No newline at end of file |
|
538 | 550 | objPatternActive.is_active = 0 No newline at end of file |
|
539 | 551 | objPatternActive.save() No newline at end of file |
|
540 | 552 | No newline at end of file |
|
541 | 553 | patternChoosen.hits += 1 No newline at end of file |
|
542 | 554 | patternChoosen.is_active = 1 No newline at end of file |
|
543 | 555 | patternChoosen.save() No newline at end of file |
|
544 | 556 | No newline at end of file |
|
545 | 557 | newurl = '/abscontrol/%d/view/%d/' % (int(profile_id), int(pattern_id)) No newline at end of file |
|
546 | 558 | return redirect(newurl) No newline at end of file |
|
547 | 559 | else: No newline at end of file |
|
548 | 560 | message = "Error sending file." No newline at end of file |
|
549 | 561 | profile_list = Profile.objects.all() No newline at end of file |
|
550 | 562 | return render_to_response('abscontrol/sendFile.html', {'message': message, "profile_list" : profile_list, No newline at end of file |
|
551 | 563 | }, context_instance=RequestContext(request)) No newline at end of file |
|
552 | 564 | No newline at end of file |
@@ -1,724 +1,746 | |||
|
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 { No newline at end of file |
|
10 | 10 | padding: 0; No newline at end of file |
|
11 | 11 | margin: 0; No newline at end of file |
|
12 | 12 | font-size: 12px; } No newline at end of file |
|
13 | 13 | No newline at end of file |
|
14 | 14 | header { No newline at end of file |
|
15 | 15 | width: 980px; No newline at end of file |
|
16 | 16 |
height: 50px; |
|
17 | 17 | text-align: center; No newline at end of file |
|
18 | 18 | line-height: 50px; No newline at end of file |
|
19 | 19 | border: 0px solid #fcc !important; } No newline at end of file |
|
20 | 20 | No newline at end of file |
|
21 | 21 | #schema { No newline at end of file |
|
22 | 22 | margin: 0 auto; No newline at end of file |
|
23 | 23 | width: 980px; No newline at end of file |
|
24 | 24 | padding: 10px 10px; No newline at end of file |
|
25 | 25 | border: 0px solid #f00 !important; } No newline at end of file |
|
26 | 26 | No newline at end of file |
|
27 | 27 | #content { No newline at end of file |
|
28 | 28 | margin: 2px 0px 0px 0px; No newline at end of file |
|
29 | 29 | border: 0px solid #1cc !important; } No newline at end of file |
|
30 | 30 | No newline at end of file |
|
31 | 31 | #topcolumn { No newline at end of file |
|
32 | 32 | float: left; No newline at end of file |
|
33 | 33 | width: 980px; No newline at end of file |
|
34 | 34 | height: 40px; No newline at end of file |
|
35 | 35 | line-height: 35px; No newline at end of file |
|
36 | 36 | margin: 2px 0px; No newline at end of file |
|
37 | 37 | border: 1px solid #ddd !important; No newline at end of file |
|
38 | 38 | box-shadow: 2px 2px 5px #888; } No newline at end of file |
|
39 | 39 | No newline at end of file |
|
40 | 40 | #activeProfileBar { No newline at end of file |
|
41 | 41 | float: left; No newline at end of file |
|
42 | 42 | width: 980px; No newline at end of file |
|
43 | 43 | margin: 0px 0px; No newline at end of file |
|
44 | 44 | height: 25px; No newline at end of file |
|
45 | 45 | border: 1px solid #ddd !important; No newline at end of file |
|
46 | 46 | box-shadow: 1px 1px 5px #ccc; } No newline at end of file |
|
47 | 47 | No newline at end of file |
|
48 | 48 | #maincolumn { No newline at end of file |
|
49 | 49 | float: left; No newline at end of file |
|
50 | 50 | width: 980px; No newline at end of file |
|
51 | 51 | margin: 2px 0px 0px 0px; No newline at end of file |
|
52 | 52 | padding: 2px 0px 6px 0px; No newline at end of file |
|
53 | 53 | border: 1px solid #ddd !important; No newline at end of file |
|
54 | 54 | box-shadow: 2px 2px 5px #666; } No newline at end of file |
|
55 | 55 | No newline at end of file |
|
56 | 56 | footer { No newline at end of file |
|
57 | 57 | height: 30px; No newline at end of file |
|
58 | 58 | line-height: 30px; No newline at end of file |
|
59 | 59 | text-align: center; No newline at end of file |
|
60 | 60 | margin: 0px 0px; No newline at end of file |
|
61 | 61 | border: 0px solid #200 !important; No newline at end of file |
|
62 | 62 | box-shadow: 2px 2px 5px #888; } No newline at end of file |
|
63 | 63 | No newline at end of file |
|
64 | 64 | .cleardivs { No newline at end of file |
|
65 | 65 | clear: both; No newline at end of file |
|
66 | 66 | border: 0px solid #400; No newline at end of file |
|
67 | 67 | height: 0px; } No newline at end of file |
|
68 | 68 | No newline at end of file |
|
69 | 69 | textarea { No newline at end of file |
|
70 | 70 | resize: none; No newline at end of file |
|
71 | 71 | overflow: hidden; } No newline at end of file |
|
72 | 72 | No newline at end of file |
|
73 | 73 | /****************************************************************************************/ No newline at end of file |
|
74 | 74 | /****** ESTILOS GENERALES *****************/ No newline at end of file |
|
75 | 75 | /****************************************************************************************/ No newline at end of file |
|
76 | 76 | a { No newline at end of file |
|
77 | 77 | font-family: 'Droid Sans', sans-serif; No newline at end of file |
|
78 | 78 | text-decoration: none; No newline at end of file |
|
79 | 79 | color: #1494F6; } No newline at end of file |
|
80 | 80 | No newline at end of file |
|
81 | 81 | .mnu { No newline at end of file |
|
82 | 82 | height: 22px; No newline at end of file |
|
83 | 83 | border: 0px solid #c55 !important; } No newline at end of file |
|
84 | 84 | No newline at end of file |
|
85 | 85 | .mnu li { No newline at end of file |
|
86 | 86 | display:inline; } No newline at end of file |
|
87 | 87 | No newline at end of file |
|
88 | 88 | .MnuVertical, .MnuHorizontal { No newline at end of file |
|
89 | 89 | font-family: 'Droid Sans', sans-serif; No newline at end of file |
|
90 | 90 | font-size: inherit; No newline at end of file |
|
91 | 91 | font-style: normal; No newline at end of file |
|
92 | 92 | text-shadow: 2px 2px #eee; } No newline at end of file |
|
93 | 93 | No newline at end of file |
|
94 | 94 | .MnuHorizontal ul { No newline at end of file |
|
95 | 95 | list-style: none; No newline at end of file |
|
96 | 96 | list-style-type: none; No newline at end of file |
|
97 | 97 | margin: 0; } No newline at end of file |
|
98 | 98 | No newline at end of file |
|
99 | 99 | /*.MnuHorizontal{ No newline at end of file |
|
100 | 100 | display: -webkit-box; No newline at end of file |
|
101 | 101 | -webkit-box-orient:horizontal; } No newline at end of file |
|
102 | 102 | No newline at end of file |
|
103 | 103 | .MnuHorizontal a{ No newline at end of file |
|
104 | 104 | display:block; No newline at end of file |
|
105 | 105 | padding:10px; No newline at end of file |
|
106 | 106 | -webkit-box-flex:1; No newline at end of file |
|
107 | 107 | text-align:center; }*/ No newline at end of file |
|
108 | 108 | No newline at end of file |
|
109 | 109 | .link-disabled { No newline at end of file |
|
110 | 110 | color: #666; No newline at end of file |
|
111 | 111 | text-decoration: None; No newline at end of file |
|
112 | 112 | cursor: default; } No newline at end of file |
|
113 | 113 | No newline at end of file |
|
114 | 114 | /****************************************************************************************/ No newline at end of file |
|
115 | 115 | /****** MENU DE NAVEGACION DE PERFILES *************/ No newline at end of file |
|
116 | 116 | /****************************************************************************************/ No newline at end of file |
|
117 | 117 | #infoProfiles { No newline at end of file |
|
118 | 118 | float: left; No newline at end of file |
|
119 | 119 | width: 300px; No newline at end of file |
|
120 | 120 | margin: 0px; No newline at end of file |
|
121 | 121 | padding: 2px 0px; No newline at end of file |
|
122 | 122 | border: 0px solid #1cc !important; } No newline at end of file |
|
123 | 123 | No newline at end of file |
|
124 | 124 | #infoProfiles label { No newline at end of file |
|
125 | 125 | padding: 10px 10px 10px 12px; No newline at end of file |
|
126 | 126 | margin: 10px 0; No newline at end of file |
|
127 | 127 | font-family: 'Droid Sans', sans-serif; No newline at end of file |
|
128 | 128 | /*font-family: 'Roboto Condensed', sans-serif;*/ No newline at end of file |
|
129 | 129 | /*letter-spacing: 0.046em;*/ } No newline at end of file |
|
130 | 130 | No newline at end of file |
|
131 | 131 | #infoProfiles select { No newline at end of file |
|
132 | 132 | padding: 4px 0px; margin: 0; No newline at end of file |
|
133 | 133 | font-family: 'Droid Sans', sans-serif; No newline at end of file |
|
134 | 134 | font-size: 12px; No newline at end of file |
|
135 | 135 | letter-spacing: 0.006em; No newline at end of file |
|
136 | 136 | width: 200px; } No newline at end of file |
|
137 | 137 | No newline at end of file |
|
138 | 138 | #mnuProfiles { No newline at end of file |
|
139 | 139 | margin: 0; No newline at end of file |
|
140 | 140 | float: right; No newline at end of file |
|
141 | 141 | padding: 2px 10px; No newline at end of file |
|
142 | 142 | border: 0px solid #1494F6 !important; } No newline at end of file |
|
143 | 143 | No newline at end of file |
|
144 | 144 | #mnuProfiles ul { No newline at end of file |
|
145 | 145 | list-style: none; No newline at end of file |
|
146 | 146 | list-style-type: none; No newline at end of file |
|
147 | 147 | margin: 0; No newline at end of file |
|
148 | 148 | padding-left: 20px; No newline at end of file |
|
149 | 149 | border: 0px solid #f00 !important; } No newline at end of file |
|
150 | 150 | No newline at end of file |
|
151 | 151 | #mnuProfiles li { No newline at end of file |
|
152 | 152 | width: 80px; No newline at end of file |
|
153 | 153 | float: left; No newline at end of file |
|
154 | 154 | padding: 2px; No newline at end of file |
|
155 | 155 | border: 0px solid #c55 !important; } No newline at end of file |
|
156 | 156 | No newline at end of file |
|
157 | 157 | #mnuProfiles a { No newline at end of file |
|
158 | 158 | font-weight: normal; No newline at end of file |
|
159 | 159 | color: #1494F6; No newline at end of file |
|
160 | 160 | display: block; No newline at end of file |
|
161 | 161 | text-align: center; No newline at end of file |
|
162 | 162 | border-bottom: 1px solid #1494F6 !important; No newline at end of file |
|
163 | 163 | text-decoration: none; No newline at end of file |
|
164 | 164 | padding: 0px 4px; No newline at end of file |
|
165 | 165 | line-height: 18px; No newline at end of file |
|
166 | 166 | margin: 6px; } No newline at end of file |
|
167 | 167 | No newline at end of file |
|
168 | 168 | /****************************************************************************************/ No newline at end of file |
|
169 | 169 | /****** BARRA DE PERFILES ACTIVOS *************/ No newline at end of file |
|
170 | 170 | /****************************************************************************************/ No newline at end of file |
|
171 | 171 | No newline at end of file |
|
172 | 172 | #activeProfileBar label, a{ No newline at end of file |
|
173 | 173 | line-height: 20px; No newline at end of file |
|
174 | 174 | float: left; No newline at end of file |
|
175 | 175 | letter-spacing: 0.01em; No newline at end of file |
|
176 | 176 | padding: 3px 12px; No newline at end of file |
|
177 | 177 | border: 0px solid #f00 !important; } No newline at end of file |
|
178 | 178 | No newline at end of file |
|
179 | 179 | .titleBar { No newline at end of file |
|
180 | 180 | color: #333; No newline at end of file |
|
181 | 181 | margin-left: 2px; No newline at end of file |
|
182 | 182 | text-align: right; } No newline at end of file |
|
183 | 183 | No newline at end of file |
|
184 | 184 | .ActiveProfile, .ActivePattern, .lnkActiveProfile { No newline at end of file |
|
185 | 185 | color: #001bf4; No newline at end of file |
|
186 | 186 | margin: 0px 2px; No newline at end of file |
|
187 | 187 | text-align: left; No newline at end of file |
|
188 | 188 | text-decoration: None; } No newline at end of file |
|
189 | 189 | No newline at end of file |
|
190 | 190 | .navbarsep{ No newline at end of file |
|
191 | 191 | float: left; } No newline at end of file |
|
192 | 192 | No newline at end of file |
|
193 | 193 | /****************************************************************************************/ No newline at end of file |
|
194 | 194 | /******** FORMULARIO DE PERFILES *************************************/ No newline at end of file |
|
195 | 195 | /****************************************************************************************/ No newline at end of file |
|
196 | 196 | #divProfile { No newline at end of file |
|
197 | 197 | margin: 10px 0px; No newline at end of file |
|
198 | 198 | padding: 10px 10px; No newline at end of file |
|
199 | 199 | width: 500px; No newline at end of file |
|
200 | 200 | border: 0px solid #dff !important; } No newline at end of file |
|
201 | 201 | No newline at end of file |
|
202 | 202 | #divProfile label,input[type=text],input[type=file] { No newline at end of file |
|
203 | 203 | font-family: 'Open Sans', sans-serif; No newline at end of file |
|
204 | 204 | font-size: inherit; } No newline at end of file |
|
205 | 205 | No newline at end of file |
|
206 | 206 | #divProfile label { No newline at end of file |
|
207 | 207 | float: left; No newline at end of file |
|
208 | 208 | text-align: right; No newline at end of file |
|
209 | 209 | width: 120px; No newline at end of file |
|
210 | 210 | padding: 3px 10px 3px 10px; No newline at end of file |
|
211 | 211 | line-height: 20px; No newline at end of file |
|
212 | 212 | border: 0px solid #d85 !important; No newline at end of file |
|
213 | 213 | } No newline at end of file |
|
214 | 214 | No newline at end of file |
|
215 | 215 | #divProfile input[type=text] { No newline at end of file |
|
216 | 216 | letter-spacing: 0.08em; No newline at end of file |
|
217 | 217 | padding: 2px 10px 2px 10px; No newline at end of file |
|
218 | 218 | width: 200px; No newline at end of file |
|
219 | 219 | } No newline at end of file |
|
220 | 220 | No newline at end of file |
|
221 | 221 | #divProfile input[type=text]:FOCUS { No newline at end of file |
|
222 | 222 | border: 1px solid #faa !important; No newline at end of file |
|
223 | 223 | border-radius: 0.26em; No newline at end of file |
|
224 | 224 | box-shadow: 2px 2px 5px #fbb; No newline at end of file |
|
225 | 225 | } No newline at end of file |
|
226 | 226 | No newline at end of file |
|
227 | 227 | .lblProfile { No newline at end of file |
|
228 | 228 | width: 200px; } No newline at end of file |
|
229 | 229 | No newline at end of file |
|
230 | 230 | #divPattern textarea,input[type=text],label,input[type=file],input[type=button],input[type=submit] { No newline at end of file |
|
231 | 231 | font-family: 'Roboto Condensed', sans-serif; No newline at end of file |
|
232 | 232 | font-size: inherit; } No newline at end of file |
|
233 | 233 | No newline at end of file |
|
234 | 234 | .antenna, .NewAntenna { No newline at end of file |
|
235 | 235 | box-shadow: 1px 1px 2px #666; No newline at end of file |
|
236 | 236 | padding: 5px; No newline at end of file |
|
237 | 237 | margin: 10px auto; No newline at end of file |
|
238 | 238 | display: block; No newline at end of file |
|
239 | 239 | border: 0px solid #fee !important; } No newline at end of file |
|
240 | 240 | No newline at end of file |
|
241 | 241 | .antenna { No newline at end of file |
|
242 | 242 | width: 520px; } No newline at end of file |
|
243 | 243 | No newline at end of file |
|
244 | 244 | .NewAntenna { No newline at end of file |
|
245 | 245 | width: 750px; No newline at end of file |
|
246 | 246 | border: 0px solid #f00 !important; } No newline at end of file |
|
247 | 247 | No newline at end of file |
|
248 | 248 | .flsAntenna, .NewFlsAntenna { No newline at end of file |
|
249 | 249 | margin: 0; No newline at end of file |
|
250 | 250 | padding: 0px; No newline at end of file |
|
251 | 251 | border: 1px solid #fee !important; } No newline at end of file |
|
252 | 252 | No newline at end of file |
|
253 | 253 | .flsAntenna { No newline at end of file |
|
254 | 254 | width: 510px; } No newline at end of file |
|
255 | 255 | No newline at end of file |
|
256 | 256 | .NewFlsAntenna { No newline at end of file |
|
257 | 257 | width: 100%; } No newline at end of file |
|
258 | 258 | No newline at end of file |
|
259 | 259 | .legendAntenna { No newline at end of file |
|
260 | 260 | font-family: 'Roboto Condensed', sans-serif; No newline at end of file |
|
261 | 261 | font-size: inherit; No newline at end of file |
|
262 | 262 | text-align: left; No newline at end of file |
|
263 | 263 | margin-left: 10px; } No newline at end of file |
|
264 | 264 | No newline at end of file |
|
265 | 265 | .infoAntenna { No newline at end of file |
|
266 | 266 | width: 500px; No newline at end of file |
|
267 | 267 | float: left; No newline at end of file |
|
268 | 268 | border: 0px solid #f00 !important; } No newline at end of file |
|
269 | 269 | No newline at end of file |
|
270 | 270 | .overJRO { No newline at end of file |
|
271 | 271 | width: 250px; No newline at end of file |
|
272 | 272 | float: left; No newline at end of file |
|
273 | 273 | margin: 0px 5px; No newline at end of file |
|
274 | 274 | border: 0px solid #1cc !important; } No newline at end of file |
|
275 | 275 | No newline at end of file |
|
276 | 276 | .divAntenna, .NewDivAntenna, .NewDivTx { No newline at end of file |
|
277 | 277 | float: left; No newline at end of file |
|
278 | 278 | margin: 10px; No newline at end of file |
|
279 | 279 | border: 0px solid #fcc !important; } No newline at end of file |
|
280 | 280 | No newline at end of file |
|
281 | 281 | .divAntenna { No newline at end of file |
|
282 | 282 | width: 220px; No newline at end of file |
|
283 | 283 | border: 0px solid #fcc !important; } No newline at end of file |
|
284 | 284 | No newline at end of file |
|
285 | 285 | .NewDivAntenna { No newline at end of file |
|
286 | 286 | border: 0px solid #fcc !important; } No newline at end of file |
|
287 | 287 | No newline at end of file |
|
288 | 288 | .NewDivTx { No newline at end of file |
|
289 | 289 | border: 0px solid #fcc !important; } No newline at end of file |
|
290 | 290 | No newline at end of file |
|
291 | 291 | .titleField { No newline at end of file |
|
292 | 292 | display: block; No newline at end of file |
|
293 | 293 | text-align: center; No newline at end of file |
|
294 | 294 | font-family: 'Roboto Condensed', sans-serif; No newline at end of file |
|
295 | 295 | letter-spacing: 0.086em; } No newline at end of file |
|
296 | 296 | No newline at end of file |
|
297 | 297 | .txtAntenna, .view-textAntenna { No newline at end of file |
|
298 | 298 | width: 175px; No newline at end of file |
|
299 | 299 | max-width: 180px; No newline at end of file |
|
300 | 300 | height: 160px; No newline at end of file |
|
301 | 301 | max-height: 165px; No newline at end of file |
|
302 | 302 | background: #fdfdfb; No newline at end of file |
|
303 | 303 | border: 2px solid #eee !important; No newline at end of file |
|
304 | 304 | text-align: justify; No newline at end of file |
|
305 | 305 | margin: 0 auto; No newline at end of file |
|
306 | 306 | line-height: 20px; } No newline at end of file |
|
307 | 307 | No newline at end of file |
|
308 | 308 | .txtAntenna { No newline at end of file |
|
309 | 309 | padding: 4px; No newline at end of file |
|
310 | 310 | } No newline at end of file |
|
311 | 311 | No newline at end of file |
|
312 | 312 | .view-textAntenna { No newline at end of file |
|
313 | 313 | padding: 2px; No newline at end of file |
|
314 | 314 | font-family: "Ubuntu"; No newline at end of file |
|
315 | 315 | font-size: inherit; } No newline at end of file |
|
316 | 316 | No newline at end of file |
|
317 | 317 | .boxAntenna, .boxTR { No newline at end of file |
|
318 | 318 | border: 2px solid #eee !important; No newline at end of file |
|
319 | 319 | text-align: center; No newline at end of file |
|
320 | 320 | display: block; No newline at end of file |
|
321 | 321 | float: left; No newline at end of file |
|
322 | 322 | margin: 0; No newline at end of file |
|
323 | 323 | padding: 0; } No newline at end of file |
|
324 | 324 | No newline at end of file |
|
325 | 325 | .boxAntenna { No newline at end of file |
|
326 | 326 | padding: 3px; } No newline at end of file |
|
327 | 327 | No newline at end of file |
|
328 | 328 | .boxTR { No newline at end of file |
|
329 | 329 | padding: 3px; } No newline at end of file |
|
330 | 330 | No newline at end of file |
|
331 | 331 | .fullLine{ No newline at end of file |
|
332 | 332 | font-size: 0.95em; } No newline at end of file |
|
333 | 333 | No newline at end of file |
|
334 | 334 | .lineInputs, .lineInputsTx { No newline at end of file |
|
335 | 335 | text-align: left; No newline at end of file |
|
336 | 336 | line-height: 1.4em; No newline at end of file |
|
337 | 337 | padding: 0; No newline at end of file |
|
338 | 338 | margin: 0px; No newline at end of file |
|
339 | 339 | display: block; No newline at end of file |
|
340 | 340 | float: left; No newline at end of file |
|
341 | 341 | border: 0px solid #1cc !important; } No newline at end of file |
|
342 | 342 | No newline at end of file |
|
343 | 343 | .lineInputs { No newline at end of file |
|
344 | 344 | /*width: 240px;*/ No newline at end of file |
|
345 | 345 | border: 0px solid #1cc !important; } No newline at end of file |
|
346 | 346 | No newline at end of file |
|
347 | 347 | .lineInputsTx { No newline at end of file |
|
348 | 348 | /*width: 185px;*/ No newline at end of file |
|
349 | 349 | border: 0px solid #1cc !important; } No newline at end of file |
|
350 | 350 | No newline at end of file |
|
351 | 351 | .divValuesAntenna, .divValuesTx { No newline at end of file |
|
352 | 352 | float: left; No newline at end of file |
|
353 | 353 | display: block; No newline at end of file |
|
354 | 354 | margin: 0 auto; No newline at end of file |
|
355 | 355 | border: 0px solid #bbb !important; } No newline at end of file |
|
356 | 356 | No newline at end of file |
|
357 | 357 | .divValuesAntenna { No newline at end of file |
|
358 | 358 | /*width: 230px;*/ No newline at end of file |
|
359 | 359 | border: 0px solid #2eb !important; } No newline at end of file |
|
360 | 360 | No newline at end of file |
|
361 | 361 | .divValuesTx { No newline at end of file |
|
362 | 362 | /*width: 175px;*/ No newline at end of file |
|
363 | 363 | border: 0px solid #bbb !important; } No newline at end of file |
|
364 | 364 | No newline at end of file |
|
365 | 365 | .divValuesAntenna input[type=text], .divValuesTx input[type=text] { No newline at end of file |
|
366 | 366 | border: 0px; No newline at end of file |
|
367 | 367 | border-bottom: 1px solid #666 !important; No newline at end of file |
|
368 | 368 | line-height: 1.1em; No newline at end of file |
|
369 | 369 | font-family: 'Roboto Condensed', sans-serif; } No newline at end of file |
|
370 | 370 | No newline at end of file |
|
371 | 371 | .divValuesAntenna input[type=text] { No newline at end of file |
|
372 | 372 | width: 18px; } No newline at end of file |
|
373 | 373 | No newline at end of file |
|
374 | 374 | .divValuesTx input[type=text]{ No newline at end of file |
|
375 | 375 | width: 11px; } No newline at end of file |
|
376 | 376 | No newline at end of file |
|
377 | 377 | .lblSign, .lblSignTx { No newline at end of file |
|
378 | 378 | font-family: 'Roboto Condensed', sans-serif; No newline at end of file |
|
379 | 379 | color: #666; No newline at end of file |
|
380 | 380 | float: left; No newline at end of file |
|
381 | 381 | margin: 0px; No newline at end of file |
|
382 | 382 | border: 0px solid #bbb !important; } No newline at end of file |
|
383 | 383 | No newline at end of file |
|
384 | 384 | .lblSignLeft { No newline at end of file |
|
385 | 385 | font-family: 'Roboto Condensed', sans-serif; No newline at end of file |
|
386 | 386 | color: #666; No newline at end of file |
|
387 | 387 | float: left; No newline at end of file |
|
388 | 388 | margin: 0px 2px 0px 0px; No newline at end of file |
|
389 | 389 | padding: 0; No newline at end of file |
|
390 | 390 | border: 0px solid #f00 !important; } No newline at end of file |
|
391 | 391 | No newline at end of file |
|
392 | 392 | .lblSignRight { No newline at end of file |
|
393 | 393 | font-family: 'Roboto Condensed', sans-serif; No newline at end of file |
|
394 | 394 | color: #666; No newline at end of file |
|
395 | 395 | float: left; No newline at end of file |
|
396 | 396 | margin: 0; No newline at end of file |
|
397 | 397 | padding: 0; No newline at end of file |
|
398 | 398 | border: 0px solid #f00 !important; } No newline at end of file |
|
399 | 399 | No newline at end of file |
|
400 | 400 | .lblNewSignLeft, .lblNewSignRight { No newline at end of file |
|
401 | 401 | font-family: 'Roboto Condensed', sans-serif; No newline at end of file |
|
402 | 402 | color: #666; No newline at end of file |
|
403 | 403 | float: left; No newline at end of file |
|
404 | 404 | padding: 0; } No newline at end of file |
|
405 | 405 | No newline at end of file |
|
406 | 406 | .lblNewSignLeft { No newline at end of file |
|
407 | 407 | margin: 0px 2px 0px 0px; No newline at end of file |
|
408 | 408 | border: 0px solid #f00 !important; } No newline at end of file |
|
409 | 409 | No newline at end of file |
|
410 | 410 | .lblNewSignRight { No newline at end of file |
|
411 | 411 | margin: 0; No newline at end of file |
|
412 | 412 | border: 0px solid #f00 !important; } No newline at end of file |
|
413 | 413 | No newline at end of file |
|
414 | 414 | .divTx { No newline at end of file |
|
415 | 415 | display: block; No newline at end of file |
|
416 | 416 | float: left; No newline at end of file |
|
417 | 417 | margin: 10px; No newline at end of file |
|
418 | 418 | border: 0px solid #f00 !important; } No newline at end of file |
|
419 | 419 | No newline at end of file |
|
420 | 420 | .divTx label { No newline at end of file |
|
421 | 421 | display: block; } No newline at end of file |
|
422 | 422 | No newline at end of file |
|
423 | 423 | .divTx textarea { No newline at end of file |
|
424 | 424 | width: 100px; No newline at end of file |
|
425 | 425 | max-width: 100px; No newline at end of file |
|
426 | 426 | height: 160px; No newline at end of file |
|
427 | 427 | max-height: 165px; No newline at end of file |
|
428 | 428 | text-align: justify; No newline at end of file |
|
429 | 429 | border: 2px solid #eee !important; No newline at end of file |
|
430 | 430 | font-family: "Ubuntu"; No newline at end of file |
|
431 | 431 | font-size: inherit; No newline at end of file |
|
432 | 432 | line-height: 20px; } No newline at end of file |
|
433 | 433 | No newline at end of file |
|
434 | 434 | .divTx p { No newline at end of file |
|
435 | 435 | width: 100px; No newline at end of file |
|
436 | 436 | max-width: 105px; No newline at end of file |
|
437 | 437 | height: 160px; No newline at end of file |
|
438 | 438 | max-height: 165px; No newline at end of file |
|
439 | 439 | background: #fdfdfb; No newline at end of file |
|
440 | 440 | padding: 2px; No newline at end of file |
|
441 | 441 | border: 1px solid #eee !important; No newline at end of file |
|
442 | 442 | font-family: 'Ubuntu', sans-serif; No newline at end of file |
|
443 | 443 | font-size: inherit; No newline at end of file |
|
444 | 444 | text-align: justify; No newline at end of file |
|
445 | 445 | margin: 0 auto; No newline at end of file |
|
446 | 446 | line-height: 20px; } No newline at end of file |
|
447 | 447 | No newline at end of file |
|
448 | 448 | .divUes { No newline at end of file |
|
449 | 449 | display: block; No newline at end of file |
|
450 | 450 | margin: 10px; } No newline at end of file |
|
451 | 451 | No newline at end of file |
|
452 | 452 | .divUes input[type=text] { No newline at end of file |
|
453 | 453 | width: 240px; No newline at end of file |
|
454 | 454 | max-width: 240px; No newline at end of file |
|
455 | 455 | font-family: 'Ubuntu', sans-serif; No newline at end of file |
|
456 | 456 | font-size: inherit; } No newline at end of file |
|
457 | 457 | No newline at end of file |
|
458 | 458 | .divNewUes { No newline at end of file |
|
459 | 459 | width: 350px; No newline at end of file |
|
460 | 460 | display: block; No newline at end of file |
|
461 | 461 | margin: 0px 10px; No newline at end of file |
|
462 | 462 | padding: 0; No newline at end of file |
|
463 | 463 | font-family: 'Roboto Condensed', sans-serif; No newline at end of file |
|
464 | 464 | /*overflow: hidden;*/ No newline at end of file |
|
465 | 465 | border: 0px solid #f00 !important; } No newline at end of file |
|
466 | 466 | No newline at end of file |
|
467 | 467 | .titleUes { No newline at end of file |
|
468 | 468 | width: 35px; No newline at end of file |
|
469 | 469 | text-align: right; No newline at end of file |
|
470 | 470 | padding-right: 5px; No newline at end of file |
|
471 | 471 | float: left; No newline at end of file |
|
472 | 472 | line-height: 22px; No newline at end of file |
|
473 | 473 | font-family: 'Roboto Condensed', sans-serif; No newline at end of file |
|
474 | 474 | letter-spacing: 0.086em; No newline at end of file |
|
475 | 475 | border: 0px solid #266 !important; } No newline at end of file |
|
476 | 476 | No newline at end of file |
|
477 | 477 | .valueUes { No newline at end of file |
|
478 | 478 | width: 300px; No newline at end of file |
|
479 | 479 | float: left; No newline at end of file |
|
480 | 480 | border: 0px solid #2f4 !important; No newline at end of file |
|
481 | 481 | line-height: 22px; } No newline at end of file |
|
482 | 482 | No newline at end of file |
|
483 | 483 | .lblUes { No newline at end of file |
|
484 | 484 | font-family: 'Roboto Condensed', sans-serif; No newline at end of file |
|
485 | 485 | color: #666; No newline at end of file |
|
486 | 486 | font-size: 1.1em; } No newline at end of file |
|
487 | 487 | No newline at end of file |
|
488 | 488 | .txtUnitUes { No newline at end of file |
|
489 | 489 | width: 60px; No newline at end of file |
|
490 | 490 | border: 0; No newline at end of file |
|
491 | 491 | padding: 0px 2px; No newline at end of file |
|
492 | 492 | text-align: center; No newline at end of file |
|
493 | 493 | font-family: 'Roboto Condensed', sans-serif; No newline at end of file |
|
494 | 494 | font-size: 0.95em; No newline at end of file |
|
495 | 495 | border-bottom: 1px solid #666 !important; } No newline at end of file |
|
496 | 496 | /* No newline at end of file |
|
497 | 497 | .divNewUes input[type=text] { No newline at end of file |
|
498 | 498 | width: 240px; No newline at end of file |
|
499 | 499 | max-width: 240px; No newline at end of file |
|
500 | 500 | line-height: 22px; } No newline at end of file |
|
501 | 501 | */ No newline at end of file |
|
502 | ||
|
No newline at end of file | ||
|
503 | .checkOnly, .divOnlyRx { | |
|
No newline at end of file | ||
|
504 | display: block; | |
|
No newline at end of file | ||
|
505 | line-height: 25px; | |
|
No newline at end of file | ||
|
506 | border: 0px solid #f00 !important; } | |
|
No newline at end of file | ||
|
507 | ||
|
No newline at end of file | ||
|
508 | .divOnlyRx { | |
|
No newline at end of file | ||
|
509 | width: 350px; | |
|
No newline at end of file | ||
|
510 | margin: 5px 10px; | |
|
No newline at end of file | ||
|
511 | padding: 0; | |
|
No newline at end of file | ||
|
512 | font-family: 'Roboto Condensed', sans-serif; } | |
|
No newline at end of file | ||
|
513 | No newline at end of file | |
|
502 | 514 | .checkOnly { No newline at end of file |
|
503 | 515 | width: 120px; |
|
516 | No newline at end of file | |
|
504 | float: left; | |
|
No newline at end of file | ||
|
517 | No newline at end of file | |
|
505 | display: block; | |
|
No newline at end of file | ||
|
518 | No newline at end of file | |
|
506 | line-height: 25px; | |
|
No newline at end of file | ||
|
519 | No newline at end of file | |
|
507 | border: 0px solid #1cc !important; } No newline at end of file | |
|
No newline at end of file | ||
|
520 | height: 1em; } | |
|
No newline at end of file | ||
|
521 | ||
|
No newline at end of file | ||
|
522 | .divOnlyRx input { | |
|
No newline at end of file | ||
|
523 | padding: 0px; | |
|
No newline at end of file | ||
|
524 | float: left; | |
|
No newline at end of file | ||
|
525 | margin: 5px 8px; } | |
|
No newline at end of file | ||
|
526 | ||
|
No newline at end of file | ||
|
527 | .divOnlyRx label { | |
|
No newline at end of file | ||
|
528 | line-height: 20px; | |
|
No newline at end of file | ||
|
529 | border: 0px solid #f00 !important; } No newline at end of file | |
|
508 | 530 | No newline at end of file |
|
509 | 531 | .overJRO img { No newline at end of file |
|
510 | 532 | width: 400px; No newline at end of file |
|
511 | 533 | height: 270px; No newline at end of file |
|
512 | 534 | text-align: center; No newline at end of file |
|
513 | 535 | vertical-align: middle; No newline at end of file |
|
514 | 536 | margin: 10px 5px 5px 5px; No newline at end of file |
|
515 | 537 | display: block; No newline at end of file |
|
516 | 538 | background: #fdfdfb; No newline at end of file |
|
517 | 539 | border: 1px solid #eee !important; } No newline at end of file |
|
518 | 540 | No newline at end of file |
|
519 | 541 | .overJRO a { No newline at end of file |
|
520 | 542 | text-align: center; No newline at end of file |
|
521 | 543 | margin-left: 160px; No newline at end of file |
|
522 | 544 | display: block; } No newline at end of file |
|
523 | 545 | No newline at end of file |
|
524 | 546 | .activeOverJRO { No newline at end of file |
|
525 | 547 | width: 60px; No newline at end of file |
|
526 | 548 | padding: 0px 2px; No newline at end of file |
|
527 | 549 | border-bottom: 1px solid #1494F6 !important; } No newline at end of file |
|
528 | 550 | No newline at end of file |
|
529 | 551 | /****************************************************************************************/ No newline at end of file |
|
530 | 552 | /****** MENU DE NAVEGACION DE PATRONES **********************************/ No newline at end of file |
|
531 | 553 | /****************************************************************************************/ No newline at end of file |
|
532 | 554 | #divMnuPattern { No newline at end of file |
|
533 | 555 | width: 280px; No newline at end of file |
|
534 | 556 | height: 25px; No newline at end of file |
|
535 | 557 | display: block; No newline at end of file |
|
536 | 558 | float: right; No newline at end of file |
|
537 | 559 | margin: 5px 40px 5px 0px; No newline at end of file |
|
538 | 560 | border: 0px solid #1cc !important; } No newline at end of file |
|
539 | 561 | No newline at end of file |
|
540 | 562 | #divMnuPattern li { No newline at end of file |
|
541 | 563 | float: right; No newline at end of file |
|
542 | 564 | display: block; No newline at end of file |
|
543 | 565 | width: 60px; No newline at end of file |
|
544 | 566 | border: 0px solid #2cc !important; } No newline at end of file |
|
545 | 567 | No newline at end of file |
|
546 | 568 | #divMnuPattern a { No newline at end of file |
|
547 | 569 | display: block; No newline at end of file |
|
548 | 570 | line-height: 22px; No newline at end of file |
|
549 | 571 | text-decoration: none; No newline at end of file |
|
550 | 572 | padding: 0px 5px; No newline at end of file |
|
551 | 573 | margin: 0px 2px; No newline at end of file |
|
552 | 574 | text-align: center; No newline at end of file |
|
553 | 575 | color: #1494F6; No newline at end of file |
|
554 | 576 | border-bottom: 1px solid #1494F6 !important; } No newline at end of file |
|
555 | 577 | No newline at end of file |
|
556 | 578 | #infoPattern { No newline at end of file |
|
557 | 579 | display: block; No newline at end of file |
|
558 | 580 | margin: 0px 25px; No newline at end of file |
|
559 | 581 | border: 0px solid #1494f6 !important; } No newline at end of file |
|
560 | 582 | No newline at end of file |
|
561 | 583 | #navPatterns { No newline at end of file |
|
562 | 584 | margin: 0 auto; No newline at end of file |
|
563 | 585 | width: 700px; No newline at end of file |
|
564 | 586 | height: 30px; No newline at end of file |
|
565 | 587 | border: 0px solid #d00 !important; No newline at end of file |
|
566 | 588 | font-family: 'Ubuntu', sans-serif; No newline at end of file |
|
567 | 589 | font-size: 14px; No newline at end of file |
|
568 | 590 | padding: 5px 0px; } No newline at end of file |
|
569 | 591 | No newline at end of file |
|
570 | 592 | #navPatternList { No newline at end of file |
|
571 | 593 | margin: 0 auto; No newline at end of file |
|
572 | 594 | border: 0px solid #ecc !important; } No newline at end of file |
|
573 | 595 | No newline at end of file |
|
574 | 596 | #navPatternList ul { No newline at end of file |
|
575 | 597 | list-style: none; No newline at end of file |
|
576 | 598 | list-style-type: none; No newline at end of file |
|
577 | 599 | margin: 0; } No newline at end of file |
|
578 | 600 | No newline at end of file |
|
579 | 601 | #navPatternList ul li { No newline at end of file |
|
580 | 602 | float: left; No newline at end of file |
|
581 | 603 | width: 50px; No newline at end of file |
|
582 | 604 | border: 1px solid #eee !important; } No newline at end of file |
|
583 | 605 | No newline at end of file |
|
584 | 606 | #navPatternList a { No newline at end of file |
|
585 | 607 | width: 50px; No newline at end of file |
|
586 | 608 | display: block; No newline at end of file |
|
587 | 609 | text-align: center; No newline at end of file |
|
588 | 610 | line-height: 30px; No newline at end of file |
|
589 | 611 | padding: 1px 0px; No newline at end of file |
|
590 | 612 | border: 0px solid #1cc !important; } No newline at end of file |
|
591 | 613 | No newline at end of file |
|
592 | 614 | .lnkPattern { No newline at end of file |
|
593 | 615 | background-color: #ccc !important; No newline at end of file |
|
594 | 616 | color: #eee; } No newline at end of file |
|
595 | 617 | No newline at end of file |
|
596 | 618 | .lnkPatternSelected { No newline at end of file |
|
597 | 619 | background-color: #2cc !important; No newline at end of file |
|
598 | 620 | color: #fff; } No newline at end of file |
|
599 | 621 | No newline at end of file |
|
600 | 622 | .lnkPatternActive { No newline at end of file |
|
601 | 623 | color: #f66; No newline at end of file |
|
602 | 624 | } No newline at end of file |
|
603 | 625 | No newline at end of file |
|
604 | 626 | .divListofPatterns { No newline at end of file |
|
605 | 627 | width: 650px; No newline at end of file |
|
606 | 628 | display: block; No newline at end of file |
|
607 | 629 | border: 1px solid #1cc !important; No newline at end of file |
|
608 | 630 | margin: 0 auto; } No newline at end of file |
|
609 | 631 | No newline at end of file |
|
610 | 632 | .divPattern { No newline at end of file |
|
611 | 633 | width: 600px; No newline at end of file |
|
612 | 634 | display: block; No newline at end of file |
|
613 | 635 | border: 1px solid #f00 !important; No newline at end of file |
|
614 | 636 | margin: 2px auto; } No newline at end of file |
|
615 | 637 | No newline at end of file |
|
616 | 638 | /****************************************************************************************/ No newline at end of file |
|
617 | 639 | /****** HEADER *************/ No newline at end of file |
|
618 | 640 | /****************************************************************************************/ No newline at end of file |
|
619 | 641 | header nav { No newline at end of file |
|
620 | 642 | width: 960px; No newline at end of file |
|
621 | 643 | margin: 0 auto; No newline at end of file |
|
622 | 644 | height: 100%; No newline at end of file |
|
623 | 645 | border: 0px solid #1cc !important; } No newline at end of file |
|
624 | 646 | No newline at end of file |
|
625 | 647 | header nav a { No newline at end of file |
|
626 | 648 | font-family: 'Roboto Condensed', sans-serif; No newline at end of file |
|
627 | 649 | font-size: 1.98em; No newline at end of file |
|
628 | 650 | text-transform: uppercase; No newline at end of file |
|
629 | 651 | width: 232px; No newline at end of file |
|
630 | 652 | padding: 2px; No newline at end of file |
|
631 | 653 | text-align: center; No newline at end of file |
|
632 | 654 | border: 1px solid #ddd !important; No newline at end of file |
|
633 | 655 | box-shadow: 1px 1px 2px #ddd; No newline at end of file |
|
634 | 656 | display: block; No newline at end of file |
|
635 | 657 | float: left; No newline at end of file |
|
636 | 658 | height: 45px; No newline at end of file |
|
637 | 659 | text-decoration: none; No newline at end of file |
|
638 | 660 | background: #eee; No newline at end of file |
|
639 | 661 | line-height: 45px; No newline at end of file |
|
640 | 662 | color: #15425d; No newline at end of file |
|
641 | 663 | margin: 0px 1px; } No newline at end of file |
|
642 | 664 | No newline at end of file |
|
643 | 665 | header nav a.selected { No newline at end of file |
|
644 | 666 | background: #666; No newline at end of file |
|
645 | 667 | color: #fff; } No newline at end of file |
|
646 | 668 | No newline at end of file |
|
647 | 669 | #Main_Head { No newline at end of file |
|
648 | 670 | margin: 0 auto; No newline at end of file |
|
649 | 671 | height: 100%; No newline at end of file |
|
650 | 672 | border: 1px solid #ddd !important; No newline at end of file |
|
651 | 673 | box-shadow: 1px 1px 2px #ddd; No newline at end of file |
|
652 | 674 | border-radius: 5px; No newline at end of file |
|
653 | 675 | display: block; } No newline at end of file |
|
654 | 676 | No newline at end of file |
|
655 | 677 | .Main_Title { No newline at end of file |
|
656 | 678 | font-size: 2em; No newline at end of file |
|
657 | 679 | letter-spacing: 0.06em; No newline at end of file |
|
658 | 680 | color: #444; No newline at end of file |
|
659 | 681 | text-shadow: 2px 2px #ccc; } No newline at end of file |
|
660 | 682 | No newline at end of file |
|
661 | 683 | /****************************************************************************************/ No newline at end of file |
|
662 | 684 | /****** FOOTER *************/ No newline at end of file |
|
663 | 685 | /****************************************************************************************/ No newline at end of file |
|
664 | 686 | footer p { No newline at end of file |
|
665 | 687 | font-family: 'Roboto Condensed', sans-serif; No newline at end of file |
|
666 | 688 | font-size: 0.98em; } No newline at end of file |
|
667 | 689 | No newline at end of file |
|
668 | 690 | /****************************************************************************************/ No newline at end of file |
|
669 | 691 | /****** LOGIN *************/ No newline at end of file |
|
670 | 692 | /****************************************************************************************/ No newline at end of file |
|
671 | 693 | #contentLogin { No newline at end of file |
|
672 | 694 | margin: 0; No newline at end of file |
|
673 | 695 | padding: 0; No newline at end of file |
|
674 | 696 | border: 0px solid #1cc; } No newline at end of file |
|
675 | 697 | No newline at end of file |
|
676 | 698 | #MainColumnLogin { No newline at end of file |
|
677 | 699 | margin: 2px auto; No newline at end of file |
|
678 | 700 | border: 0px solid #f00 !important; No newline at end of file |
|
679 | 701 | box-shadow: 1px 1px 2px #ddd; No newline at end of file |
|
680 | 702 | border-radius: 2px; No newline at end of file |
|
681 | 703 | background-color: #eee; No newline at end of file |
|
682 | 704 | width: 100%; No newline at end of file |
|
683 | 705 | padding: 5px 0px; No newline at end of file |
|
684 | 706 | } No newline at end of file |
|
685 | 707 | No newline at end of file |
|
686 | 708 | .row_reg { No newline at end of file |
|
687 | 709 | margin: 5px auto; No newline at end of file |
|
688 | 710 | display: block; No newline at end of file |
|
689 | 711 | width: 90%; No newline at end of file |
|
690 | 712 | border: 0px solid #1cc !important; No newline at end of file |
|
691 | 713 | line-height: 22px; No newline at end of file |
|
692 | 714 | } No newline at end of file |
|
693 | 715 | No newline at end of file |
|
694 | 716 | .row_reg label, .row_reg input[type=text] { No newline at end of file |
|
695 | 717 | float: left; No newline at end of file |
|
696 | 718 | line-height: 22px; No newline at end of file |
|
697 | 719 | } No newline at end of file |
|
698 | 720 | No newline at end of file |
|
699 | 721 | #id_username, #id_password { No newline at end of file |
|
700 | 722 | width: 160px; No newline at end of file |
|
701 | 723 | line-height: 22px; No newline at end of file |
|
702 | 724 | } No newline at end of file |
|
703 | 725 | No newline at end of file |
|
704 | 726 | .row_reg label { No newline at end of file |
|
705 | 727 | width: 400px; No newline at end of file |
|
706 | 728 | text-align: right; No newline at end of file |
|
707 | 729 | padding-right: 10px; No newline at end of file |
|
708 | 730 | border: 0px solid #d22 !important; No newline at end of file |
|
709 | 731 | } No newline at end of file |
|
710 | 732 | No newline at end of file |
|
711 | 733 | .row_reg input[type=submit], .row_reg input[type=button] { No newline at end of file |
|
712 | 734 | margin-left: 410px; No newline at end of file |
|
713 | 735 | width: 80px; No newline at end of file |
|
714 | 736 | } No newline at end of file |
|
715 | 737 | No newline at end of file |
|
716 | 738 | #lblTitleLogin { No newline at end of file |
|
717 | 739 | width: 100%; No newline at end of file |
|
718 | 740 | text-align: center; No newline at end of file |
|
719 | 741 | font-size: 1.2em; No newline at end of file |
|
720 | 742 | font-weight: normal; No newline at end of file |
|
721 | 743 | color: #222; No newline at end of file |
|
722 | 744 | border: 0px solid #f00 !important; No newline at end of file |
|
723 | 745 | background-color: #ccc; No newline at end of file |
|
724 | 746 | } No newline at end of file |
@@ -1,254 +1,264 | |||
|
1 | 1 | {% extends "abscontrol/edit.html" %} No newline at end of file |
|
2 | 2 | No newline at end of file |
|
3 | 3 | {% block mnuPattern %} No newline at end of file |
|
4 | 4 | <div class="divMenu" id="divMnuPattern"> No newline at end of file |
|
5 | 5 | <nav class="MnuHorizontal"> No newline at end of file |
|
6 | 6 | <ul class="mnu" id="mnuPattern"> No newline at end of file |
|
7 | 7 | <li><a href="#" id="lnkCancel">Delete</a></li> No newline at end of file |
|
8 | 8 | <li><a href="#" id="lnkSavePattern">Save</a></li> No newline at end of file |
|
9 | 9 | {% if lsPatterns|length < 10 %} No newline at end of file |
|
10 | 10 | <li><a href="#" id="lnkAdd">Add</a></li> No newline at end of file |
|
11 | 11 | {% endif %} No newline at end of file |
|
12 | 12 | </ul> No newline at end of file |
|
13 | 13 | </nav> No newline at end of file |
|
14 | 14 | </div> No newline at end of file |
|
15 | 15 | <div class="cleardivs"></div> No newline at end of file |
|
16 | 16 | {% endblock %} No newline at end of file |
|
17 | 17 | {% block pattern %} No newline at end of file |
|
18 | 18 | <div id="divPattern"> No newline at end of file |
|
19 | 19 | <form action="{% url abscontrol.views.savePattern objProfile.id %}" id="frmPattern" method="post"> No newline at end of file |
|
20 | 20 | {% csrf_token %} No newline at end of file |
|
21 | 21 | <div id="antennaUp" class="NewAntenna"> No newline at end of file |
|
22 | 22 | <fieldset class="NewFlsAntenna"> No newline at end of file |
|
23 | 23 | <legend class="legendAntenna">UP</legend> No newline at end of file |
|
24 | 24 | <div class="NewDivAntenna"> No newline at end of file |
|
25 | 25 | <label for="lblAntenna" class="titleField">Antenna</label> No newline at end of file |
|
26 | 26 | <div class="boxAntenna" id="divtxtAntenna"> No newline at end of file |
|
27 | 27 | {% for lines in arrayAntennaUp %} No newline at end of file |
|
28 | 28 | <div class="fullLine"> No newline at end of file |
|
29 | 29 | {% if forloop.first %} No newline at end of file |
|
30 | 30 | <label for="lblSignLeft" class="lblSignLeft">[</label> No newline at end of file |
|
31 | 31 | {% else %} No newline at end of file |
|
32 | 32 | <label for="lblSignLeft" class="lblSignLeft"> </label> No newline at end of file |
|
33 | 33 | {% endif %} No newline at end of file |
|
34 | 34 | <div class="lineInputs"> No newline at end of file |
|
35 | 35 | <label for="lblSign" class="lblSign">[</label> No newline at end of file |
|
36 | 36 | <div class="divValuesAntenna"> No newline at end of file |
|
37 | 37 | {% for line in lines %} No newline at end of file |
|
38 | 38 | <input type="text" name="txtUnitAntennaUp" class="txtUnitAntenna" id="txtUnitAntennaUp_{{ forloop.parentloop.counter0 }}_{{ forloop.counter0 }}" value="{{line}}" maxlength="3" /> No newline at end of file |
|
39 | 39 | {% if not forloop.last %},{% endif %} No newline at end of file |
|
40 | 40 | {% endfor %} No newline at end of file |
|
41 | 41 | </div> No newline at end of file |
|
42 | 42 | <label for="lblSign" class="lblSign">]</label> No newline at end of file |
|
43 | 43 | </div> No newline at end of file |
|
44 | 44 | {% if forloop.last %} No newline at end of file |
|
45 | 45 | <label for="lblSignRight" class="lblSignRight">]</label> No newline at end of file |
|
46 | 46 | {% else %} No newline at end of file |
|
47 | 47 | <label for="lblSignRight" class="lblSignRight">,</label> No newline at end of file |
|
48 | 48 | {% endif %} No newline at end of file |
|
49 | 49 | </div> No newline at end of file |
|
50 | 50 | <div class="cleardivs"></div> No newline at end of file |
|
51 | 51 | {% endfor %} No newline at end of file |
|
52 | 52 | </div> No newline at end of file |
|
53 | 53 | </div> No newline at end of file |
|
54 | 54 | <div class="NewDivTx"> No newline at end of file |
|
55 | 55 | <label for="lblTx" class="titleField">Tx</label> No newline at end of file |
|
56 | 56 | <div class="boxTR" id="divtxtTR"> No newline at end of file |
|
57 | 57 | {% for lines in arrayTxUp %} No newline at end of file |
|
58 | 58 | <div class="fullLine"> No newline at end of file |
|
59 | 59 | {% if forloop.first %} No newline at end of file |
|
60 | 60 | <label for="lblNewSignLeft" class="lblNewSignLeft">[</label> No newline at end of file |
|
61 | 61 | {% else %} No newline at end of file |
|
62 | 62 | <label for="lblNewSignLeft" class="lblNewSignLeft"> </label> No newline at end of file |
|
63 | 63 | {% endif %} No newline at end of file |
|
64 | 64 | <div class="lineInputsTx"> No newline at end of file |
|
65 | 65 | <label for="lblSign" class="lblSignTx">[</label> No newline at end of file |
|
66 | 66 | <div class="divValuesTx"> No newline at end of file |
|
67 | 67 | {% for line in lines %} No newline at end of file |
|
68 | 68 | <input type="text" name="txtUnitTxUp" class="txtUnitTx" id="txtUnitTxUp_{{ forloop.parentloop.counter0 }}_{{ forloop.counter0 }}" value="{{ line }}" maxlength="1" /> No newline at end of file |
|
69 | 69 | {% if not forloop.last %},{% endif %} No newline at end of file |
|
70 | 70 | {% endfor %} No newline at end of file |
|
71 | 71 | </div> No newline at end of file |
|
72 | 72 | <label for="lblSign" class="lblSignTx">]</label> No newline at end of file |
|
73 | 73 | </div> No newline at end of file |
|
74 | 74 | {% if forloop.last %} No newline at end of file |
|
75 | 75 | <label for="lblNewSignRight" class="lblNewSignRight">]</label> No newline at end of file |
|
76 | 76 | {% else %} No newline at end of file |
|
77 | 77 | <label for="lblNewSignRight" class="lblNewSignRight">,</label> No newline at end of file |
|
78 | 78 | {% endif %} No newline at end of file |
|
79 | 79 | </div> No newline at end of file |
|
80 | 80 | <div class="cleardivs"></div> No newline at end of file |
|
81 | 81 | {% endfor %} No newline at end of file |
|
82 | 82 | </div> No newline at end of file |
|
83 | 83 | <div class="cleardivs"></div> No newline at end of file |
|
84 | 84 | </div> No newline at end of file |
|
85 | 85 | <div class="NewDivTx"> No newline at end of file |
|
86 | 86 | <label for="lblRx" class="titleField">Rx</label> No newline at end of file |
|
87 | 87 | <div class="boxTR" id="divtxtTR"> No newline at end of file |
|
88 | 88 | {% for lines in arrayRxUp %} No newline at end of file |
|
89 | 89 | <div class="fullLine"> No newline at end of file |
|
90 | 90 | {% if forloop.first %} No newline at end of file |
|
91 | 91 | <label for="lblNewSignLeft" class="lblNewSignLeft">[</label> No newline at end of file |
|
92 | 92 | {% else %} No newline at end of file |
|
93 | 93 | <label for="lblNewSignLeft" class="lblNewSignLeft"> </label> No newline at end of file |
|
94 | 94 | {% endif %} No newline at end of file |
|
95 | 95 | <div class="lineInputsTx"> No newline at end of file |
|
96 | 96 | <label for="lblSign" class="lblSignTx">[</label> No newline at end of file |
|
97 | 97 | <div class="divValuesTx"> No newline at end of file |
|
98 | 98 | {% for line in lines %} No newline at end of file |
|
99 | 99 | <input type="text" name="txtUnitRxUp" class="txtUnitRx" id="txtUnitRxUp_{{ forloop.parentloop.counter0 }}_{{ forloop.counter0 }}" value="{{ line }}" maxlength="1" /> No newline at end of file |
|
100 | 100 | {% if not forloop.last %},{% endif %} No newline at end of file |
|
101 | 101 | {% endfor %} No newline at end of file |
|
102 | 102 | </div> No newline at end of file |
|
103 | 103 | <label for="lblSign" class="lblSignTx">]</label> No newline at end of file |
|
104 | 104 | </div> No newline at end of file |
|
105 | 105 | {% if forloop.last %} No newline at end of file |
|
106 | 106 | <label for="lblNewSignRight" class="lblNewSignRight">]</label> No newline at end of file |
|
107 | 107 | {% else %} No newline at end of file |
|
108 | 108 | <label for="lblNewSignRight" class="lblNewSignRight">,</label> No newline at end of file |
|
109 | 109 | {% endif %} No newline at end of file |
|
110 | 110 | </div> No newline at end of file |
|
111 | 111 | <div class="cleardivs"></div> No newline at end of file |
|
112 | 112 | {% endfor %} No newline at end of file |
|
113 | 113 | </div> No newline at end of file |
|
114 | 114 | <div class="cleardivs"></div> No newline at end of file |
|
115 | 115 | </div> No newline at end of file |
|
116 | 116 | <div class="cleardivs"></div> No newline at end of file |
|
117 | 117 | <div class="divNewUes"> No newline at end of file |
|
118 | 118 | <label for="lblUes" class="titleUes">Ues:</label> No newline at end of file |
|
119 | 119 | <div class="valueUes"> No newline at end of file |
|
120 | 120 | <label for="lblUes">[</label> No newline at end of file |
|
121 | 121 | {% for element in arrayUesUp %} No newline at end of file |
|
122 | 122 | <input type="text" name="unitUesUp_{{ forloop.counter }}" value="{{ element }}" maxlength="8" class="txtUnitUes" /> No newline at end of file |
|
123 | 123 | {% if not forloop.last %},{% endif %} No newline at end of file |
|
124 | 124 | {% endfor %} No newline at end of file |
|
125 | 125 | <label for="lblUes">]</label> No newline at end of file |
|
126 | 126 | </div> No newline at end of file |
|
127 | 127 | </div> No newline at end of file |
|
128 | <div class="cleardivs"></div> | |
|
No newline at end of file | ||
|
129 | <div class="divOnlyRx"> | |
|
No newline at end of file | ||
|
130 | <input type="checkbox" name="chkOnlyRxUp" value="1" {% if antennaUp.only_rx == 1 %}checked{% endif %} /> | |
|
No newline at end of file | ||
|
131 | <label for="lblOnlyRx" class="titleOnlyRx">Only Rx</label> | |
|
No newline at end of file | ||
|
132 | </div> No newline at end of file | |
|
128 | 133 | <input type="hidden" name="txtAntennaUpId" value="{{ antennaUp.id }}" /> No newline at end of file |
|
129 | 134 | </fieldset> No newline at end of file |
|
130 | 135 | <input type="hidden" name="txtAntennaUp" value="" /> No newline at end of file |
|
131 | 136 | <input type="hidden" name="txtTxUp" value="" /> No newline at end of file |
|
132 | 137 | <input type="hidden" name="txtRxUp" value="" /> No newline at end of file |
|
133 | 138 | <input type="hidden" name="txtUesUp" value="" /> No newline at end of file |
|
134 | 139 | </div> No newline at end of file |
|
135 | 140 | <div id="antennaDown" class="NewAntenna"> No newline at end of file |
|
136 | 141 | <fieldset class="NewFlsAntenna"> No newline at end of file |
|
137 | 142 | <legend class="legendAntenna">DOWN</legend> No newline at end of file |
|
138 | 143 | <div class="NewDivAntenna"> No newline at end of file |
|
139 | 144 | <label for="lblAntenna" class="titleField">Antenna</label> No newline at end of file |
|
140 | 145 | <div class="boxAntenna" id="divtxtAntenna"> No newline at end of file |
|
141 | 146 | {% for lines in arrayAntennaDown %} No newline at end of file |
|
142 | 147 | <div class="fullLine"> No newline at end of file |
|
143 | 148 | {% if forloop.first %} No newline at end of file |
|
144 | 149 | <label for="lblSignLeft" class="lblSignLeft">[</label> No newline at end of file |
|
145 | 150 | {% else %} No newline at end of file |
|
146 | 151 | <label for="lblSignLeft" class="lblSignLeft"> </label> No newline at end of file |
|
147 | 152 | {% endif %} No newline at end of file |
|
148 | 153 | <div class="lineInputs"> No newline at end of file |
|
149 | 154 | <label for="lblSign" class="lblSign">[</label> No newline at end of file |
|
150 | 155 | <div class="divValuesAntenna"> No newline at end of file |
|
151 | 156 | {% for line in lines %} No newline at end of file |
|
152 | 157 | <input type="text" name="txtUnitAntennaDown" class="txtUnitAntenna" id="txtUnitAntennaDown_{{ forloop.parentloop.counter0 }}_{{ forloop.counter0 }}" value="{{ line }}" maxlength="3" /> No newline at end of file |
|
153 | 158 | {% if not forloop.last %},{% endif %} No newline at end of file |
|
154 | 159 | {% endfor %} No newline at end of file |
|
155 | 160 | </div> No newline at end of file |
|
156 | 161 | <label for="lblSign" class="lblSign">]</label> No newline at end of file |
|
157 | 162 | </div> No newline at end of file |
|
158 | 163 | {% if forloop.last %} No newline at end of file |
|
159 | 164 | <label for="lblSignRight" class="lblSignRight">]</label> No newline at end of file |
|
160 | 165 | {% else %} No newline at end of file |
|
161 | 166 | <label for="lblSignRight" class="lblSignRight">,</label> No newline at end of file |
|
162 | 167 | {% endif %} No newline at end of file |
|
163 | 168 | </div> No newline at end of file |
|
164 | 169 | <div class="cleardivs"></div> No newline at end of file |
|
165 | 170 | {% endfor %} No newline at end of file |
|
166 | 171 | </div> No newline at end of file |
|
167 | 172 | </div> No newline at end of file |
|
168 | 173 | <div class="NewDivTx"> No newline at end of file |
|
169 | 174 | <label for="lblTx" class="titleField">Tx</label> No newline at end of file |
|
170 | 175 | <div class="boxTR" id="divtxtTR"> No newline at end of file |
|
171 | 176 | {% for lines in arrayTxDown %} No newline at end of file |
|
172 | 177 | <div class="fullLine"> No newline at end of file |
|
173 | 178 | {% if forloop.first %} No newline at end of file |
|
174 | 179 | <label for="lblNewSignLeft" class="lblNewSignLeft">[</label> No newline at end of file |
|
175 | 180 | {% else %} No newline at end of file |
|
176 | 181 | <label for="lblNewSignLeft" class="lblNewSignLeft"> </label> No newline at end of file |
|
177 | 182 | {% endif %} No newline at end of file |
|
178 | 183 | <div class="lineInputsTx"> No newline at end of file |
|
179 | 184 | <label for="lblSign" class="lblSignTx">[</label> No newline at end of file |
|
180 | 185 | <div class="divValuesTx"> No newline at end of file |
|
181 | 186 | {% for line in lines %} No newline at end of file |
|
182 | 187 | <input type="text" name="txtUnitTxDown" class="txtUnitTx" id="txtUnitTxDown_{{ forloop.parentloop.counter0 }}_{{ forloop.counter0 }}" value="{{ line }}" maxlength="1" /> No newline at end of file |
|
183 | 188 | {% if not forloop.last %},{% endif %} No newline at end of file |
|
184 | 189 | {% endfor %} No newline at end of file |
|
185 | 190 | </div> No newline at end of file |
|
186 | 191 | <label for="lblSign" class="lblSignTx">]</label> No newline at end of file |
|
187 | 192 | </div> No newline at end of file |
|
188 | 193 | {% if forloop.last %} No newline at end of file |
|
189 | 194 | <label for="lblNewSignRight" class="lblNewSignRight">]</label> No newline at end of file |
|
190 | 195 | {% else %} No newline at end of file |
|
191 | 196 | <label for="lblNewSignRight" class="lblNewSignRight">,</label> No newline at end of file |
|
192 | 197 | {% endif %} No newline at end of file |
|
193 | 198 | </div> No newline at end of file |
|
194 | 199 | <div class="cleardivs"></div> No newline at end of file |
|
195 | 200 | {% endfor %} No newline at end of file |
|
196 | 201 | </div> No newline at end of file |
|
197 | 202 | <div class="cleardivs"></div> No newline at end of file |
|
198 | 203 | </div> No newline at end of file |
|
199 | 204 | <div class="NewDivTx"> No newline at end of file |
|
200 | 205 | <label for="lblRx" class="titleField">Rx</label> No newline at end of file |
|
201 | 206 | <div class="boxTR" id="divtxtTR"> No newline at end of file |
|
202 | 207 | {% for lines in arrayRxDown %} No newline at end of file |
|
203 | 208 | <div class="fullLine"> No newline at end of file |
|
204 | 209 | {% if forloop.first %} No newline at end of file |
|
205 | 210 | <label for="lblNewSignLeft" class="lblNewSignLeft">[</label> No newline at end of file |
|
206 | 211 | {% else %} No newline at end of file |
|
207 | 212 | <label for="lblNewSignLeft" class="lblNewSignLeft"> </label> No newline at end of file |
|
208 | 213 | {% endif %} No newline at end of file |
|
209 | 214 | <div class="lineInputsTx"> No newline at end of file |
|
210 | 215 | <label for="lblSign" class="lblSignTx">[</label> No newline at end of file |
|
211 | 216 | <div class="divValuesTx"> No newline at end of file |
|
212 | 217 | {% for line in lines %} No newline at end of file |
|
213 | 218 | <input type="text" name="txtUnitRxDown" class="txtUnitRx" id="txtUnitRxDown_{{ forloop.parentloop.counter0 }}_{{ forloop.counter0 }}" value="{{ line }}" /> No newline at end of file |
|
214 | 219 | {% if not forloop.last %},{% endif %} No newline at end of file |
|
215 | 220 | {% endfor %} No newline at end of file |
|
216 | 221 | </div> No newline at end of file |
|
217 | 222 | <label for="lblSign" class="lblSignTx">]</label> No newline at end of file |
|
218 | 223 | </div> No newline at end of file |
|
219 | 224 | {% if forloop.last %} No newline at end of file |
|
220 | 225 | <label for="lblNewSignRight" class="lblNewSignRight">]</label> No newline at end of file |
|
221 | 226 | {% else %} No newline at end of file |
|
222 | 227 | <label for="lblNewSignRight" class="lblNewSignRight">,</label> No newline at end of file |
|
223 | 228 | {% endif %} No newline at end of file |
|
224 | 229 | </div> No newline at end of file |
|
225 | 230 | <div class="cleardivs"></div> No newline at end of file |
|
226 | 231 | {% endfor %} No newline at end of file |
|
227 | 232 | </div> No newline at end of file |
|
228 | 233 | <div class="cleardivs"></div> No newline at end of file |
|
229 | 234 | </div> No newline at end of file |
|
230 | 235 | <div class="cleardivs"></div> No newline at end of file |
|
231 | 236 | <div class="divNewUes"> No newline at end of file |
|
232 | 237 | <label for="lblUes" class="titleUes">Ues:</label> No newline at end of file |
|
233 | 238 | <div class="valueUes"> No newline at end of file |
|
234 | 239 | <label for="lblUes">[</label> No newline at end of file |
|
235 | 240 | {% for element in arrayUesDown %} No newline at end of file |
|
236 | 241 | <input type="text" name="unitUesDown_{{ forloop.counter }}" value="{{ element }}" maxlength="8" class="txtUnitUes" /> No newline at end of file |
|
237 | 242 | {% if not forloop.last %},{% endif %} No newline at end of file |
|
238 | 243 | {% endfor %} No newline at end of file |
|
239 | 244 | <label for="lblUes">]</label> No newline at end of file |
|
240 | 245 | </div> No newline at end of file |
|
241 | 246 | </div> No newline at end of file |
|
247 | <div class="cleardivs"></div> | |
|
No newline at end of file | ||
|
248 | <div class="divOnlyRx"> | |
|
No newline at end of file | ||
|
249 | <input type="checkbox" name="chkOnlyRxDown" value="1" {% if antennaDown.only_rx == 1 %}checked{% endif %} /> | |
|
No newline at end of file | ||
|
250 | <label for="lblOnlyRx" class="titleOnlyRx">Only Rx</label> | |
|
No newline at end of file | ||
|
251 | </div> No newline at end of file | |
|
242 | 252 | <input type="hidden" name="txtAntennaDownId" value="{{ antennaDown.id }}" /> No newline at end of file |
|
243 | 253 | </fieldset> No newline at end of file |
|
244 | 254 | <input type="hidden" name="txtAntennaDown" value="" /> No newline at end of file |
|
245 | 255 | <input type="hidden" name="txtTxDown" value="" /> No newline at end of file |
|
246 | 256 | <input type="hidden" name="txtRxDown" value="" /> No newline at end of file |
|
247 | 257 | <input type="hidden" name="txtUesDown" value="" /> No newline at end of file |
|
248 | 258 | </div> No newline at end of file |
|
249 | 259 | <input type="hidden" name="pattern_id" id="pattern_id" value="{{ patternChoosen.id }}" /> No newline at end of file |
|
250 | 260 | <input type="hidden" name="profile_id" id="profile_id" value="{{ objProfile.id }}" /> No newline at end of file |
|
251 | 261 | <input type="hidden" name="mode" value="e"> No newline at end of file |
|
252 | 262 | </form> No newline at end of file |
|
253 | 263 | </div> No newline at end of file |
|
254 | 264 | {% endblock %} No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now