Course enroll page
Will add a prepaid purchase once the prepaid-v2 branch is merged into master.
This commit is contained in:
parent
46ee12ff9d
commit
9131d8668f
17 changed files with 628 additions and 7 deletions
scripts/mongodb
|
@ -4,6 +4,8 @@
|
|||
// mongo <address>:<port>/<database> <script file> -u <username> -p <password>
|
||||
|
||||
// NOTE: uses name as unique identifier, so changing the name will insert a new course
|
||||
// NOTE: concepts should match actual campaign levels
|
||||
// NOTE: pricePerSeat in USD cents
|
||||
|
||||
var documents =
|
||||
[
|
||||
|
@ -13,7 +15,26 @@ var documents =
|
|||
campaignID: ObjectId("55b29efd1cd6abe8ce07db0d"),
|
||||
concepts: ['basic_syntax', 'arguments', 'while_loops', 'strings', 'variables'],
|
||||
description: "Learn basic syntax, while loops, and the CodeCombat environment.",
|
||||
pricePerSeat: NumberInt(0),
|
||||
screenshot: "/images/pages/courses/101_info.png"
|
||||
},
|
||||
{
|
||||
name: "Computer Science 2",
|
||||
slug: "computer-science-2",
|
||||
campaignID: ObjectId("55b29efd1cd6abe8ce07db0d"),
|
||||
concepts: ['basic_syntax', 'arguments', 'while_loops', 'strings', 'variables', 'if_statements'],
|
||||
description: "Introduce Arguments, Variables, If Statements, and Arithmetic.",
|
||||
pricePerSeat: NumberInt(400),
|
||||
screenshot: "/images/pages/courses/102_info.png"
|
||||
},
|
||||
{
|
||||
name: "Computer Science 3",
|
||||
slug: "computer-science-3",
|
||||
campaignID: ObjectId("55b29efd1cd6abe8ce07db0d"),
|
||||
concepts: ['if_statements', 'arithmetic'],
|
||||
description: "Learn how to handle input.",
|
||||
pricePerSeat: NumberInt(400),
|
||||
screenshot: "/images/pages/courses/103_info.png"
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Reference in a new issue