@@ -269,7 +269,7 | |||
|
269 | 269 | return redirect(newurl) No newline at end of file |
|
270 | 270 | No newline at end of file |
|
271 | 271 | def importProfile(request): |
|
272 | No newline at end of file | |
|
272 | profile_list = Profile.objects.all() No newline at end of file | |
|
273 | 273 | return render_to_response('abscontrol/import.html', {'profile_list': profile_list,}) No newline at end of file |
|
274 | 274 | No newline at end of file |
|
275 | 275 | def showImport(request): No newline at end of file |
@@ -9,9 +9,11 | |||
|
9 | 9 | body { font-size: 12px; } No newline at end of file |
|
10 | 10 | header {border: 1px solid #fcc; font-size: 2em; height: 50px; text-align: center; line-height: 50px} No newline at end of file |
|
11 | 11 | #schema {margin: 0 auto; width: 980px; border: 1px solid #f00 !important; padding: 10px 10px 10px 10px} |
|
12 | No newline at end of file | |
|
12 | #content {border: 1px solid #1cc; margin-top: 5px; margin-bottom: 5px} | |
|
No newline at end of file | ||
|
13 | No newline at end of file | |
|
13 | #content #leftcolumn {float: left;border: 2px solid #f00 !important; width: 160px; } | |
|
No newline at end of file | ||
|
14 | No newline at end of file | |
|
14 | #content #maincolumn {float: left; border: 1px solid #000 !important; width: 780px; margin: 0; padding: 0px 10px } No newline at end of file | |
|
No newline at end of file | ||
|
15 | #content #maincolumn {float: left; border: 0px solid #000 !important; width: 980px; margin: 2px 0px; padding: 0px 0px; | |
|
No newline at end of file | ||
|
16 | box-shadow: 2px 2px 5px #666;} No newline at end of file | |
|
15 | 17 | footer {border: 1px solid #200; font-size: 0.9em; height: 30px; text-align: center; line-height: 20px} No newline at end of file |
|
16 | 18 | No newline at end of file |
|
17 | 19 | .cleardivs {clear: both; border: 0px solid #400; height: 0px} No newline at end of file |
@@ -22,25 +22,6 | |||
|
22 | 22 | <label for="lblName">Profile:</label> No newline at end of file |
|
23 | 23 | <label for="lblProfile">{{ objProfile.name }}</label> No newline at end of file |
|
24 | 24 | </div> |
|
No newline at end of file | ||
|
25 | <div id="divPattern"> | |
|
No newline at end of file | ||
|
26 | {% block mnuPattern %} | |
|
No newline at end of file | ||
|
27 | <div class="divMenu" id="divMnuPattern"> | |
|
No newline at end of file | ||
|
28 | <nav class="MnuHorizontal"> | |
|
No newline at end of file | ||
|
29 | <ul class="mnu" id="mnuPattern"> | |
|
No newline at end of file | ||
|
30 | {% if lsPatterns|length < 10 %} | |
|
No newline at end of file | ||
|
31 | <li><a href="/abscontrol/{{ objProfile.id }}/add">Add</a></li> | |
|
No newline at end of file | ||
|
32 | {% endif %} | |
|
No newline at end of file | ||
|
33 | <li><a href="#" class="" id="lnkSave">Save</a></li> | |
|
No newline at end of file | ||
|
34 | {% if lsPatterns|length > 1 %} | |
|
No newline at end of file | ||
|
35 | <li><a href="/abscontrol/{{ objProfile.id }}/delete/{{ patternChoosen.id }}">Delete</a></li> | |
|
No newline at end of file | ||
|
36 | {% endif %} | |
|
No newline at end of file | ||
|
37 | </ul> | |
|
No newline at end of file | ||
|
38 | </nav> | |
|
No newline at end of file | ||
|
39 | </div> | |
|
No newline at end of file | ||
|
40 | <div class="cleardivs"></div> | |
|
No newline at end of file | ||
|
41 | {% endblock %} | |
|
No newline at end of file | ||
|
42 | {% block pattern %} | |
|
No newline at end of file | ||
|
43 | <div id="infoPattern"> No newline at end of file | |
|
44 | 25 |
|
|
45 | 26 |
|
|
46 | 27 |
|
@@ -4,11 +4,11 | |||
|
4 | 4 | <div class="divMenu" id="divMnuPattern"> No newline at end of file |
|
5 | 5 | <nav class="MnuHorizontal"> No newline at end of file |
|
6 | 6 | <ul class="mnu" id="mnuPattern"> No newline at end of file |
|
7 | <li><a href="#" id="lnkCancel">Delete</a></li> | |
|
No newline at end of file | ||
|
8 | <li><a href="#" id="lnkSave">Save</a></li> No newline at end of file | |
|
7 | 9 | {% if lsPatterns|length < 10 %} No newline at end of file |
|
8 | 10 | <li><a href="#" id="lnkAdd">Add</a></li> No newline at end of file |
|
9 | 11 | {% endif %} |
|
No newline at end of file | ||
|
10 | <li><a href="#" id="lnkSave">Save</a></li> | |
|
No newline at end of file | ||
|
11 | <li><a href="#" id="lnkCancel">Delete</a></li> No newline at end of file | |
|
12 | 12 | </ul> No newline at end of file |
|
13 | 13 | </nav> No newline at end of file |
|
14 | 14 | </div> No newline at end of file |
@@ -8,11 +8,11 | |||
|
8 | 8 | {% endblock %} No newline at end of file |
|
9 | 9 | {% block content %} No newline at end of file |
|
10 | 10 | <div id="content"> |
|
11 | No newline at end of file | |
|
11 | {% block leftcolumn %} | |
|
No newline at end of file | ||
|
12 | No newline at end of file | |
|
12 | <div id="leftcolumn"> No newline at end of file | |
|
13 | 13 | <div id="lsProfiles"> No newline at end of file |
|
14 | 14 | <div id="infoProfiles"> |
|
15 | No newline at end of file | |
|
15 | <label for="lblProfile" class="lblInfo">Profiles:</label><br /> No newline at end of file | |
|
16 | 16 | {% if profile_list %} No newline at end of file |
|
17 | 17 | <select name="lsProfiles" id="listProfiles"> No newline at end of file |
|
18 | 18 | <option value="-1">Choose ...</option> No newline at end of file |
@@ -23,18 +23,6 | |||
|
23 | 23 | <label for="lblName">Profile:</label> No newline at end of file |
|
24 | 24 | <label for="lblProfile">{{ objProfile.name }}</label> No newline at end of file |
|
25 | 25 | </div> |
|
No newline at end of file | ||
|
26 | <div id="divPattern"> | |
|
No newline at end of file | ||
|
27 | {% block mnuPattern %} | |
|
No newline at end of file | ||
|
28 | <div class="divMenu" id="divMnuPattern"> | |
|
No newline at end of file | ||
|
29 | <nav class="MnuHorizontal"> | |
|
No newline at end of file | ||
|
30 | <ul class="mnu" id="mnuPattern"> | |
|
No newline at end of file | ||
|
31 | <li><a href="#">Apply</a></li> | |
|
No newline at end of file | ||
|
32 | </ul> | |
|
No newline at end of file | ||
|
33 | </nav> | |
|
No newline at end of file | ||
|
34 | </div> | |
|
No newline at end of file | ||
|
35 | <div class="cleardivs"></div> | |
|
No newline at end of file | ||
|
36 | {% endblock %} | |
|
No newline at end of file | ||
|
37 | <div id="infoPattern"> No newline at end of file | |
|
38 | 26 |
|
|
39 | 27 |
|
|
40 | 28 |
|
@@ -28,7 +28,7 | |||
|
28 | 28 | <header> No newline at end of file |
|
29 | 29 | {% block header %} No newline at end of file |
|
30 | 30 | <nav> |
|
31 | No newline at end of file | |
|
31 | <a href="/abscontrol">ABS</a> | No newline at end of file | |
|
32 | 32 | <a href="#">CR</a> | No newline at end of file |
|
33 | 33 | <a href="#">DDS</a> | No newline at end of file |
|
34 | 34 | <a href="#">JARS</a> No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now