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