# HG changeset patch # User cavaliet # Date 1392999934 -3600 # Node ID 4e53b9ba3453aabee4057b8cc1cfd697b47be9f7 # Parent 2581135217f2abd12864eb8f879cec2090d9c1ab added spectacle page in views diff -r 2581135217f2 -r 4e53b9ba3453 src/spel/templates/spel_base.html --- a/src/spel/templates/spel_base.html Fri Feb 21 16:56:37 2014 +0100 +++ b/src/spel/templates/spel_base.html Fri Feb 21 17:25:34 2014 +0100 @@ -39,5 +39,7 @@ {% endblock %} + {% block common_js %}{% endblock %} + {% block page_js %}{% endblock %} \ No newline at end of file diff -r 2581135217f2 -r 4e53b9ba3453 src/spel/templates/spel_home.html --- a/src/spel/templates/spel_home.html Fri Feb 21 16:56:37 2014 +0100 +++ b/src/spel/templates/spel_home.html Fri Feb 21 17:25:34 2014 +0100 @@ -4,6 +4,6 @@ {% block page_title %}Accueil{% endblock %} {% block spel_content %} -

Spectacle

-

Opéra

+

Spectacle

+

Opéra

{% endblock %} diff -r 2581135217f2 -r 4e53b9ba3453 src/spel/templates/spel_spectacle.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/spel/templates/spel_spectacle.html Fri Feb 21 17:25:34 2014 +0100 @@ -0,0 +1,159 @@ +{% extends "spel_base.html" %} +{% load static %} + +{% block common_css %} + + + +{% endblock %} + +{% block page_title %}Spectacles{% endblock %} + +{% block spel_content %} +

Page Spectacle

+
+
+

CHAPITRES

+
+
+ +
+
+ +
+
+ +
+
+
+   +
+
+ +
+
+
+

ANNOTATIONS

+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+{% endblock %} +{% block page_js %} + + + + +{% endblock %} diff -r 2581135217f2 -r 4e53b9ba3453 src/spel/urls.py --- a/src/spel/urls.py Fri Feb 21 16:56:37 2014 +0100 +++ b/src/spel/urls.py Fri Feb 21 17:25:34 2014 +0100 @@ -43,6 +43,7 @@ (r'^jsi18n/$', 'django.views.i18n.javascript_catalog', js_info_dict), url(r'^$', TemplateView.as_view(template_name="spel_home.html"), name='spel_home'), + url(r'^spectacle$', TemplateView.as_view(template_name="spel_spectacle.html"), name='spel_spectacle'), ) urlpatterns += staticfiles_urlpatterns()