##// END OF EJS Templates
- Arregalado el estilo para la presentacion del formulario newProfile.
jsalyrosas -
r132:133
parent child
Show More
@@ -1,59 +1,107
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 abscontrol.models import Profile, AntennaDown, AntennaUp No newline at end of file
2 from abscontrol.models import Profile, AntennaDown, AntennaUp
3 No newline at end of file
3
4 def index(request): No newline at end of file
4 def index(request):
5 #latest_poll_list = profileAntenna.objects.all().order_by('-pub_date')[:5] No newline at end of file
5 #latest_poll_list = profileAntenna.objects.all().order_by('-pub_date')[:5]
6 profile_list = Profile.objects.all() No newline at end of file
6 profile_list = Profile.objects.all()
7 return render_to_response('abscontrol/index.html', {'profile_list': profile_list}) No newline at end of file
7 return render_to_response('abscontrol/index.html', {'profile_list': profile_list})
8 No newline at end of file
8
9 def new(request): No newline at end of file
9 def new(request):
10 profile_list = Profile.objects.all()
10 profile_list = Profile.objects.all()
No newline at end of file
11 txtAntenna = "[[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5]," \
11 return render_to_response('abscontrol/new.html', {'profile_list': profile_list}) No newline at end of file
No newline at end of file
12 "[1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0]," \
No newline at end of file
13 "[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5]," \
No newline at end of file
14 "[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5]," \
No newline at end of file
15 "[1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0]," \
No newline at end of file
16 "[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5]," \
No newline at end of file
17 "[1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0]," \
No newline at end of file
18 "[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5]]"
No newline at end of file
19 txtTxUp = "[[1,1,1,1,1,1,1,1]," \
No newline at end of file
20 "[1,1,1,1,1,1,1,1]," \
No newline at end of file
21 "[1,1,1,1,1,1,1,1]," \
No newline at end of file
22 "[1,1,1,1,1,1,1,1]," \
No newline at end of file
23 "[1,1,1,1,1,1,1,1]," \
No newline at end of file
24 "[1,1,1,1,1,1,1,1]," \
No newline at end of file
25 "[1,1,1,1,1,1,1,1]," \
No newline at end of file
26 "[1,1,1,1,1,1,1,1]]"
No newline at end of file
27 txtTxDown = "[[1,1,1,1,0,0,0,0]," \
No newline at end of file
28 "[1,1,1,1,0,0,0,0]," \
No newline at end of file
29 "[1,1,1,1,0,0,0,0]," \
No newline at end of file
30 "[1,1,1,1,0,0,0,0]," \
No newline at end of file
31 "[0,0,0,0,1,1,1,1]," \
No newline at end of file
32 "[0,0,0,0,1,1,1,1]," \
No newline at end of file
33 "[0,0,0,0,1,1,1,1]," \
No newline at end of file
34 "[0,0,0,0,1,1,1,1]]"
No newline at end of file
35 txtRxUp = "[[0,0,0,0,1,1,1,1]," \
No newline at end of file
36 "[0,0,0,0,1,1,1,1]," \
No newline at end of file
37 "[0,0,0,0,1,1,1,1]," \
No newline at end of file
38 "[0,0,0,0,1,1,1,1]," \
No newline at end of file
39 "[1,1,1,1,1,1,1,1]," \
No newline at end of file
40 "[1,1,1,1,1,1,1,1]," \
No newline at end of file
41 "[1,1,1,1,1,1,1,1]," \
No newline at end of file
42 "[1,1,1,1,1,1,1,1]]"
No newline at end of file
43 txtRxDown = "[[1,1,1,1,1,1,1,1]," \
No newline at end of file
44 "[1,1,1,1,1,1,1,1]," \
No newline at end of file
45 "[1,1,1,1,1,1,1,1]," \
No newline at end of file
46 "[1,1,1,1,1,1,1,1]," \
No newline at end of file
47 "[1,1,1,1,1,1,1,1]," \
No newline at end of file
48 "[1,1,1,1,1,1,1,1]," \
No newline at end of file
49 "[1,1,1,1,1,1,1,1]," \
No newline at end of file
50 "[1,1,1,1,1,1,1,1]]"
No newline at end of file
51
No newline at end of file
52 txtUes = "[0.533333,0.00000,1.06667,0.00000]"
No newline at end of file
53
No newline at end of file
54 return render_to_response('abscontrol/new.html', {'profile_list': profile_list,
No newline at end of file
55 'txtAntenna' : txtAntenna,
No newline at end of file
56 'txtUes' : txtUes, 'txtTxUp' : txtTxUp,
No newline at end of file
57 'txtTxDown' : txtTxDown, 'txtRxUp' : txtRxUp,
No newline at end of file
58 'txtRxDown' : txtRxDown,
No newline at end of file
59 }) No newline at end of file
12 No newline at end of file
60
13 def save(request): No newline at end of file
61 def save(request):
14 No newline at end of file
62
15 txtProfile = request.POST["txtProfile"] No newline at end of file
63 txtProfile = request.POST["txtProfile"]
16 No newline at end of file
64
17 txtAntennaUp = request.POST["txtAntennaUp"] No newline at end of file
65 txtAntennaUp = request.POST["txtAntennaUp"]
18 txtTxUp = request.POST["txtTxUp"] No newline at end of file
66 txtTxUp = request.POST["txtTxUp"]
19 txtRxUp = request.POST["txtRxUp"] No newline at end of file
67 txtRxUp = request.POST["txtRxUp"]
20 txtUesUp = request.POST["txtUesUp"] No newline at end of file
68 txtUesUp = request.POST["txtUesUp"]
21 No newline at end of file
69
22 txtAntennaDown = request.POST["txtAntennaDown"] No newline at end of file
70 txtAntennaDown = request.POST["txtAntennaDown"]
23 txtTxDown = request.POST["txtTxDown"] No newline at end of file
71 txtTxDown = request.POST["txtTxDown"]
24 txtRxDown = request.POST["txtRxDown"] No newline at end of file
72 txtRxDown = request.POST["txtRxDown"]
25 txtUesDown = request.POST["txtUesDown"] No newline at end of file
73 txtUesDown = request.POST["txtUesDown"]
26 No newline at end of file
74
27 newprofile = Profile(name=txtProfile) No newline at end of file
75 newprofile = Profile(name=txtProfile)
28 newprofile.save() No newline at end of file
76 newprofile.save()
29 No newline at end of file
77
30 newpattern = newprofile.pattern_set.create(value=1) No newline at end of file
78 newpattern = newprofile.pattern_set.create(value=1)
31 newpattern.antennaup_set.create(value=txtAntennaUp, No newline at end of file
79 newpattern.antennaup_set.create(value=txtAntennaUp,
32 tx=txtTxUp,rx=txtRxUp, No newline at end of file
80 tx=txtTxUp,rx=txtRxUp,
33 ues=txtUesUp) No newline at end of file
81 ues=txtUesUp)
34 newpattern.antennadown_set.create(value=txtAntennaDown, No newline at end of file
82 newpattern.antennadown_set.create(value=txtAntennaDown,
35 tx=txtTxDown,rx=txtRxDown, No newline at end of file
83 tx=txtTxDown,rx=txtRxDown,
36 ues=txtUesDown) No newline at end of file
84 ues=txtUesDown)
37 No newline at end of file
85
38 newurl = '/abscontrol/view/%d' % newprofile.id No newline at end of file
86 newurl = '/abscontrol/view/%d' % newprofile.id
39 #return redirect('/abscontrol/') No newline at end of file
87 #return redirect('/abscontrol/')
40 return redirect(newurl) No newline at end of file
88 return redirect(newurl)
41 No newline at end of file
89
42 def view(request, profile_id): No newline at end of file
90 def view(request, profile_id):
43 if request.method == 'GET' and 'pattern' in request.GET: No newline at end of file
91 if request.method == 'GET' and 'pattern' in request.GET:
44 pattern_value = request.GET["pattern"] No newline at end of file
92 pattern_value = request.GET["pattern"]
45 else: No newline at end of file
93 else:
46 pattern_value = 1 No newline at end of file
94 pattern_value = 1
47 No newline at end of file
95
48 profile_list = Profile.objects.all() No newline at end of file
96 profile_list = Profile.objects.all()
49 objProfile = Profile.objects.get(pk=profile_id) No newline at end of file
97 objProfile = Profile.objects.get(pk=profile_id)
50 No newline at end of file
98
51 lsPatterns = objProfile.pattern_set.all() No newline at end of file
99 lsPatterns = objProfile.pattern_set.all()
52 patternChoosen = objProfile.pattern_set.get(value=pattern_value) No newline at end of file
100 patternChoosen = objProfile.pattern_set.get(value=pattern_value)
53 objAntennaUp = patternChoosen.antennaup_set.get() No newline at end of file
101 objAntennaUp = patternChoosen.antennaup_set.get()
54 objAntennaDown = patternChoosen.antennadown_set.get() No newline at end of file
102 objAntennaDown = patternChoosen.antennadown_set.get()
55 No newline at end of file
103
56 return render_to_response('abscontrol/view.html', {'objProfile': objProfile, 'profile_list': profile_list, No newline at end of file
104 return render_to_response('abscontrol/view.html', {'objProfile': objProfile, 'profile_list': profile_list,
57 'patternChoosen' : patternChoosen, 'lsPatterns' : lsPatterns, No newline at end of file
105 'patternChoosen' : patternChoosen, 'lsPatterns' : lsPatterns,
58 'antennaUp' : objAntennaUp, 'antennaDown' : objAntennaDown, No newline at end of file
106 'antennaUp' : objAntennaUp, 'antennaDown' : objAntennaDown,
59 }) No newline at end of file
107 })
@@ -1,97 +1,103
1 @font-face { No newline at end of file
1 @font-face {
2 font-family: 'Open Sans'; No newline at end of file
2 font-family: 'Open Sans';
3 font-style: normal; No newline at end of file
3 font-style: normal;
4 font-weight: 300; No newline at end of file
4 font-weight: 300;
5 src: local('Open Sans Light'), local('OpenSans-Light'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff) format('woff'); No newline at end of file
5 src: local('Open Sans Light'), local('OpenSans-Light'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff) format('woff');
6 } No newline at end of file
6 }
7 @font-face { No newline at end of file
7 @font-face {
8 font-family: 'Open Sans'; No newline at end of file
8 font-family: 'Open Sans';
9 font-style: normal; No newline at end of file
9 font-style: normal;
10 font-weight: 400; No newline at end of file
10 font-weight: 400;
11 src: local('Open Sans'), local('OpenSans'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff'); No newline at end of file
11 src: local('Open Sans'), local('OpenSans'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
12 } No newline at end of file
12 }
13 @font-face { No newline at end of file
13 @font-face {
14 font-family: 'Open Sans'; No newline at end of file
14 font-family: 'Open Sans';
15 font-style: normal; No newline at end of file
15 font-style: normal;
16 font-weight: 600; No newline at end of file
16 font-weight: 600;
17 src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/MTP_ySUJH_bn48VBG8sNSnhCUOGz7vYGh680lGh-uXM.woff) format('woff'); No newline at end of file
17 src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/MTP_ySUJH_bn48VBG8sNSnhCUOGz7vYGh680lGh-uXM.woff) format('woff');
18 } No newline at end of file
18 }
19 @font-face { No newline at end of file
19 @font-face {
20 font-family: 'Open Sans'; No newline at end of file
20 font-family: 'Open Sans';
21 font-style: normal; No newline at end of file
21 font-style: normal;
22 font-weight: 700; No newline at end of file
22 font-weight: 700;
23 src: local('Open Sans Bold'), local('OpenSans-Bold'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff) format('woff'); No newline at end of file
23 src: local('Open Sans Bold'), local('OpenSans-Bold'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff) format('woff');
24 } No newline at end of file
24 }
25 @font-face { No newline at end of file
25 @font-face {
26 font-family: 'Open Sans'; No newline at end of file
26 font-family: 'Open Sans';
27 font-style: normal; No newline at end of file
27 font-style: normal;
28 font-weight: 800; No newline at end of file
28 font-weight: 800;
29 src: local('Open Sans Extrabold'), local('OpenSans-Extrabold'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/EInbV5DfGHOiMmvb1Xr-hnhCUOGz7vYGh680lGh-uXM.woff) format('woff'); No newline at end of file
29 src: local('Open Sans Extrabold'), local('OpenSans-Extrabold'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/EInbV5DfGHOiMmvb1Xr-hnhCUOGz7vYGh680lGh-uXM.woff) format('woff');
30 } No newline at end of file
30 }
31 @font-face { No newline at end of file
31 @font-face {
32 font-family: 'Open Sans'; No newline at end of file
32 font-family: 'Open Sans';
33 font-style: italic; No newline at end of file
33 font-style: italic;
34 font-weight: 300; No newline at end of file
34 font-weight: 300;
35 src: local('Open Sans Light Italic'), local('OpenSansLight-Italic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxh_xHqYgAV9Bl_ZQbYUxnQU.woff) format('woff'); No newline at end of file
35 src: local('Open Sans Light Italic'), local('OpenSansLight-Italic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxh_xHqYgAV9Bl_ZQbYUxnQU.woff) format('woff');
36 } No newline at end of file
36 }
37 @font-face { No newline at end of file
37 @font-face {
38 font-family: 'Open Sans'; No newline at end of file
38 font-family: 'Open Sans';
39 font-style: italic; No newline at end of file
39 font-style: italic;
40 font-weight: 400; No newline at end of file
40 font-weight: 400;
41 src: local('Open Sans Italic'), local('OpenSans-Italic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/xjAJXh38I15wypJXxuGMBobN6UDyHWBl620a-IRfuBk.woff) format('woff'); No newline at end of file
41 src: local('Open Sans Italic'), local('OpenSans-Italic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/xjAJXh38I15wypJXxuGMBobN6UDyHWBl620a-IRfuBk.woff) format('woff');
42 } No newline at end of file
42 }
43 @font-face { No newline at end of file
43 @font-face {
44 font-family: 'Open Sans'; No newline at end of file
44 font-family: 'Open Sans';
45 font-style: italic; No newline at end of file
45 font-style: italic;
46 font-weight: 600; No newline at end of file
46 font-weight: 600;
47 src: local('Open Sans Semibold Italic'), local('OpenSans-SemiboldItalic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxn5HxGBcBvicCpTp6spHfNo.woff) format('woff'); No newline at end of file
47 src: local('Open Sans Semibold Italic'), local('OpenSans-SemiboldItalic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxn5HxGBcBvicCpTp6spHfNo.woff) format('woff');
48 } No newline at end of file
48 }
49 @font-face { No newline at end of file
49 @font-face {
50 font-family: 'Open Sans'; No newline at end of file
50 font-family: 'Open Sans';
51 font-style: italic; No newline at end of file
51 font-style: italic;
52 font-weight: 700; No newline at end of file
52 font-weight: 700;
53 src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxjqR_3kx9_hJXbbyU8S6IN0.woff) format('woff'); No newline at end of file
53 src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxjqR_3kx9_hJXbbyU8S6IN0.woff) format('woff');
54 } No newline at end of file
54 }
55 @font-face { No newline at end of file
55 @font-face {
56 font-family: 'Open Sans'; No newline at end of file
56 font-family: 'Open Sans';
57 font-style: italic; No newline at end of file
57 font-style: italic;
58 font-weight: 800; No newline at end of file
58 font-weight: 800;
59 src: local('Open Sans Extrabold Italic'), local('OpenSans-ExtraboldItalic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxkCDe67GEgBv_HnyvHTfdew.woff) format('woff'); No newline at end of file
59 src: local('Open Sans Extrabold Italic'), local('OpenSans-ExtraboldItalic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxkCDe67GEgBv_HnyvHTfdew.woff) format('woff');
60 } No newline at end of file
60 }
61 No newline at end of file
61
62 body {font-size: 11px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif} No newline at end of file
62 body {font-size: 11px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif}
63 article, aside, figure, footer, header, hgroup, nav, section { display:block; } No newline at end of file
63 article, aside, figure, footer, header, hgroup, nav, section { display:block; }
64 header {border: 1px solid #fcc; font-size: 2em; height: 50px; text-align: center; line-height: 50px} No newline at end of file
64 header {border: 1px solid #fcc; font-size: 2em; height: 50px; text-align: center; line-height: 50px}
65 #schema {margin: 0 auto; width: 980px; border: 1px solid #f00; padding: 10px 10px 10px 10px} No newline at end of file
65 #schema {margin: 0 auto; width: 980px; border: 1px solid #f00; padding: 10px 10px 10px 10px}
66 #content {border: 1px solid #1cc; margin-top: 5px; margin-bottom: 5px} No newline at end of file
66 #content {border: 1px solid #1cc; margin-top: 5px; margin-bottom: 5px}
67 #content #leftcolumn {float: left;border: 1px solid #c55; width: 150px; font-family: Monaco;} No newline at end of file
67 #content #leftcolumn {float: left;border: 1px solid #c55; width: 150px; font-family: Monaco;}
68 #content #maincolumn {float: left; border: 1px solid #000; width: 800px; padding-left: 20px;} No newline at end of file
68 #content #maincolumn {float: left; border: 1px solid #000; width: 800px; padding-left: 20px;}
69 footer {border: 1px solid #200; font-size: 0.9em; height: 30px; text-align: center; line-height: 20px} No newline at end of file
69 footer {border: 1px solid #200; font-size: 0.9em; height: 30px; text-align: center; line-height: 20px}
70 No newline at end of file
70
71 .cleardivs {clear: both; border: 1px solid #400; height: 0px} No newline at end of file
71 .cleardivs {clear: both; border: 1px solid #400; height: 0px}
72 No newline at end of file
72
73 No newline at end of file
73
74 /****************************************************************************************/ No newline at end of file
74 /****************************************************************************************/
75 /****** MENU DE NAVEGACION DE PERFILES **********************************/ No newline at end of file
75 /****** MENU DE NAVEGACION DE PERFILES **********************************/
76 /****************************************************************************************/ No newline at end of file
76 /****************************************************************************************/
77 #content #infoProfiles {border: 1px solid #d00; width: 140px; margin: 0px; padding-top: 2px; padding-bottom: 2px} No newline at end of file
77 #content #infoProfiles {border: 1px solid #d00; width: 140px; margin: 0px; padding-top: 2px; padding-bottom: 2px}
78 .lblInfo {padding-left: 12px; line-height: 20px;} No newline at end of file
78 .lblInfo {padding-left: 12px; line-height: 20px;}
79 #infoProfiles select {padding-left: 12px; line-height: 20px;margin-left: 12px} No newline at end of file
79 #infoProfiles select {padding-left: 12px; line-height: 20px;margin-left: 12px}
80 #content nav {border: 1px solid #c55; width: 140px; margin: 0px; font-family: Monaco; font-size: 1.2em;} No newline at end of file
80 #content nav {border: 1px solid #c55; width: 140px; margin: 0px; font-family: Monaco; font-size: 1.2em;}
81 #content nav ul{list-style: none; list-style-type: none; margin: 15px 15px 15px 15px; padding-left: 20px; border: 0px solid #eee} No newline at end of file
81 #content nav ul{list-style: none; list-style-type: none; margin: 15px 15px 15px 15px; padding-left: 20px; border: 0px solid #eee}
82 #content nav ul li{line-height: 20px} No newline at end of file
82 #content nav ul li{line-height: 20px}
83 No newline at end of file
83
84 /****************************************************************************************/ No newline at end of file
84 /****************************************************************************************/
85 /******** FORMULARIO DE PERFILES *************************************/ No newline at end of file
85 /******** FORMULARIO DE PERFILES *************************************/
86 /****************************************************************************************/ No newline at end of file
86 /****************************************************************************************/
87 #divProfile {border: 0px solid #dff; margin: 10px 0px; padding: 10px 10px; width: 500px} No newline at end of file
87 #divProfile {border: 0px solid #dff; margin: 10px 0px; padding: 10px 10px; width: 500px}
88 .flsAntenna {margin: 10px 0px; width: 750px; padding: 10px 10px} No newline at end of file
88 .flsAntenna {margin: 10px 0px; width: 750px; padding: 10px 10px}
89 #divPattern textarea,input[type=text],label {font-family: Monaco; font-size: inherit;}
89 #divPattern textarea,input[type=text],label {font-family: Monaco; font-size: inherit;}
No newline at end of file
90 No newline at end of file
90 #divPattern input[type=text] {width: 200px} No newline at end of file
91 #divPattern textarea {resize: none; overflow: hidden}
91 #divPattern textarea {resize: none; overflow: hidden}
No newline at end of file
92
92 .divAntenna {float: left; margin: 10px; height: 150px} No newline at end of file
No newline at end of file
93 .divAntenna {float: left; margin: 10px; height: 160px; border: 1px solid #fcc !important; width: 260px} No newline at end of file
93 .divAntenna label {display: block} No newline at end of file
94 .divAntenna label {display: block}
95 .txtAntenna {max-width: 250px; max-height: 125px; width: 250px; height: 125px}
No newline at end of file
96 No newline at end of file
94 .divTx {display: block; float: left; margin: 10px; height: 150px} No newline at end of file
97 .divTx {display: block; float: left; margin: 10px; height: 150px}
95 .divTx label {display: block} No newline at end of file
98 .divTx label {display: block}
99 .divTx textarea {width: 135px; max-width: 135px; height: 125px; max-height: 125px; text-align: justify}
No newline at end of file
100 No newline at end of file
96 .divUes {display: block; margin: 10px}
101 .divUes {display: block; margin: 10px}
No newline at end of file
102 .divUes input[type=text] {width: 240px; max-width: 240px;}
97 .txtAntenna {max-width: 200px; max-height: 120px} No newline at end of file
No newline at end of file
103 No newline at end of file
@@ -1,60 +1,60
1 {% extends "abscontrol/index.html" %} No newline at end of file
1 {% extends "abscontrol/index.html" %}
2 {% block title %}ABS CONTROL:::::NEW PROFILE{% endblock %} No newline at end of file
2 {% block title %}ABS CONTROL:::::NEW PROFILE{% endblock %}
3 No newline at end of file
3
4 {% block maincolumn%} No newline at end of file
4 {% block maincolumn%}
5 <div id="maincolumn"> No newline at end of file
5 <div id="maincolumn">
6 <form action="/abscontrol/save/" method="post"> No newline at end of file
6 <form action="/abscontrol/save/" method="post">
7 <div id="divProfile"> No newline at end of file
7 <div id="divProfile">
8 <label for="lblName">Profile:</label> No newline at end of file
8 <label for="lblName">Profile:</label>
9 <input type="text" name="txtProfile" id="" value="" /> No newline at end of file
9 <input type="text" name="txtProfile" id="" value="" />
10 <input type="submit" value="Save" /> No newline at end of file
10 <input type="submit" value="Save" />
11 </div> No newline at end of file
11 </div>
12 <div id="divPattern"> No newline at end of file
12 <div id="divPattern">
13 <div id="antennaUp"> No newline at end of file
13 <div id="antennaUp">
14 <fieldset class="flsAntenna"> No newline at end of file
14 <fieldset class="flsAntenna">
15 <legend>UP</legend> No newline at end of file
15 <legend>UP</legend>
16 <div class="divAntenna"> No newline at end of file
16 <div class="divAntenna">
17 <label for="lblAntenna">Antenna</label>
17 <label for="lblAntenna">Antenna</label>
No newline at end of file
18 <textarea name="txtAntennaUp" class="txtAntenna" cols="38" rows="8">{{ txtAntenna }}</textarea> No newline at end of file
18 <textarea name="txtAntennaUp" class="txtAntenna" cols="38" rows="8"></textarea> No newline at end of file
19 </div> No newline at end of file
19 </div>
20 <div class="divTx"> No newline at end of file
20 <div class="divTx">
21 <label for="lblTx">Tx</label>
21 <label for="lblTx">Tx</label>
No newline at end of file
22 <textarea name="txtTxUp" class="txtTR" cols="20" rows="8">{{ txtTxUp }}</textarea> No newline at end of file
22 <textarea name="txtTxUp" class="txtTR" cols="20" rows="8"></textarea> No newline at end of file
23 </div> No newline at end of file
23 </div>
24 <div class="divTx"> No newline at end of file
24 <div class="divTx">
25 <label for="lblRx">Rx</label>
25 <label for="lblRx">Rx</label>
No newline at end of file
26 <textarea name="txtRxUp" class="txtTR" cols="20" rows="8">{{ txtRxUp }}</textarea> No newline at end of file
26 <textarea name="txtRxUp" class="txtTR" cols="20" rows="8"></textarea> No newline at end of file
27 </div> No newline at end of file
27 </div>
28 <div class="cleardivs"></div> No newline at end of file
28 <div class="cleardivs"></div>
29 <div class="divUes"> No newline at end of file
29 <div class="divUes">
30 <label for="lblUes">Ues:</label>
30 <label for="lblUes">Ues:</label>
No newline at end of file
31 <input type="text" name="txtUesUp" value="{{ txtUes }}" /> No newline at end of file
31 <input type="text" name="txtUesUp" value="" /> No newline at end of file
32 </div> No newline at end of file
32 </div>
33 </fieldset> No newline at end of file
33 </fieldset>
34 </div> No newline at end of file
34 </div>
35 <div id="antennaDown"> No newline at end of file
35 <div id="antennaDown">
36 <fieldset class="flsAntenna"> No newline at end of file
36 <fieldset class="flsAntenna">
37 <legend>DOWN</legend> No newline at end of file
37 <legend>DOWN</legend>
38 <div class="divAntenna"> No newline at end of file
38 <div class="divAntenna">
39 <label for="lblAntenna">Antenna</label>
39 <label for="lblAntenna">Antenna</label>
No newline at end of file
40 <textarea name="txtAntennaDown" class="txtAntenna" cols="38" rows="8">{{ txtAntenna }}</textarea> No newline at end of file
40 <textarea name="txtAntennaDown" class="txtAntenna" cols="38" rows="8"></textarea> No newline at end of file
41 </div> No newline at end of file
41 </div>
42 <div class="divTx"> No newline at end of file
42 <div class="divTx">
43 <label for="lblTx">Tx</label>
43 <label for="lblTx">Tx</label>
No newline at end of file
44 <textarea name="txtTxDown" class="txtTR" cols="20" rows="8">{{ txtTxDown }}</textarea> No newline at end of file
44 <textarea name="txtTxDown" class="txtTR" cols="20" rows="8"></textarea> No newline at end of file
45 </div> No newline at end of file
45 </div>
46 <div class="divTx"> No newline at end of file
46 <div class="divTx">
47 <label for="lblRx">Rx</label>
47 <label for="lblRx">Rx</label>
No newline at end of file
48 <textarea name="txtRxDown" class="txtTR" cols="20" rows="8">{{ txtRxDown }}</textarea> No newline at end of file
48 <textarea name="txtRxDown" class="txtTR" cols="20" rows="8"></textarea> No newline at end of file
49 </div> No newline at end of file
49 </div>
50 <div class="cleardivs"></div> No newline at end of file
50 <div class="cleardivs"></div>
51 <div class="divUes"> No newline at end of file
51 <div class="divUes">
52 <label for="lblUes">Ues:</label>
52 <label for="lblUes">Ues:</label>
No newline at end of file
53 <input type="text" name="txtUesDown" value="{{ txtUes }}" /> No newline at end of file
53 <input type="text" name="txtUesDown" value="" /> No newline at end of file
54 </div> No newline at end of file
54 </div>
55 </fieldset> No newline at end of file
55 </fieldset>
56 </div> No newline at end of file
56 </div>
57 </div> No newline at end of file
57 </div>
58 </form> No newline at end of file
58 </form>
59 </div> No newline at end of file
59 </div>
60 {% endblock %} No newline at end of file
60 {% endblock %}
General Comments 0
You need to be logged in to leave comments. Login now