diff --git a/aprendizations/serve.py b/aprendizations/serve.py index 668519a..fdf13fa 100644 --- a/aprendizations/serve.py +++ b/aprendizations/serve.py @@ -23,7 +23,6 @@ from tornado.escape import to_unicode # this project from aprendizations.renderer_markdown import md_to_html from aprendizations.learnapp import LearnException -from aprendizations import APP_NAME # setup logger for this module @@ -180,7 +179,6 @@ class CourseHandler(BaseHandler): self.redirect('/courses') self.render('maintopics-table.html', - appname=APP_NAME, uid=uid, name=self.app.get_student_name(uid), state=self.app.get_student_state(uid), diff --git a/aprendizations/templates/courses.html b/aprendizations/templates/courses.html index 781b58a..64b9195 100644 --- a/aprendizations/templates/courses.html +++ b/aprendizations/templates/courses.html @@ -3,19 +3,12 @@ - - - - - + {% include include-head.html %} {% include include-libs.html %} - - - aprendizations diff --git a/aprendizations/templates/include-head.html b/aprendizations/templates/include-head.html new file mode 100644 index 0000000..a828246 --- /dev/null +++ b/aprendizations/templates/include-head.html @@ -0,0 +1,5 @@ + + + + +aprendizations diff --git a/aprendizations/templates/login.html b/aprendizations/templates/login.html index b2df18c..38b3efe 100644 --- a/aprendizations/templates/login.html +++ b/aprendizations/templates/login.html @@ -1,11 +1,7 @@ - - - - - + {% include include-head.html %} {% include include-libs.html %} - - - aprendizations diff --git a/aprendizations/templates/maintopics-table.html b/aprendizations/templates/maintopics-table.html index ccaf4a4..a2da2f2 100644 --- a/aprendizations/templates/maintopics-table.html +++ b/aprendizations/templates/maintopics-table.html @@ -3,17 +3,11 @@ - - - - - + {% include include-head.html %} {% include include-libs.html %} - - {{appname}} diff --git a/aprendizations/templates/rankings.html b/aprendizations/templates/rankings.html index e92e131..499a115 100644 --- a/aprendizations/templates/rankings.html +++ b/aprendizations/templates/rankings.html @@ -3,17 +3,11 @@ - - - - - + {% include include-head.html %} {% include include-libs.html %} - - aprendizations diff --git a/aprendizations/templates/topic.html b/aprendizations/templates/topic.html index d4340f1..04eee8f 100644 --- a/aprendizations/templates/topic.html +++ b/aprendizations/templates/topic.html @@ -1,19 +1,13 @@ - - - - - + {% include include-head.html %} {% include include-libs.html %} - - aprendizations -- libgit2 0.21.2