Karma/Bundle layout: Difference between revisions

BryanWB (talk | contribs)
BryanWB (talk | contribs)
No edit summary
Line 91: Line 91:


   bundle_name/
   bundle_name/
               mainmenu.html
               assets/
               css/                    ( common css files (e.g. jquery.jgrowl.css and menu.css )
                      default/
                              docs/
                              images/
                              sounds/
                              default.po
             
              kindex.html             ( Common gateway to access the lessons in the bundle)
               css/                    ( common css files (e.g. jquery.jgrowl.css and menu.css ) )
               js/                      ( common javascript / jquery files )
               js/                      ( common javascript / jquery files )
               lessons/                ( directory for all the lessons )
               lessons/                ( directory for all the lessons )
                     lesson_name/
                     lesson_name1/
                    lesson_name2/
             


== Lesson ==
== Lesson ==
Line 103: Line 112:
   lesson_name/
   lesson_name/
               index.html              ( valid html5 -- markup only includes visual elements and links in other resources, no inline code or styling )
               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 )
               css/lesson_name.css      ( css files  -- specific to the lesson )
                  karma.css            ( default stylesheet for Karma )
               js/ lesson_name.js      ( javascript controlling logic for the lesson )         
                  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 )
               po/                      ( translation files )
                   ne_NP.po            # example translation file for Nepal - Nepali
                   ne_NP.po            # example translation file for Nepal - Nepali
Line 116: Line 120:
                     ne/
                     ne/
                         images/
                         images/
                         audio/
                         sounds/
                         docs/
                         docs/
                             activity text
                             activity text
                             lesson plan?
                             lesson plan
                             teachers note?
                             teachers note
                     en/
                     en/
                         images/
                         images/
                         audio/
                         sounds/
                        docs/