From 9945d3e9cf2cc678af23c001be11a31ab8762cc2 Mon Sep 17 00:00:00 2001 From: "Dave St.Germain" Date: Wed, 5 Feb 2014 11:23:34 -0500 Subject: [PATCH] Add a means to skip to more specific parts of the page. Contributes to LMS-2156 --- lms/static/sass/course/wiki/_wiki.scss | 2 +- lms/templates/courseware/courseware.html | 4 +++- lms/templates/courseware/instructor_dashboard.html | 4 +++- lms/templates/courseware/progress.html | 3 ++- lms/templates/dashboard.html | 3 ++- lms/templates/discussion/index.html | 1 + .../instructor_dashboard_2/instructor_dashboard_2.html | 3 ++- lms/templates/main.html | 2 +- lms/templates/main_django.html | 2 +- lms/templates/wiki/article.html | 3 ++- lms/templates/wiki/base.html | 3 ++- 11 files changed, 20 insertions(+), 10 deletions(-) diff --git a/lms/static/sass/course/wiki/_wiki.scss b/lms/static/sass/course/wiki/_wiki.scss index 8a512223d7..4a28e89a70 100644 --- a/lms/static/sass/course/wiki/_wiki.scss +++ b/lms/static/sass/course/wiki/_wiki.scss @@ -929,7 +929,7 @@ section.wiki { } } - section.delete { + div.delete { padding: 40px; } diff --git a/lms/templates/courseware/courseware.html b/lms/templates/courseware/courseware.html index a4fb15a69f..7b5a427729 100644 --- a/lms/templates/courseware/courseware.html +++ b/lms/templates/courseware/courseware.html @@ -19,6 +19,8 @@ ${page_title_breadcrumbs(course_name())} <%static:css group='style-course-vendor'/> <%static:css group='style-course'/> +<%block name="nav_skip">#course-content + <%include file="../discussion/_js_head_dependencies.html" /> % if show_chat: @@ -202,7 +204,7 @@ ${fragment.foot_html()} % endif -
+
${fragment.body_html()}
diff --git a/lms/templates/courseware/instructor_dashboard.html b/lms/templates/courseware/instructor_dashboard.html index cd5cf0987f..f5b445eb65 100644 --- a/lms/templates/courseware/instructor_dashboard.html +++ b/lms/templates/courseware/instructor_dashboard.html @@ -5,6 +5,8 @@ <%namespace name='static' file='/static_content.html'/> <%block name="pagetitle">${_("Instructor Dashboard")} +<%block name="nav_skip">#instructor-dashboard-content + <%block name="headextra"> <%static:css group='style-course-vendor'/> <%static:css group='style-course'/> @@ -124,7 +126,7 @@ function goto( mode) %endif -
+

${_("Instructor Dashboard")}