Difference between revisions of "Karma/Bundle layout"

From Sugar Labs
Jump to navigation Jump to search
Line 1: Line 1:
 
== Karma activity bundle ==
 
== Karma activity bundle ==
  
'''consists of an HTML5 capable browser (activity) and a lesson bundle'''
+
''consists of an HTML5 capable browser (activity) and a lesson bundle''
  
 
similar to E-Paath layout
 
similar to E-Paath layout
Line 7: Line 7:
 
== Karma lesson bundle ==
 
== Karma lesson bundle ==
  
'''consists of multiple lesson in a single bundle'''
+
''consists of multiple lesson in a single bundle''
  
 
== Lesson ==
 
== Lesson ==
  
'''consists of a single lesson'''
+
''consists of a single lesson''
  
 
   lesson_name/
 
   lesson_name/

Revision as of 06:48, 20 July 2009

Karma activity bundle

consists of an HTML5 capable browser (activity) and a lesson bundle

similar to E-Paath layout

Karma lesson bundle

consists of multiple lesson in a single bundle

Lesson

consists of a single lesson

 lesson_name/
             index.html               # valid html5 -- markup only includes visual elements and links in other resources, no inline code or styling
             css/                     # css files   -- all control of presentation done in CSS
                 karma.css            # default stylesheet for Karma
                 lesson_name.css      # custom stylesheet for lesson
             js/                      # javascript files
                 karma.js             # common javascript functions for a Karma lesson
                 jquery.js, jquery.growl.js    # utility functions from jQuery
                 lesson_name.js       # javascript controlling logic for the lesson          
             po/                      # translation files
                 ne_NP.po             # example translation file for Nepal - Nepali
                 sp_ES.po             # example translation file for traditional Spanish
             assets/
                    ne/
                       images/
                       audio/
                       docs/
                            lesson plan?
                            teachers note? 
                    en/
                       images/
                       audio/