Update /courses fwd/back links to be more consistent

Teachers, click here! is bit bigger.
This commit is contained in:
Matt Lott 2015-12-07 11:11:07 -08:00
parent 1bd44f9da1
commit 4ffe9a5035
3 changed files with 20 additions and 21 deletions

View file

@ -1,29 +1,29 @@
#courses-view #courses-view
#site-content-area #main-content
padding-left: 250px padding-left: 250px
padding-right: 250px padding-right: 250px
h1 h1
margin-bottom: 30px margin-bottom: 30px
#play-now-to-learn-header #play-now-to-learn-header
margin-top: 60px margin-top: 60px
ul ul
margin: 0 auto 40px margin: 0 auto 40px
width: 320px width: 320px
#begin-hoc-area #begin-hoc-area
width: 50% width: 50%
margin: 0 auto margin: 0 auto
hr hr
border-top: 1px solid grey border-top: 1px solid grey
margin: 5px 0 margin: 5px 0
.text-uppercase .text-uppercase
margin-top: 40px margin-top: 40px
#just-added-text #just-added-text
color: #009999 color: #009999
@ -31,20 +31,20 @@
border: 1px solid #009999 border: 1px solid #009999
margin: 0 -20px margin: 0 -20px
padding: 0 20px padding: 0 20px
h3 h3
margin-top: 20px margin-top: 20px
.course-instance-entry .course-instance-entry
padding-left: 40px padding-left: 40px
.progress-bar .progress-bar
min-width: 15% min-width: 15%
.btn .btn
margin-left: 20px margin-left: 20px
min-width: 180px min-width: 180px
#join-class-form #join-class-form
.alert, .progress .alert, .progress
margin-top: 20px margin-top: 20px

View file

@ -1,13 +1,13 @@
extends /templates/base extends /templates/base
block content block content
h2 if view.teacherMode
if view.teacherMode a(href="/courses/teachers") Back to my classrooms
a(href="/courses/teachers") Back to my classrooms else
else a(href="/courses") Back to my courses
a(href="/courses") Back to my courses br
hr br
if (noCourseInstance || noCourseInstanceSelected) && course if (noCourseInstance || noCourseInstanceSelected) && course
h1= course.get('name') h1= course.get('name')

View file

@ -1,12 +1,11 @@
extends /templates/base extends /templates/base
block content block content
.pull-right h3.text-right
if me.isAnonymous() if me.isAnonymous()
a(href="/teachers") Teachers, click here! a(href="/teachers") Teachers, click here!
else else
a(href="/courses/teachers") Teachers, click here! a(href="/courses/teachers") Teachers, click here!
br
#main-content #main-content
if me.isAnonymous() if me.isAnonymous()