##// END OF EJS Templates
- Implementando la vista view del perfil.
jsalyrosas -
r125:126
parent child
Show More
@@ -0,0 +1,63
1 {% extends "abscontrol/index.html" %}
No newline at end of file
2 {% block title %}ABS CONTROL:::PROFILE:::{{ nameProfile }}{% endblock %}
No newline at end of file
3
No newline at end of file
4 {% block maincolumn%}
No newline at end of file
5 <div id="maincolumn">
No newline at end of file
6 <form action="/abscontrol/save/" method="post">
No newline at end of file
7 <div id="divProfile">
No newline at end of file
8 <label for="lblName">Profile:</label>
No newline at end of file
9 <label for="lblProfile">{{ nameProfile }}</label>
No newline at end of file
10 </div>
No newline at end of file
11 <div id="divPattern">
No newline at end of file
12 {% if patternChoosen %}
No newline at end of file
13 <label for="lblValue">Pattern:</label>
No newline at end of file
14 <label for="lblPatternValue">{{ patternChoosen.value }}</label>
No newline at end of file
15 {% endif %}
No newline at end of file
16 <div id="antennaUp">
No newline at end of file
17 <fieldset class="flsAntenna">
No newline at end of file
18 <legend>UP</legend>
No newline at end of file
19 <div class="divAntenna">
No newline at end of file
20 <label for="lblAntenna">Antenna</label>
No newline at end of file
21 <textarea name="txtAntennaUp" class="txtAntenna" cols="38" rows="8"></textarea>
No newline at end of file
22 </div>
No newline at end of file
23 <div class="divTx">
No newline at end of file
24 <label for="lblTx">Tx</label>
No newline at end of file
25 <textarea name="txtTxUp" class="txtTR" cols="20" rows="8"></textarea>
No newline at end of file
26 </div>
No newline at end of file
27 <div class="divTx">
No newline at end of file
28 <label for="lblRx">Rx</label>
No newline at end of file
29 <textarea name="txtRxUp" class="txtTR" cols="20" rows="8"></textarea>
No newline at end of file
30 </div>
No newline at end of file
31 <div class="cleardivs"></div>
No newline at end of file
32 <div class="divUes">
No newline at end of file
33 <label for="lblUes">Ues:</label>
No newline at end of file
34 <input type="text" name="txtUesUp" value="" />
No newline at end of file
35 </div>
No newline at end of file
36 </fieldset>
No newline at end of file
37 </div>
No newline at end of file
38 <div id="antennaDown">
No newline at end of file
39 <fieldset class="flsAntenna">
No newline at end of file
40 <legend>DOWN</legend>
No newline at end of file
41 <div class="divAntenna">
No newline at end of file
42 <label for="lblAntenna">Antenna</label>
No newline at end of file
43 <textarea name="txtAntennaDown" class="txtAntenna" cols="38" rows="8"></textarea>
No newline at end of file
44 </div>
No newline at end of file
45 <div class="divTx">
No newline at end of file
46 <label for="lblTx">Tx</label>
No newline at end of file
47 <textarea name="txtTxDown" class="txtTR" cols="20" rows="8"></textarea>
No newline at end of file
48 </div>
No newline at end of file
49 <div class="divTx">
No newline at end of file
50 <label for="lblRx">Rx</label>
No newline at end of file
51 <textarea name="txtRxDown" class="txtTR" cols="20" rows="8"></textarea>
No newline at end of file
52 </div>
No newline at end of file
53 <div class="cleardivs"></div>
No newline at end of file
54 <div class="divUes">
No newline at end of file
55 <label for="lblUes">Ues:</label>
No newline at end of file
56 <input type="text" name="txtUesDown" value="" />
No newline at end of file
57 </div>
No newline at end of file
58 </fieldset>
No newline at end of file
59 </div>
No newline at end of file
60 </div>
No newline at end of file
61 </form>
No newline at end of file
62 </div>
No newline at end of file
63 {% endblock %} No newline at end of file
@@ -1,5 +1,5
1 from django.shortcuts import render_to_response, redirect
1 from django.shortcuts import render_to_response, redirect
No newline at end of file
2 from abscontrol.models import Profile, AntennaDown, AntennaUp No newline at end of file
2 from abscontrol.models import Profile No newline at end of file
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]
General Comments 0
You need to be logged in to leave comments. Login now