compass-jquery-plugin 0.3.0.beta.26 → 0.3.0.rc.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.textile +1 -52
- data/VERSION.yml +1 -1
- data/compass-jquery-plugin.gemspec +6 -407
- data/gem_tasks/jrails.rake +84 -85
- data/gem_tasks/rubygems.rake +9 -1
- data/templates/jqtouch/config/initializers/jqtouch.rb +1 -1
- data/templates/jrails/config/initializers/jrails.rb +3 -3
- data/templates/jrails/{jquery-ui-1.8.6.js → jquery-ui.js} +0 -0
- data/templates/jrails/{jquery-ui-1.8.6.min.js → jquery-ui.min.js} +0 -0
- data/templates/jrails/{jquery-1.4.4.js → jquery.js} +360 -284
- data/templates/jrails/jquery.min.js +151 -0
- data/templates/jrails/manifest.rb +4 -4
- metadata +9 -410
- data/gem_tasks/jqgrid.rake +0 -119
- data/gem_tasks/mobile.rake +0 -144
- data/gem_tasks/secret_sauce.rake +0 -64
- data/lib/jquery/gridify/assertions.rb +0 -37
- data/lib/jquery/gridify/grid.rb +0 -147
- data/lib/jquery/gridify/grid_column.rb +0 -134
- data/lib/jquery/gridify/grid_finder.rb +0 -223
- data/lib/jquery/gridify/grid_options.rb +0 -279
- data/lib/jquery/gridify/grid_view.rb +0 -435
- data/lib/jquery/gridify.rb +0 -42
- data/lib/jquery/jqgrid/jqgrid.rb +0 -438
- data/lib/jquery/jqgrid.rb +0 -5
- data/lib/jquery/mobile.rb +0 -3
- data/lib/jquery/secret_sauce/controller/ui_dialog_controls.rb +0 -14
- data/lib/jquery/secret_sauce/controller/ui_grid_controls.rb +0 -18
- data/lib/jquery/secret_sauce/helpers/ui_dialog_helper.rb +0 -6
- data/lib/jquery/secret_sauce/helpers/ui_form_helper.rb +0 -118
- data/lib/jquery/secret_sauce/helpers/ui_grid_helper.rb +0 -226
- data/lib/jquery/secret_sauce/model/find_for_grid.rb +0 -42
- data/lib/jquery/secret_sauce.rb +0 -9
- data/templates/jqgrid/config/initializers/jqgrid.rb +0 -4
- data/templates/jqgrid/config/locales/jquery/jqgrid/de.yml +0 -7
- data/templates/jqgrid/config/locales/jquery/jqgrid/en.yml +0 -7
- data/templates/jqgrid/i18n/jqgrid/locale-bg.js +0 -132
- data/templates/jqgrid/i18n/jqgrid/locale-bg.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-bg1251.js +0 -132
- data/templates/jqgrid/i18n/jqgrid/locale-bg1251.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-cat.js +0 -128
- data/templates/jqgrid/i18n/jqgrid/locale-cat.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-cn.js +0 -132
- data/templates/jqgrid/i18n/jqgrid/locale-cn.min.js +0 -5
- data/templates/jqgrid/i18n/jqgrid/locale-cs.js +0 -128
- data/templates/jqgrid/i18n/jqgrid/locale-cs.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-da.js +0 -128
- data/templates/jqgrid/i18n/jqgrid/locale-da.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-de.js +0 -133
- data/templates/jqgrid/i18n/jqgrid/locale-de.min.js +0 -7
- data/templates/jqgrid/i18n/jqgrid/locale-el.js +0 -126
- data/templates/jqgrid/i18n/jqgrid/locale-el.min.js +0 -7
- data/templates/jqgrid/i18n/jqgrid/locale-en.js +0 -128
- data/templates/jqgrid/i18n/jqgrid/locale-en.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-es.js +0 -128
- data/templates/jqgrid/i18n/jqgrid/locale-es.min.js +0 -7
- data/templates/jqgrid/i18n/jqgrid/locale-fa.js +0 -125
- data/templates/jqgrid/i18n/jqgrid/locale-fa.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-fi.js +0 -130
- data/templates/jqgrid/i18n/jqgrid/locale-fi.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-fr.js +0 -126
- data/templates/jqgrid/i18n/jqgrid/locale-fr.min.js +0 -7
- data/templates/jqgrid/i18n/jqgrid/locale-gl.js +0 -126
- data/templates/jqgrid/i18n/jqgrid/locale-gl.min.js +0 -7
- data/templates/jqgrid/i18n/jqgrid/locale-he.js +0 -127
- data/templates/jqgrid/i18n/jqgrid/locale-he.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-hu.js +0 -129
- data/templates/jqgrid/i18n/jqgrid/locale-hu.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-is.js +0 -126
- data/templates/jqgrid/i18n/jqgrid/locale-is.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-it.js +0 -1
- data/templates/jqgrid/i18n/jqgrid/locale-it.min.js +0 -7
- data/templates/jqgrid/i18n/jqgrid/locale-ja.js +0 -155
- data/templates/jqgrid/i18n/jqgrid/locale-ja.min.js +0 -5
- data/templates/jqgrid/i18n/jqgrid/locale-nl.js +0 -149
- data/templates/jqgrid/i18n/jqgrid/locale-nl.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-no.js +0 -1
- data/templates/jqgrid/i18n/jqgrid/locale-no.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-pl.js +0 -127
- data/templates/jqgrid/i18n/jqgrid/locale-pl.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-pt-br.js +0 -127
- data/templates/jqgrid/i18n/jqgrid/locale-pt-br.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-pt.js +0 -125
- data/templates/jqgrid/i18n/jqgrid/locale-pt.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-ro.js +0 -139
- data/templates/jqgrid/i18n/jqgrid/locale-ro.min.js +0 -7
- data/templates/jqgrid/i18n/jqgrid/locale-ru.js +0 -127
- data/templates/jqgrid/i18n/jqgrid/locale-ru.min.js +0 -7
- data/templates/jqgrid/i18n/jqgrid/locale-sk.js +0 -127
- data/templates/jqgrid/i18n/jqgrid/locale-sk.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-sv.js +0 -127
- data/templates/jqgrid/i18n/jqgrid/locale-sv.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-tr.js +0 -126
- data/templates/jqgrid/i18n/jqgrid/locale-tr.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-ua.js +0 -127
- data/templates/jqgrid/i18n/jqgrid/locale-ua.min.js +0 -7
- data/templates/jqgrid/jquery/jqGrid.scss +0 -692
- data/templates/jqgrid/jquery.jqGrid.js +0 -11576
- data/templates/jqgrid/jquery.jqGrid.min.js +0 -472
- data/templates/jqgrid/manifest.rb +0 -70
- data/templates/jqgrid/public/stylesheets/ellipsis-xbl.xml +0 -13
- data/templates/jrails/jquery-1.4.4.min.js +0 -152
- data/templates/mobile/config/initializers/mobile.rb +0 -6
- data/templates/mobile/glyphish/Read me first - license.txt +0 -14
- data/templates/mobile/glyphish/icons/01-refresh.png +0 -0
- data/templates/mobile/glyphish/icons/02-redo.png +0 -0
- data/templates/mobile/glyphish/icons/03-loopback.png +0 -0
- data/templates/mobile/glyphish/icons/04-squiggle.png +0 -0
- data/templates/mobile/glyphish/icons/05-shuffle.png +0 -0
- data/templates/mobile/glyphish/icons/06-magnifying-glass.png +0 -0
- data/templates/mobile/glyphish/icons/07-map-marker.png +0 -0
- data/templates/mobile/glyphish/icons/08-chat.png +0 -0
- data/templates/mobile/glyphish/icons/09-chat2.png +0 -0
- data/templates/mobile/glyphish/icons/10-medical.png +0 -0
- data/templates/mobile/glyphish/icons/100-coffee.png +0 -0
- data/templates/mobile/glyphish/icons/101-gameplan.png +0 -0
- data/templates/mobile/glyphish/icons/102-walk.png +0 -0
- data/templates/mobile/glyphish/icons/103-map.png +0 -0
- data/templates/mobile/glyphish/icons/104-index-cards.png +0 -0
- data/templates/mobile/glyphish/icons/105-piano.png +0 -0
- data/templates/mobile/glyphish/icons/106-sliders.png +0 -0
- data/templates/mobile/glyphish/icons/107-widescreen.png +0 -0
- data/templates/mobile/glyphish/icons/108-badge.png +0 -0
- data/templates/mobile/glyphish/icons/109-chicken.png +0 -0
- data/templates/mobile/glyphish/icons/11-clock.png +0 -0
- data/templates/mobile/glyphish/icons/110-bug.png +0 -0
- data/templates/mobile/glyphish/icons/111-user.png +0 -0
- data/templates/mobile/glyphish/icons/112-group.png +0 -0
- data/templates/mobile/glyphish/icons/113-navigation.png +0 -0
- data/templates/mobile/glyphish/icons/114-balloon.png +0 -0
- data/templates/mobile/glyphish/icons/115-bow-and-arrow.png +0 -0
- data/templates/mobile/glyphish/icons/116-controller.png +0 -0
- data/templates/mobile/glyphish/icons/117-todo.png +0 -0
- data/templates/mobile/glyphish/icons/118-coathanger.png +0 -0
- data/templates/mobile/glyphish/icons/119-piggybank.png +0 -0
- data/templates/mobile/glyphish/icons/12-eye.png +0 -0
- data/templates/mobile/glyphish/icons/120-headphones.png +0 -0
- data/templates/mobile/glyphish/icons/121-lanscape.png +0 -0
- data/templates/mobile/glyphish/icons/122-stats.png +0 -0
- data/templates/mobile/glyphish/icons/123-id-card.png +0 -0
- data/templates/mobile/glyphish/icons/124-bullhorn.png +0 -0
- data/templates/mobile/glyphish/icons/125-food.png +0 -0
- data/templates/mobile/glyphish/icons/126-moon.png +0 -0
- data/templates/mobile/glyphish/icons/127-sock.png +0 -0
- data/templates/mobile/glyphish/icons/128-bone.png +0 -0
- data/templates/mobile/glyphish/icons/129-golf.png +0 -0
- data/templates/mobile/glyphish/icons/13-target.png +0 -0
- data/templates/mobile/glyphish/icons/130-dice.png +0 -0
- data/templates/mobile/glyphish/icons/14-tag.png +0 -0
- data/templates/mobile/glyphish/icons/15-tags.png +0 -0
- data/templates/mobile/glyphish/icons/16-line-chart.png +0 -0
- data/templates/mobile/glyphish/icons/17-bar-chart.png +0 -0
- data/templates/mobile/glyphish/icons/18-envelope.png +0 -0
- data/templates/mobile/glyphish/icons/19-gear.png +0 -0
- data/templates/mobile/glyphish/icons/20-gear2.png +0 -0
- data/templates/mobile/glyphish/icons/21-skull.png +0 -0
- data/templates/mobile/glyphish/icons/22-skull-n-crossbones.png +0 -0
- data/templates/mobile/glyphish/icons/23-bird.png +0 -0
- data/templates/mobile/glyphish/icons/24-gift.png +0 -0
- data/templates/mobile/glyphish/icons/25-weather.png +0 -0
- data/templates/mobile/glyphish/icons/26-bandaid.png +0 -0
- data/templates/mobile/glyphish/icons/27-planet.png +0 -0
- data/templates/mobile/glyphish/icons/28-star.png +0 -0
- data/templates/mobile/glyphish/icons/29-heart.png +0 -0
- data/templates/mobile/glyphish/icons/30-key.png +0 -0
- data/templates/mobile/glyphish/icons/31-ipod.png +0 -0
- data/templates/mobile/glyphish/icons/32-iphone.png +0 -0
- data/templates/mobile/glyphish/icons/33-cabinet.png +0 -0
- data/templates/mobile/glyphish/icons/34-coffee.png +0 -0
- data/templates/mobile/glyphish/icons/35-shopping-bag.png +0 -0
- data/templates/mobile/glyphish/icons/36-toolbox.png +0 -0
- data/templates/mobile/glyphish/icons/37-suitcase.png +0 -0
- data/templates/mobile/glyphish/icons/38-airplane.png +0 -0
- data/templates/mobile/glyphish/icons/39-spraycan.png +0 -0
- data/templates/mobile/glyphish/icons/40-inbox.png +0 -0
- data/templates/mobile/glyphish/icons/41-picture-frame.png +0 -0
- data/templates/mobile/glyphish/icons/42-photos.png +0 -0
- data/templates/mobile/glyphish/icons/43-film-roll.png +0 -0
- data/templates/mobile/glyphish/icons/44-shoebox.png +0 -0
- data/templates/mobile/glyphish/icons/45-movie1.png +0 -0
- data/templates/mobile/glyphish/icons/46-movie2.png +0 -0
- data/templates/mobile/glyphish/icons/47-fuel.png +0 -0
- data/templates/mobile/glyphish/icons/48-fork-and-knife.png +0 -0
- data/templates/mobile/glyphish/icons/49-battery.png +0 -0
- data/templates/mobile/glyphish/icons/50-beaker.png +0 -0
- data/templates/mobile/glyphish/icons/51-outlet.png +0 -0
- data/templates/mobile/glyphish/icons/52-pinetree.png +0 -0
- data/templates/mobile/glyphish/icons/53-house.png +0 -0
- data/templates/mobile/glyphish/icons/54-lock.png +0 -0
- data/templates/mobile/glyphish/icons/55-network.png +0 -0
- data/templates/mobile/glyphish/icons/56-cloud.png +0 -0
- data/templates/mobile/glyphish/icons/57-download.png +0 -0
- data/templates/mobile/glyphish/icons/58-bookmark.png +0 -0
- data/templates/mobile/glyphish/icons/59-flag.png +0 -0
- data/templates/mobile/glyphish/icons/60-signpost.png +0 -0
- data/templates/mobile/glyphish/icons/61-brightness.png +0 -0
- data/templates/mobile/glyphish/icons/62-contrast.png +0 -0
- data/templates/mobile/glyphish/icons/63-runner.png +0 -0
- data/templates/mobile/glyphish/icons/64-zap.png +0 -0
- data/templates/mobile/glyphish/icons/65-note.png +0 -0
- data/templates/mobile/glyphish/icons/66-microphone.png +0 -0
- data/templates/mobile/glyphish/icons/67-tshirt.png +0 -0
- data/templates/mobile/glyphish/icons/68-paperclip.png +0 -0
- data/templates/mobile/glyphish/icons/69-display.png +0 -0
- data/templates/mobile/glyphish/icons/70-tv.png +0 -0
- data/templates/mobile/glyphish/icons/71-compass.png +0 -0
- data/templates/mobile/glyphish/icons/72-pin.png +0 -0
- data/templates/mobile/glyphish/icons/73-radar.png +0 -0
- data/templates/mobile/glyphish/icons/74-location.png +0 -0
- data/templates/mobile/glyphish/icons/75-phone.png +0 -0
- data/templates/mobile/glyphish/icons/76-baby.png +0 -0
- data/templates/mobile/glyphish/icons/77-ekg.png +0 -0
- data/templates/mobile/glyphish/icons/78-stopwatch.png +0 -0
- data/templates/mobile/glyphish/icons/79-medical-bag.png +0 -0
- data/templates/mobile/glyphish/icons/80-shopping-cart.png +0 -0
- data/templates/mobile/glyphish/icons/81-dashboard.png +0 -0
- data/templates/mobile/glyphish/icons/82-dogpaw.png +0 -0
- data/templates/mobile/glyphish/icons/83-calendar.png +0 -0
- data/templates/mobile/glyphish/icons/84-lightbulb.png +0 -0
- data/templates/mobile/glyphish/icons/85-trophy.png +0 -0
- data/templates/mobile/glyphish/icons/86-camera.png +0 -0
- data/templates/mobile/glyphish/icons/87-wineglass.png +0 -0
- data/templates/mobile/glyphish/icons/88-beermug.png +0 -0
- data/templates/mobile/glyphish/icons/89-dumbbell.png +0 -0
- data/templates/mobile/glyphish/icons/90-lifebuoy.png +0 -0
- data/templates/mobile/glyphish/icons/91-beaker2.png +0 -0
- data/templates/mobile/glyphish/icons/92-testtube.png +0 -0
- data/templates/mobile/glyphish/icons/93-thermometer.png +0 -0
- data/templates/mobile/glyphish/icons/94-pill.png +0 -0
- data/templates/mobile/glyphish/icons/95-equalizer.png +0 -0
- data/templates/mobile/glyphish/icons/96-book.png +0 -0
- data/templates/mobile/glyphish/icons/97-puzzle.png +0 -0
- data/templates/mobile/glyphish/icons/98-palette.png +0 -0
- data/templates/mobile/glyphish/icons/99-umbrella.png +0 -0
- data/templates/mobile/glyphish/mini-icons/01-refresh.png +0 -0
- data/templates/mobile/glyphish/mini-icons/02-redo.png +0 -0
- data/templates/mobile/glyphish/mini-icons/03-loopback.png +0 -0
- data/templates/mobile/glyphish/mini-icons/04-squiggle.png +0 -0
- data/templates/mobile/glyphish/mini-icons/05-shuffle.png +0 -0
- data/templates/mobile/glyphish/mini-icons/06-magnifying-glass.png +0 -0
- data/templates/mobile/glyphish/mini-icons/07-map-marker.png +0 -0
- data/templates/mobile/glyphish/mini-icons/08-chat.png +0 -0
- data/templates/mobile/glyphish/mini-icons/09-chat2.png +0 -0
- data/templates/mobile/glyphish/mini-icons/10-medical.png +0 -0
- data/templates/mobile/glyphish/mini-icons/100-coffee.png +0 -0
- data/templates/mobile/glyphish/mini-icons/101-gameplan.png +0 -0
- data/templates/mobile/glyphish/mini-icons/102-walk.png +0 -0
- data/templates/mobile/glyphish/mini-icons/103-map.png +0 -0
- data/templates/mobile/glyphish/mini-icons/104-index-cards.png +0 -0
- data/templates/mobile/glyphish/mini-icons/105-piano.png +0 -0
- data/templates/mobile/glyphish/mini-icons/106-sliders.png +0 -0
- data/templates/mobile/glyphish/mini-icons/107-widescreen.png +0 -0
- data/templates/mobile/glyphish/mini-icons/108-badge.png +0 -0
- data/templates/mobile/glyphish/mini-icons/109-chicken.png +0 -0
- data/templates/mobile/glyphish/mini-icons/11-clock.png +0 -0
- data/templates/mobile/glyphish/mini-icons/110-bug.png +0 -0
- data/templates/mobile/glyphish/mini-icons/111-user.png +0 -0
- data/templates/mobile/glyphish/mini-icons/112-group.png +0 -0
- data/templates/mobile/glyphish/mini-icons/113-navigation.png +0 -0
- data/templates/mobile/glyphish/mini-icons/114-balloon.png +0 -0
- data/templates/mobile/glyphish/mini-icons/115-bow-and-arrow.png +0 -0
- data/templates/mobile/glyphish/mini-icons/116-controller.png +0 -0
- data/templates/mobile/glyphish/mini-icons/117-todo.png +0 -0
- data/templates/mobile/glyphish/mini-icons/118-coathanger.png +0 -0
- data/templates/mobile/glyphish/mini-icons/119-piggybank.png +0 -0
- data/templates/mobile/glyphish/mini-icons/12-eye.png +0 -0
- data/templates/mobile/glyphish/mini-icons/120-headphones.png +0 -0
- data/templates/mobile/glyphish/mini-icons/121-lanscape.png +0 -0
- data/templates/mobile/glyphish/mini-icons/122-stats.png +0 -0
- data/templates/mobile/glyphish/mini-icons/123-id-card.png +0 -0
- data/templates/mobile/glyphish/mini-icons/124-bullhorn.png +0 -0
- data/templates/mobile/glyphish/mini-icons/125-food.png +0 -0
- data/templates/mobile/glyphish/mini-icons/126-moon.png +0 -0
- data/templates/mobile/glyphish/mini-icons/127-sock.png +0 -0
- data/templates/mobile/glyphish/mini-icons/128-bone.png +0 -0
- data/templates/mobile/glyphish/mini-icons/129-golf.png +0 -0
- data/templates/mobile/glyphish/mini-icons/13-target.png +0 -0
- data/templates/mobile/glyphish/mini-icons/130-dice.png +0 -0
- data/templates/mobile/glyphish/mini-icons/14-tag.png +0 -0
- data/templates/mobile/glyphish/mini-icons/15-tags.png +0 -0
- data/templates/mobile/glyphish/mini-icons/16-line-chart.png +0 -0
- data/templates/mobile/glyphish/mini-icons/17-bar-chart.png +0 -0
- data/templates/mobile/glyphish/mini-icons/18-envelope.png +0 -0
- data/templates/mobile/glyphish/mini-icons/19-gear.png +0 -0
- data/templates/mobile/glyphish/mini-icons/20-gear2.png +0 -0
- data/templates/mobile/glyphish/mini-icons/21-skull.png +0 -0
- data/templates/mobile/glyphish/mini-icons/22-skull-n-crossbones.png +0 -0
- data/templates/mobile/glyphish/mini-icons/23-bird.png +0 -0
- data/templates/mobile/glyphish/mini-icons/24-gift.png +0 -0
- data/templates/mobile/glyphish/mini-icons/25-weather.png +0 -0
- data/templates/mobile/glyphish/mini-icons/26-bandaid.png +0 -0
- data/templates/mobile/glyphish/mini-icons/27-planet.png +0 -0
- data/templates/mobile/glyphish/mini-icons/28-star.png +0 -0
- data/templates/mobile/glyphish/mini-icons/29-heart.png +0 -0
- data/templates/mobile/glyphish/mini-icons/30-key.png +0 -0
- data/templates/mobile/glyphish/mini-icons/31-ipod.png +0 -0
- data/templates/mobile/glyphish/mini-icons/32-iphone.png +0 -0
- data/templates/mobile/glyphish/mini-icons/33-cabinet.png +0 -0
- data/templates/mobile/glyphish/mini-icons/34-coffee.png +0 -0
- data/templates/mobile/glyphish/mini-icons/35-shopping-bag.png +0 -0
- data/templates/mobile/glyphish/mini-icons/36-toolbox.png +0 -0
- data/templates/mobile/glyphish/mini-icons/37-suitcase.png +0 -0
- data/templates/mobile/glyphish/mini-icons/38-airplane.png +0 -0
- data/templates/mobile/glyphish/mini-icons/39-spraycan.png +0 -0
- data/templates/mobile/glyphish/mini-icons/40-inbox.png +0 -0
- data/templates/mobile/glyphish/mini-icons/41-picture-frame.png +0 -0
- data/templates/mobile/glyphish/mini-icons/42-photos.png +0 -0
- data/templates/mobile/glyphish/mini-icons/43-film-roll.png +0 -0
- data/templates/mobile/glyphish/mini-icons/44-shoebox.png +0 -0
- data/templates/mobile/glyphish/mini-icons/45-movie1.png +0 -0
- data/templates/mobile/glyphish/mini-icons/46-movie2.png +0 -0
- data/templates/mobile/glyphish/mini-icons/47-fuel.png +0 -0
- data/templates/mobile/glyphish/mini-icons/48-fork-and-knife.png +0 -0
- data/templates/mobile/glyphish/mini-icons/49-battery.png +0 -0
- data/templates/mobile/glyphish/mini-icons/50-beaker.png +0 -0
- data/templates/mobile/glyphish/mini-icons/51-outlet.png +0 -0
- data/templates/mobile/glyphish/mini-icons/52-pinetree.png +0 -0
- data/templates/mobile/glyphish/mini-icons/53-house.png +0 -0
- data/templates/mobile/glyphish/mini-icons/54-lock.png +0 -0
- data/templates/mobile/glyphish/mini-icons/55-network.png +0 -0
- data/templates/mobile/glyphish/mini-icons/56-cloud.png +0 -0
- data/templates/mobile/glyphish/mini-icons/57-download.png +0 -0
- data/templates/mobile/glyphish/mini-icons/58-bookmark.png +0 -0
- data/templates/mobile/glyphish/mini-icons/59-flag.png +0 -0
- data/templates/mobile/glyphish/mini-icons/60-signpost.png +0 -0
- data/templates/mobile/glyphish/mini-icons/61-brightness.png +0 -0
- data/templates/mobile/glyphish/mini-icons/62-contrast.png +0 -0
- data/templates/mobile/glyphish/mini-icons/63-runner.png +0 -0
- data/templates/mobile/glyphish/mini-icons/64-zap.png +0 -0
- data/templates/mobile/glyphish/mini-icons/65-note.png +0 -0
- data/templates/mobile/glyphish/mini-icons/66-microphone.png +0 -0
- data/templates/mobile/glyphish/mini-icons/67-tshirt.png +0 -0
- data/templates/mobile/glyphish/mini-icons/68-paperclip.png +0 -0
- data/templates/mobile/glyphish/mini-icons/69-display.png +0 -0
- data/templates/mobile/glyphish/mini-icons/70-tv.png +0 -0
- data/templates/mobile/glyphish/mini-icons/71-compass.png +0 -0
- data/templates/mobile/glyphish/mini-icons/72-pin.png +0 -0
- data/templates/mobile/glyphish/mini-icons/73-radar.png +0 -0
- data/templates/mobile/glyphish/mini-icons/74-location.png +0 -0
- data/templates/mobile/glyphish/mini-icons/75-phone.png +0 -0
- data/templates/mobile/glyphish/mini-icons/76-baby.png +0 -0
- data/templates/mobile/glyphish/mini-icons/77-ekg.png +0 -0
- data/templates/mobile/glyphish/mini-icons/78-stopwatch.png +0 -0
- data/templates/mobile/glyphish/mini-icons/79-medical-bag.png +0 -0
- data/templates/mobile/glyphish/mini-icons/80-shopping-cart.png +0 -0
- data/templates/mobile/glyphish/mini-icons/81-dashboard.png +0 -0
- data/templates/mobile/glyphish/mini-icons/82-dogpaw.png +0 -0
- data/templates/mobile/glyphish/mini-icons/83-calendar.png +0 -0
- data/templates/mobile/glyphish/mini-icons/84-lightbulb.png +0 -0
- data/templates/mobile/glyphish/mini-icons/85-trophy.png +0 -0
- data/templates/mobile/glyphish/mini-icons/86-camera.png +0 -0
- data/templates/mobile/glyphish/mini-icons/87-wineglass.png +0 -0
- data/templates/mobile/glyphish/mini-icons/88-beermug.png +0 -0
- data/templates/mobile/glyphish/mini-icons/89-dumbbell.png +0 -0
- data/templates/mobile/glyphish/mini-icons/90-lifebuoy.png +0 -0
- data/templates/mobile/glyphish/mini-icons/91-beaker2.png +0 -0
- data/templates/mobile/glyphish/mini-icons/92-testtube.png +0 -0
- data/templates/mobile/glyphish/mini-icons/93-thermometer.png +0 -0
- data/templates/mobile/glyphish/mini-icons/94-pill.png +0 -0
- data/templates/mobile/glyphish/mini-icons/95-equalizer.png +0 -0
- data/templates/mobile/glyphish/mini-icons/96-book.png +0 -0
- data/templates/mobile/glyphish/mini-icons/97-puzzle.png +0 -0
- data/templates/mobile/glyphish/mini-icons/98-palette.png +0 -0
- data/templates/mobile/glyphish/mini-icons/99-umbrella.png +0 -0
- data/templates/mobile/jquery/mobile/_base.scss +0 -1325
- data/templates/mobile/jquery/mobile/default/ajax-loader.png +0 -0
- data/templates/mobile/jquery/mobile/default/form-check-off.png +0 -0
- data/templates/mobile/jquery/mobile/default/form-check-on.png +0 -0
- data/templates/mobile/jquery/mobile/default/form-radio-off.png +0 -0
- data/templates/mobile/jquery/mobile/default/form-radio-on.png +0 -0
- data/templates/mobile/jquery/mobile/default/icon-arrow-white-down.png +0 -0
- data/templates/mobile/jquery/mobile/default/icon-arrow-white-left.png +0 -0
- data/templates/mobile/jquery/mobile/default/icon-arrow-white-right.png +0 -0
- data/templates/mobile/jquery/mobile/default/icon-arrow-white-up.png +0 -0
- data/templates/mobile/jquery/mobile/default/icon-delete.png +0 -0
- data/templates/mobile/jquery/mobile/default/icon-minus-white.png +0 -0
- data/templates/mobile/jquery/mobile/default/icon-plus-white.png +0 -0
- data/templates/mobile/jquery/mobile/default/icon-search-black.png +0 -0
- data/templates/mobile/jquery/mobile/default/icons-18-black.png +0 -0
- data/templates/mobile/jquery/mobile/default/icons-18-white.png +0 -0
- data/templates/mobile/jquery/mobile/default/icons-36-black.png +0 -0
- data/templates/mobile/jquery/mobile/default/icons-36-white.png +0 -0
- data/templates/mobile/jquery/mobile/default.scss +0 -742
- data/templates/mobile/jquery/mobile/valencia/ajax-loader.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/form-check-off.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/form-check-on.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/form-radio-off.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/form-radio-on.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icon-arrow-white-down.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icon-arrow-white-left.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icon-arrow-white-right.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icon-arrow-white-up.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icon-delete.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icon-minus-white.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icon-plus-white.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icon-search-black.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icons-18-black.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icons-18-white.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icons-36-black.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icons-36-white.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/texture_05.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/texture_075.png +0 -0
- data/templates/mobile/jquery/mobile/valencia.scss +0 -804
- data/templates/mobile/jquery.mobile.js +0 -3390
- data/templates/mobile/jquery.mobile.min.js +0 -28
- data/templates/mobile/lib/tasks/jquery.mobile.rake +0 -106
- data/templates/mobile/manifest.rb +0 -307
- data/templates/secret_sauce/app/views/shared/_ui_form_error_messages.html.haml +0 -6
- data/templates/secret_sauce/app/views/shared/_ui_grid_for_without_block.js.haml +0 -144
- data/templates/secret_sauce/app/views/shared/_ui_static_dialog.html.haml +0 -6
- data/templates/secret_sauce/config/initializers/secret_sauce.rb +0 -8
- data/templates/secret_sauce/jquery/secret_sauce.scss +0 -33
- data/templates/secret_sauce/manifest.rb +0 -10
- data/templates/secret_sauce/secret_sauce.js +0 -12
- data/templates/secret_sauce/secret_sauce.min.js +0 -1
@@ -1,226 +0,0 @@
|
|
1
|
-
module SecretSauce
|
2
|
-
module Helpers
|
3
|
-
# This module wraps the great jqGrid plugin for jQuery and jQuery UI (http://www.trirand.com/blog).
|
4
|
-
module UiGridHelper
|
5
|
-
# Renders a table using jqGrid[http://www.trirand.com/blog]. This method can be used for quickly
|
6
|
-
# 'scaffolding' a model resource. It accepts arguments similiar to form_for. The first argument
|
7
|
-
# must be either Symbol, or an Array. If a Symbol, it should be the name of the resource to build
|
8
|
-
# the grid for.
|
9
|
-
# == Parameters
|
10
|
-
# Most of the documentation for the parameters are pulled from the jqGrid documentation found here:
|
11
|
-
# http://www.secondpersonplural.ca/jqgriddocs/index.htm
|
12
|
-
# * <tt>:alternate_rows -</tt> Set a zebra-striped grid. Default is set to false.
|
13
|
-
# * <tt>:caption -</tt> Defines the caption for the grid. This caption appear above the
|
14
|
-
# table header. If caption is nil, no caption will be referenced. By default the
|
15
|
-
# caption will be guessed from the <tt>name_or_array</tt> arguement.
|
16
|
-
# * <tt>:cell_edit -</tt> Enables (disables) cell editing.
|
17
|
-
# See CellEditing[http://www.secondpersonplural.ca/jqgriddocs/_2h30tykyb.htm] for more details.
|
18
|
-
# * <tt>:cell_submit -</tt> Determines where the contents of the cell are saved: 'remote' or 'clientArray'.
|
19
|
-
# See CellEditing[http://www.secondpersonplural.ca/jqgriddocs/_2h30tykyb.htm] for more details.
|
20
|
-
# * <tt>:cell_url -</tt> The url where the cell is to be saved.
|
21
|
-
# See CellEditing[http://www.secondpersonplural.ca/jqgriddocs/_2h30tykyb.htm] for more details.
|
22
|
-
# * <tt>:column_model -</tt> Array which describes the parameters of the columns.
|
23
|
-
# For a full description of all valid values see
|
24
|
-
# colModel[http://www.secondpersonplural.ca/jqgriddocs/_2eb0fihps.htm]. By default column_model
|
25
|
-
# is set for ActiveRecord::Base#find_for_grid.
|
26
|
-
# * <tt>:column_names -</tt> Array which describes the column labels in the grid.
|
27
|
-
# * <tt>:datastring -</tt> The string of data when datatype parameter is set to xmlstring or jsonstring.
|
28
|
-
# * <tt>:datatype -</tt> Defines what type of information to expect to represent data in the grid.
|
29
|
-
# Valid options are xml - we expect xml data; xmlstring - we expect xml data as string;
|
30
|
-
# json - we expect JSON data; jsonstring - we expect JSON data as string;
|
31
|
-
# clientSide - we expect data defined at client side (array data)
|
32
|
-
# * <tt>:deselect_after_sort -</tt> Applicable only when we use <tt>datatype => "clientSide"</tt>.
|
33
|
-
# Deselects currently-selected row(s) when a sort is applied.
|
34
|
-
# * <tt>:edit_url -</tt> Defines the url for inline and form editing.
|
35
|
-
# * <tt>:expand_column -</tt> Indicates which column (name from <tt>:column_model</tt>)
|
36
|
-
# should be used to expand the tree grid. If not set the first one is used. Valid only when
|
37
|
-
# treeGrid option is set to true.
|
38
|
-
# * <tt>:force_fit -</tt>If set to true, and resizing the width of a column,
|
39
|
-
# the adjacent column (to the right) will resize so that the overall grid width is
|
40
|
-
# maintained (e.g., reducing the width of column 2 by 30px will increase the size of column 3 by
|
41
|
-
# 30px). In this case there is no horizontal scrolbar. Note: this option is not compatible with
|
42
|
-
# <tt>shrink_to_fit</tt> option - i.e if <tt>:shrink_to_fit</tt> is set to false,
|
43
|
-
# <tt>:force_fit</tt> is ignored.
|
44
|
-
# * <tt>:grid_state -</tt> Determines the current state of the grid (i.e. when used with hiddengrid,
|
45
|
-
# <tt>:hide_grid</tt> and caption options). Can have either of two states: 'visible' or 'hidden'
|
46
|
-
# * <tt>:hidden_grid -</tt> If set to true the grid initially is hidden. The data is not
|
47
|
-
# loaded (no request is sent) and only the caption layer is shown. When the show/hide
|
48
|
-
# button is clicked the first time to show grid, the request is sent to the server,
|
49
|
-
# the data is loaded, and grid is shown. From this point we have a regular grid. This option
|
50
|
-
# has effect only if the caption property is not empty and the <tt>:hide_grid</tt> property (see below)
|
51
|
-
# is set to true.
|
52
|
-
# * <tt>:hide_grid -</tt> Enables or disables the show/hide grid button, which appears on the right side
|
53
|
-
# of the Caption layer. Takes effect only if the caption property is not an empty string.
|
54
|
-
# * <tt>:height -</tt> The height of the grid. Can be set as percentage or any valid measured value.
|
55
|
-
# * <tt>:image_path -</tt>Defines the path to the images that are used in the grid. Set this option
|
56
|
-
# without / at end.
|
57
|
-
# * <tt>:json_reader -</tt> Array which describes the structure of the expected json data. For a full
|
58
|
-
# description and default setting, see JSONData[http://www.secondpersonplural.ca/jqgriddocs/_2eb0f6jhe.htm].
|
59
|
-
# * <tt>:load_once -</tt> If this flag is set to true, the grid loads the data from the server
|
60
|
-
# only once (using the appropriate datatype). After the first request the <tt>:data_type</tt> parameter is
|
61
|
-
# automatically changed to clientSide and all further manipulations are done on the client side.
|
62
|
-
# The functions of the pager (if present) are disabled.
|
63
|
-
# * <tt>:load_text -</tt> The text which appear when requesting and sorting data.
|
64
|
-
# * <tt>:load_ui -</tt> This option controls what to do when an ajax operation is in progress.
|
65
|
-
# * disable - disables the jqGrid progress indicator. This way you can use your own indicator.
|
66
|
-
# * enable (default) - enables the red "Loading" message in the upper left of the grid.
|
67
|
-
# * block - enables the progress indicator using the characteristics you have specified in the
|
68
|
-
# css for div.loadingui and blocks all actions in the grid until the ajax request is finished.
|
69
|
-
# Note that this disables paging, sorting and all actions on toolbar, if any.
|
70
|
-
# * <tt>:request_type -</tt> Defines the type of request to make ("POST" or "GET").
|
71
|
-
# * <tt>:multikey -</tt> This parameter have sense only multiselect option is set to true.
|
72
|
-
# Defines the key which will be pressed when we make multiselection. The possible values are:
|
73
|
-
# shiftKey - the user should press Shift Key altKey - the user should press
|
74
|
-
# Alt Key ctrlKey - the user should press Ctrl Key.
|
75
|
-
# * <tt>:multibox -</tt> This option works only when <tt>:multiselect => true</tt>.
|
76
|
-
# When multiselect is set to true, clicking anywhere on a row selects that row;
|
77
|
-
# when multiboxonly is also set to true, the row is selected only when the checkbox
|
78
|
-
# is clicked (Yahoo style).
|
79
|
-
# * <tt>:multiselect -</tt> If this flag is set to true a multi selection of rows is enabled.
|
80
|
-
# A new column at left side is added. Can be used with any datatype option.
|
81
|
-
# * <tt>:param_keys -</tt> Customizes names of the fields sent to the server on a Post:
|
82
|
-
# default values for these fields are "page", "rows", "sidx", and "sord".
|
83
|
-
# For example, with this setting, you can change the sort order element from "sidx" to "mysort":
|
84
|
-
# The string that will be posted to the server will then be
|
85
|
-
# /foo/bars?page=1&rows=10&mysort=myindex&sord=asc rather than
|
86
|
-
# /foo/bars?page=1&rows=10&sidx=myindex&sord=asc.
|
87
|
-
# * <tt>:post_data -</tt> This array is passed directly to the url. This is associative
|
88
|
-
# array and can be used this way: {name1:value1...}.
|
89
|
-
# * <tt>:resize_class -</tt> Assigns a class to columns that are resizable so that we can show
|
90
|
-
# a resize handle only for ones that are resizable.
|
91
|
-
# * <tt>:scroll -</tt> Creates dynamic scrolling grids. When enabled, the pager elements are
|
92
|
-
# disabled and we can use the vertical scrollbar to load data. This option currently should be
|
93
|
-
# used carefully on big data sets, since the swapper isn't that intelligent, which means that
|
94
|
-
# all the data is loaded and a lot of memory will be used if the dataset is large.
|
95
|
-
# You must be sure to have a initial vertical scroll in grid, i.e. the height
|
96
|
-
# should not be set to auto.
|
97
|
-
# * <tt>:scroll_rows -</tt> When enabled, selecting a row with setSelection scrolls the grid so
|
98
|
-
# that the selected row is visible. This is especially useful when we have a verticall
|
99
|
-
# scrolling grid and we use form editing with navigation buttons (next or previous row).
|
100
|
-
# On navigating to a hidden row, the grid scrolls so the selected row becomes visible.
|
101
|
-
# * <tt>:sort_class -</tt> The class to be applied to the currently sorted column, i.e. applied
|
102
|
-
# to the th element.
|
103
|
-
# * <tt>:shrink_to_fit -</tt> This option describes the type of calculation of the initial width of
|
104
|
-
# each column against with the width of the grid. If the value is true and the value in width
|
105
|
-
# option is set then: Every column width is scaled according to the defined option width.
|
106
|
-
# Example: if we define two columns with a width of 80 and 120 pixels, but want the grid to
|
107
|
-
# have a 300 pixels - then the columns are recalculated as
|
108
|
-
# follows: 1- column = 300(new width)/200(sum of all width)*80(column width) = 120 and 2 column =
|
109
|
-
# 300/200*120 = 180. The grid width is 300px. If the value is false and the value in width option is set
|
110
|
-
# then: The width of the grid is the width set in option. The column width are not recalculated and have the
|
111
|
-
# values defined in colModel.
|
112
|
-
# * <tt>:sort_asc_image -</tt> Links to image url which are used when the user sort a column.
|
113
|
-
# * <tt>:sort_desc_image -</tt> Links to image url which are used when the user sort a column.
|
114
|
-
# * <tt>:sort_name -</tt> The initial sorting name when we use datatypes xml or json
|
115
|
-
# (data returned from server).
|
116
|
-
# * <tt>:sort_order -</tt> The initial sorting order when we use datatypes xml
|
117
|
-
# or json (data returned from server).
|
118
|
-
# * <tt>:toolbar -</tt> This option defines the toolbar of the grid. This is array with two
|
119
|
-
# values in which the first value enables the toolbar and the second defines the position
|
120
|
-
# relative to body Layer. Possible values "top" or "bottom".
|
121
|
-
# * <tt>:tree_grid -</tt> Enables (disables) the tree grid format. For more details see
|
122
|
-
# TreeGrid[http://www.secondpersonplural.ca/jqgriddocs/_2h30rxa7u.htm]
|
123
|
-
# * <tt>:user_data -</tt> This array contain custom information from the request. Can be used at any time.
|
124
|
-
# * <tt>:width -</tt> If this option is not set, the width of the grid is a sum of the widths of the
|
125
|
-
# columns defined in the colModel (in pixels). If this option is set, the initial width of each
|
126
|
-
# column is set according to the value of <tt>:shrink_to_fit</tt> option.
|
127
|
-
# * <tt>:xml_reader -</tt> Array which describes the structure of the expected xml data.
|
128
|
-
# For a full description refer to Data Types.
|
129
|
-
def ui_grid_for(*args)
|
130
|
-
name_or_array = args.first
|
131
|
-
options = args.extract_options!
|
132
|
-
option_map = {
|
133
|
-
:alternate_rows => "altRows", # bool
|
134
|
-
:caption => "caption", # string
|
135
|
-
:cell_edit => "cellEdit", # bool
|
136
|
-
:cell_submit => "cellSubmit", # string
|
137
|
-
:cell_url => "cellUrl", # string
|
138
|
-
:column_model => "colModel", # array
|
139
|
-
:column_names => "colNames", # array
|
140
|
-
:datastring => "dataStr", # string
|
141
|
-
:datatype => "datatype", # string
|
142
|
-
:deslect_after_sort => "deselectAfterSort", # bool
|
143
|
-
:edit_url => "editUrl", # string
|
144
|
-
:expand_column => "ExpandColumn", # string
|
145
|
-
:footer_row => "footerrow", # bool TODO: ADD DOCUMENTATION
|
146
|
-
:force_fit => "forceFit", # bool
|
147
|
-
:grid_state => "gridstate", # string
|
148
|
-
:hidden_grid => "hiddengrid", # bool
|
149
|
-
:hide_grid => "hidegrid", # bool
|
150
|
-
:height => "height", # string
|
151
|
-
:image_path => "imgpath", # string
|
152
|
-
:json_reader => "jsonReader", # array
|
153
|
-
:load_complete => "loadComplete", # string TODO: ADD DOCUMENTATION
|
154
|
-
:load_once => "loadonce", # bool
|
155
|
-
:load_text => "load_text", # string
|
156
|
-
:load_ui => "loadui", # string
|
157
|
-
:request_method => "mtype", # string
|
158
|
-
:multikey => "multikey", # string
|
159
|
-
:multibox => "multiboxonly", # bool
|
160
|
-
:multiselect => "multiselect", # bool
|
161
|
-
:pager => "pager", # string TODO: ADD DOCUMENATION
|
162
|
-
:param_keys => "prmnames", # array
|
163
|
-
:post_data => "postData", # array
|
164
|
-
:resize_class => "resizeclass", # string
|
165
|
-
:restful => "restful", # bool
|
166
|
-
:row_num => "rowNum", # integer TODO: ADD DOCUMENATION
|
167
|
-
:row_list => "rowList", # array TODO: ADD DOCUMENATION
|
168
|
-
:scroll => "scroll", # bool
|
169
|
-
:scroll_rows => "scrollrows", # bool
|
170
|
-
:sort_class => "sortclass", # string
|
171
|
-
:shrink_to_fit => "shrinkToFit", # bool
|
172
|
-
:sort_asc_image => "sortascimg", # string
|
173
|
-
:sort_desc_image => "sortdescimg", # string
|
174
|
-
:sort_name => "sortname", # string
|
175
|
-
:sort_order => "sortorder", # string
|
176
|
-
:toolbar => "toolbar", # array
|
177
|
-
:tree_grid => "treeGrid", # bool
|
178
|
-
:user_data => "userData", # array
|
179
|
-
:url => "url", # string TODO: ADD DOCUMENATION
|
180
|
-
:view_records => "viewrecords", # bool TODO: ADD DOCUMENTATION
|
181
|
-
:width => "width", # string
|
182
|
-
:xml_reader => "xmlReader", # array
|
183
|
-
}
|
184
|
-
if name_or_array.class == Symbol
|
185
|
-
options[:grid] = {} unless options[:grid]
|
186
|
-
options[:nav] = {} unless options[:nav]
|
187
|
-
options[:actions] = {} unless options[:actions]
|
188
|
-
options[:url] = "/#{name_or_array}" unless options[:url]
|
189
|
-
column_model = name_or_array.to_s.singularize.classify.constantize.new.attributes.keys.collect do |m|
|
190
|
-
{:name => m, :index => m, :label => m.titleize, :width => (1024 / name_or_array.to_s.singularize.classify.constantize.new.attributes.length)}
|
191
|
-
end
|
192
|
-
grid_options = {
|
193
|
-
##########################################
|
194
|
-
#:url => "/#{name_or_array}.json",
|
195
|
-
:url => "#{options[:url]}.json",
|
196
|
-
##########################################
|
197
|
-
:alternate_rows => true,
|
198
|
-
:caption => "#{name_or_array}".titleize,
|
199
|
-
:column_model => column_model,
|
200
|
-
:datatype => "json",
|
201
|
-
:restful => true,
|
202
|
-
:json_reader => {:repeatitems => false},
|
203
|
-
#:height => 22 * 30,
|
204
|
-
:height => :auto,
|
205
|
-
:row_num => 20,
|
206
|
-
:row_list => [10, 20, 30],
|
207
|
-
:pager => "#{name_or_array}_pager",
|
208
|
-
:hide_grid => false,
|
209
|
-
:view_records => true,
|
210
|
-
}
|
211
|
-
grid_options.merge!(options[:grid])
|
212
|
-
mapped_options = {}
|
213
|
-
grid_options.each do |k,v|
|
214
|
-
mapped_options[option_map[k]] = v
|
215
|
-
end
|
216
|
-
options[:nav].replace({
|
217
|
-
:edit => false,
|
218
|
-
:add => false,
|
219
|
-
:del => false
|
220
|
-
}.merge(options[:nav]))
|
221
|
-
render(:file => 'shared/_ui_grid_for_without_block.js.haml', :locals => {:options => mapped_options, :name => name_or_array, :url => options[:url], :nav => options[:nav], :actions => options[:actions]})
|
222
|
-
end
|
223
|
-
end
|
224
|
-
end
|
225
|
-
end
|
226
|
-
end
|
@@ -1,42 +0,0 @@
|
|
1
|
-
module ActiveRecord
|
2
|
-
class Base
|
3
|
-
# takes params from request and returns records serialized to json. handles the majority of the functionality
|
4
|
-
# for searching, sorting, and serializing records to be consumed by jqGrid.
|
5
|
-
def self.find_for_grid_2(params)
|
6
|
-
search_options = {:limit => params["rows"]}
|
7
|
-
search_options[:offset] = (params["page"].to_i * params["rows"].to_i) - params["rows"].to_i
|
8
|
-
search_options[:order] = "#{params['sidx']} #{params['sord']}" if params["sidx"] != ""
|
9
|
-
if params["_search"] == "true"
|
10
|
-
string_search_operations = {
|
11
|
-
"eq" => "=",
|
12
|
-
"ne" => "<>",
|
13
|
-
"bw" => "LIKE",
|
14
|
-
"bn" => "NOT LIKE",
|
15
|
-
"ew" => "LIKE",
|
16
|
-
"en" => "NOT LIKE",
|
17
|
-
"cn" => "LIKE",
|
18
|
-
"nc" => "NOT LIKE"
|
19
|
-
}
|
20
|
-
integer_search_operations = {
|
21
|
-
"eq" => "=",
|
22
|
-
"ne" => "<>",
|
23
|
-
"lt" => "<",
|
24
|
-
"le" => "<=",
|
25
|
-
"gt" => ">",
|
26
|
-
"ge" => ">="
|
27
|
-
}
|
28
|
-
if [:text, :string].include?(self.columns.select {|c| c.name == params["searchField"]}.first.type) && string_search_operations.keys.include?(params["searchOper"])
|
29
|
-
search_options[:conditions] = "#{params["searchField"]} "
|
30
|
-
search_options[:conditions] << "#{string_search_operations[params["searchOper"]]}"
|
31
|
-
search_options[:conditions] << "'#{"%" if ["ew", "en", "cn", "nc"].include?(params["searchOper"])}#{params["searchString"]}#{"%" if ["nc", "cn", "bn", "bw"].include?(params["searchOper"])}'"
|
32
|
-
elsif [:integer].include?(self.columns.select {|c| c.name == params["searchField"]}.first.type) && integer_search_operations.keys.include?(params["searchOper"])
|
33
|
-
search_options[:conditions] = "#{params["searchField"]} #{integer_search_operations[params["searchOper"]]} #{params["searchString"]}"
|
34
|
-
end
|
35
|
-
end
|
36
|
-
count = self.count(:all, :conditions => search_options[:conditions]).to_f
|
37
|
-
# raise count.inspect
|
38
|
-
array = self.find(:all, search_options).collect {|r| r.attributes }
|
39
|
-
{:total => (count / params["rows"].to_f).ceil, :page => params["page"], :records => count, :rows => array }.to_json
|
40
|
-
end
|
41
|
-
end
|
42
|
-
end
|
data/lib/jquery/secret_sauce.rb
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
module SecretSauce#:nodoc:
|
2
|
-
end
|
3
|
-
|
4
|
-
require 'jquery/secret_sauce/controller/ui_dialog_controls'
|
5
|
-
require 'jquery/secret_sauce/controller/ui_grid_controls'
|
6
|
-
require 'jquery/secret_sauce/helpers/ui_dialog_helper'
|
7
|
-
require 'jquery/secret_sauce/helpers/ui_form_helper'
|
8
|
-
require 'jquery/secret_sauce/helpers/ui_grid_helper'
|
9
|
-
require 'jquery/secret_sauce/model/find_for_grid'
|
@@ -1,132 +0,0 @@
|
|
1
|
-
;(function($){
|
2
|
-
/**
|
3
|
-
* jqGrid Bulgarian Translation
|
4
|
-
* Tony Tomov tony@trirand.com
|
5
|
-
* http://trirand.com/blog/
|
6
|
-
* Dual licensed under the MIT and GPL licenses:
|
7
|
-
* http://www.opensource.org/licenses/mit-license.php
|
8
|
-
* http://www.gnu.org/licenses/gpl.html
|
9
|
-
**/
|
10
|
-
$.jgrid = {
|
11
|
-
defaults : {
|
12
|
-
recordtext: "{0} - {1} от {2}",
|
13
|
-
emptyrecords: "Няма запис(и)",
|
14
|
-
loadtext: "Зареждам...",
|
15
|
-
pgtext : "Стр. {0} от {1}"
|
16
|
-
},
|
17
|
-
search : {
|
18
|
-
caption: "Търсене...",
|
19
|
-
Find: "Намери",
|
20
|
-
Reset: "Изчисти",
|
21
|
-
odata : ['равно', 'различно', 'по-малко', 'по-малко или=','по-голямо','по-голямо или =', 'започва с','не започва с','се намира в','не се намира в','завършва с','не завършава с','съдържа', 'не съдържа' ],
|
22
|
-
groupOps: [ { op: "AND", text: " И " }, { op: "OR", text: "ИЛИ" } ],
|
23
|
-
matchText: " включи",
|
24
|
-
rulesText: " клауза"
|
25
|
-
},
|
26
|
-
edit : {
|
27
|
-
addCaption: "Нов Запис",
|
28
|
-
editCaption: "Редакция Запис",
|
29
|
-
bSubmit: "Запиши",
|
30
|
-
bCancel: "Изход",
|
31
|
-
bClose: "Затвори",
|
32
|
-
saveData: "Данните са променени! Да съхраня ли промените?",
|
33
|
-
bYes : "Да",
|
34
|
-
bNo : "Не",
|
35
|
-
bExit : "Отказ",
|
36
|
-
msg: {
|
37
|
-
required:"Полето е задължително",
|
38
|
-
number:"Въведете валидно число!",
|
39
|
-
minValue:"стойността трябва да е по-голяма или равна от",
|
40
|
-
maxValue:"стойността трябва да е по-малка или равна от",
|
41
|
-
email: "не е валиден ел. адрес",
|
42
|
-
integer: "Въведете валидно цяло число",
|
43
|
-
date: "Въведете валидна дата",
|
44
|
-
url: "e невалиден URL. Изискава се префикс('http://' или 'https://')",
|
45
|
-
nodefined : " е недефинирана!",
|
46
|
-
novalue : " изисква връщане на стойност!",
|
47
|
-
customarray : "Потреб. Функция трябва да върне масив!",
|
48
|
-
customfcheck : "Потребителска функция е задължителна при този тип елемент!"
|
49
|
-
}
|
50
|
-
},
|
51
|
-
view : {
|
52
|
-
caption: "Преглед запис",
|
53
|
-
bClose: "Затвори"
|
54
|
-
},
|
55
|
-
del : {
|
56
|
-
caption: "Изтриване",
|
57
|
-
msg: "Да изтрия ли избраният запис?",
|
58
|
-
bSubmit: "Изтрий",
|
59
|
-
bCancel: "Отказ"
|
60
|
-
},
|
61
|
-
nav : {
|
62
|
-
edittext: " ",
|
63
|
-
edittitle: "Редакция избран запис",
|
64
|
-
addtext:" ",
|
65
|
-
addtitle: "Добавяне нов запис",
|
66
|
-
deltext: " ",
|
67
|
-
deltitle: "Изтриване избран запис",
|
68
|
-
searchtext: " ",
|
69
|
-
searchtitle: "Търсене запис(и)",
|
70
|
-
refreshtext: "",
|
71
|
-
refreshtitle: "Обнови таблица",
|
72
|
-
alertcap: "Предупреждение",
|
73
|
-
alerttext: "Моля, изберете запис",
|
74
|
-
viewtext: "",
|
75
|
-
viewtitle: "Преглед избран запис"
|
76
|
-
},
|
77
|
-
col : {
|
78
|
-
caption: "Избери колони",
|
79
|
-
bSubmit: "Ок",
|
80
|
-
bCancel: "Изход"
|
81
|
-
},
|
82
|
-
errors : {
|
83
|
-
errcap : "Грешка",
|
84
|
-
nourl : "Няма посочен url адрес",
|
85
|
-
norecords: "Няма запис за обработка",
|
86
|
-
model : "Модела не съответства на имената!"
|
87
|
-
},
|
88
|
-
formatter : {
|
89
|
-
integer : {thousandsSeparator: " ", defaultValue: '0'},
|
90
|
-
number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
|
91
|
-
currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:" лв.", defaultValue: '0.00'},
|
92
|
-
date : {
|
93
|
-
dayNames: [
|
94
|
-
"Нед", "Пон", "Вт", "Ср", "Чет", "Пет", "Съб",
|
95
|
-
"Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота"
|
96
|
-
],
|
97
|
-
monthNames: [
|
98
|
-
"Яну", "Фев", "Мар", "Апр", "Май", "Юни", "Юли", "Авг", "Сеп", "Окт", "Нов", "Дек",
|
99
|
-
"Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"
|
100
|
-
],
|
101
|
-
AmPm : ["","","",""],
|
102
|
-
S: function (j) {
|
103
|
-
if(j==7 || j==8 || j== 27 || j== 28) {
|
104
|
-
return 'ми';
|
105
|
-
}
|
106
|
-
return ['ви', 'ри', 'ти'][Math.min((j - 1) % 10, 2)];
|
107
|
-
},
|
108
|
-
srcformat: 'Y-m-d',
|
109
|
-
newformat: 'd/m/Y',
|
110
|
-
masks : {
|
111
|
-
ISO8601Long:"Y-m-d H:i:s",
|
112
|
-
ISO8601Short:"Y-m-d",
|
113
|
-
ShortDate: "n/j/Y",
|
114
|
-
LongDate: "l, F d, Y",
|
115
|
-
FullDateTime: "l, F d, Y g:i:s A",
|
116
|
-
MonthDay: "F d",
|
117
|
-
ShortTime: "g:i A",
|
118
|
-
LongTime: "g:i:s A",
|
119
|
-
SortableDateTime: "Y-m-d\\TH:i:s",
|
120
|
-
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
121
|
-
YearMonth: "F, Y"
|
122
|
-
},
|
123
|
-
reformatAfterEdit : false
|
124
|
-
},
|
125
|
-
baseLinkUrl: '',
|
126
|
-
showAction: '',
|
127
|
-
target: '',
|
128
|
-
checkbox : {disabled:true},
|
129
|
-
idName : 'id'
|
130
|
-
}
|
131
|
-
};
|
132
|
-
})(jQuery);
|
@@ -1,6 +0,0 @@
|
|
1
|
-
(function(b){b.jgrid={defaults:{recordtext:"{0} - {1} от {2}",emptyrecords:"Няма запис(и)",loadtext:"Зареждам...",pgtext:"Стр. {0} от {1}"},search:{caption:"Търсене...",Find:"Намери",Reset:"Изчисти",odata:["равно","различно","по-малко","по-малко или=","по-голямо","по-голямо или =","започва с","не започва с","се намира в","не се намира в","завършва с","не завършава с","съдържа","не съдържа"],groupOps:[{op:"AND",text:" И "},{op:"OR",text:"ИЛИ"}],matchText:" включи",rulesText:" клауза"},edit:{addCaption:"Нов Запис",
|
2
|
-
editCaption:"Редакция Запис",bSubmit:"Запиши",bCancel:"Изход",bClose:"Затвори",saveData:"Данните са променени! Да съхраня ли промените?",bYes:"Да",bNo:"Не",bExit:"Отказ",msg:{required:"Полето е задължително",number:"Въведете валидно число!",minValue:"стойността трябва да е по-голяма или равна от",maxValue:"стойността трябва да е по-малка или равна от",email:"не е валиден ел. адрес",integer:"Въведете валидно цяло число",date:"Въведете валидна дата",url:"e невалиден URL. Изискава се префикс('http://' или 'https://')",
|
3
|
-
nodefined:" е недефинирана!",novalue:" изисква връщане на стойност!",customarray:"Потреб. Функция трябва да върне масив!",customfcheck:"Потребителска функция е задължителна при този тип елемент!"}},view:{caption:"Преглед запис",bClose:"Затвори"},del:{caption:"Изтриване",msg:"Да изтрия ли избраният запис?",bSubmit:"Изтрий",bCancel:"Отказ"},nav:{edittext:" ",edittitle:"Редакция избран запис",addtext:" ",addtitle:"Добавяне нов запис",deltext:" ",deltitle:"Изтриване избран запис",searchtext:" ",searchtitle:"Търсене запис(и)",
|
4
|
-
refreshtext:"",refreshtitle:"Обнови таблица",alertcap:"Предупреждение",alerttext:"Моля, изберете запис",viewtext:"",viewtitle:"Преглед избран запис"},col:{caption:"Избери колони",bSubmit:"Ок",bCancel:"Изход"},errors:{errcap:"Грешка",nourl:"Няма посочен url адрес",norecords:"Няма запис за обработка",model:"Модела не съответства на имената!"},formatter:{integer:{thousandsSeparator:" ",defaultValue:"0"},number:{decimalSeparator:".",thousandsSeparator:" ",decimalPlaces:2,defaultValue:"0.00"},currency:{decimalSeparator:".",
|
5
|
-
thousandsSeparator:" ",decimalPlaces:2,prefix:"",suffix:" лв.",defaultValue:"0.00"},date:{dayNames:["Нед","Пон","Вт","Ср","Чет","Пет","Съб","Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота"],monthNames:["Яну","Фев","Мар","Апр","Май","Юни","Юли","Авг","Сеп","Окт","Нов","Дек","Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],AmPm:["","","",""],S:function(a){if(a==7||a==8||a==27||a==28)return"ми";return["ви","ри","ти"][Math.min((a-
|
6
|
-
1)%10,2)]},srcformat:"Y-m-d",newformat:"d/m/Y",masks:{ISO8601Long:"Y-m-d H:i:s",ISO8601Short:"Y-m-d",ShortDate:"n/j/Y",LongDate:"l, F d, Y",FullDateTime:"l, F d, Y g:i:s A",MonthDay:"F d",ShortTime:"g:i A",LongTime:"g:i:s A",SortableDateTime:"Y-m-d\\TH:i:s",UniversalSortableDateTime:"Y-m-d H:i:sO",YearMonth:"F, Y"},reformatAfterEdit:false},baseLinkUrl:"",showAction:"",target:"",checkbox:{disabled:true},idName:"id"}}})(jQuery);
|
@@ -1,132 +0,0 @@
|
|
1
|
-
;(function($){
|
2
|
-
/**
|
3
|
-
* jqGrid Bulgarian Translation
|
4
|
-
* Tony Tomov tony@trirand.com
|
5
|
-
* http://trirand.com/blog/
|
6
|
-
* Dual licensed under the MIT and GPL licenses:
|
7
|
-
* http://www.opensource.org/licenses/mit-license.php
|
8
|
-
* http://www.gnu.org/licenses/gpl.html
|
9
|
-
**/
|
10
|
-
$.jgrid = {
|
11
|
-
defaults : {
|
12
|
-
recordtext: "{0} - {1} �� {2}",
|
13
|
-
emptyrecords: "���� �����(�)",
|
14
|
-
loadtext: "��������...",
|
15
|
-
pgtext : "���. {0} �� {1}"
|
16
|
-
},
|
17
|
-
search : {
|
18
|
-
caption: "�������...",
|
19
|
-
Find: "������",
|
20
|
-
Reset: "�������",
|
21
|
-
odata : ['�����', '��������', '��-�����', '��-����� ���=','��-������','��-������ ��� =', '������� �','�� ������� �','�� ������ �','�� �� ������ �','�������� �','�� ��������� �','�������', '�� �������' ],
|
22
|
-
groupOps: [ { op: "AND", text: " � " }, { op: "OR", text: "���" } ],
|
23
|
-
matchText: " ������",
|
24
|
-
rulesText: " ������"
|
25
|
-
},
|
26
|
-
edit : {
|
27
|
-
addCaption: "��� �����",
|
28
|
-
editCaption: "�������� �����",
|
29
|
-
bSubmit: "������",
|
30
|
-
bCancel: "�����",
|
31
|
-
bClose: "�������",
|
32
|
-
saveData: "������� �� ���������! �� ������� �� ���������?",
|
33
|
-
bYes : "��",
|
34
|
-
bNo : "��",
|
35
|
-
bExit : "�����",
|
36
|
-
msg: {
|
37
|
-
required:"������ � ������������",
|
38
|
-
number:"�������� ������� �����!",
|
39
|
-
minValue:"���������� ������ �� � ��-������ ��� ����� ��",
|
40
|
-
maxValue:"���������� ������ �� � ��-����� ��� ����� ��",
|
41
|
-
email: "�� � ������� ��. �����",
|
42
|
-
integer: "�������� ������� ���� �����",
|
43
|
-
date: "�������� ������� ����",
|
44
|
-
url: "e ��������� URL. �������� �� �������('http://' ��� 'https://')",
|
45
|
-
nodefined : " � ������������!",
|
46
|
-
novalue : " ������� ������� �� ��������!",
|
47
|
-
customarray : "������. ������� ������ �� ����� �����!",
|
48
|
-
customfcheck : "������������� ������� � ������������ ��� ���� ��� �������!"
|
49
|
-
}
|
50
|
-
},
|
51
|
-
view : {
|
52
|
-
caption: "������� �����",
|
53
|
-
bClose: "�������"
|
54
|
-
},
|
55
|
-
del : {
|
56
|
-
caption: "���������",
|
57
|
-
msg: "�� ������ �� ��������� �����?",
|
58
|
-
bSubmit: "������",
|
59
|
-
bCancel: "�����"
|
60
|
-
},
|
61
|
-
nav : {
|
62
|
-
edittext: " ",
|
63
|
-
edittitle: "�������� ������ �����",
|
64
|
-
addtext:" ",
|
65
|
-
addtitle: "�������� ��� �����",
|
66
|
-
deltext: " ",
|
67
|
-
deltitle: "��������� ������ �����",
|
68
|
-
searchtext: " ",
|
69
|
-
searchtitle: "������� �����(�)",
|
70
|
-
refreshtext: "",
|
71
|
-
refreshtitle: "������ �������",
|
72
|
-
alertcap: "��������������",
|
73
|
-
alerttext: "����, �������� �����",
|
74
|
-
viewtext: "",
|
75
|
-
viewtitle: "������� ������ �����"
|
76
|
-
},
|
77
|
-
col : {
|
78
|
-
caption: "����� ������",
|
79
|
-
bSubmit: "��",
|
80
|
-
bCancel: "�����"
|
81
|
-
},
|
82
|
-
errors : {
|
83
|
-
errcap : "������",
|
84
|
-
nourl : "���� ������� url �����",
|
85
|
-
norecords: "���� ����� �� ���������",
|
86
|
-
model : "������ �� ����������� �� �������!"
|
87
|
-
},
|
88
|
-
formatter : {
|
89
|
-
integer : {thousandsSeparator: " ", defaultValue: '0'},
|
90
|
-
number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
|
91
|
-
currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:" ��.", defaultValue: '0.00'},
|
92
|
-
date : {
|
93
|
-
dayNames: [
|
94
|
-
"���", "���", "��", "��", "���", "���", "���",
|
95
|
-
"������", "����������", "�������", "�����", "���������", "�����", "������"
|
96
|
-
],
|
97
|
-
monthNames: [
|
98
|
-
"���", "���", "���", "���", "���", "���", "���", "���", "���", "���", "���", "���",
|
99
|
-
"������", "��������", "����", "�����", "���", "���", "���", "������", "���������", "��������", "�������", "��������"
|
100
|
-
],
|
101
|
-
AmPm : ["","","",""],
|
102
|
-
S: function (j) {
|
103
|
-
if(j==7 || j==8 || j== 27 || j== 28) {
|
104
|
-
return '��';
|
105
|
-
}
|
106
|
-
return ['��', '��', '��'][Math.min((j - 1) % 10, 2)];
|
107
|
-
},
|
108
|
-
srcformat: 'Y-m-d',
|
109
|
-
newformat: 'd/m/Y',
|
110
|
-
masks : {
|
111
|
-
ISO8601Long:"Y-m-d H:i:s",
|
112
|
-
ISO8601Short:"Y-m-d",
|
113
|
-
ShortDate: "n/j/Y",
|
114
|
-
LongDate: "l, F d, Y",
|
115
|
-
FullDateTime: "l, F d, Y g:i:s A",
|
116
|
-
MonthDay: "F d",
|
117
|
-
ShortTime: "g:i A",
|
118
|
-
LongTime: "g:i:s A",
|
119
|
-
SortableDateTime: "Y-m-d\\TH:i:s",
|
120
|
-
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
121
|
-
YearMonth: "F, Y"
|
122
|
-
},
|
123
|
-
reformatAfterEdit : false
|
124
|
-
},
|
125
|
-
baseLinkUrl: '',
|
126
|
-
showAction: '',
|
127
|
-
target: '',
|
128
|
-
checkbox : {disabled:true},
|
129
|
-
idName : 'id'
|
130
|
-
}
|
131
|
-
};
|
132
|
-
})(jQuery);
|
@@ -1,6 +0,0 @@
|
|
1
|
-
(function(b){b.jgrid={defaults:{recordtext:"{0} - {1} �� {2}",emptyrecords:"���� �����(�)",loadtext:"��������...",pgtext:"���. {0} �� {1}"},search:{caption:"�������...",Find:"������",Reset:"�������",odata:["�����","��������","��-�����","��-����� ���=","��-������","��-������ ��� =","������� �","�� ������� �","�� ������ �","�� �� ������ �","�������� �","�� ��������� �","�������","�� �������"],groupOps:[{op:"AND",text:" � "},{op:"OR",text:"���"}],matchText:" ������",rulesText:" ������"},edit:{addCaption:"��� �����",
|
2
|
-
editCaption:"�������� �����",bSubmit:"������",bCancel:"�����",bClose:"�������",saveData:"������� �� ���������! �� ������� �� ���������?",bYes:"��",bNo:"��",bExit:"�����",msg:{required:"������ � ������������",number:"�������� ������� �����!",minValue:"���������� ������ �� � ��-������ ��� ����� ��",maxValue:"���������� ������ �� � ��-����� ��� ����� ��",email:"�� � ������� ��. �����",integer:"�������� ������� ���� �����",date:"�������� ������� ����",url:"e ��������� URL. �������� �� �������('http://' ��� 'https://')",
|
3
|
-
nodefined:" � ������������!",novalue:" ������� ������� �� ��������!",customarray:"������. ������� ������ �� ����� �����!",customfcheck:"������������� ������� � ������������ ��� ���� ��� �������!"}},view:{caption:"������� �����",bClose:"�������"},del:{caption:"���������",msg:"�� ������ �� ��������� �����?",bSubmit:"������",bCancel:"�����"},nav:{edittext:" ",edittitle:"�������� ������ �����",addtext:" ",addtitle:"�������� ��� �����",deltext:" ",deltitle:"��������� ������ �����",searchtext:" ",searchtitle:"������� �����(�)",
|
4
|
-
refreshtext:"",refreshtitle:"������ �������",alertcap:"��������������",alerttext:"����, �������� �����",viewtext:"",viewtitle:"������� ������ �����"},col:{caption:"����� ������",bSubmit:"��",bCancel:"�����"},errors:{errcap:"������",nourl:"���� ������� url �����",norecords:"���� ����� �� ���������",model:"������ �� ����������� �� �������!"},formatter:{integer:{thousandsSeparator:" ",defaultValue:"0"},number:{decimalSeparator:".",thousandsSeparator:" ",decimalPlaces:2,defaultValue:"0.00"},currency:{decimalSeparator:".",
|
5
|
-
thousandsSeparator:" ",decimalPlaces:2,prefix:"",suffix:" ��.",defaultValue:"0.00"},date:{dayNames:["���","���","��","��","���","���","���","������","����������","�������","�����","���������","�����","������"],monthNames:["���","���","���","���","���","���","���","���","���","���","���","���","������","��������","����","�����","���","���","���","������","���������","��������","�������","��������"],AmPm:["","","",""],S:function(a){if(a==7||a==8||a==27||a==28)return"��";return["��","��","��"][Math.min((a-
|
6
|
-
1)%10,2)]},srcformat:"Y-m-d",newformat:"d/m/Y",masks:{ISO8601Long:"Y-m-d H:i:s",ISO8601Short:"Y-m-d",ShortDate:"n/j/Y",LongDate:"l, F d, Y",FullDateTime:"l, F d, Y g:i:s A",MonthDay:"F d",ShortTime:"g:i A",LongTime:"g:i:s A",SortableDateTime:"Y-m-d\\TH:i:s",UniversalSortableDateTime:"Y-m-d H:i:sO",YearMonth:"F, Y"},reformatAfterEdit:false},baseLinkUrl:"",showAction:"",target:"",checkbox:{disabled:true},idName:"id"}}})(jQuery);
|