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