-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcourse.yaml
186 lines (153 loc) · 7.46 KB
/
course.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS-IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# FIXME: You can use this configuration file to customize Course Builder
# for a specific course. More information on YAML can be found at:
#
# http://www.yaml.org/spec/1.2/spec.html#id2759963
#
# Note that the values in this file can contain arbitrary HTML.
############################
# General course information
############################
course:
# A new line or a space separated list of email addresses of course
# administrative users. Each email address must be placed between '[' and ']',
# for example: '[[email protected]]'. Regular expressions are not supported,
# exact match only.
admin_user_emails: ''
# Course title
title: 'Power Searching with Google'
# Main page blurb. (The '|' at the beginning enables multi-line input.)
blurb: |
Google Search makes it amazingly easy to find information. Come learn about
the powerful advanced tools we provide to help you find just the right
information when the stakes are high.
# Information about the instructor to display on the main page.
instructor_details: 'Daniel Russell <br> Senior Research Scientist <br> Google, Inc.'
# You can choose whether you want a video or an image on the main page.
# If you specify both a video and an image link, then the video will take
# priority. The image alt text allows the image to be understood by text-only
# screen readers.
main_video:
url: https://www.youtube.com/embed/Kdg2drcUjYI?rel=0
main_image:
url: /assets/img/banner1.png
alt_text: Photo of Dan Russell
# Course start date.
start_date: 'July 10, 2012'
# Forum URL. For details, see
#
# http://code.google.com/p/course-builder/wiki/WebForums.
forum_email: [email protected]
forum_url: https://groups.google.com/group/My-Course
# Forum embedding URL. This link is used to embed the forum in an iframe on
# the forum.html page. Set this value to False if you don't use forum and/or
# to remove the Forum link from the student navigation bar.
forum_embed_url: https://groups.google.com/forum/embed/?place=forum/My-Course
# URL for the mailing list where students can register to receive course
# announcements. For details, see
#
# http://code.google.com/p/course-builder/wiki/CreateEmailList
announcement_list_email: [email protected]
announcement_list_url: https://groups.google.com/group/My-Course-Announce
# Locale for internationalization. See modules/i18n/resources/locale for
# available locales.
locale: 'en_US'
# Whether the course is open to the students.
now_available: true
# Whether the course material can be accessed without requiring users to log
# in or register.
browsable: true
# Google Analytics tag: Fill this in with a value obtained by signing up
# at http://www.google.com/analytics. Note that you may wish instead to
# use Google Tag Manager, which can forward event notifications to Google
# Analytics, as well as to any other user-activity-watcher you like.
# Change the value below to replace the '#' with the full text of your
# individual ID number, which will start with 'UA-'. When set, pages will
# notify Google Analytics that they have loaded. See views/base.html.
#
# If this tag is not present, boilerplate JavaScript to notify Google
# Analytics is not emitted. Not having a value here is harmless.
google_analytics_id: ''
# Google Tag Manager ID: Fill this in with a value obtained by signing up
# at http://www.google.com/tagmanager. When this ID is present, pages will
# notify the tag manager (see views/base.html). This will load a script
# from Tag Manager which can then emit notifications to other user activity
# trackers. This neatly decouples changes to the source code of your
# course and CourseBuilder deployment from whatever tracking analytics
# you wish to perform. (Note that if you wish to track activities more
# granular than page loads, you will need to mark up your course
# to send notifications to the tag manager.)
#
# If this tag is not present, boilerplate JavaScript to notify Google
# Tag Manager is not emitted. Not having a value here is harmless.
google_tag_manager_id: ''
########################
# Course preview page
########################
preview:
# HTML to be included in the course preview page.
after_top_content_ends: '<!-- preview.after_top_content_ends -->'
after_main_content_ends: '<!-- preview.after_main_content_ends -->'
##########################
# Course registration form
##########################
reg_form:
# Header text for the course registration form.
header_text: |
Welcome! Please answer the following question, and you will be enrolled in the course.
# HTML representing additional fields to include in the course
# registration form, in addition to the student's name. These should
# be wrapped in <li></li> tags.
additional_registration_fields: '<!-- reg_form.additional_registration_fields -->'
# Whether to allow new students to register for the course.
can_register: True
# Whitelist of student email addresses who are allowed to register for
# the course. Each email must be surrounded by '[' and ']'. E.g,
# "[[email protected]] [[email protected]]"
whitelist: ''
##############################
# Assessment confirmation page
##############################
# HTML to be displayed on the final assessment's confirmation page (which is
# displayed when the student has completed the final assessment). You can
# optionally add code here to load or generate a Certificate of Completion
# image. Note that the result text includes a '%s', which will be substituted
# with the student's actual score. ('%%' results in a single '%'.)
assessment_confirmations:
result_text:
pass: |
Based on your overall course score of %s%%, you have passed the course.
Congratulations!
fail: |
Unfortunately, based on your overall course score of %s%%, you did not
receive a sufficiently high score to obtain a certificate of completion.
We encourage you to review the lessons noted and to attempt the
assessment again before it closes. Certificate or not, we hope you
enjoyed taking the course and learned new skills!
########################
# Units and lessons page
########################
unit:
# HTML to be included in the course unit/lesson pages.
after_leftnav_begins: '<!-- unit.after_leftnav_begins -->'
before_leftnav_ends: '<!-- unit.before_leftnav_ends -->'
after_content_begins: '<!-- unit.after_content_begins -->'
before_content_ends: '<!-- unit.before_content_ends -->'
# Whether or not to hide the 'Previous Page' and 'Next Page' lesson
# navigation buttons at the bottom of lesson and activity pages.
hide_lesson_navigation_buttons: False
# Whether or not to hide the 'Previous Page' and 'Next Page' lesson
# navigation buttons below pre/post assessments within units.
hide_assessment_navigation_buttons: False
# Whether to show the unit links in the side bar.
show_unit_links_in_leftnav: True