Karma/Bundle layout: Difference between revisions
No edit summary |
|||
| Line 9: | Line 9: | ||
AUTHORS | AUTHORS ( Should include names of everyone that has contributed to Karma main package ) | ||
ChangeLog | ChangeLog | ||
COPYING | COPYING ( Licensing information, should default to MIT License ? how distinguish b/w code licensing and content licensing ) | ||
css/ | css/ ( css/ and js/ contain the code common to all examples, lessons, and karma.html ) | ||
examples/ | examples/ ( working examples of karma lessons ) | ||
js/ | js/ ( css/ and js/ contain the code common to all examples, lessons, and karma.html ) | ||
INSTALL | INSTALL | ||
karma | karma ( This is a shell script that launches karma.js, it just checks if you have java installed so you can run karma.js | ||
it is inspired partly by rails and [http://docs.djangoproject.com/en/dev/ref/django-admin/ django-admin] administrative scripts ) | |||
karma.html | karma.html ( The starting page for accessing Karma lessons, should include links to the examples ) | ||
karma.js | karma.js ( The main utility script for karma, all it dependencies live in utils/ ) | ||
lessons/ | lessons/ ( this is the workspace for creating new Karma lessons ) | ||
locale/ | locale/ ( images, sounds, and text common to karma.html, examples, and the lessons ) | ||
default/ | default/ | ||
images/ | images/ | ||
| Line 27: | Line 27: | ||
locale_name/ | locale_name/ | ||
images/ | images/ | ||
locale_name.json | locale_name.json ( karma actually needs the .po file to be converted to .json ) | ||
sounds/ | sounds/ | ||
NEWS | NEWS ( List of important changes to this package indexed by version ) | ||
platform/ | platform/ ( An html5-capable browser that can be used to create sugar .xo bundle ) | ||
po/ | po/ | ||
README | README | ||
utils/ | utils/ ( The [http://www.narwhaljs.org/ narwhal] command-line interpreter for javascript and other utility scripts used by karma.js ) | ||
== Karma XO bundle == | == Karma XO bundle == | ||
| Line 90: | Line 89: | ||
bundle_name/ | bundle_name/ | ||
mainmenu.html | mainmenu.html | ||
css/ | css/ ( common css files (e.g. jquery.jgrowl.css and menu.css ) | ||
js/ | js/ ( common javascript / jquery files ) | ||
lessons/ | lessons/ ( directory for all the lessons ) | ||
lesson_name/ | lesson_name/ | ||
| Line 100: | Line 99: | ||
lesson_name/ | lesson_name/ | ||
index.html | index.html ( valid html5 -- markup only includes visual elements and links in other resources, no inline code or styling ) | ||
css/ | css/ ( css files -- all control of presentation done in CSS ) | ||
karma.css | karma.css ( default stylesheet for Karma ) | ||
lesson_name.css | lesson_name.css ( custom stylesheet for lesson ) | ||
js/ | js/ ( javascript files ) | ||
karma.js | karma.js ( common javascript functions for a Karma lesson ) | ||
jquery.js, jquery.growl.js | jquery.js, jquery.growl.js ( utility functions from jQuery ) | ||
lesson_name.js | lesson_name.js ( javascript controlling logic for the lesson ) | ||
po/ | po/ ( translation files ) | ||
ne_NP.po # example translation file for Nepal - Nepali | ne_NP.po # example translation file for Nepal - Nepali | ||
sp_ES.po # example translation file for traditional Spanish | sp_ES.po # example translation file for traditional Spanish | ||
| Line 116: | Line 115: | ||
audio/ | audio/ | ||
docs/ | docs/ | ||
activity text | |||
lesson plan? | lesson plan? | ||
teachers note? | teachers note? | ||