@@ -0,0 +1,23 | |||
|
1 | {% extends "abscontrol/index.html" %} | |
|
No newline at end of file | ||
|
2 | {% block title %}ABS CONTROL:::::IMPORT PROFILE{% endblock %} | |
|
No newline at end of file | ||
|
3 | {% block scripting %} | |
|
No newline at end of file | ||
|
4 | <script src="/static/static/js/profiles.js"></script> | |
|
No newline at end of file | ||
|
5 | {% endblock %} | |
|
No newline at end of file | ||
|
6 | {% block mnu_profile %} | |
|
No newline at end of file | ||
|
7 | <nav class="MnuHorizontal" id="mnuProfiles"> | |
|
No newline at end of file | ||
|
8 | <ul> | |
|
No newline at end of file | ||
|
9 | <li><a href="/abscontrol/new">New</a></li> | |
|
No newline at end of file | ||
|
10 | <li><a href="/abscontrol/import">Import</a></li> | |
|
No newline at end of file | ||
|
11 | </ul> | |
|
No newline at end of file | ||
|
12 | </nav> | |
|
No newline at end of file | ||
|
13 | {% endblock %} | |
|
No newline at end of file | ||
|
14 | {% block maincolumn %} | |
|
No newline at end of file | ||
|
15 | <div id="maincolumn"> | |
|
No newline at end of file | ||
|
16 | <div id="divPattern"> | |
|
No newline at end of file | ||
|
17 | <div class="divUes"> | |
|
No newline at end of file | ||
|
18 | <label for="lblError">Error:</label> | |
|
No newline at end of file | ||
|
19 | <p>{{ txtError }}</p> | |
|
No newline at end of file | ||
|
20 | </div> | |
|
No newline at end of file | ||
|
21 | </div> | |
|
No newline at end of file | ||
|
22 | </div> | |
|
No newline at end of file | ||
|
23 | {% endblock %} No newline at end of file |
@@ -17,8 +17,8 | |||
|
17 | 17 | #url(r'^(?P<poll_id>\d+)/results/$', 'results'), No newline at end of file |
|
18 | 18 | #url(r'^(?P<poll_id>\d+)/vote/$', 'vote'), No newline at end of file |
|
19 | 19 | url(r'^import/$', 'importProfile'), |
|
20 | No newline at end of file | |
|
20 | url(r'^showImport/$', 'showImport'), | |
|
No newline at end of file | ||
|
21 | No newline at end of file | |
|
21 | url(r'^saveImport/$', 'saveImport'), No newline at end of file | |
|
22 | 22 | url(r'^(?P<profile_id>\d+)/(?P<pattern_id>\d+)/overjro/(?P<antenna_id>\d+)/$', 'overJRO'), No newline at end of file |
|
23 | 23 | url(r'^export/(?P<profile_id>\d+)/$', 'export'), No newline at end of file |
|
24 | 24 | url(r'^send/(?P<profile_id>\d+)/$', 'send'), No newline at end of file |
@@ -293,7 +293,7 | |||
|
293 | 293 | profile_list = Profile.objects.filter(state=1) No newline at end of file |
|
294 | 294 | return render_to_response('abscontrol/import.html', {'profile_list': profile_list,}) No newline at end of file |
|
295 | 295 | |
|
296 | No newline at end of file | |
|
296 | def showImport(request): No newline at end of file | |
|
297 | 297 | profile_list = Profile.objects.filter(state=1) No newline at end of file |
|
298 | 298 | if request.method == 'POST': No newline at end of file |
|
299 | 299 | txtFilename = request.FILES['txtFile'] No newline at end of file |
@@ -11,7 +11,7 | |||
|
11 | 11 | {% endblock %} No newline at end of file |
|
12 | 12 | {% block maincolumn %} No newline at end of file |
|
13 | 13 | <div id="maincolumn"> |
|
14 | No newline at end of file | |
|
14 | <form name="frmImport" id="frmImport" action="/abscontrol/showImport/" method="post" enctype="multipart/form-data"> No newline at end of file | |
|
15 | 15 | <div id="divPattern"> No newline at end of file |
|
16 | 16 | <div class="divUes"> No newline at end of file |
|
17 | 17 | <label for="lblFile">Choose File:</label> No newline at end of file |
|
1 | NO CONTENT: file was removed |
|
1 | NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now