@@ -6,7 +6,7 | |||
|
6 | 6 | url(r'^save/$', 'save'), No newline at end of file |
|
7 | 7 | url(r'^view/(?P<profile_id>\d+)/$', 'view'), No newline at end of file |
|
8 | 8 | url(r'^edit/(?P<profile_id>\d+)/$', 'edit'), |
|
9 | No newline at end of file | |
|
9 | #url(r'^(?P<profile_id>\d+)/edit/$', 'edit'), No newline at end of file | |
|
10 | 10 | #url(r'^(?P<profile_id>\d+)/$', 'detail'), No newline at end of file |
|
11 | 11 | url(r'^(?P<profile_id>\d+)/add/$', 'addPattern'), No newline at end of file |
|
12 | 12 | url(r'^(?P<profile_id>\d+)/save/$', 'savePattern'), No newline at end of file |
@@ -107,6 +107,9 | |||
|
107 | 107 | newurl = '/abscontrol/view/%d' % newprofile.id No newline at end of file |
|
108 | 108 | No newline at end of file |
|
109 | 109 | return redirect(newurl) No newline at end of file |
|
110 | ||
|
No newline at end of file | ||
|
111 | def update(request, profile_id): | |
|
No newline at end of file | ||
|
112 | pass No newline at end of file | |
|
110 | 113 | No newline at end of file |
|
111 | 114 | def view(request, profile_id): No newline at end of file |
|
112 | 115 | nextPattern = 0 No newline at end of file |
@@ -7,14 +7,15 | |||
|
7 | 7 | */ No newline at end of file |
|
8 | 8 | No newline at end of file |
|
9 | 9 | body { font-size: 12px; } |
|
10 | No newline at end of file | |
|
10 | header {border: 1px solid #fcc; font-size: 2em; height: 50px; text-align: center; line-height: 50px} | |
|
No newline at end of file | ||
|
11 | No newline at end of file | |
|
11 | #schema {margin: 0 auto; width: 980px; border: 1px solid #f00 !important; padding: 10px 10px 10px 10px} No newline at end of file | |
|
12 | 12 | #content {border: 0px solid #1cc; margin-top: 5px; margin-bottom: 5px} |
|
13 | No newline at end of file | |
|
13 | #content #topcolumn {float: left;border: 1px solid #ddd !important; width: 980px; height: 40px; line-height: 35px; No newline at end of file | |
|
14 | 14 | margin: 2px 0px; box-shadow: 2px 2px 5px #888;} |
|
15 | 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 | 16 | box-shadow: 2px 2px 5px #666;} |
|
17 | No newline at end of file | |
|
17 | footer {border: 1px solid #200; font-size: 0.9em; height: 30px; text-align: center; line-height: 20px} No newline at end of file | |
|
No newline at end of file | ||
|
18 | margin: 2px 0px; box-shadow: 2px 2px 5px #888;} No newline at end of file | |
|
18 | 19 | No newline at end of file |
|
19 | 20 | .cleardivs {clear: both; border: 0px solid #400; height: 0px} No newline at end of file |
|
20 | 21 | /****************************************************************************************/ No newline at end of file |
@@ -6,10 +6,14 | |||
|
6 | 6 | {% block mnu_profile %} No newline at end of file |
|
7 | 7 | <nav class="MnuVertical" id="mnuProfiles"> No newline at end of file |
|
8 | 8 | <ul> |
|
9 | No newline at end of file | |
|
9 | <li><a href="/abscontrol/new">New</a></li> | |
|
No newline at end of file | ||
|
10 | No newline at end of file | |
|
10 | <li><a href="#">Save</a></li> No newline at end of file | |
|
No newline at end of file | ||
|
11 | <li><a href="/abscontrol/update/{{ objProfile.id }}/?opt=changeName">Save</a></li> | |
|
No newline at end of file | ||
|
12 | {% else %} | |
|
No newline at end of file | ||
|
13 | <li><a href="/abscontrol/update/{{ objProfile.id }}/?opt=update">Save</a></li> | |
|
No newline at end of file | ||
|
14 | {% endif %} No newline at end of file | |
|
11 | 15 | <li><a href="#">Save as</a></li> |
|
16 | No newline at end of file | |
|
12 | <li><a href="/abscontrol/import">Import</a></li> No newline at end of file | |
|
13 | 17 | {% if objProfile %} No newline at end of file |
|
14 | 18 | <li><a href="#" id="lnkExport" alt="{{ objProfile.id }}">Export</a></li> No newline at end of file |
|
15 | 19 | {% endif %} No newline at end of file |
@@ -57,9 +57,7 | |||
|
57 | 57 | </div> No newline at end of file |
|
58 | 58 | {% endblock %} No newline at end of file |
|
59 | 59 | {% block maincolumn %} |
|
60 | No newline at end of file | |
|
60 | <div id="maincolumn"> | |
|
No newline at end of file | ||
|
61 | ||
|
No newline at end of file | ||
|
62 | </div> No newline at end of file | |
|
63 | 61 | {% endblock %} No newline at end of file |
|
64 | 62 | <div class="cleardivs"></div> No newline at end of file |
|
65 | 63 | </div> No newline at end of file |
@@ -27,10 +27,10 | |||
|
27 | 27 | <div id="schema"> No newline at end of file |
|
28 | 28 | <header> No newline at end of file |
|
29 | 29 | {% block header %} |
|
30 | No newline at end of file | |
|
30 | <nav> | |
|
No newline at end of file | ||
|
31 | No newline at end of file | |
|
31 | <a href="/abscontrol/">ABS</a> | | |
|
No newline at end of file | ||
|
32 | No newline at end of file | |
|
32 | <a href="#">CR</a> | | |
|
No newline at end of file | ||
|
33 | No newline at end of file | |
|
33 | <a href="#">DDS</a> | No newline at end of file | |
|
34 | 34 | <a href="#">JARS</a> No newline at end of file |
|
35 | 35 | </nav> No newline at end of file |
|
36 | 36 | {% endblock %} No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now