@@ -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, Pattern, AntennaDown, AntennaUp No newline at end of file | ||
2 | from abscontrol.models import Profile, Pattern No newline at end of file |
|
|||
3 | No newline at end of file |
|
3 | ||
4 | txtAntenna = "[[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5]," \ No newline at end of file |
|
4 | txtAntenna = "[[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5]," \ | |
5 | "[1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0]," \ No newline at end of file |
|
5 | "[1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0]," \ |
@@ -58,7 +58,6 | |||||
58 | </div> No newline at end of file |
|
58 | </div> | |
59 | </fieldset> No newline at end of file |
|
59 | </fieldset> | |
60 | </div> |
|
60 | </div> | |
No newline at end of file |
|
||||
61 | <input type="hidden" name="pattern_id" id="pattern_id" value="0" /> No newline at end of file |
|
|||
62 | <input type="hidden" name="profile_id" id="profile_id" value="{{ objProfile.id }}" /> No newline at end of file |
|
61 | <input type="hidden" name="profile_id" id="profile_id" value="{{ objProfile.id }}" /> | |
63 | </form> No newline at end of file |
|
62 | </form> | |
64 | </div> No newline at end of file |
|
63 | </div> |
@@ -19,6 +19,7 | |||||
19 | <label for="lblPatternValue">{{ patternChoosen.value }}</label> No newline at end of file |
|
19 | <label for="lblPatternValue">{{ patternChoosen.value }}</label> | |
20 | </div> No newline at end of file |
|
20 | </div> | |
21 | {% endif %} No newline at end of file |
|
21 | {% endif %} | |
|
22 | <form action="/abscontrol/{{ objProfile.id }}/save/" id="frmPattern" method="post"> No newline at end of file | |||
22 | <div id="antennaUp"> No newline at end of file |
|
23 | <div id="antennaUp"> | |
23 | <fieldset class="flsAntenna"> No newline at end of file |
|
24 | <fieldset class="flsAntenna"> | |
24 | <legend>UP</legend> No newline at end of file |
|
25 | <legend>UP</legend> |
General Comments 0
You need to be logged in to leave comments.
Login now