compass-jquery-plugin 0.2.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.textile +122 -0
- data/Rakefile +9 -0
- data/lib/handle_js_files.rb +24 -0
- data/lib/jquery/calendar.rb +5 -0
- data/lib/jquery/compass_plugin.rb +5 -0
- data/lib/jquery/dynatree.rb +5 -0
- data/lib/jquery/jqgrid.rb +380 -0
- data/lib/jquery/jrails.rb +427 -0
- data/lib/jquery/rubygems.rake +41 -0
- data/lib/jquery/secret_sauce/controller/ui_dialog_controls.rb +14 -0
- data/lib/jquery/secret_sauce/controller/ui_grid_controls.rb +18 -0
- data/lib/jquery/secret_sauce/helpers/ui_dialog_helper.rb +6 -0
- data/lib/jquery/secret_sauce/helpers/ui_form_helper.rb +118 -0
- data/lib/jquery/secret_sauce/helpers/ui_grid_helper.rb +220 -0
- data/lib/jquery/secret_sauce/helpers/ui_theme_helper.rb +16 -0
- data/lib/jquery/secret_sauce/model/find_for_grid.rb +45 -0
- data/lib/jquery/secret_sauce.rb +10 -0
- data/lib/jquery/version.rb +13 -0
- data/lib/jquery.rb +1 -0
- data/lib/yuicompressor-2.4.2.jar +0 -0
- data/templates/calendar/config/initializers/calendar.rb +3 -0
- data/templates/calendar/jquery.calendar.js +2047 -0
- data/templates/calendar/jquery.calendar.min.js +11 -0
- data/templates/calendar/jquery.ui/calendar.sass +288 -0
- data/templates/calendar/manifest.rb +7 -0
- data/templates/dynatree/config/initializers/dynatree.rb +3 -0
- data/templates/dynatree/jquery.dynatree.js +1975 -0
- data/templates/dynatree/jquery.dynatree.min.js +1 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/cbChecked.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/cbChecked_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/cbIntermediate.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/cbIntermediate_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/cbUnchecked.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/cbUnchecked_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/collapsed.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/collapsed_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/customDoc1.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/customFolder1.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/doc_with_children.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/document.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/empty.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/expanded.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/expanded_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/folder.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/folder_docs.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/folder_images.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/folder_open.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/folder_page.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/ltDoc.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/ltError.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/ltWait.gif +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/rbChecked.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/rbChecked_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/rbIntermediate.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/rbIntermediate_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/rbUnchecked.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua/rbUnchecked_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.aqua.sass +177 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/cbChecked.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/cbChecked_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/cbIntermediate.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/cbIntermediate_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/cbUnchecked.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/cbUnchecked_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/collapsed.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/collapsed_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/customDoc1.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/customFolder1.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/doc_with_children.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/document.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/edit_add.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/empty.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/expanded.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/expanded_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/folder.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/folder_docs.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/folder_images.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/folder_open.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/folder_page.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/ltDoc.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/ltError.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/ltWait.gif +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/rbChecked.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/rbChecked_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/rbIntermediate.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/rbIntermediate_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/rbUnchecked.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal/rbUnchecked_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.crystal.sass +177 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/cbChecked.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/cbChecked_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/cbIntermediate.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/cbIntermediate_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/cbUnchecked.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/cbUnchecked_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/collapsed.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/collapsed_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/customDoc1.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/customFolder1.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/doc_with_children.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/document.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/empty.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/expanded.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/expanded_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/folder.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/folder_docs.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/folder_images.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/folder_open.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/folder_page.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/ltDoc.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/ltError.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/ltWait.ani +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/ltWait.gif +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/rbChecked.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/rbChecked_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/rbIntermediate.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/rbIntermediate_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/rbUnchecked.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista/rbUnchecked_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.vista.sass +177 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/cbChecked.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/cbChecked_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/cbIntermediate.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/cbIntermediate_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/cbUnchecked.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/cbUnchecked_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/customDoc1.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/customFolder1.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/ltD_ne.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/ltD_nes.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/ltDoc.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/ltError.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/ltFld.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/ltFld_o.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/ltL_.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/ltL_ne.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/ltL_nes.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/ltL_ns.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/ltM_ne.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/ltM_nes.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/ltP_ne.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/ltP_nes.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/ltWait.gif +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/rbChecked.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/rbChecked_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/rbIntermediate.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/rbIntermediate_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/rbUnchecked.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/rbUnchecked_hover.png +0 -0
- data/templates/dynatree/jquery.ui/dynatree.xp/ui.dynatree.css +287 -0
- data/templates/dynatree/jquery.ui/dynatree.xp.sass +178 -0
- data/templates/dynatree/manifest.rb +129 -0
- data/templates/jqgrid/config/initializers/jqgrid.rb +3 -0
- data/templates/jqgrid/config/locales/jquery/jqgrid/de.yml +7 -0
- data/templates/jqgrid/config/locales/jquery/jqgrid/en.yml +7 -0
- data/templates/jqgrid/i18n/jqgrid/locale-bg.js +128 -0
- data/templates/jqgrid/i18n/jqgrid/locale-bg.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-bg1251.js +128 -0
- data/templates/jqgrid/i18n/jqgrid/locale-bg1251.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-cat.js +124 -0
- data/templates/jqgrid/i18n/jqgrid/locale-cat.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-cs.js +123 -0
- data/templates/jqgrid/i18n/jqgrid/locale-cs.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-de.js +124 -0
- data/templates/jqgrid/i18n/jqgrid/locale-de.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-dk.js +124 -0
- data/templates/jqgrid/i18n/jqgrid/locale-dk.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-el.js +122 -0
- data/templates/jqgrid/i18n/jqgrid/locale-el.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-en.js +123 -0
- data/templates/jqgrid/i18n/jqgrid/locale-en.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-fa.js +121 -0
- data/templates/jqgrid/i18n/jqgrid/locale-fa.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-fi.js +124 -0
- data/templates/jqgrid/i18n/jqgrid/locale-fi.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-fr.js +122 -0
- data/templates/jqgrid/i18n/jqgrid/locale-fr.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-is.js +122 -0
- data/templates/jqgrid/i18n/jqgrid/locale-is.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-it.js +122 -0
- data/templates/jqgrid/i18n/jqgrid/locale-it.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-jp.js +123 -0
- data/templates/jqgrid/i18n/jqgrid/locale-jp.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-nl.js +145 -0
- data/templates/jqgrid/i18n/jqgrid/locale-nl.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-no.js +116 -0
- data/templates/jqgrid/i18n/jqgrid/locale-no.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-pl.js +123 -0
- data/templates/jqgrid/i18n/jqgrid/locale-pl.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-pt-br.js +123 -0
- data/templates/jqgrid/i18n/jqgrid/locale-pt-br.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-pt.js +121 -0
- data/templates/jqgrid/i18n/jqgrid/locale-pt.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-ru.js +123 -0
- data/templates/jqgrid/i18n/jqgrid/locale-ru.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-sp.js +124 -0
- data/templates/jqgrid/i18n/jqgrid/locale-sp.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-sv.js +112 -0
- data/templates/jqgrid/i18n/jqgrid/locale-sv.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-tr.js +122 -0
- data/templates/jqgrid/i18n/jqgrid/locale-tr.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-ua.js +123 -0
- data/templates/jqgrid/i18n/jqgrid/locale-ua.min.js +1 -0
- data/templates/jqgrid/jquery.jqGrid.js +8988 -0
- data/templates/jqgrid/jquery.jqGrid.min.js +1 -0
- data/templates/jqgrid/jquery.ui/jqGrid.sass +580 -0
- data/templates/jqgrid/manifest.rb +57 -0
- data/templates/jrails/config/initializers/jrails.rb +25 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-ar.js +20 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-ar.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-bg.js +20 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-bg.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-ca.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-ca.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-cs.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-cs.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-da.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-da.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-de.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-de.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-el.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-el.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-eo.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-eo.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-es.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-es.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-fa.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-fa.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-fi.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-fi.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-fr.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-fr.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-he.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-he.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-hr.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-hr.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-hu.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-hu.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-hy.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-hy.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-id.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-id.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-is.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-is.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-it.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-it.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-ja.js +20 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-ja.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-ko.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-ko.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-lt.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-lt.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-lv.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-lv.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-ms.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-ms.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-nl.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-nl.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-no.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-no.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-pl.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-pl.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-pt-BR.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-pt-BR.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-ro.js +22 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-ro.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-ru.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-ru.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-sk.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-sk.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-sl.js +20 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-sl.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-sq.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-sq.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-sr-SR.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-sr-SR.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-sr.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-sr.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-sv.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-sv.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-th.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-th.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-tr.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-tr.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-uk.js +25 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-uk.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-zh-CN.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-zh-CN.min.js +1 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-zh-TW.js +19 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-zh-TW.min.js +1 -0
- data/templates/jrails/jquery-ui.js +18367 -0
- data/templates/jrails/jquery-ui.min.js +1 -0
- data/templates/jrails/jquery.js +7627 -0
- data/templates/jrails/jquery.min.js +19 -0
- data/templates/jrails/jquery.pngFix.js +11 -0
- data/templates/jrails/jquery.pngFix.min.js +1 -0
- data/templates/jrails/jquery.ui/_theme.sass +1462 -0
- data/templates/jrails/jquery.ui/base/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/jrails/jquery.ui/base/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/templates/jrails/jquery.ui/base/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/templates/jrails/jquery.ui/base/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/templates/jrails/jquery.ui/base/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/templates/jrails/jquery.ui/base/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/templates/jrails/jquery.ui/base/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/templates/jrails/jquery.ui/base/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/templates/jrails/jquery.ui/base/ui-icons_222222_256x240.png +0 -0
- data/templates/jrails/jquery.ui/base/ui-icons_2e83ff_256x240.png +0 -0
- data/templates/jrails/jquery.ui/base/ui-icons_454545_256x240.png +0 -0
- data/templates/jrails/jquery.ui/base/ui-icons_888888_256x240.png +0 -0
- data/templates/jrails/jquery.ui/base/ui-icons_cd0a0a_256x240.png +0 -0
- data/templates/jrails/jquery.ui/base.sass +85 -0
- data/templates/jrails/jquery.ui/black-tie/ui-bg_diagonals-thick_8_333333_40x40.png +0 -0
- data/templates/jrails/jquery.ui/black-tie/ui-bg_flat_65_ffffff_40x100.png +0 -0
- data/templates/jrails/jquery.ui/black-tie/ui-bg_glass_40_111111_1x400.png +0 -0
- data/templates/jrails/jquery.ui/black-tie/ui-bg_glass_55_1c1c1c_1x400.png +0 -0
- data/templates/jrails/jquery.ui/black-tie/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
- data/templates/jrails/jquery.ui/black-tie/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
- data/templates/jrails/jquery.ui/black-tie/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
- data/templates/jrails/jquery.ui/black-tie/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
- data/templates/jrails/jquery.ui/black-tie/ui-bg_inset-hard_55_ffeb80_1x100.png +0 -0
- data/templates/jrails/jquery.ui/black-tie/ui-icons_222222_256x240.png +0 -0
- data/templates/jrails/jquery.ui/black-tie/ui-icons_4ca300_256x240.png +0 -0
- data/templates/jrails/jquery.ui/black-tie/ui-icons_bbbbbb_256x240.png +0 -0
- data/templates/jrails/jquery.ui/black-tie/ui-icons_ededed_256x240.png +0 -0
- data/templates/jrails/jquery.ui/black-tie/ui-icons_ffcf29_256x240.png +0 -0
- data/templates/jrails/jquery.ui/black-tie/ui-icons_ffffff_256x240.png +0 -0
- data/templates/jrails/jquery.ui/black-tie.sass +85 -0
- data/templates/jrails/jquery.ui/blitzer/ui-bg_diagonals-thick_75_f3d8d8_40x40.png +0 -0
- data/templates/jrails/jquery.ui/blitzer/ui-bg_dots-small_65_a6a6a6_2x2.png +0 -0
- data/templates/jrails/jquery.ui/blitzer/ui-bg_flat_0_333333_40x100.png +0 -0
- data/templates/jrails/jquery.ui/blitzer/ui-bg_flat_65_ffffff_40x100.png +0 -0
- data/templates/jrails/jquery.ui/blitzer/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/templates/jrails/jquery.ui/blitzer/ui-bg_glass_55_fbf8ee_1x400.png +0 -0
- data/templates/jrails/jquery.ui/blitzer/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
- data/templates/jrails/jquery.ui/blitzer/ui-bg_highlight-hard_100_f6f6f6_1x100.png +0 -0
- data/templates/jrails/jquery.ui/blitzer/ui-bg_highlight-soft_15_cc0000_1x100.png +0 -0
- data/templates/jrails/jquery.ui/blitzer/ui-icons_004276_256x240.png +0 -0
- data/templates/jrails/jquery.ui/blitzer/ui-icons_cc0000_256x240.png +0 -0
- data/templates/jrails/jquery.ui/blitzer/ui-icons_ffffff_256x240.png +0 -0
- data/templates/jrails/jquery.ui/blitzer.sass +85 -0
- data/templates/jrails/jquery.ui/cupertino/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
- data/templates/jrails/jquery.ui/cupertino/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
- data/templates/jrails/jquery.ui/cupertino/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
- data/templates/jrails/jquery.ui/cupertino/ui-bg_glass_50_3baae3_1x400.png +0 -0
- data/templates/jrails/jquery.ui/cupertino/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
- data/templates/jrails/jquery.ui/cupertino/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
- data/templates/jrails/jquery.ui/cupertino/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
- data/templates/jrails/jquery.ui/cupertino/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
- data/templates/jrails/jquery.ui/cupertino/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
- data/templates/jrails/jquery.ui/cupertino/ui-icons_2694e8_256x240.png +0 -0
- data/templates/jrails/jquery.ui/cupertino/ui-icons_2e83ff_256x240.png +0 -0
- data/templates/jrails/jquery.ui/cupertino/ui-icons_3d80b3_256x240.png +0 -0
- data/templates/jrails/jquery.ui/cupertino/ui-icons_72a7cf_256x240.png +0 -0
- data/templates/jrails/jquery.ui/cupertino/ui-icons_ffffff_256x240.png +0 -0
- data/templates/jrails/jquery.ui/cupertino.sass +85 -0
- data/templates/jrails/jquery.ui/dark-hive/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/templates/jrails/jquery.ui/dark-hive/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/templates/jrails/jquery.ui/dark-hive/ui-bg_glass_40_ffc73d_1x400.png +0 -0
- data/templates/jrails/jquery.ui/dark-hive/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
- data/templates/jrails/jquery.ui/dark-hive/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
- data/templates/jrails/jquery.ui/dark-hive/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
- data/templates/jrails/jquery.ui/dark-hive/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
- data/templates/jrails/jquery.ui/dark-hive/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
- data/templates/jrails/jquery.ui/dark-hive/ui-bg_loop_25_000000_21x21.png +0 -0
- data/templates/jrails/jquery.ui/dark-hive/ui-icons_222222_256x240.png +0 -0
- data/templates/jrails/jquery.ui/dark-hive/ui-icons_4b8e0b_256x240.png +0 -0
- data/templates/jrails/jquery.ui/dark-hive/ui-icons_a83300_256x240.png +0 -0
- data/templates/jrails/jquery.ui/dark-hive/ui-icons_cccccc_256x240.png +0 -0
- data/templates/jrails/jquery.ui/dark-hive/ui-icons_ffffff_256x240.png +0 -0
- data/templates/jrails/jquery.ui/dark-hive.sass +85 -0
- data/templates/jrails/jquery.ui/dot-luv/ui-bg_diagonals-thick_15_0b3e6f_40x40.png +0 -0
- data/templates/jrails/jquery.ui/dot-luv/ui-bg_dots-medium_30_0b58a2_4x4.png +0 -0
- data/templates/jrails/jquery.ui/dot-luv/ui-bg_dots-small_20_333333_2x2.png +0 -0
- data/templates/jrails/jquery.ui/dot-luv/ui-bg_dots-small_30_a32d00_2x2.png +0 -0
- data/templates/jrails/jquery.ui/dot-luv/ui-bg_dots-small_40_00498f_2x2.png +0 -0
- data/templates/jrails/jquery.ui/dot-luv/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/jrails/jquery.ui/dot-luv/ui-bg_flat_40_292929_40x100.png +0 -0
- data/templates/jrails/jquery.ui/dot-luv/ui-bg_gloss-wave_20_111111_500x100.png +0 -0
- data/templates/jrails/jquery.ui/dot-luv/ui-icons_00498f_256x240.png +0 -0
- data/templates/jrails/jquery.ui/dot-luv/ui-icons_98d2fb_256x240.png +0 -0
- data/templates/jrails/jquery.ui/dot-luv/ui-icons_9ccdfc_256x240.png +0 -0
- data/templates/jrails/jquery.ui/dot-luv/ui-icons_ffffff_256x240.png +0 -0
- data/templates/jrails/jquery.ui/dot-luv.sass +85 -0
- data/templates/jrails/jquery.ui/eggplant/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/jrails/jquery.ui/eggplant/ui-bg_flat_0_eeeeee_40x100.png +0 -0
- data/templates/jrails/jquery.ui/eggplant/ui-bg_flat_55_994d53_40x100.png +0 -0
- data/templates/jrails/jquery.ui/eggplant/ui-bg_flat_55_fafafa_40x100.png +0 -0
- data/templates/jrails/jquery.ui/eggplant/ui-bg_gloss-wave_30_3d3644_500x100.png +0 -0
- data/templates/jrails/jquery.ui/eggplant/ui-bg_highlight-soft_100_dcd9de_1x100.png +0 -0
- data/templates/jrails/jquery.ui/eggplant/ui-bg_highlight-soft_100_eae6ea_1x100.png +0 -0
- data/templates/jrails/jquery.ui/eggplant/ui-bg_highlight-soft_25_30273a_1x100.png +0 -0
- data/templates/jrails/jquery.ui/eggplant/ui-bg_highlight-soft_45_5f5964_1x100.png +0 -0
- data/templates/jrails/jquery.ui/eggplant/ui-icons_454545_256x240.png +0 -0
- data/templates/jrails/jquery.ui/eggplant/ui-icons_734d99_256x240.png +0 -0
- data/templates/jrails/jquery.ui/eggplant/ui-icons_8d78a5_256x240.png +0 -0
- data/templates/jrails/jquery.ui/eggplant/ui-icons_a8a3ae_256x240.png +0 -0
- data/templates/jrails/jquery.ui/eggplant/ui-icons_ebccce_256x240.png +0 -0
- data/templates/jrails/jquery.ui/eggplant/ui-icons_ffffff_256x240.png +0 -0
- data/templates/jrails/jquery.ui/eggplant.sass +85 -0
- data/templates/jrails/jquery.ui/excite-bike/ui-bg_diagonals-small_25_c5ddfc_40x40.png +0 -0
- data/templates/jrails/jquery.ui/excite-bike/ui-bg_diagonals-thick_20_e69700_40x40.png +0 -0
- data/templates/jrails/jquery.ui/excite-bike/ui-bg_diagonals-thick_22_1484e6_40x40.png +0 -0
- data/templates/jrails/jquery.ui/excite-bike/ui-bg_diagonals-thick_26_2293f7_40x40.png +0 -0
- data/templates/jrails/jquery.ui/excite-bike/ui-bg_flat_0_e69700_40x100.png +0 -0
- data/templates/jrails/jquery.ui/excite-bike/ui-bg_flat_0_e6b900_40x100.png +0 -0
- data/templates/jrails/jquery.ui/excite-bike/ui-bg_highlight-soft_100_f9f9f9_1x100.png +0 -0
- data/templates/jrails/jquery.ui/excite-bike/ui-bg_inset-hard_100_eeeeee_1x100.png +0 -0
- data/templates/jrails/jquery.ui/excite-bike/ui-icons_0a82eb_256x240.png +0 -0
- data/templates/jrails/jquery.ui/excite-bike/ui-icons_0b54d5_256x240.png +0 -0
- data/templates/jrails/jquery.ui/excite-bike/ui-icons_5fa5e3_256x240.png +0 -0
- data/templates/jrails/jquery.ui/excite-bike/ui-icons_fcdd4a_256x240.png +0 -0
- data/templates/jrails/jquery.ui/excite-bike/ui-icons_ffffff_256x240.png +0 -0
- data/templates/jrails/jquery.ui/excite-bike.sass +85 -0
- data/templates/jrails/jquery.ui/flick/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/jrails/jquery.ui/flick/ui-bg_flat_0_eeeeee_40x100.png +0 -0
- data/templates/jrails/jquery.ui/flick/ui-bg_flat_55_ffffff_40x100.png +0 -0
- data/templates/jrails/jquery.ui/flick/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/templates/jrails/jquery.ui/flick/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/templates/jrails/jquery.ui/flick/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
- data/templates/jrails/jquery.ui/flick/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
- data/templates/jrails/jquery.ui/flick/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
- data/templates/jrails/jquery.ui/flick/ui-icons_0073ea_256x240.png +0 -0
- data/templates/jrails/jquery.ui/flick/ui-icons_454545_256x240.png +0 -0
- data/templates/jrails/jquery.ui/flick/ui-icons_666666_256x240.png +0 -0
- data/templates/jrails/jquery.ui/flick/ui-icons_ff0084_256x240.png +0 -0
- data/templates/jrails/jquery.ui/flick/ui-icons_ffffff_256x240.png +0 -0
- data/templates/jrails/jquery.ui/flick.sass +85 -0
- data/templates/jrails/jquery.ui/hot-sneaks/ui-bg_diagonals-small_40_db4865_40x40.png +0 -0
- data/templates/jrails/jquery.ui/hot-sneaks/ui-bg_diagonals-small_50_93c3cd_40x40.png +0 -0
- data/templates/jrails/jquery.ui/hot-sneaks/ui-bg_diagonals-small_50_ff3853_40x40.png +0 -0
- data/templates/jrails/jquery.ui/hot-sneaks/ui-bg_diagonals-small_75_ccd232_40x40.png +0 -0
- data/templates/jrails/jquery.ui/hot-sneaks/ui-bg_dots-medium_80_ffff38_4x4.png +0 -0
- data/templates/jrails/jquery.ui/hot-sneaks/ui-bg_dots-small_35_35414f_2x2.png +0 -0
- data/templates/jrails/jquery.ui/hot-sneaks/ui-bg_flat_75_ba9217_40x100.png +0 -0
- data/templates/jrails/jquery.ui/hot-sneaks/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/templates/jrails/jquery.ui/hot-sneaks/ui-bg_white-lines_85_f7f7ba_40x100.png +0 -0
- data/templates/jrails/jquery.ui/hot-sneaks/ui-icons_454545_256x240.png +0 -0
- data/templates/jrails/jquery.ui/hot-sneaks/ui-icons_88a206_256x240.png +0 -0
- data/templates/jrails/jquery.ui/hot-sneaks/ui-icons_c02669_256x240.png +0 -0
- data/templates/jrails/jquery.ui/hot-sneaks/ui-icons_e1e463_256x240.png +0 -0
- data/templates/jrails/jquery.ui/hot-sneaks/ui-icons_ffeb33_256x240.png +0 -0
- data/templates/jrails/jquery.ui/hot-sneaks/ui-icons_ffffff_256x240.png +0 -0
- data/templates/jrails/jquery.ui/hot-sneaks.sass +85 -0
- data/templates/jrails/jquery.ui/humanity/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
- data/templates/jrails/jquery.ui/humanity/ui-bg_glass_100_f5f0e5_1x400.png +0 -0
- data/templates/jrails/jquery.ui/humanity/ui-bg_glass_25_cb842e_1x400.png +0 -0
- data/templates/jrails/jquery.ui/humanity/ui-bg_glass_70_ede4d4_1x400.png +0 -0
- data/templates/jrails/jquery.ui/humanity/ui-bg_highlight-hard_100_f4f0ec_1x100.png +0 -0
- data/templates/jrails/jquery.ui/humanity/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
- data/templates/jrails/jquery.ui/humanity/ui-bg_highlight-hard_75_f5f5b5_1x100.png +0 -0
- data/templates/jrails/jquery.ui/humanity/ui-bg_inset-soft_100_f4f0ec_1x100.png +0 -0
- data/templates/jrails/jquery.ui/humanity/ui-icons_c47a23_256x240.png +0 -0
- data/templates/jrails/jquery.ui/humanity/ui-icons_cb672b_256x240.png +0 -0
- data/templates/jrails/jquery.ui/humanity/ui-icons_f08000_256x240.png +0 -0
- data/templates/jrails/jquery.ui/humanity/ui-icons_f35f07_256x240.png +0 -0
- data/templates/jrails/jquery.ui/humanity/ui-icons_ff7519_256x240.png +0 -0
- data/templates/jrails/jquery.ui/humanity/ui-icons_ffffff_256x240.png +0 -0
- data/templates/jrails/jquery.ui/humanity.sass +85 -0
- data/templates/jrails/jquery.ui/le-frog/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
- data/templates/jrails/jquery.ui/le-frog/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
- data/templates/jrails/jquery.ui/le-frog/ui-bg_diagonals-thick_95_ffdc2e_40x40.png +0 -0
- data/templates/jrails/jquery.ui/le-frog/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
- data/templates/jrails/jquery.ui/le-frog/ui-bg_highlight-hard_30_285c00_1x100.png +0 -0
- data/templates/jrails/jquery.ui/le-frog/ui-bg_highlight-soft_33_3a8104_1x100.png +0 -0
- data/templates/jrails/jquery.ui/le-frog/ui-bg_highlight-soft_50_4eb305_1x100.png +0 -0
- data/templates/jrails/jquery.ui/le-frog/ui-bg_highlight-soft_60_4ca20b_1x100.png +0 -0
- data/templates/jrails/jquery.ui/le-frog/ui-bg_inset-soft_10_285c00_1x100.png +0 -0
- data/templates/jrails/jquery.ui/le-frog/ui-icons_4eb305_256x240.png +0 -0
- data/templates/jrails/jquery.ui/le-frog/ui-icons_72b42d_256x240.png +0 -0
- data/templates/jrails/jquery.ui/le-frog/ui-icons_cd0a0a_256x240.png +0 -0
- data/templates/jrails/jquery.ui/le-frog/ui-icons_ffffff_256x240.png +0 -0
- data/templates/jrails/jquery.ui/le-frog.sass +85 -0
- data/templates/jrails/jquery.ui/mint-choc/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/jrails/jquery.ui/mint-choc/ui-bg_glass_15_5f391b_1x400.png +0 -0
- data/templates/jrails/jquery.ui/mint-choc/ui-bg_gloss-wave_20_1c160d_500x100.png +0 -0
- data/templates/jrails/jquery.ui/mint-choc/ui-bg_gloss-wave_25_453326_500x100.png +0 -0
- data/templates/jrails/jquery.ui/mint-choc/ui-bg_gloss-wave_30_44372c_500x100.png +0 -0
- data/templates/jrails/jquery.ui/mint-choc/ui-bg_highlight-soft_20_201913_1x100.png +0 -0
- data/templates/jrails/jquery.ui/mint-choc/ui-bg_highlight-soft_20_619226_1x100.png +0 -0
- data/templates/jrails/jquery.ui/mint-choc/ui-bg_inset-soft_10_201913_1x100.png +0 -0
- data/templates/jrails/jquery.ui/mint-choc/ui-icons_222222_256x240.png +0 -0
- data/templates/jrails/jquery.ui/mint-choc/ui-icons_9bcc60_256x240.png +0 -0
- data/templates/jrails/jquery.ui/mint-choc/ui-icons_add978_256x240.png +0 -0
- data/templates/jrails/jquery.ui/mint-choc/ui-icons_e3ddc9_256x240.png +0 -0
- data/templates/jrails/jquery.ui/mint-choc/ui-icons_f1fd86_256x240.png +0 -0
- data/templates/jrails/jquery.ui/mint-choc/ui-icons_ffffff_256x240.png +0 -0
- data/templates/jrails/jquery.ui/mint-choc.sass +85 -0
- data/templates/jrails/jquery.ui/overcast/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/jrails/jquery.ui/overcast/ui-bg_flat_0_eeeeee_40x100.png +0 -0
- data/templates/jrails/jquery.ui/overcast/ui-bg_flat_55_c0402a_40x100.png +0 -0
- data/templates/jrails/jquery.ui/overcast/ui-bg_flat_55_eeeeee_40x100.png +0 -0
- data/templates/jrails/jquery.ui/overcast/ui-bg_glass_100_f8f8f8_1x400.png +0 -0
- data/templates/jrails/jquery.ui/overcast/ui-bg_glass_35_dddddd_1x400.png +0 -0
- data/templates/jrails/jquery.ui/overcast/ui-bg_glass_60_eeeeee_1x400.png +0 -0
- data/templates/jrails/jquery.ui/overcast/ui-bg_inset-hard_75_999999_1x100.png +0 -0
- data/templates/jrails/jquery.ui/overcast/ui-bg_inset-soft_50_c9c9c9_1x100.png +0 -0
- data/templates/jrails/jquery.ui/overcast/ui-icons_3383bb_256x240.png +0 -0
- data/templates/jrails/jquery.ui/overcast/ui-icons_454545_256x240.png +0 -0
- data/templates/jrails/jquery.ui/overcast/ui-icons_70b2e1_256x240.png +0 -0
- data/templates/jrails/jquery.ui/overcast/ui-icons_999999_256x240.png +0 -0
- data/templates/jrails/jquery.ui/overcast/ui-icons_fbc856_256x240.png +0 -0
- data/templates/jrails/jquery.ui/overcast.sass +85 -0
- data/templates/jrails/jquery.ui/pepper-grinder/ui-bg_diagonal-maze_20_6e4f1c_10x10.png +0 -0
- data/templates/jrails/jquery.ui/pepper-grinder/ui-bg_diagonal-maze_40_000000_10x10.png +0 -0
- data/templates/jrails/jquery.ui/pepper-grinder/ui-bg_fine-grain_10_eceadf_60x60.png +0 -0
- data/templates/jrails/jquery.ui/pepper-grinder/ui-bg_fine-grain_10_f8f7f6_60x60.png +0 -0
- data/templates/jrails/jquery.ui/pepper-grinder/ui-bg_fine-grain_15_eceadf_60x60.png +0 -0
- data/templates/jrails/jquery.ui/pepper-grinder/ui-bg_fine-grain_15_f7f3de_60x60.png +0 -0
- data/templates/jrails/jquery.ui/pepper-grinder/ui-bg_fine-grain_15_ffffff_60x60.png +0 -0
- data/templates/jrails/jquery.ui/pepper-grinder/ui-bg_fine-grain_65_654b24_60x60.png +0 -0
- data/templates/jrails/jquery.ui/pepper-grinder/ui-bg_fine-grain_68_b83400_60x60.png +0 -0
- data/templates/jrails/jquery.ui/pepper-grinder/ui-icons_222222_256x240.png +0 -0
- data/templates/jrails/jquery.ui/pepper-grinder/ui-icons_3572ac_256x240.png +0 -0
- data/templates/jrails/jquery.ui/pepper-grinder/ui-icons_8c291d_256x240.png +0 -0
- data/templates/jrails/jquery.ui/pepper-grinder/ui-icons_b83400_256x240.png +0 -0
- data/templates/jrails/jquery.ui/pepper-grinder/ui-icons_fbdb93_256x240.png +0 -0
- data/templates/jrails/jquery.ui/pepper-grinder/ui-icons_ffffff_256x240.png +0 -0
- data/templates/jrails/jquery.ui/pepper-grinder.sass +85 -0
- data/templates/jrails/jquery.ui/redmond/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/jrails/jquery.ui/redmond/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/templates/jrails/jquery.ui/redmond/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/templates/jrails/jquery.ui/redmond/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/templates/jrails/jquery.ui/redmond/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/templates/jrails/jquery.ui/redmond/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/templates/jrails/jquery.ui/redmond/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/templates/jrails/jquery.ui/redmond/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/templates/jrails/jquery.ui/redmond/ui-icons_217bc0_256x240.png +0 -0
- data/templates/jrails/jquery.ui/redmond/ui-icons_2e83ff_256x240.png +0 -0
- data/templates/jrails/jquery.ui/redmond/ui-icons_469bdd_256x240.png +0 -0
- data/templates/jrails/jquery.ui/redmond/ui-icons_6da8d5_256x240.png +0 -0
- data/templates/jrails/jquery.ui/redmond/ui-icons_cd0a0a_256x240.png +0 -0
- data/templates/jrails/jquery.ui/redmond/ui-icons_d8e7f3_256x240.png +0 -0
- data/templates/jrails/jquery.ui/redmond/ui-icons_f9bd01_256x240.png +0 -0
- data/templates/jrails/jquery.ui/redmond.sass +85 -0
- data/templates/jrails/jquery.ui/smoothness/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/jrails/jquery.ui/smoothness/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/templates/jrails/jquery.ui/smoothness/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/templates/jrails/jquery.ui/smoothness/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/templates/jrails/jquery.ui/smoothness/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/templates/jrails/jquery.ui/smoothness/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/templates/jrails/jquery.ui/smoothness/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/templates/jrails/jquery.ui/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/templates/jrails/jquery.ui/smoothness/ui-icons_222222_256x240.png +0 -0
- data/templates/jrails/jquery.ui/smoothness/ui-icons_2e83ff_256x240.png +0 -0
- data/templates/jrails/jquery.ui/smoothness/ui-icons_454545_256x240.png +0 -0
- data/templates/jrails/jquery.ui/smoothness/ui-icons_888888_256x240.png +0 -0
- data/templates/jrails/jquery.ui/smoothness/ui-icons_cd0a0a_256x240.png +0 -0
- data/templates/jrails/jquery.ui/smoothness.sass +85 -0
- data/templates/jrails/jquery.ui/south-street/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
- data/templates/jrails/jquery.ui/south-street/ui-bg_gloss-wave_100_ece8da_500x100.png +0 -0
- data/templates/jrails/jquery.ui/south-street/ui-bg_highlight-hard_100_f5f3e5_1x100.png +0 -0
- data/templates/jrails/jquery.ui/south-street/ui-bg_highlight-hard_100_fafaf4_1x100.png +0 -0
- data/templates/jrails/jquery.ui/south-street/ui-bg_highlight-hard_15_459e00_1x100.png +0 -0
- data/templates/jrails/jquery.ui/south-street/ui-bg_highlight-hard_95_cccccc_1x100.png +0 -0
- data/templates/jrails/jquery.ui/south-street/ui-bg_highlight-soft_25_67b021_1x100.png +0 -0
- data/templates/jrails/jquery.ui/south-street/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
- data/templates/jrails/jquery.ui/south-street/ui-bg_inset-soft_15_2b2922_1x100.png +0 -0
- data/templates/jrails/jquery.ui/south-street/ui-icons_808080_256x240.png +0 -0
- data/templates/jrails/jquery.ui/south-street/ui-icons_847e71_256x240.png +0 -0
- data/templates/jrails/jquery.ui/south-street/ui-icons_8DC262_256x240.png +0 -0
- data/templates/jrails/jquery.ui/south-street/ui-icons_cd0a0a_256x240.png +0 -0
- data/templates/jrails/jquery.ui/south-street/ui-icons_eeeeee_256x240.png +0 -0
- data/templates/jrails/jquery.ui/south-street/ui-icons_ffffff_256x240.png +0 -0
- data/templates/jrails/jquery.ui/south-street.sass +85 -0
- data/templates/jrails/jquery.ui/sunny/ui-bg_diagonals-medium_20_d34d17_40x40.png +0 -0
- data/templates/jrails/jquery.ui/sunny/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/templates/jrails/jquery.ui/sunny/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/templates/jrails/jquery.ui/sunny/ui-bg_gloss-wave_45_817865_500x100.png +0 -0
- data/templates/jrails/jquery.ui/sunny/ui-bg_gloss-wave_60_fece2f_500x100.png +0 -0
- data/templates/jrails/jquery.ui/sunny/ui-bg_gloss-wave_70_ffdd57_500x100.png +0 -0
- data/templates/jrails/jquery.ui/sunny/ui-bg_gloss-wave_90_fff9e5_500x100.png +0 -0
- data/templates/jrails/jquery.ui/sunny/ui-bg_highlight-soft_100_feeebd_1x100.png +0 -0
- data/templates/jrails/jquery.ui/sunny/ui-bg_inset-soft_30_ffffff_1x100.png +0 -0
- data/templates/jrails/jquery.ui/sunny/ui-icons_3d3d3d_256x240.png +0 -0
- data/templates/jrails/jquery.ui/sunny/ui-icons_bd7b00_256x240.png +0 -0
- data/templates/jrails/jquery.ui/sunny/ui-icons_d19405_256x240.png +0 -0
- data/templates/jrails/jquery.ui/sunny/ui-icons_eb990f_256x240.png +0 -0
- data/templates/jrails/jquery.ui/sunny/ui-icons_ed9f26_256x240.png +0 -0
- data/templates/jrails/jquery.ui/sunny/ui-icons_fadc7a_256x240.png +0 -0
- data/templates/jrails/jquery.ui/sunny/ui-icons_ffe180_256x240.png +0 -0
- data/templates/jrails/jquery.ui/sunny.sass +85 -0
- data/templates/jrails/jquery.ui/swanky-purse/ui-bg_diamond_10_4f4221_10x8.png +0 -0
- data/templates/jrails/jquery.ui/swanky-purse/ui-bg_diamond_20_372806_10x8.png +0 -0
- data/templates/jrails/jquery.ui/swanky-purse/ui-bg_diamond_25_675423_10x8.png +0 -0
- data/templates/jrails/jquery.ui/swanky-purse/ui-bg_diamond_25_d5ac5d_10x8.png +0 -0
- data/templates/jrails/jquery.ui/swanky-purse/ui-bg_diamond_8_261803_10x8.png +0 -0
- data/templates/jrails/jquery.ui/swanky-purse/ui-bg_diamond_8_443113_10x8.png +0 -0
- data/templates/jrails/jquery.ui/swanky-purse/ui-bg_flat_75_ddd4b0_40x100.png +0 -0
- data/templates/jrails/jquery.ui/swanky-purse/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
- data/templates/jrails/jquery.ui/swanky-purse/ui-icons_070603_256x240.png +0 -0
- data/templates/jrails/jquery.ui/swanky-purse/ui-icons_e8e2b5_256x240.png +0 -0
- data/templates/jrails/jquery.ui/swanky-purse/ui-icons_e9cd86_256x240.png +0 -0
- data/templates/jrails/jquery.ui/swanky-purse/ui-icons_efec9f_256x240.png +0 -0
- data/templates/jrails/jquery.ui/swanky-purse/ui-icons_f2ec64_256x240.png +0 -0
- data/templates/jrails/jquery.ui/swanky-purse/ui-icons_f9f2bd_256x240.png +0 -0
- data/templates/jrails/jquery.ui/swanky-purse/ui-icons_ff7519_256x240.png +0 -0
- data/templates/jrails/jquery.ui/swanky-purse.sass +85 -0
- data/templates/jrails/jquery.ui/trontastic/ui-bg_diagonals-small_50_262626_40x40.png +0 -0
- data/templates/jrails/jquery.ui/trontastic/ui-bg_flat_0_303030_40x100.png +0 -0
- data/templates/jrails/jquery.ui/trontastic/ui-bg_flat_0_4c4c4c_40x100.png +0 -0
- data/templates/jrails/jquery.ui/trontastic/ui-bg_glass_40_0a0a0a_1x400.png +0 -0
- data/templates/jrails/jquery.ui/trontastic/ui-bg_glass_55_f1fbe5_1x400.png +0 -0
- data/templates/jrails/jquery.ui/trontastic/ui-bg_glass_60_000000_1x400.png +0 -0
- data/templates/jrails/jquery.ui/trontastic/ui-bg_gloss-wave_55_000000_500x100.png +0 -0
- data/templates/jrails/jquery.ui/trontastic/ui-bg_gloss-wave_85_9fda58_500x100.png +0 -0
- data/templates/jrails/jquery.ui/trontastic/ui-bg_gloss-wave_95_f6ecd5_500x100.png +0 -0
- data/templates/jrails/jquery.ui/trontastic/ui-icons_000000_256x240.png +0 -0
- data/templates/jrails/jquery.ui/trontastic/ui-icons_1f1f1f_256x240.png +0 -0
- data/templates/jrails/jquery.ui/trontastic/ui-icons_9fda58_256x240.png +0 -0
- data/templates/jrails/jquery.ui/trontastic/ui-icons_b8ec79_256x240.png +0 -0
- data/templates/jrails/jquery.ui/trontastic/ui-icons_cd0a0a_256x240.png +0 -0
- data/templates/jrails/jquery.ui/trontastic/ui-icons_ffffff_256x240.png +0 -0
- data/templates/jrails/jquery.ui/trontastic.sass +85 -0
- data/templates/jrails/jquery.ui/ui-darkness/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/templates/jrails/jquery.ui/ui-darkness/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/templates/jrails/jquery.ui/ui-darkness/ui-bg_glass_20_555555_1x400.png +0 -0
- data/templates/jrails/jquery.ui/ui-darkness/ui-bg_glass_40_0078a3_1x400.png +0 -0
- data/templates/jrails/jquery.ui/ui-darkness/ui-bg_glass_40_ffc73d_1x400.png +0 -0
- data/templates/jrails/jquery.ui/ui-darkness/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
- data/templates/jrails/jquery.ui/ui-darkness/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
- data/templates/jrails/jquery.ui/ui-darkness/ui-bg_inset-soft_25_000000_1x100.png +0 -0
- data/templates/jrails/jquery.ui/ui-darkness/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
- data/templates/jrails/jquery.ui/ui-darkness/ui-icons_222222_256x240.png +0 -0
- data/templates/jrails/jquery.ui/ui-darkness/ui-icons_4b8e0b_256x240.png +0 -0
- data/templates/jrails/jquery.ui/ui-darkness/ui-icons_a83300_256x240.png +0 -0
- data/templates/jrails/jquery.ui/ui-darkness/ui-icons_cccccc_256x240.png +0 -0
- data/templates/jrails/jquery.ui/ui-darkness/ui-icons_ffffff_256x240.png +0 -0
- data/templates/jrails/jquery.ui/ui-darkness.sass +85 -0
- data/templates/jrails/jquery.ui/ui-lightness/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/templates/jrails/jquery.ui/ui-lightness/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/templates/jrails/jquery.ui/ui-lightness/ui-bg_flat_10_000000_40x100.png +0 -0
- data/templates/jrails/jquery.ui/ui-lightness/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/templates/jrails/jquery.ui/ui-lightness/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/templates/jrails/jquery.ui/ui-lightness/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/templates/jrails/jquery.ui/ui-lightness/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/templates/jrails/jquery.ui/ui-lightness/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/templates/jrails/jquery.ui/ui-lightness/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/templates/jrails/jquery.ui/ui-lightness/ui-icons_222222_256x240.png +0 -0
- data/templates/jrails/jquery.ui/ui-lightness/ui-icons_228ef1_256x240.png +0 -0
- data/templates/jrails/jquery.ui/ui-lightness/ui-icons_ef8c08_256x240.png +0 -0
- data/templates/jrails/jquery.ui/ui-lightness/ui-icons_ffd27a_256x240.png +0 -0
- data/templates/jrails/jquery.ui/ui-lightness/ui-icons_ffffff_256x240.png +0 -0
- data/templates/jrails/jquery.ui/ui-lightness.sass +85 -0
- data/templates/jrails/jquery.ui/vader/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/jrails/jquery.ui/vader/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/templates/jrails/jquery.ui/vader/ui-bg_gloss-wave_16_121212_500x100.png +0 -0
- data/templates/jrails/jquery.ui/vader/ui-bg_highlight-hard_15_888888_1x100.png +0 -0
- data/templates/jrails/jquery.ui/vader/ui-bg_highlight-hard_55_555555_1x100.png +0 -0
- data/templates/jrails/jquery.ui/vader/ui-bg_highlight-soft_35_adadad_1x100.png +0 -0
- data/templates/jrails/jquery.ui/vader/ui-bg_highlight-soft_60_dddddd_1x100.png +0 -0
- data/templates/jrails/jquery.ui/vader/ui-bg_inset-soft_15_121212_1x100.png +0 -0
- data/templates/jrails/jquery.ui/vader/ui-icons_666666_256x240.png +0 -0
- data/templates/jrails/jquery.ui/vader/ui-icons_aaaaaa_256x240.png +0 -0
- data/templates/jrails/jquery.ui/vader/ui-icons_bbbbbb_256x240.png +0 -0
- data/templates/jrails/jquery.ui/vader/ui-icons_c98000_256x240.png +0 -0
- data/templates/jrails/jquery.ui/vader/ui-icons_cccccc_256x240.png +0 -0
- data/templates/jrails/jquery.ui/vader/ui-icons_cd0a0a_256x240.png +0 -0
- data/templates/jrails/jquery.ui/vader/ui-icons_f29a00_256x240.png +0 -0
- data/templates/jrails/jquery.ui/vader.sass +85 -0
- data/templates/jrails/jrails.js +197 -0
- data/templates/jrails/jrails.min.js +1 -0
- data/templates/jrails/manifest.rb +457 -0
- data/templates/secret_sauce/app/views/ui/_ui_form_error_messages.html.haml +6 -0
- data/templates/secret_sauce/app/views/ui/_ui_grid_for_without_block.js.haml +136 -0
- data/templates/secret_sauce/app/views/ui/_ui_static_dialog.html.haml +6 -0
- data/templates/secret_sauce/config/initializers/secret_sauce.rb +8 -0
- data/templates/secret_sauce/jquery.ui/secret_sauce.sass +32 -0
- data/templates/secret_sauce/manifest.rb +10 -0
- data/templates/secret_sauce/secret_sauce.js +12 -0
- data/templates/secret_sauce/secret_sauce.min.js +1 -0
- metadata +734 -0
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2009 Kosmas Schuetz
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.textile
ADDED
@@ -0,0 +1,122 @@
|
|
1
|
+
h1. compass-jquery-plugin
|
2
|
+
|
3
|
+
Get gem from <b>"Gemcutter":http://gemcutter.org/gems/compass-jquery-plugin</b>.
|
4
|
+
Get source from <b>"github":http://github.com/kosmas58/compass-jquery-plugin</b>.
|
5
|
+
|
6
|
+
http://gemcutter.org/gems/compass-jquery-plugin
|
7
|
+
|
8
|
+
h2. Description
|
9
|
+
|
10
|
+
A Sass-based Meta-Framework for Compass that allows you to mix and match any of the following:
|
11
|
+
|
12
|
+
* jRails with jQuery and jQuery.UI including themes
|
13
|
+
* jqGrid V3.5
|
14
|
+
* dynatree V0.5.1
|
15
|
+
|
16
|
+
This library requires <b>"Compass":http://wiki.github.com/chriseppstein/compass</b>.
|
17
|
+
|
18
|
+
h3. jRails, jQuery and jQuery.UI including themes
|
19
|
+
|
20
|
+
Use compass to install the jRails, jQuery and jQuery.UI javascript library including themes into your project.
|
21
|
+
|
22
|
+
<pre>compass -r jquery -f jquery -p jrails <project name></pre>
|
23
|
+
|
24
|
+
You will find all the stylesheets in easy-to-read Sass format at:
|
25
|
+
|
26
|
+
<pre>stylesheets/jquery.ui</pre>
|
27
|
+
|
28
|
+
To use the localized stylesheets and javacripts include:
|
29
|
+
|
30
|
+
<pre>
|
31
|
+
= stylesheet_link_tag 'compiled/jquery.ui/[theme].css', :media => 'screen, projection'
|
32
|
+
= javascript_include_tag :defaults
|
33
|
+
= jrails_javascripts I18n.locale</pre>
|
34
|
+
|
35
|
+
into your layouts.
|
36
|
+
|
37
|
+
h3. jQuery Dynatree Plugin
|
38
|
+
|
39
|
+
Use compass to install the jQuery Dynatree javascript library into your project.
|
40
|
+
|
41
|
+
<pre>compass -f jquery -p dynatree <project name></pre>
|
42
|
+
|
43
|
+
You will find all the stylesheets in easy-to-read Sass format at:
|
44
|
+
|
45
|
+
<pre>stylesheets/jquery.ui</pre>
|
46
|
+
|
47
|
+
To use the localized stylesheets and javacripts include:
|
48
|
+
|
49
|
+
<pre>
|
50
|
+
= stylesheet_link_tag 'compiled/jquery.ui/dynatree.[skin].css', :media => 'screen, projection'
|
51
|
+
= javascript_include_tag 'jquery.dynatree.min'</pre>
|
52
|
+
|
53
|
+
h3. jqGrid
|
54
|
+
|
55
|
+
Use compass to install the jqGrid javascript library into your project.
|
56
|
+
|
57
|
+
<pre>compass -f jquery -p jqgrid <project name></pre>
|
58
|
+
|
59
|
+
You will find all the stylesheets in easy-to-read Sass format at:
|
60
|
+
|
61
|
+
<pre>stylesheets/jquery.ui</pre>
|
62
|
+
|
63
|
+
To use the localized stylesheets and javacripts include:
|
64
|
+
|
65
|
+
<pre>
|
66
|
+
= stylesheet_link_tag 'compiled/jquery.ui/jqGrid.css', :media => 'screen, projection'
|
67
|
+
= jqgrid_javascripts I18n.locale</pre>
|
68
|
+
|
69
|
+
jqGrid now uses the jQuery UI Themes. jqGrid has been included as a subproject. You do not need to check it out unless you want to use a different version.
|
70
|
+
|
71
|
+
h3. Secret Sauce
|
72
|
+
|
73
|
+
Use compass to install the Secret Sauce for jqGrid javascript library into your project.
|
74
|
+
|
75
|
+
<pre>compass -f jquery -p secret_sauce <project name></pre>
|
76
|
+
|
77
|
+
You will find all the stylesheets in easy-to-read Sass format.
|
78
|
+
|
79
|
+
<pre>stylesheets/jquery.ui</pre>
|
80
|
+
|
81
|
+
To use the localized stylesheets and javacripts include:
|
82
|
+
|
83
|
+
<pre>
|
84
|
+
= stylesheet_link_tag 'compiled/jquery.ui/secret_sauce.css', :media => 'screen, projection'
|
85
|
+
= javascript_include_tag :secret_sauce</pre>
|
86
|
+
|
87
|
+
h3. Calendar
|
88
|
+
|
89
|
+
Use compass to install the calendar javascript library into your project.
|
90
|
+
|
91
|
+
<pre>compass -f jquery -p calendar <project name></pre>
|
92
|
+
|
93
|
+
You will find all the stylesheets in easy-to-read Sass format.
|
94
|
+
|
95
|
+
<pre>stylesheets/jquery.ui</pre>
|
96
|
+
|
97
|
+
To use the (localized) stylesheets and javacripts include:
|
98
|
+
|
99
|
+
<pre>
|
100
|
+
= stylesheet_link_tag 'compiled/jquery.ui/calendar.css', :media => 'screen, projection'
|
101
|
+
= javascript_include_tag :calendar</pre>
|
102
|
+
|
103
|
+
h2. Thanks to the Contributors:
|
104
|
+
|
105
|
+
h3. Rails
|
106
|
+
|
107
|
+
* aaron for <b>"jRails":http://code.google.com/p/ennerchi/</b>
|
108
|
+
* David Turnbull for <b>"compass-jquery":http://github.com/dturnbull/compass-jquery/tree/master</b>
|
109
|
+
* ahe for <b>"2dc_jqgrid":http://github.com/ahe/2dc_jqgrid/tree/master</b>
|
110
|
+
* scrubber for <b>"jquery_grid_for_rails":http://github.com/scrubber/jquery_grid_for_rails/tree/master</b>
|
111
|
+
* ariesroyaal for <b>"secret_sauce":http://github.com/ariesroyaal/secret_sauce/tree/master</b>
|
112
|
+
|
113
|
+
h3. jQuery Plugins included
|
114
|
+
|
115
|
+
* Andreas Eberhard for <b>"jQuery PngFix Plugin (for IE)":http://jquery.andreaseberhard.de/</b>
|
116
|
+
* Kalus Hartl for <b>"jQuery Cookie Plugin":http://stilbuero.de</b>
|
117
|
+
* Fabrizio Balliano and Fabrizio Balliano for <b>"jQuery Layout Plugin":http://www.fabrizioballiano.net/</b>
|
118
|
+
* John Reisig et. al. for <b>"jQuery Form Plugin":http://malsup.com/jquery/form//</b>
|
119
|
+
* Martin Wendt for <b>"jQuery Dynatree Plugin":http://www.wwwendt.de</b>
|
120
|
+
* Tony Tomov for <b>"jQuery Grid Plugin":http://www.trirand.com/blog/</b>
|
121
|
+
* Rob Monie for <b>"jQuery.weekCalendar":http://www.redredred.com.au/</b>
|
122
|
+
* Kyle LeNeau for <b>"jMonthCalendar":http://www.bytecyclist.com/projects/jmonthcalendar</b>
|
data/Rakefile
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
GEM_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
2
|
+
YUI_COMPRESSOR = File.join(GEM_ROOT, 'lib', 'yuicompressor-2.4.2.jar')
|
3
|
+
|
4
|
+
def compress_js(scripts)
|
5
|
+
min_js = ''
|
6
|
+
IO.popen("java -jar #{YUI_COMPRESSOR} --type js --charset utf8", 'r+') { |f| f.print(scripts); f.close_write; min_js = f.read }
|
7
|
+
min_js
|
8
|
+
end
|
9
|
+
|
10
|
+
def concat_files(files)
|
11
|
+
out = ''
|
12
|
+
files.each do |file|
|
13
|
+
out += file
|
14
|
+
end
|
15
|
+
out
|
16
|
+
end
|
17
|
+
|
18
|
+
def all_files(pattern)
|
19
|
+
FileList[pattern].collect {|filename| File.read(filename)}.join "\n\n"
|
20
|
+
end
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
@@ -0,0 +1,5 @@
|
|
1
|
+
options = Hash.new
|
2
|
+
options[:stylesheets_directory] = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'sass'))
|
3
|
+
options[:templates_directory] = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'templates'))
|
4
|
+
|
5
|
+
Compass::Frameworks.register('jquery', options)
|
@@ -0,0 +1,380 @@
|
|
1
|
+
module ActionView
|
2
|
+
module Helpers
|
3
|
+
|
4
|
+
def jqgrid_javascripts(locale)
|
5
|
+
js = capture { javascript_include_tag "i18n/jqgrid/locale-#{locale}.min" }
|
6
|
+
js << capture { javascript_include_tag 'jquery.jqGrid.min' }
|
7
|
+
end
|
8
|
+
|
9
|
+
def jqgrid_from_xml(name, opts={})
|
10
|
+
@@grid_name = name.to_s
|
11
|
+
grid_data = YAML::load_file("#{RAILS_ROOT}/config/jquery/jqGrid/#{name}.yml")
|
12
|
+
|
13
|
+
before = grid_data[:before]
|
14
|
+
params = grid_data[:params]
|
15
|
+
|
16
|
+
def param_body(value)
|
17
|
+
value.scan(/^\((.+?)\)(.+)/).flatten
|
18
|
+
end
|
19
|
+
|
20
|
+
jquery_grid_code = <<-CODE
|
21
|
+
<script type="text/javascript">
|
22
|
+
<%= before %>_n_
|
23
|
+
jQuery(document).ready(function(){
|
24
|
+
jQuery("#<%= name %>").jqGrid({
|
25
|
+
<% params.each do |key,value| %>
|
26
|
+
<% if opts.keys.include?(key) %>
|
27
|
+
_ss_<%= key %>: <%= opts[key].to_json %>,
|
28
|
+
<% elsif (value.is_a? String) && (value[0..0] == "$") %>
|
29
|
+
_ss_<%= key %>: <%= "jQuery"+value[1,value.length] %>,
|
30
|
+
<% elsif (key.to_s[0..8] == 'function_') %>
|
31
|
+
<% js_params, body = param_body(value) %>
|
32
|
+
_ss_<%= key.to_s[9..-1] %>: function(<%= js_params %>) {
|
33
|
+
_ss__ss_<%= body %>
|
34
|
+
_ss_},
|
35
|
+
<% else %>
|
36
|
+
_ss_<%= key %>: <%= value.to_json %>,
|
37
|
+
<% end %>
|
38
|
+
<% end %>
|
39
|
+
<% opts.each do |key,value| %>
|
40
|
+
<% unless params.keys.include?(key) %>
|
41
|
+
_ss_<%= key %>: <%= value.to_json %>,
|
42
|
+
<% end %>
|
43
|
+
<% end %> });
|
44
|
+
});
|
45
|
+
</script>
|
46
|
+
CODE
|
47
|
+
::ERB.new(jquery_grid_code, nil, '>').result(binding).gsub("_n_", "\n").
|
48
|
+
gsub(/[ \t]{2,}/,' ').
|
49
|
+
gsub(/,\s+\}\);/, "\n });").
|
50
|
+
gsub(/\n\s*\n/m, "\n").
|
51
|
+
gsub("_ss_", " ").
|
52
|
+
gsub("<grid_name>", @@grid_name)
|
53
|
+
end
|
54
|
+
|
55
|
+
|
56
|
+
def jqgrid(title, id, action, columns = {},
|
57
|
+
options = {}, edit_options = "", add_options = "", del_options = "", search_options = "",
|
58
|
+
custom1_button = nil, custom2_button = nil, custom3_button = nil, custom4_button = nil, custom5_button = nil )
|
59
|
+
# Default options
|
60
|
+
options[:autowidth] = false if options[:autowidth].blank?
|
61
|
+
options[:hidegrid] = true if options[:hidegrid].nil?
|
62
|
+
options[:rows_per_page] = "10" if options[:rows_per_page].blank?
|
63
|
+
options[:sort_column] = "id" if options[:sort_column].blank?
|
64
|
+
options[:sort_order] = "asc" if options[:sort_order].blank?
|
65
|
+
options[:height] = "150" if options[:height].blank?
|
66
|
+
options[:error_handler] = 'null' if options[:error_handler].blank?
|
67
|
+
options[:error_handler_return_value] = options[:error_handler]
|
68
|
+
options[:error_handler_return_value] = "true;" if options[:error_handler_return_value] == 'null'
|
69
|
+
options[:inline_edit_handler] = 'null' if options[:inline_edit_handler].blank?
|
70
|
+
|
71
|
+
options[:add] = (options[:add].blank?) ? "false" : options[:add].to_s
|
72
|
+
options[:delete] = (options[:delete].blank?) ? "false" : options[:delete].to_s
|
73
|
+
options[:inline_edit] = (options[:inline_edit].blank?) ? "false" : options[:inline_edit].to_s
|
74
|
+
edit_button = (options[:edit] == true && options[:inline_edit] == "false") ? "true" : "false"
|
75
|
+
|
76
|
+
# Generate columns data
|
77
|
+
col_names, col_model = gen_columns(columns)
|
78
|
+
|
79
|
+
# Enable multi-selection (checkboxes)
|
80
|
+
multiselect = ""
|
81
|
+
if options[:multi_selection]
|
82
|
+
multiselect = %Q/multiselect: true,/
|
83
|
+
multihandler = %Q/
|
84
|
+
jQuery("##{id}_select_button").click( function() {
|
85
|
+
var s; s = jQuery("##{id}").getGridParam('selarrrow');
|
86
|
+
#{options[:selection_handler]}(s);
|
87
|
+
return false;
|
88
|
+
});/
|
89
|
+
end
|
90
|
+
|
91
|
+
# Enable master-details
|
92
|
+
masterdetails = ""
|
93
|
+
if options[:master_details]
|
94
|
+
masterdetails = %Q/
|
95
|
+
onSelectRow: function(ids) {
|
96
|
+
if(ids == null) {
|
97
|
+
ids=0;
|
98
|
+
if(jQuery("##{id}_details").getGridParam('records') >0 )
|
99
|
+
{
|
100
|
+
jQuery("##{id}_details").setGridParam({url:"#{options[:details_url]}?q=1&id="+ids,page:1})
|
101
|
+
.setCaption("#{options[:details_caption]}: "+ids)
|
102
|
+
.trigger('reloadGrid');
|
103
|
+
}
|
104
|
+
}
|
105
|
+
else
|
106
|
+
{
|
107
|
+
jQuery("##{id}_details").setGridParam({url:"#{options[:details_url]}?q=1&id="+ids,page:1})
|
108
|
+
.setCaption("#{options[:details_caption]} : "+ids)
|
109
|
+
.trigger('reloadGrid');
|
110
|
+
}
|
111
|
+
},/
|
112
|
+
end
|
113
|
+
|
114
|
+
# Enable selection link, button
|
115
|
+
# The javascript function created by the user (options[:selection_handler]) will be called with the selected row id as a parameter
|
116
|
+
selection_link = ""
|
117
|
+
if (options[:direct_selection].blank? || options[:direct_selection] == false) && options[:selection_handler].present? && (options[:multi_selection].blank? || options[:multi_selection] == false)
|
118
|
+
selection_link = %Q/
|
119
|
+
jQuery("##{id}_select_button").click( function(){
|
120
|
+
var id = jQuery("##{id}").getGridParam('selrow');
|
121
|
+
if (id) {
|
122
|
+
#{options[:selection_handler]}(id);
|
123
|
+
} else {
|
124
|
+
alert("Please select a row");
|
125
|
+
}
|
126
|
+
return false;
|
127
|
+
});/
|
128
|
+
end
|
129
|
+
|
130
|
+
# Enable direct selection (when a row in the table is clicked)
|
131
|
+
# The javascript function created by the user (options[:selection_handler]) will be called with the selected row id as a parameter
|
132
|
+
direct_link = ""
|
133
|
+
if options[:direct_selection] && options[:selection_handler].present? && options[:multi_selection].blank?
|
134
|
+
direct_link = %Q/
|
135
|
+
onSelectRow: function(id){
|
136
|
+
if(id){
|
137
|
+
#{options[:selection_handler]}(id);
|
138
|
+
}
|
139
|
+
},/
|
140
|
+
end
|
141
|
+
|
142
|
+
# Enable grid_loaded callback
|
143
|
+
# When data are loaded into the grid, call the Javascript function options[:grid_loaded] (defined by the user)
|
144
|
+
grid_loaded = ""
|
145
|
+
if options[:grid_loaded].present?
|
146
|
+
grid_loaded = %Q/
|
147
|
+
loadComplete: function(){
|
148
|
+
#{options[:grid_loaded]}();
|
149
|
+
},
|
150
|
+
/
|
151
|
+
end
|
152
|
+
|
153
|
+
# Enable inline editing
|
154
|
+
# When a row is selected, all fields are transformed to input types
|
155
|
+
editable = ""
|
156
|
+
if options[:edit] && options[:inline_edit] == "true"
|
157
|
+
editable = %Q/
|
158
|
+
onSelectRow: function(id){
|
159
|
+
if(id && id!==lastsel_#{id}){
|
160
|
+
jQuery('##{id}').restoreRow(lastsel_#{id});
|
161
|
+
jQuery('##{id}').editRow(id, true, #{options[:inline_edit_handler]}, #{options[:error_handler]});
|
162
|
+
lastsel_#{id}=id;
|
163
|
+
}
|
164
|
+
},/
|
165
|
+
end
|
166
|
+
|
167
|
+
# Enable subgrids
|
168
|
+
subgrid = ""
|
169
|
+
subgrid_enabled = "subGrid:false,"
|
170
|
+
if options[:subgrid]
|
171
|
+
subgrid_enabled = "subGrid:true,"
|
172
|
+
options[:subgrid][:rows_per_page] = "10" if options[:subgrid][:rows_per_page].blank?
|
173
|
+
options[:subgrid][:sort_column] = "id" if options[:subgrid][:sort_column].blank?
|
174
|
+
options[:subgrid][:sort_order] = "asc" if options[:subgrid][:sort_order].blank?
|
175
|
+
subgrid_search = (options[:subgrid][:search].blank?) ? "false" : options[:subgrid][:search]
|
176
|
+
options[:subgrid][:add] = (options[:subgrid][:add].blank?) ? "false" : options[:subgrid][:add].to_s
|
177
|
+
options[:subgrid][:delete] = (options[:subgrid][:delete].blank?) ? "false" : options[:subgrid][:delete].to_s
|
178
|
+
options[:subgrid][:edit] = (options[:subgrid][:edit].blank?) ? "false" : options[:subgrid][:edit].to_s
|
179
|
+
|
180
|
+
subgrid_inline_edit = ""
|
181
|
+
if options[:subgrid][:inline_edit] == true
|
182
|
+
options[:subgrid][:edit] = "false"
|
183
|
+
subgrid_inline_edit = %Q/
|
184
|
+
onSelectRow: function(id){
|
185
|
+
if(id && id!==lastsel_#{id}){
|
186
|
+
jQuery('#'+subgrid_table_id).restoreRow(lastsel_#{id});
|
187
|
+
jQuery('#'+subgrid_table_id).editRow(id,true);
|
188
|
+
lastsel_#{id}=id;
|
189
|
+
}
|
190
|
+
},
|
191
|
+
/
|
192
|
+
end
|
193
|
+
|
194
|
+
if options[:subgrid][:direct_selection] && options[:subgrid][:selection_handler].present?
|
195
|
+
subgrid_direct_link = %Q/
|
196
|
+
onSelectRow: function(id){
|
197
|
+
if(id){
|
198
|
+
#{options[:subgrid][:selection_handler]}(id);
|
199
|
+
}
|
200
|
+
},
|
201
|
+
/
|
202
|
+
end
|
203
|
+
|
204
|
+
sub_col_names, sub_col_model = gen_columns(options[:subgrid][:columns])
|
205
|
+
|
206
|
+
subgrid = %Q(
|
207
|
+
subGridRowExpanded: function(subgrid_id, row_id) {
|
208
|
+
var subgrid_table_id, pager_id;
|
209
|
+
subgrid_table_id = subgrid_id+"_t";
|
210
|
+
pager_id = "p_"+subgrid_table_id;
|
211
|
+
jQuery("#"+subgrid_id).html("<table id='"+subgrid_table_id+"' class='scroll'></table><div id='"+pager_id+"' class='scroll'></div>");
|
212
|
+
jQuery("#"+subgrid_table_id).jqGrid({
|
213
|
+
url:"#{options[:subgrid][:url]}?q=2&id="+row_id,
|
214
|
+
editurl:'#{options[:subgrid][:edit_url]}?parent_id='+row_id,
|
215
|
+
datatype: "json",
|
216
|
+
colNames: #{sub_col_names},
|
217
|
+
colModel: #{sub_col_model},
|
218
|
+
rowNum:#{options[:subgrid][:rows_per_page]},
|
219
|
+
pager: pager_id,
|
220
|
+
sortname: '#{options[:subgrid][:sort_column]}',
|
221
|
+
sortorder: '#{options[:subgrid][:sort_order]}',
|
222
|
+
viewrecords: true,
|
223
|
+
toolbar : [true,"top"],
|
224
|
+
#{subgrid_inline_edit}
|
225
|
+
#{subgrid_direct_link}
|
226
|
+
height: '100%'
|
227
|
+
})
|
228
|
+
.navGrid("#"+pager_id,{edit:#{options[:subgrid][:edit]},add:#{options[:subgrid][:add]},del:#{options[:subgrid][:delete]},search:false})
|
229
|
+
.navButtonAdd("#"+pager_id,{caption:"Search",title:"Toggle Search",buttonimg:'/images/jquery/search.png',
|
230
|
+
onClickButton:function(){
|
231
|
+
if(jQuery("#t_"+subgrid_table_id).css("display")=="none") {
|
232
|
+
jQuery("#t_"+subgrid_table_id).css("display","");
|
233
|
+
} else {
|
234
|
+
jQuery("#t_"+subgrid_table_id).css("display","none");
|
235
|
+
}
|
236
|
+
}
|
237
|
+
});
|
238
|
+
jQuery("#t_"+subgrid_table_id).height(25).hide().filterGrid(""+subgrid_table_id,{gridModel:true,gridToolbar:true});
|
239
|
+
},
|
240
|
+
subGridRowColapsed: function(subgrid_id, row_id) {
|
241
|
+
},
|
242
|
+
)
|
243
|
+
end
|
244
|
+
|
245
|
+
|
246
|
+
# Generate required Javascript & html to create the jqgrid
|
247
|
+
%Q(
|
248
|
+
<script type="text/javascript">
|
249
|
+
var lastsel_#{id};
|
250
|
+
jQuery(document).ready(function(){
|
251
|
+
jQuery("##{id}").jqGrid({
|
252
|
+
// adding ?nd='+new Date().getTime() prevent IE caching
|
253
|
+
url:'#{action}?nd='+new Date().getTime(),
|
254
|
+
editurl:'#{options[:edit_url]}',
|
255
|
+
datatype: "json",
|
256
|
+
colNames:#{col_names},
|
257
|
+
colModel:#{col_model},
|
258
|
+
pager: jQuery('##{id}_pager'),
|
259
|
+
rowNum:#{options[:rows_per_page]},
|
260
|
+
rowList:[10,25,50,100],
|
261
|
+
sortname: '#{options[:sort_column]}',
|
262
|
+
viewrecords: true,
|
263
|
+
height: #{options[:height]},
|
264
|
+
toolbar : [true,"top"],
|
265
|
+
autowidth: #{options[:autowidth]},
|
266
|
+
sortorder: "#{options[:sort_order]}",
|
267
|
+
#{multiselect}
|
268
|
+
#{masterdetails}
|
269
|
+
#{grid_loaded}
|
270
|
+
#{direct_link}
|
271
|
+
#{editable}
|
272
|
+
#{subgrid_enabled}
|
273
|
+
#{subgrid}
|
274
|
+
caption: "#{title}",
|
275
|
+
hidegrid: #{options[:hidegrid]}
|
276
|
+
});
|
277
|
+
jQuery("#t_#{id}").height(25).hide().filterGrid("#{id}",{gridModel:true,gridToolbar:true});
|
278
|
+
#{multihandler}
|
279
|
+
#{selection_link}
|
280
|
+
jQuery("##{id}").navGrid('##{id}_pager',{edit:#{edit_button},add:#{options[:add]},del:#{options[:delete]},search:false,refresh:true},
|
281
|
+
{afterSubmit:function(r,data){return #{options[:error_handler_return_value]}(r,data,'edit');} #{edit_options}},
|
282
|
+
{afterSubmit:function(r,data){return #{options[:error_handler_return_value]}(r,data,'add');} #{add_options}},
|
283
|
+
{afterSubmit:function(r,data){return #{options[:error_handler_return_value]}(r,data,'delete');} #{del_options}},
|
284
|
+
{#{search_options}}
|
285
|
+
)
|
286
|
+
|
287
|
+
.navButtonAdd("##{id}_pager",{
|
288
|
+
caption:"#{I18n.t('jquery.jqgrid.search')}",
|
289
|
+
title:"#{I18n.t('jquery.jqgrid.toogle_search')}",
|
290
|
+
buttonicon:"ui-icon-search",
|
291
|
+
onClickButton:function(){
|
292
|
+
if(jQuery("#t_#{id}").css("display")=="none") {
|
293
|
+
jQuery("#t_#{id}").css("display","");
|
294
|
+
} else {
|
295
|
+
jQuery("#t_#{id}").css("display","none");
|
296
|
+
}
|
297
|
+
}
|
298
|
+
});
|
299
|
+
});
|
300
|
+
</script>
|
301
|
+
)
|
302
|
+
end
|
303
|
+
|
304
|
+
private
|
305
|
+
|
306
|
+
def gen_columns(columns)
|
307
|
+
# Generate columns data
|
308
|
+
col_names = "[" # Labels
|
309
|
+
col_model = "[" # Options
|
310
|
+
columns.each do |c|
|
311
|
+
col_names << "'#{c[:label]}',"
|
312
|
+
col_model << "{name:'#{c[:field]}', index:'#{c[:field]}'#{get_attributes(c)}},"
|
313
|
+
end
|
314
|
+
col_names.chop! << "]"
|
315
|
+
col_model.chop! << "]"
|
316
|
+
[col_names, col_model]
|
317
|
+
end
|
318
|
+
|
319
|
+
# Generate a list of attributes for related column (align:'right', sortable:true, resizable:false, ...)
|
320
|
+
def get_attributes(column)
|
321
|
+
options = ","
|
322
|
+
column.except(:field, :label).each do |couple|
|
323
|
+
if couple[0] == :editoptions
|
324
|
+
options << "editoptions:#{get_edit_options(couple[1])},"
|
325
|
+
else
|
326
|
+
if couple[1].class == String
|
327
|
+
options << "#{couple[0]}:'#{couple[1]}',"
|
328
|
+
else
|
329
|
+
options << "#{couple[0]}:#{couple[1]},"
|
330
|
+
end
|
331
|
+
end
|
332
|
+
end
|
333
|
+
options.chop!
|
334
|
+
end
|
335
|
+
|
336
|
+
# Generate options for editable fields (value, data, width, maxvalue, cols, rows, ...)
|
337
|
+
def get_edit_options(editoptions)
|
338
|
+
options = "{"
|
339
|
+
editoptions.each do |couple|
|
340
|
+
if couple[0] == :value # :value => [[1, "Rails"], [2, "Ruby"], [3, "jQuery"]]
|
341
|
+
options << %Q/value:"/
|
342
|
+
couple[1].each do |v|
|
343
|
+
options << "#{v[0]}:#{v[1]};"
|
344
|
+
end
|
345
|
+
options.chop! << %Q/",/
|
346
|
+
elsif couple[0] == :data # :data => [Category.all, :id, :title])
|
347
|
+
options << %Q/value:"/
|
348
|
+
couple[1].first.each do |v|
|
349
|
+
options << "#{v[couple[1].second]}:#{v[couple[1].third]};"
|
350
|
+
end
|
351
|
+
options.chop! << %Q/",/
|
352
|
+
else # :size => 30, :rows => 5, :maxlength => 20, ...
|
353
|
+
options << %Q/#{couple[0]}:"#{couple[1]}",/
|
354
|
+
end
|
355
|
+
end
|
356
|
+
options.chop! << "}"
|
357
|
+
end
|
358
|
+
end
|
359
|
+
end
|
360
|
+
|
361
|
+
module JqgridJson
|
362
|
+
def to_jqgrid_json(attributes, current_page, per_page, total)
|
363
|
+
json = %Q({"page":"#{current_page}","total":#{total/per_page.to_i+1},"records":"#{total}","rows":[)
|
364
|
+
each do |elem|
|
365
|
+
json << %Q({"id":"#{elem.id}","cell":[)
|
366
|
+
couples = elem.attributes.symbolize_keys
|
367
|
+
attributes.each do |atr|
|
368
|
+
value = couples[atr]
|
369
|
+
value = elem.try(atr) if elem.respond_to?(:try) && value.blank?
|
370
|
+
json << %Q("#{value}",)
|
371
|
+
end
|
372
|
+
json.chop! << "]},"
|
373
|
+
end
|
374
|
+
json.chomp!(',') << "]}"
|
375
|
+
end
|
376
|
+
end
|
377
|
+
|
378
|
+
class Array
|
379
|
+
include JqgridJson
|
380
|
+
end
|