##// END OF EJS Templates
- Correcion de bugs.
jsalyrosas -
r211:212
parent child
Show More
@@ -121,7 +121,7
121 121 ) No newline at end of file
122 122 No newline at end of file
123 123 TEMPLATE_CONTEXT_PROCESSORS = (
124 No newline at end of file
124 'django.core.context_processors.debug', No newline at end of file
125 125 'django.core.context_processors.media', No newline at end of file
126 126 'django.core.context_processors.static', No newline at end of file
127 127 'django.contrib.auth.context_processors.auth', No newline at end of file
@@ -6,7 +6,7
6 6 {% endblock %} No newline at end of file
7 7 {% block maincolumn%} No newline at end of file
8 8 <div id="maincolumn">
9 No newline at end of file
9 <form action="{% url abscontrol.views.upgrade profile_id %}" method="post" id="frmPattern"> No newline at end of file
10 10 {% csrf_token %} No newline at end of file
11 11 <div id="divProfile"> No newline at end of file
12 12 <label for="lblName">Profile:</label> No newline at end of file
@@ -2,12 +2,12
2 2 No newline at end of file
3 3 urlpatterns = patterns('abscontrol.views', No newline at end of file
4 4 url(r'^$', 'index'),
5 No newline at end of file
5 url(r'^new/$', 'new'),
No newline at end of file
6 No newline at end of file
6 url(r'^save/$', 'save'),
No newline at end of file
7 No newline at end of file
7 url(r'^view/(?P<profile_id>\d+)/$', 'view'),
No newline at end of file
8 No newline at end of file
8 url(r'^edit/(?P<profile_id>\d+)/$', 'edit'),
No newline at end of file
9 No newline at end of file
9 url(r'^update/(?P<profile_id>\d+)/$', 'update'),
No newline at end of file
10 No newline at end of file
10 url(r'^upgrade/(?P<profile_id>\d+)/$', 'upgrade'), No newline at end of file
11 11 url(r'^changeName/(?P<profile_id>\d+)/$', 'changeName'), No newline at end of file
12 12 #url(r'^(?P<profile_id>\d+)/$', 'detail'), No newline at end of file
13 13 url(r'^(?P<profile_id>\d+)/add/$', 'addPattern'), No newline at end of file
@@ -39,14 +39,14
39 39 def new(request): No newline at end of file
40 40 profile_list = Profile.objects.filter(state=1) No newline at end of file
41 41 txtProfile = datetime.now().strftime("%Y%m%d%H%M%S%f")
42 No newline at end of file
42 newprofile = Profile(name=txtProfile)
No newline at end of file
43 No newline at end of file
43 newprofile.save() No newline at end of file
44 44 No newline at end of file
45 45 lsPatterns = None No newline at end of file
46 46 No newline at end of file
47 47 return render_to_response('config/new.html', {'profile_list': profile_list,
48 No newline at end of file
48 'profile_name' : newprofile.name,
No newline at end of file
49 No newline at end of file
49 'profile_id' : newprofile.id, No newline at end of file
50 50 'lsPatterns' : lsPatterns, No newline at end of file
51 51 'range' : range(8), 'arrayUes' : arrayUes, No newline at end of file
52 52 }, context_instance=RequestContext(request)) No newline at end of file
@@ -14,8 +14,7
14 14 <title>{% block title %}JRO WEB APPS::::{% endblock %}</title> No newline at end of file
15 15 <meta name="description" content="JRO WEB APPLICATIONS" /> No newline at end of file
16 16 <meta name="author" content="Jose Antonio Sal y Rosas Celi" />
17 No newline at end of file
17
No newline at end of file
18 {# <meta name="viewport" content="width=device-width; initial-scale=1.0" /> #} No newline at end of file
19 18 {% comment %} No newline at end of file
20 19 <!-- Replace favicon.ico & apple-touch-icon.png in the root of your domain and delete these references --> No newline at end of file
21 20 <link rel="shortcut icon" href="/favicon.ico" /> No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now