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