Karma/Bundle layout: Difference between revisions
mNo edit summary |
lesson structure changed, now 'game', 'exercise' and 'reading' stuff are on diferent folders |
||
| Line 118: | Line 118: | ||
''consists of a single lesson'' | ''consists of a single lesson'' | ||
lesson_name/ | |||
index.html ( lesson menu with iFrame for | index.html ( lesson menu with iFrame for reading.html, css and js are common files, they are inside../css/ and ../js/ respectively) | ||
reading/ ( contains files related to the reading ) | |||
game/ ( contains files related to the game ) | |||
game | exercise/ ( contains files related to the exercise ) | ||
assets/ | |||
{langCode}/ (files specific to langCode: en-US, en, es-MX, es, ....) | |||
css/ | docs/ | ||
js/ | activity text | ||
lesson plan | |||
teachers note | |||
*Notes: | |||
# {langCode} represents the lang code and country code | |||
# which will be the template language for aseets/docs/* ?, English suggested | |||
# suggestion: rename assets/{langCode}/docs/ to docs/{langCode}/ . This is based that at this moment there are no other kind of files under assets/ than 'docs' | |||
== Reading, Game and Exercise == | |||
''consist of a single 'reading', 'game' or 'exercise' '' | |||
{type}/ | |||
index.html (valid html5 -- markup only includes visual elements and links in other resources, no inline code or styling ) | |||
css/{type}.css ( css files -- specific to the lesson ) | |||
js/{type}.js ( javascript controlling logic for the lesson ) | |||
po/ ( translation files ) | po/ ( translation files ) | ||
ne-NP.po | ne-NP.po ( example translation file for Nepal - Nepali ) | ||
sp-ES.po | sp-ES.po ( example translation file for traditional Spanish ) | ||
{langCode}.po ( translation file ) | |||
assets/ | assets/ | ||
generic/ | generic/ ( for language independent assets (e.g. arrows, background images, etc.) ) | ||
images/ | images/ | ||
preview.jpg ( screenshot for Chakra ) | |||
preview.jpg | |||
sounds/ | sounds/ | ||
videos/ | videos/ | ||
| Line 147: | Line 157: | ||
videos/ | videos/ | ||
docs/ | docs/ | ||
en/ | en/ | ||
images/ | images/ | ||
| Line 155: | Line 162: | ||
videos/ | videos/ | ||
docs/ | docs/ | ||
{langCode}/ | |||
images/ | |||
sounds/ | |||
videos/ | |||
docs/ | |||
* Notes | |||
# {type} represents 'game' or 'exercise' or 'reading' | |||
# does docs/ is used? | |||