From: Charles Connell Date: Tue, 25 Mar 2014 20:15:55 +0000 (-0400) Subject: Account pages on same template tree X-Git-Tag: release-20150131~144^2~29 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=37fe203783d2e0bb7d312e6480b462a921000671;p=oweals%2Fkarmaworld.git Account pages on same template tree --- diff --git a/karmaworld/assets/css/note_course_pages.css b/karmaworld/assets/css/note_course_pages.css index 6db9ced..ec86d76 100644 --- a/karmaworld/assets/css/note_course_pages.css +++ b/karmaworld/assets/css/note_course_pages.css @@ -4,6 +4,10 @@ span.course-header-school font-weight: bold; } +div.header-byline { + margin-bottom: 10px; +} + #course-header-name { font-size: 2.5em; @@ -11,7 +15,6 @@ span.course-header-school #course-header { - line-height: 2em; margin: 20px 0 0 0; } @@ -80,6 +83,7 @@ div.header-title-row { .header-title { font-size: 2.5em; + vertical-align: middle; } .modify-button { diff --git a/karmaworld/templates/about.html b/karmaworld/templates/about.html index bb76cdb..b08d05f 100644 --- a/karmaworld/templates/about.html +++ b/karmaworld/templates/about.html @@ -10,7 +10,7 @@ Mission, Vision, Team & Scoreboard {% endblock %} -{% block content %} +{% block raw_content %}
diff --git a/karmaworld/templates/account/base.html b/karmaworld/templates/account/base.html index ab64a01..dae2b6b 100644 --- a/karmaworld/templates/account/base.html +++ b/karmaworld/templates/account/base.html @@ -1,66 +1,12 @@ -{% load url from future %} - - - - - - KarmaNotes -- {% block head_title %}{% endblock %} - - - - - - - - - - - - - - - - - {% block pagescripts %} - {% endblock %} - - - - {% block pagestyle %} - {% endblock %} - - - {% include 'partial/trackers.html' %} - - - - - - -{% include 'header.html' %} - - - - -
-
-
- {% block content %} - {% endblock %} +{% extends "base.html" %} + +{% block raw_content %} +
+
+
+ {% block content %} + {% endblock %} +
-
-
- - - - -{% include 'footer.html' %} - - - -{% block extra_body %} +
{% endblock %} - - - - diff --git a/karmaworld/templates/base.html b/karmaworld/templates/base.html index 462a653..c0f5d1b 100644 --- a/karmaworld/templates/base.html +++ b/karmaworld/templates/base.html @@ -42,7 +42,7 @@ - {% block content %} + {% block raw_content %} {% endblock %} diff --git a/karmaworld/templates/courses/course_detail.html b/karmaworld/templates/courses/course_detail.html index 896058a..d2bcd12 100644 --- a/karmaworld/templates/courses/course_detail.html +++ b/karmaworld/templates/courses/course_detail.html @@ -30,11 +30,11 @@ Share Notes for {{ course.name }} | {{ course.school.name }} {% endblock %} -{% block content %} +{% block raw_content %}
-
+