Merge branch 'master' into production
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
BIN
app/assets/images/pages/home/game-dev-1.png
Normal file
After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
BIN
app/assets/images/pages/home/web-dev-1.png
Normal file
After Width: | Height: | Size: 20 KiB |
|
@ -71,7 +71,7 @@
|
||||||
curriculum: "Total curriculum hours:"
|
curriculum: "Total curriculum hours:"
|
||||||
ffa: "Free for all students"
|
ffa: "Free for all students"
|
||||||
lesson_time: "Lesson time:"
|
lesson_time: "Lesson time:"
|
||||||
coming_soon: "Coming this fall!"
|
coming_soon: "More coming soon!" # {change}
|
||||||
courses_available_in: "Courses are available in JavaScript, Python, and Java (coming soon!)"
|
courses_available_in: "Courses are available in JavaScript, Python, and Java (coming soon!)"
|
||||||
boast: "Boasts riddles that are complex enough to fascinate gamers and coders alike."
|
boast: "Boasts riddles that are complex enough to fascinate gamers and coders alike."
|
||||||
winning: "A winning combination of RPG gameplay and programming homework that pulls off making kid-friendly education legitimately enjoyable."
|
winning: "A winning combination of RPG gameplay and programming homework that pulls off making kid-friendly education legitimately enjoyable."
|
||||||
|
|
|
@ -122,12 +122,13 @@ block content
|
||||||
li(class=(activeTab === "#enrollment-status-tab" ? 'active' : ''))
|
li(class=(activeTab === "#enrollment-status-tab" ? 'active' : ''))
|
||||||
a.course-progress-tab-btn(href='#enrollment-status-tab')
|
a.course-progress-tab-btn(href='#enrollment-status-tab')
|
||||||
.small-details.text-center(data-i18n='teacher.enrollment_status')
|
.small-details.text-center(data-i18n='teacher.enrollment_status')
|
||||||
- var courses = view.classroom.get('courses').map(function(c) { return view.courses.get(c._id); });
|
// TODO: Move projects into course progress tab
|
||||||
if _.find(courses, function(c) { return /dev/.test(c.get('slug')); })
|
//- var courses = view.classroom.get('courses').map(function(c) { return view.courses.get(c._id); });
|
||||||
.tab-spacer
|
//if _.find(courses, function(c) { return /dev/.test(c.get('slug')); })
|
||||||
li(class=(activeTab === "#student-projects-tab" ? 'active' : ''))
|
// .tab-spacer
|
||||||
a.course-progress-tab-btn(href='#student-projects-tab')
|
// li(class=(activeTab === "#student-projects-tab" ? 'active' : ''))
|
||||||
.small-details.text-center(data-i18n='teacher.projects')
|
// a.course-progress-tab-btn(href='#student-projects-tab')
|
||||||
|
// .small-details.text-center(data-i18n='teacher.projects')
|
||||||
.tab-filler
|
.tab-filler
|
||||||
|
|
||||||
.tab-content
|
.tab-content
|
||||||
|
|
|
@ -232,7 +232,6 @@ block content
|
||||||
span#semester-duration
|
span#semester-duration
|
||||||
#courses-row.row
|
#courses-row.row
|
||||||
- var conceptsSeen = {};
|
- var conceptsSeen = {};
|
||||||
- var lastScreenshot = "";
|
|
||||||
for course, courseIndex in view.courses.models
|
for course, courseIndex in view.courses.models
|
||||||
.col-md-3.col-sm-4
|
.col-md-3.col-sm-4
|
||||||
.media.course-details(data-course-slug=course.get('slug'))
|
.media.course-details(data-course-slug=course.get('slug'))
|
||||||
|
@ -256,19 +255,16 @@ block content
|
||||||
span.spr ,
|
span.spr ,
|
||||||
- total += 1;
|
- total += 1;
|
||||||
span(data-i18n="concepts." + concept)
|
span(data-i18n="concepts." + concept)
|
||||||
img.media-object(src="/images/pages/home/course"+(courseIndex+1)+".png")
|
img.media-object(src="/images/pages/home/" + course.get('slug') + ".png")
|
||||||
- lastScreenshot = course.get('screenshot');
|
|
||||||
h6.course-duration
|
h6.course-duration
|
||||||
span.spr(data-i18n="new_home.lesson_time")
|
span.spr(data-i18n="new_home.lesson_time")
|
||||||
span.course-hours= course.get('duration') || 0
|
span.course-hours= course.get('duration') || 0
|
||||||
span.spl.unit(data-i18n="units.hours")
|
span.spl.unit(data-i18n="units.hours")
|
||||||
for upcomingCourse in ['Computer Science 6', 'Computer Science 7', 'Computer Science 8']
|
.col-md-3.col-sm-4
|
||||||
.col-md-3.col-sm-4
|
.media.disabled
|
||||||
.media.disabled
|
.media-body
|
||||||
.media-body
|
p.small(data-i18n="new_home.coming_soon")
|
||||||
h6.course-name= upcomingCourse + ':'
|
img.media-object(src="/images/pages/home/inprogress.png")
|
||||||
p.small(data-i18n="new_home.coming_soon")
|
|
||||||
img.media-object(src="/images/pages/home/inprogress.png")
|
|
||||||
|
|
||||||
.clearfix
|
.clearfix
|
||||||
.text-center
|
.text-center
|
||||||
|
|
|
@ -131,9 +131,33 @@ module.exports = class NewHomeView extends RootView
|
||||||
|
|
||||||
onChangeSchoolLevelDropdown: (e) ->
|
onChangeSchoolLevelDropdown: (e) ->
|
||||||
levels =
|
levels =
|
||||||
elementary: {'introduction-to-computer-science': '2-4', 'computer-science-6': '24-30', 'computer-science-7': '30-40', 'computer-science-8': '30-40', default: '16-25', total: '150-215 hours (about two and a half years)'}
|
elementary:
|
||||||
middle: {'introduction-to-computer-science': '1-3', 'computer-science-6': '12-14', 'computer-science-7': '14-16', 'computer-science-8': '14-16', default: '8-12', total: '75-100 hours (about one and a half years)'}
|
'introduction-to-computer-science': '2-4'
|
||||||
high: {'introduction-to-computer-science': '1', 'computer-science-6': '10-12', 'computer-science-7': '12-16', 'computer-science-8': '12-16', default: '8-10', total: '65-85 hours (about one year)'}
|
'game-dev-1': '2-3'
|
||||||
|
'web-dev-1': '2-3'
|
||||||
|
'computer-science-6': '24-30'
|
||||||
|
'computer-science-7': '30-40'
|
||||||
|
'computer-science-8': '30-40'
|
||||||
|
default: '16-25'
|
||||||
|
total: '150-215 hours (about two and a half years)'
|
||||||
|
middle:
|
||||||
|
'introduction-to-computer-science': '1-3'
|
||||||
|
'game-dev-1': '1-3'
|
||||||
|
'web-dev-1': '1-3'
|
||||||
|
'computer-science-6': '12-14'
|
||||||
|
'computer-science-7': '14-16'
|
||||||
|
'computer-science-8': '14-16'
|
||||||
|
default: '8-12'
|
||||||
|
total: '75-100 hours (about one and a half years)'
|
||||||
|
high:
|
||||||
|
'introduction-to-computer-science': '1'
|
||||||
|
'game-dev-1': '1-2'
|
||||||
|
'web-dev-1': '1-2'
|
||||||
|
'computer-science-6': '10-12'
|
||||||
|
'computer-science-7': '12-16'
|
||||||
|
'computer-science-8': '12-16'
|
||||||
|
default: '8-10'
|
||||||
|
total: '65-85 hours (about one year)'
|
||||||
level = if e then $(e.target).val() else 'middle'
|
level = if e then $(e.target).val() else 'middle'
|
||||||
@$el.find('#courses-row .course-details').each ->
|
@$el.find('#courses-row .course-details').each ->
|
||||||
slug = $(@).data('course-slug')
|
slug = $(@).data('course-slug')
|
||||||
|
|
|
@ -75,7 +75,7 @@ var courses =
|
||||||
description: "Learn the basics of web development in this introductory HTML & CSS course.",
|
description: "Learn the basics of web development in this introductory HTML & CSS course.",
|
||||||
duration: NumberInt(1),
|
duration: NumberInt(1),
|
||||||
free: false,
|
free: false,
|
||||||
releasePhase: 'beta'
|
releasePhase: 'released'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "CS: Web Development 2",
|
name: "CS: Web Development 2",
|
||||||
|
|