Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
a9126aa2
Commit
a9126aa2
authored
Aug 22, 2012
by
Arjun Singh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed syllabus to look good with new courseware styling
parent
9bcd3cd4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
lms/static/sass/course/_syllabus.scss
+3
-4
lms/templates/courseware/syllabus.html
+9
-7
No files found.
lms/static/sass/course/_syllabus.scss
View file @
a9126aa2
div
.syllabus
{
padding
:
0px
10px
;
padding
:
2em
2
.5em
;
text-align
:
center
;
...
...
@@ -9,15 +9,14 @@ div.syllabus {
}
.notes
{
width
:
740px
;
margin
:
0px
auto
10px
;
margin
:
0px
auto
20px
;
}
table
{
text-align
:
left
;
margin
:
10px
auto
;
margin
:
10px
0
;
thead
{
font-weight
:
bold
;
...
...
lms/templates/courseware/syllabus.html
View file @
a9126aa2
...
...
@@ -13,12 +13,14 @@
%
>
<section
class=
"container"
>
<div
class=
"syllabus"
>
<h1>
Syllabus
</h1>
% if user.is_authenticated():
${get_course_syllabus_section(course, 'syllabus')}
% else:
${get_course_syllabus_section(course, 'guest_syllabus')}
% endif
<div
class=
"syllabus_wrapper"
>
<div
class=
"syllabus"
>
<h1>
Syllabus
</h1>
% if user.is_authenticated():
${get_course_syllabus_section(course, 'syllabus')}
% else:
${get_course_syllabus_section(course, 'guest_syllabus')}
% endif
</div>
</div>
</section>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment