diff --git a/lms/static/sass/course/_textbook.scss b/lms/static/sass/course/_textbook.scss index d2c3d3a048..b624f8d678 100755 --- a/lms/static/sass/course/_textbook.scss +++ b/lms/static/sass/course/_textbook.scss @@ -27,20 +27,15 @@ div.book-wrapper { border-right: none; width: 180px; - ul#booknav { - font-size: em(14); - - .chapter-number { - } + #booknav { + list-style: none; .chapter { - float: left; - width: 87%; line-height: 1.4em; } .page-number { - float: right; + @include float(right); width: 12%; font-size: .8em; line-height: 2.1em; @@ -59,7 +54,6 @@ div.book-wrapper { @include clearfix(); padding: 0; color: $link-color; - cursor: pointer; &:hover, &:focus { background-color: transparent; @@ -231,6 +225,3 @@ div.book-wrapper { } } } - - - diff --git a/lms/templates/static_htmlbook.html b/lms/templates/static_htmlbook.html index 899e43ec26..dafd473b56 100644 --- a/lms/templates/static_htmlbook.html +++ b/lms/templates/static_htmlbook.html @@ -118,33 +118,34 @@ from openedx.core.djangolib.js_utils import ( <%include file="/courseware/course_navigation.html" args="active_page='htmltextbook/{0}'.format(book_index)" />
-
+
+
- %if 'chapters' in textbook: -
-
    - <%def name="print_entry(entry, index_value)"> -
  • - - ${entry.get('title')} - -
  • - + %if 'chapters' in textbook: +
    +
      + <%def name="print_entry(entry, index_value)"> +
    • + + ${entry.get('title')} + +
    • + - %for (index, entry) in enumerate(textbook['chapters']): - ${HTML(print_entry(entry, index+1))} - % endfor -
    -
    - %endif + %for (index, entry) in enumerate(textbook['chapters']): + ${HTML(print_entry(entry, index+1))} + % endfor +
+
+ %endif -
-
-
-
-
- - -
+
+
+
+
+
+ + +
+
- diff --git a/lms/templates/static_pdfbook.html b/lms/templates/static_pdfbook.html index 0518e73531..4b1079250b 100644 --- a/lms/templates/static_pdfbook.html +++ b/lms/templates/static_pdfbook.html @@ -26,7 +26,8 @@ $(function(){ }); -
+
+
%if 'chapters' in textbook:
    @@ -39,14 +40,15 @@ $(function(){
%endif -
- -
-
+
+ +
+
+ diff --git a/lms/templates/staticbook.html b/lms/templates/staticbook.html index 92e618c973..7112cf40ce 100644 --- a/lms/templates/staticbook.html +++ b/lms/templates/staticbook.html @@ -76,6 +76,7 @@ $("#open_close_accordion a").click(function(){ <%include file="/courseware/course_navigation.html" args="active_page='textbook/{0}'.format(book_index)" />
+
@@ -130,4 +131,5 @@ $("#open_close_accordion a").click(function(){
+