cg_app_base 1.0.51
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +23 -0
- data/app/assets/fonts/flatty/FontAwesome.otf +0 -0
- data/app/assets/fonts/flatty/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/fonts/flatty/bootstrap/glyphicons-halflings-regular.svg +228 -0
- data/app/assets/fonts/flatty/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/fonts/flatty/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/fonts/flatty/fontawesome-webfont.eot +0 -0
- data/app/assets/fonts/flatty/fontawesome-webfont.svg +399 -0
- data/app/assets/fonts/flatty/fontawesome-webfont.ttf +0 -0
- data/app/assets/fonts/flatty/fontawesome-webfont.woff +0 -0
- data/app/assets/fonts/flatty/montserrat-bold-webfont.eot +0 -0
- data/app/assets/fonts/flatty/montserrat-bold-webfont.svg +244 -0
- data/app/assets/fonts/flatty/montserrat-bold-webfont.ttf +0 -0
- data/app/assets/fonts/flatty/montserrat-bold-webfont.woff +0 -0
- data/app/assets/fonts/flatty/montserrat-regular-webfont.eot +0 -0
- data/app/assets/fonts/flatty/montserrat-regular-webfont.svg +243 -0
- data/app/assets/fonts/flatty/montserrat-regular-webfont.ttf +0 -0
- data/app/assets/fonts/flatty/montserrat-regular-webfont.woff +0 -0
- data/app/assets/images/ajaxSpinner.gif +0 -0
- data/app/assets/images/flatty/ajax-loaders/1.gif +0 -0
- data/app/assets/images/flatty/ajax-loaders/10.gif +0 -0
- data/app/assets/images/flatty/ajax-loaders/11.gif +0 -0
- data/app/assets/images/flatty/ajax-loaders/12.gif +0 -0
- data/app/assets/images/flatty/ajax-loaders/13.gif +0 -0
- data/app/assets/images/flatty/ajax-loaders/14.gif +0 -0
- data/app/assets/images/flatty/ajax-loaders/15.gif +0 -0
- data/app/assets/images/flatty/ajax-loaders/16.gif +0 -0
- data/app/assets/images/flatty/ajax-loaders/17.gif +0 -0
- data/app/assets/images/flatty/ajax-loaders/18.gif +0 -0
- data/app/assets/images/flatty/ajax-loaders/2.gif +0 -0
- data/app/assets/images/flatty/ajax-loaders/3.gif +0 -0
- data/app/assets/images/flatty/ajax-loaders/4.gif +0 -0
- data/app/assets/images/flatty/ajax-loaders/5.gif +0 -0
- data/app/assets/images/flatty/ajax-loaders/6.gif +0 -0
- data/app/assets/images/flatty/ajax-loaders/7.gif +0 -0
- data/app/assets/images/flatty/ajax-loaders/8.gif +0 -0
- data/app/assets/images/flatty/ajax-loaders/9.gif +0 -0
- data/app/assets/images/flatty/avatar.jpg +0 -0
- data/app/assets/images/flatty/avatar@2x.jpg +0 -0
- data/app/assets/images/flatty/emails/logo.jpg +0 -0
- data/app/assets/images/flatty/emails/logo_blue.jpg +0 -0
- data/app/assets/images/flatty/emails/logo_green.jpg +0 -0
- data/app/assets/images/flatty/emails/logo_muted.jpg +0 -0
- data/app/assets/images/flatty/emails/logo_orange.jpg +0 -0
- data/app/assets/images/flatty/emails/logo_purple.jpg +0 -0
- data/app/assets/images/flatty/jquery_ui/animated-overlay.gif +0 -0
- data/app/assets/images/flatty/logo.png +0 -0
- data/app/assets/images/flatty/logo.svg +3443 -0
- data/app/assets/images/flatty/logo_lg.png +0 -0
- data/app/assets/images/flatty/logo_lg.svg +59 -0
- data/app/assets/images/flatty/logo_xs.png +0 -0
- data/app/assets/images/flatty/logo_xs.svg +3372 -0
- data/app/assets/images/flatty/meta_icons/apple-touch-icon-114x114.png +0 -0
- data/app/assets/images/flatty/meta_icons/apple-touch-icon-144x144.png +0 -0
- data/app/assets/images/flatty/meta_icons/apple-touch-icon-57x57.png +0 -0
- data/app/assets/images/flatty/meta_icons/apple-touch-icon-72x72.png +0 -0
- data/app/assets/images/flatty/meta_icons/apple-touch-icon.png +0 -0
- data/app/assets/images/flatty/meta_icons/favicon.ico +0 -0
- data/app/assets/images/flatty/plugins/bootstrap_colorpicker/alpha.png +0 -0
- data/app/assets/images/flatty/plugins/bootstrap_colorpicker/hue.png +0 -0
- data/app/assets/images/flatty/plugins/bootstrap_colorpicker/saturation.png +0 -0
- data/app/assets/images/flatty/plugins/dynatree/icons.gif +0 -0
- data/app/assets/images/flatty/plugins/dynatree/loading.gif +0 -0
- data/app/assets/images/flatty/plugins/flags/flags.png +0 -0
- data/app/assets/images/flatty/plugins/lightbox/close.png +0 -0
- data/app/assets/images/flatty/plugins/lightbox/loading.gif +0 -0
- data/app/assets/images/flatty/plugins/lightbox/next.png +0 -0
- data/app/assets/images/flatty/plugins/lightbox/prev.png +0 -0
- data/app/assets/images/flatty/plugins/naked_password/f0.png +0 -0
- data/app/assets/images/flatty/plugins/naked_password/f1.png +0 -0
- data/app/assets/images/flatty/plugins/naked_password/f2.png +0 -0
- data/app/assets/images/flatty/plugins/naked_password/f3.png +0 -0
- data/app/assets/images/flatty/plugins/naked_password/f4.png +0 -0
- data/app/assets/images/flatty/plugins/naked_password/f5.png +0 -0
- data/app/assets/images/flatty/plugins/naked_password/m0.png +0 -0
- data/app/assets/images/flatty/plugins/naked_password/m1.png +0 -0
- data/app/assets/images/flatty/plugins/naked_password/m2.png +0 -0
- data/app/assets/images/flatty/plugins/naked_password/m3.png +0 -0
- data/app/assets/images/flatty/plugins/naked_password/m4.png +0 -0
- data/app/assets/images/flatty/plugins/naked_password/m5.png +0 -0
- data/app/assets/images/flatty/plugins/select2/select2-spinner.gif +0 -0
- data/app/assets/images/flatty/plugins/select2/select2.png +0 -0
- data/app/assets/images/flatty/plugins/select2/select2x2.png +0 -0
- data/app/assets/images/loading.gif +0 -0
- data/app/assets/images/logo_caronetguay-3.jpg +0 -0
- data/app/assets/images/logo_caronetguay-nwsltr.jpg +0 -0
- data/app/assets/images/logo_caronetguay.jpg +0 -0
- data/app/assets/images/newicons/black0.png +0 -0
- data/app/assets/images/newicons/black1.png +0 -0
- data/app/assets/images/newicons/black10.png +0 -0
- data/app/assets/images/newicons/black100.png +0 -0
- data/app/assets/images/newicons/black11.png +0 -0
- data/app/assets/images/newicons/black12.png +0 -0
- data/app/assets/images/newicons/black13.png +0 -0
- data/app/assets/images/newicons/black14.png +0 -0
- data/app/assets/images/newicons/black15.png +0 -0
- data/app/assets/images/newicons/black16.png +0 -0
- data/app/assets/images/newicons/black17.png +0 -0
- data/app/assets/images/newicons/black18.png +0 -0
- data/app/assets/images/newicons/black19.png +0 -0
- data/app/assets/images/newicons/black2.png +0 -0
- data/app/assets/images/newicons/black20.png +0 -0
- data/app/assets/images/newicons/black21.png +0 -0
- data/app/assets/images/newicons/black22.png +0 -0
- data/app/assets/images/newicons/black23.png +0 -0
- data/app/assets/images/newicons/black24.png +0 -0
- data/app/assets/images/newicons/black25.png +0 -0
- data/app/assets/images/newicons/black26.png +0 -0
- data/app/assets/images/newicons/black27.png +0 -0
- data/app/assets/images/newicons/black28.png +0 -0
- data/app/assets/images/newicons/black29.png +0 -0
- data/app/assets/images/newicons/black3.png +0 -0
- data/app/assets/images/newicons/black30.png +0 -0
- data/app/assets/images/newicons/black31.png +0 -0
- data/app/assets/images/newicons/black32.png +0 -0
- data/app/assets/images/newicons/black33.png +0 -0
- data/app/assets/images/newicons/black34.png +0 -0
- data/app/assets/images/newicons/black35.png +0 -0
- data/app/assets/images/newicons/black36.png +0 -0
- data/app/assets/images/newicons/black37.png +0 -0
- data/app/assets/images/newicons/black38.png +0 -0
- data/app/assets/images/newicons/black39.png +0 -0
- data/app/assets/images/newicons/black4.png +0 -0
- data/app/assets/images/newicons/black40.png +0 -0
- data/app/assets/images/newicons/black41.png +0 -0
- data/app/assets/images/newicons/black42.png +0 -0
- data/app/assets/images/newicons/black43.png +0 -0
- data/app/assets/images/newicons/black44.png +0 -0
- data/app/assets/images/newicons/black45.png +0 -0
- data/app/assets/images/newicons/black46.png +0 -0
- data/app/assets/images/newicons/black47.png +0 -0
- data/app/assets/images/newicons/black48.png +0 -0
- data/app/assets/images/newicons/black49.png +0 -0
- data/app/assets/images/newicons/black5.png +0 -0
- data/app/assets/images/newicons/black50.png +0 -0
- data/app/assets/images/newicons/black51.png +0 -0
- data/app/assets/images/newicons/black52.png +0 -0
- data/app/assets/images/newicons/black53.png +0 -0
- data/app/assets/images/newicons/black54.png +0 -0
- data/app/assets/images/newicons/black55.png +0 -0
- data/app/assets/images/newicons/black56.png +0 -0
- data/app/assets/images/newicons/black57.png +0 -0
- data/app/assets/images/newicons/black58.png +0 -0
- data/app/assets/images/newicons/black59.png +0 -0
- data/app/assets/images/newicons/black6.png +0 -0
- data/app/assets/images/newicons/black60.png +0 -0
- data/app/assets/images/newicons/black61.png +0 -0
- data/app/assets/images/newicons/black62.png +0 -0
- data/app/assets/images/newicons/black63.png +0 -0
- data/app/assets/images/newicons/black64.png +0 -0
- data/app/assets/images/newicons/black65.png +0 -0
- data/app/assets/images/newicons/black66.png +0 -0
- data/app/assets/images/newicons/black67.png +0 -0
- data/app/assets/images/newicons/black68.png +0 -0
- data/app/assets/images/newicons/black69.png +0 -0
- data/app/assets/images/newicons/black7.png +0 -0
- data/app/assets/images/newicons/black70.png +0 -0
- data/app/assets/images/newicons/black71.png +0 -0
- data/app/assets/images/newicons/black72.png +0 -0
- data/app/assets/images/newicons/black73.png +0 -0
- data/app/assets/images/newicons/black74.png +0 -0
- data/app/assets/images/newicons/black75.png +0 -0
- data/app/assets/images/newicons/black76.png +0 -0
- data/app/assets/images/newicons/black77.png +0 -0
- data/app/assets/images/newicons/black78.png +0 -0
- data/app/assets/images/newicons/black79.png +0 -0
- data/app/assets/images/newicons/black8.png +0 -0
- data/app/assets/images/newicons/black80.png +0 -0
- data/app/assets/images/newicons/black81.png +0 -0
- data/app/assets/images/newicons/black82.png +0 -0
- data/app/assets/images/newicons/black83.png +0 -0
- data/app/assets/images/newicons/black84.png +0 -0
- data/app/assets/images/newicons/black85.png +0 -0
- data/app/assets/images/newicons/black86.png +0 -0
- data/app/assets/images/newicons/black87.png +0 -0
- data/app/assets/images/newicons/black88.png +0 -0
- data/app/assets/images/newicons/black89.png +0 -0
- data/app/assets/images/newicons/black9.png +0 -0
- data/app/assets/images/newicons/black90.png +0 -0
- data/app/assets/images/newicons/black91.png +0 -0
- data/app/assets/images/newicons/black92.png +0 -0
- data/app/assets/images/newicons/black93.png +0 -0
- data/app/assets/images/newicons/black94.png +0 -0
- data/app/assets/images/newicons/black95.png +0 -0
- data/app/assets/images/newicons/black96.png +0 -0
- data/app/assets/images/newicons/black97.png +0 -0
- data/app/assets/images/newicons/black98.png +0 -0
- data/app/assets/images/newicons/black99.png +0 -0
- data/app/assets/images/newicons/index.html +213 -0
- data/app/assets/images/newicons/red0.png +0 -0
- data/app/assets/images/newicons/red1.png +0 -0
- data/app/assets/images/newicons/red10.png +0 -0
- data/app/assets/images/newicons/red100.png +0 -0
- data/app/assets/images/newicons/red11.png +0 -0
- data/app/assets/images/newicons/red12.png +0 -0
- data/app/assets/images/newicons/red13.png +0 -0
- data/app/assets/images/newicons/red14.png +0 -0
- data/app/assets/images/newicons/red15.png +0 -0
- data/app/assets/images/newicons/red16.png +0 -0
- data/app/assets/images/newicons/red17.png +0 -0
- data/app/assets/images/newicons/red18.png +0 -0
- data/app/assets/images/newicons/red19.png +0 -0
- data/app/assets/images/newicons/red2.png +0 -0
- data/app/assets/images/newicons/red20.png +0 -0
- data/app/assets/images/newicons/red21.png +0 -0
- data/app/assets/images/newicons/red22.png +0 -0
- data/app/assets/images/newicons/red23.png +0 -0
- data/app/assets/images/newicons/red24.png +0 -0
- data/app/assets/images/newicons/red25.png +0 -0
- data/app/assets/images/newicons/red26.png +0 -0
- data/app/assets/images/newicons/red27.png +0 -0
- data/app/assets/images/newicons/red28.png +0 -0
- data/app/assets/images/newicons/red29.png +0 -0
- data/app/assets/images/newicons/red3.png +0 -0
- data/app/assets/images/newicons/red30.png +0 -0
- data/app/assets/images/newicons/red31.png +0 -0
- data/app/assets/images/newicons/red32.png +0 -0
- data/app/assets/images/newicons/red33.png +0 -0
- data/app/assets/images/newicons/red34.png +0 -0
- data/app/assets/images/newicons/red35.png +0 -0
- data/app/assets/images/newicons/red36.png +0 -0
- data/app/assets/images/newicons/red37.png +0 -0
- data/app/assets/images/newicons/red38.png +0 -0
- data/app/assets/images/newicons/red39.png +0 -0
- data/app/assets/images/newicons/red4.png +0 -0
- data/app/assets/images/newicons/red40.png +0 -0
- data/app/assets/images/newicons/red41.png +0 -0
- data/app/assets/images/newicons/red42.png +0 -0
- data/app/assets/images/newicons/red43.png +0 -0
- data/app/assets/images/newicons/red44.png +0 -0
- data/app/assets/images/newicons/red45.png +0 -0
- data/app/assets/images/newicons/red46.png +0 -0
- data/app/assets/images/newicons/red47.png +0 -0
- data/app/assets/images/newicons/red48.png +0 -0
- data/app/assets/images/newicons/red49.png +0 -0
- data/app/assets/images/newicons/red5.png +0 -0
- data/app/assets/images/newicons/red50.png +0 -0
- data/app/assets/images/newicons/red51.png +0 -0
- data/app/assets/images/newicons/red52.png +0 -0
- data/app/assets/images/newicons/red53.png +0 -0
- data/app/assets/images/newicons/red54.png +0 -0
- data/app/assets/images/newicons/red55.png +0 -0
- data/app/assets/images/newicons/red56.png +0 -0
- data/app/assets/images/newicons/red57.png +0 -0
- data/app/assets/images/newicons/red58.png +0 -0
- data/app/assets/images/newicons/red59.png +0 -0
- data/app/assets/images/newicons/red6.png +0 -0
- data/app/assets/images/newicons/red60.png +0 -0
- data/app/assets/images/newicons/red61.png +0 -0
- data/app/assets/images/newicons/red62.png +0 -0
- data/app/assets/images/newicons/red63.png +0 -0
- data/app/assets/images/newicons/red64.png +0 -0
- data/app/assets/images/newicons/red65.png +0 -0
- data/app/assets/images/newicons/red66.png +0 -0
- data/app/assets/images/newicons/red67.png +0 -0
- data/app/assets/images/newicons/red68.png +0 -0
- data/app/assets/images/newicons/red69.png +0 -0
- data/app/assets/images/newicons/red7.png +0 -0
- data/app/assets/images/newicons/red70.png +0 -0
- data/app/assets/images/newicons/red71.png +0 -0
- data/app/assets/images/newicons/red72.png +0 -0
- data/app/assets/images/newicons/red73.png +0 -0
- data/app/assets/images/newicons/red74.png +0 -0
- data/app/assets/images/newicons/red75.png +0 -0
- data/app/assets/images/newicons/red76.png +0 -0
- data/app/assets/images/newicons/red77.png +0 -0
- data/app/assets/images/newicons/red78.png +0 -0
- data/app/assets/images/newicons/red79.png +0 -0
- data/app/assets/images/newicons/red8.png +0 -0
- data/app/assets/images/newicons/red80.png +0 -0
- data/app/assets/images/newicons/red81.png +0 -0
- data/app/assets/images/newicons/red82.png +0 -0
- data/app/assets/images/newicons/red83.png +0 -0
- data/app/assets/images/newicons/red84.png +0 -0
- data/app/assets/images/newicons/red85.png +0 -0
- data/app/assets/images/newicons/red86.png +0 -0
- data/app/assets/images/newicons/red87.png +0 -0
- data/app/assets/images/newicons/red88.png +0 -0
- data/app/assets/images/newicons/red89.png +0 -0
- data/app/assets/images/newicons/red9.png +0 -0
- data/app/assets/images/newicons/red90.png +0 -0
- data/app/assets/images/newicons/red91.png +0 -0
- data/app/assets/images/newicons/red92.png +0 -0
- data/app/assets/images/newicons/red93.png +0 -0
- data/app/assets/images/newicons/red94.png +0 -0
- data/app/assets/images/newicons/red95.png +0 -0
- data/app/assets/images/newicons/red96.png +0 -0
- data/app/assets/images/newicons/red97.png +0 -0
- data/app/assets/images/newicons/red98.png +0 -0
- data/app/assets/images/newicons/red99.png +0 -0
- data/app/assets/images/spinner_squares_circle.gif +0 -0
- data/app/assets/images/sprite-skin-flat.png +0 -0
- data/app/assets/images/top-arrow.png +0 -0
- data/app/assets/javascripts/autocomplete-rails.js +143 -0
- data/app/assets/javascripts/base.js.coffee +56 -0
- data/app/assets/javascripts/flatty/bootstrap/bootstrap.js +1999 -0
- data/app/assets/javascripts/flatty/bootstrap/bootstrap.min.js +6 -0
- data/app/assets/javascripts/flatty/demo.js.coffee +19 -0
- data/app/assets/javascripts/flatty/ie/html5shiv.js +11 -0
- data/app/assets/javascripts/flatty/ie/respond.min.js +6 -0
- data/app/assets/javascripts/flatty/jquery/jquery-migrate.min.js +2 -0
- data/app/assets/javascripts/flatty/jquery/jquery-ui.min.js +12 -0
- data/app/assets/javascripts/flatty/jquery/jquery.min.js +4 -0
- data/app/assets/javascripts/flatty/jquery/jquery.mobile.custom.min.js +2 -0
- data/app/assets/javascripts/flatty/plugins/autosize/jquery.autosize-min.js +7 -0
- data/app/assets/javascripts/flatty/plugins/bootbox/bootbox.min.js +6 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_colorpicker/bootstrap-colorpicker.min.js +1 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_daterangepicker/bootstrap-daterangepicker.js +1026 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_daterangepicker/daterangepicker.js +1026 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_daterangepicker/moment.min.js +6 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/bootstrap-datepicker.js +1671 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/bootstrap-datetimepicker.js +26 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.ar.js +15 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.az.js +12 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.bg.js +14 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.ca.js +14 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.cs.js +15 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.cy.js +14 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.da.js +15 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.de.js +17 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.el.js +13 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.es.js +14 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.et.js +18 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.fa.js +17 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.fi.js +16 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.fr.js +17 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.gl.js +11 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.he.js +15 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.hr.js +13 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.hu.js +16 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.id.js +15 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.is.js +14 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.it.js +17 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.ja.js +15 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.ka.js +17 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.kk.js +15 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.kr.js +13 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.lt.js +16 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.lv.js +16 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.mk.js +15 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.ms.js +14 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.nb.js +14 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.nl-BE.js +17 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.nl.js +14 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.no.js +16 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.pl.js +15 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.pt-BR.js +15 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.pt.js +16 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.ro.js +16 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.rs-latin.js +14 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.rs.js +14 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.ru.js +15 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.sk.js +15 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.sl.js +14 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.sq.js +15 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.sv.js +16 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.sw.js +15 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.th.js +14 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.tr.js +16 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.ua.js +15 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.vi.js +16 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.zh-CN.js +16 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.zh-TW.js +17 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_hover_dropdown/twitter-bootstrap-hover-dropdown.min.js +13 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_maxlength/bootstrap-maxlength.min.js +13 -0
- data/app/assets/javascripts/flatty/plugins/bootstrap_switch/bootstrapSwitch.min.js +14 -0
- data/app/assets/javascripts/flatty/plugins/charCount/charCount.js +58 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/build-config.js +162 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/ckeditor.js +919 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/config.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/contents.css +103 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/af.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/ar.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/bg.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/bn.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/bs.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/ca.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/cs.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/cy.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/da.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/de.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/el.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/en-au.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/en-ca.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/en-gb.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/en.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/eo.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/es.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/et.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/eu.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/fa.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/fi.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/fo.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/fr-ca.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/fr.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/gl.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/gu.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/he.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/hi.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/hr.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/hu.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/is.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/it.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/ja.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/ka.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/km.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/ko.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/ku.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/lt.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/lv.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/mk.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/mn.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/ms.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/nb.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/nl.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/no.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/pl.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/pt-br.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/pt.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/ro.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/ru.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/sk.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/sl.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/sq.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/sr-latn.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/sr.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/sv.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/th.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/tr.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/ug.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/uk.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/vi.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/zh-cn.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/lang/zh.js +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +25 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +11 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +7 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/about/dialogs/about.js +6 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/clipboard/dialogs/paste.js +11 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/colordialog/dialogs/colordialog.js +13 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/div/dialogs/div.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/fakeobjects/images/spacer.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/find/dialogs/find.js +24 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/flash/dialogs/flash.js +24 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/forms/dialogs/button.js +8 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/forms/dialogs/checkbox.js +8 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/forms/dialogs/form.js +8 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/forms/dialogs/hiddenfield.js +8 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/forms/dialogs/radio.js +8 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/forms/dialogs/select.js +20 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/forms/dialogs/textarea.js +8 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/forms/dialogs/textfield.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/icons.png +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/iframe/dialogs/iframe.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/image/dialogs/image.js +43 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/image/images/noimage.png +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/link/dialogs/anchor.js +8 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/link/dialogs/link.js +36 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/link/images/anchor.png +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/liststyle/dialogs/liststyle.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/magicline/images/icon.png +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/pastefromword/filter/default.js +31 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/preview/preview.html +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/scayt/dialogs/options.js +20 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/scayt/dialogs/toolbar.css +71 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/dialogs/smiley.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +20 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/ca.js +14 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/cs.js +13 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/cy.js +14 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/de.js +13 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/el.js +13 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/en.js +13 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/eo.js +12 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/es.js +13 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/et.js +13 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/fa.js +12 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/fi.js +13 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/fr.js +11 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/he.js +13 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/hr.js +13 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/it.js +14 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/ku.js +13 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/lv.js +13 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/nb.js +11 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/nl.js +13 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/no.js +11 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/pl.js +12 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +11 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/sk.js +13 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/sq.js +13 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/sv.js +11 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/th.js +13 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/tr.js +12 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/ug.js +13 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +9 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/specialchar.js +14 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/table/dialogs/table.js +21 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/tabletools/dialogs/tableCell.js +16 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/templates/dialogs/templates.css +84 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/templates/dialogs/templates.js +10 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/templates/templates/default.js +6 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/wsc/dialogs/wsc.css +82 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/wsc/dialogs/wsc.js +11 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/ajax.html +82 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/api.html +207 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/appendto.html +57 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/assets/inlineall/logo.png +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/assets/outputxhtml/outputxhtml.css +204 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/assets/posteddata.php +59 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/assets/sample.css +3 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/assets/sample.jpg +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/assets/uilanguages/languages.js +7 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/datafiltering.html +401 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/divreplace.html +141 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/index.html +122 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/inlineall.html +311 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/inlinebycode.html +122 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/plugins/dialog/assets/my_dialog.js +48 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/plugins/dialog/dialog.html +187 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/plugins/enterkey/enterkey.html +103 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.fla +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.swf +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/swfobject.js +18 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/plugins/htmlwriter/outputforflash.html +280 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/plugins/htmlwriter/outputhtml.html +221 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/plugins/magicline/magicline.html +207 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/plugins/toolbar/toolbar.html +232 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/plugins/wysiwygarea/fullpage.html +77 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/readonly.html +73 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/replacebyclass.html +57 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/replacebycode.html +56 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/sample.css +339 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/sample.js +33 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/sample_posteddata.php +16 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/tabindex.html +75 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/uicolor.html +69 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/uilanguages.html +119 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/samples/xhtmlstyle.html +231 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/dialog.css +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/dialog_ie.css +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/dialog_ie7.css +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/dialog_ie8.css +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/dialog_iequirks.css +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/dialog_opera.css +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/editor.css +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/editor_gecko.css +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/editor_ie.css +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/editor_ie7.css +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/editor_ie8.css +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/editor_iequirks.css +5 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/icons.png +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/images/arrow.png +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/images/close.png +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/images/mini.png +0 -0
- data/app/assets/javascripts/flatty/plugins/ckeditor/styles.js +111 -0
- data/app/assets/javascripts/flatty/plugins/common/bootstrap-wysihtml5.js +498 -0
- data/app/assets/javascripts/flatty/plugins/common/moment.min.js +6 -0
- data/app/assets/javascripts/flatty/plugins/common/wysihtml5.min.js +261 -0
- data/app/assets/javascripts/flatty/plugins/datatables/dataTables.overrides.js +131 -0
- data/app/assets/javascripts/flatty/plugins/datatables/jquery.dataTables.columnFilter.js +365 -0
- data/app/assets/javascripts/flatty/plugins/datatables/jquery.dataTables.min.js +155 -0
- data/app/assets/javascripts/flatty/plugins/dynatree/jquery.dynatree.min.js +4 -0
- data/app/assets/javascripts/flatty/plugins/fileinput/bootstrap-fileinput.js +122 -0
- data/app/assets/javascripts/flatty/plugins/fileupload/canvas-to-blob.min.js +1 -0
- data/app/assets/javascripts/flatty/plugins/fileupload/jquery.fileupload-fp.min.js +1 -0
- data/app/assets/javascripts/flatty/plugins/fileupload/jquery.fileupload-init.js +48 -0
- data/app/assets/javascripts/flatty/plugins/fileupload/jquery.fileupload-ui.min.js +1 -0
- data/app/assets/javascripts/flatty/plugins/fileupload/jquery.fileupload.min.js +1 -0
- data/app/assets/javascripts/flatty/plugins/fileupload/jquery.iframe-transport.min.js +1 -0
- data/app/assets/javascripts/flatty/plugins/fileupload/load-image.min.js +1 -0
- data/app/assets/javascripts/flatty/plugins/fileupload/tmpl.min.js +1 -0
- data/app/assets/javascripts/flatty/plugins/flot/excanvas.js +1 -0
- data/app/assets/javascripts/flatty/plugins/flot/flot.crosshair.js +167 -0
- data/app/assets/javascripts/flatty/plugins/flot/flot.fillbetween.js +183 -0
- data/app/assets/javascripts/flatty/plugins/flot/flot.image.js +238 -0
- data/app/assets/javascripts/flatty/plugins/flot/flot.min.js +33 -0
- data/app/assets/javascripts/flatty/plugins/flot/flot.navigate.js +33 -0
- data/app/assets/javascripts/flatty/plugins/flot/flot.pie.js +750 -0
- data/app/assets/javascripts/flatty/plugins/flot/flot.resize.js +60 -0
- data/app/assets/javascripts/flatty/plugins/flot/flot.selection.js +344 -0
- data/app/assets/javascripts/flatty/plugins/flot/flot.stack.js +184 -0
- data/app/assets/javascripts/flatty/plugins/flot/flot.symbol.js +70 -0
- data/app/assets/javascripts/flatty/plugins/flot/flot.threshold.js +103 -0
- data/app/assets/javascripts/flatty/plugins/fuelux/wizard.js +165 -0
- data/app/assets/javascripts/flatty/plugins/fullcalendar/fullcalendar.min.js +7 -0
- data/app/assets/javascripts/flatty/plugins/input_mask/bootstrap-inputmask.min.js +7 -0
- data/app/assets/javascripts/flatty/plugins/ion_range_slider/ion.rangeSlider.js +1966 -0
- data/app/assets/javascripts/flatty/plugins/ion_range_slider/ion.rangeSlider.min.js +69 -0
- data/app/assets/javascripts/flatty/plugins/jgrowl/jquery.jgrowl.min.js +1 -0
- data/app/assets/javascripts/flatty/plugins/jquery_ui_touch_punch/jquery.ui.touch-punch.min.js +11 -0
- data/app/assets/javascripts/flatty/plugins/lightbox/lightbox.min.js +1 -0
- data/app/assets/javascripts/flatty/plugins/mention/mention.min.js +166 -0
- data/app/assets/javascripts/flatty/plugins/modernizr/modernizr.min.js +4 -0
- data/app/assets/javascripts/flatty/plugins/naked_password/naked_password-0.2.4.min.js +9 -0
- data/app/assets/javascripts/flatty/plugins/nestable/jquery.nestable.js +485 -0
- data/app/assets/javascripts/flatty/plugins/plugins.js +50 -0
- data/app/assets/javascripts/flatty/plugins/pwstrength/pwstrength.js +320 -0
- data/app/assets/javascripts/flatty/plugins/retina/retina.js +3 -0
- data/app/assets/javascripts/flatty/plugins/select2/select2.js +22 -0
- data/app/assets/javascripts/flatty/plugins/slider_nav/slidernav-min.js +7 -0
- data/app/assets/javascripts/flatty/plugins/slimscroll/jquery.slimscroll.min.js +16 -0
- data/app/assets/javascripts/flatty/plugins/sparklines/jquery.sparkline.min.js +5 -0
- data/app/assets/javascripts/flatty/plugins/tabdrop/bootstrap-tabdrop.js +117 -0
- data/app/assets/javascripts/flatty/plugins/timeago/jquery.timeago.js +193 -0
- data/app/assets/javascripts/flatty/plugins/typeahead/typeahead.js +335 -0
- data/app/assets/javascripts/flatty/plugins/validate/additional-methods.js +617 -0
- data/app/assets/javascripts/flatty/plugins/validate/additional-methods.min.js +2 -0
- data/app/assets/javascripts/flatty/plugins/validate/jquery.validate.js +1231 -0
- data/app/assets/javascripts/flatty/plugins/validate/jquery.validate.min.js +2 -0
- data/app/assets/javascripts/flatty/plugins/validate/messages_fr.js +47 -0
- data/app/assets/javascripts/flatty/theme.js.coffee +314 -0
- data/app/assets/stylesheets/_timeline.scss +87 -0
- data/app/assets/stylesheets/application.scss +7 -0
- data/app/assets/stylesheets/application2.scss +1675 -0
- data/app/assets/stylesheets/bootstrap-generators.scss +22 -0
- data/app/assets/stylesheets/bootstrap-variables.scss +839 -0
- data/app/assets/stylesheets/cg_app_base/application.css +15 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_alerts.scss +73 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_badges.scss +51 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_bootstrap.scss +59 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_breadcrumbs.scss +23 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_button-groups.scss +250 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_buttons.scss +165 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_carousel.scss +209 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_close.scss +35 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_code.scss +56 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_component-animations.scss +29 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_dropdowns.scss +194 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_forms.scss +352 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_glyphicons.scss +232 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_grid.scss +296 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_input-groups.scss +127 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_jumbotron.scss +40 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_labels.scss +70 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_list-group.scss +90 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_media.scss +56 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_mixins.scss +730 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_modals.scss +146 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_navbar.scss +625 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_navs.scss +229 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_normalize.scss +396 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_pager.scss +55 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_pagination.scss +83 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_panels.scss +148 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_popovers.scss +133 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_print.scss +100 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_progress-bars.scss +95 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_responsive-utilities.scss +209 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_scaffolding.scss +130 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_tables.scss +236 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_theme.scss +234 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_thumbnails.scss +31 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_tooltip.scss +95 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_type.scss +238 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_utilities.scss +42 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_variables.scss +627 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_wells.scss +29 -0
- data/app/assets/stylesheets/flatty/bootstrap/bootstrap.scss +1 -0
- data/app/assets/stylesheets/flatty/dark-blue-theme.scss +142 -0
- data/app/assets/stylesheets/flatty/dark-theme.scss +142 -0
- data/app/assets/stylesheets/flatty/demo.scss +16 -0
- data/app/assets/stylesheets/flatty/jquery/jquery.ui.datepicker.scss +179 -0
- data/app/assets/stylesheets/flatty/jquery/jquery.ui.theme.scss +408 -0
- data/app/assets/stylesheets/flatty/jquery/jquery_ui.scss +6 -0
- data/app/assets/stylesheets/flatty/light-theme.scss +142 -0
- data/app/assets/stylesheets/flatty/plugins/_plugins.scss +19 -0
- data/app/assets/stylesheets/flatty/plugins/bootstrap_colorpicker/bootstrap-colorpicker.scss +7 -0
- data/app/assets/stylesheets/flatty/plugins/bootstrap_daterangepicker/bootstrap-daterangepicker.scss +267 -0
- data/app/assets/stylesheets/flatty/plugins/bootstrap_datetimepicker/bootstrap-datetimepicker.min.scss +249 -0
- data/app/assets/stylesheets/flatty/plugins/bootstrap_datetimepicker/datepicker3.scss +790 -0
- data/app/assets/stylesheets/flatty/plugins/bootstrap_switch/bootstrap-switch.scss +287 -0
- data/app/assets/stylesheets/flatty/plugins/common/bootstrap-wysihtml5.scss +102 -0
- data/app/assets/stylesheets/flatty/plugins/datatables/bootstrap-datatable.scss +152 -0
- data/app/assets/stylesheets/flatty/plugins/dynatree/ui.dynatree.scss +452 -0
- data/app/assets/stylesheets/flatty/plugins/flags/flags.scss +258 -0
- data/app/assets/stylesheets/flatty/plugins/fuelux/wizard.scss +164 -0
- data/app/assets/stylesheets/flatty/plugins/fullcalendar/fullcalendar.scss +564 -0
- data/app/assets/stylesheets/flatty/plugins/ion_range_slider/ion.rangeSlider.css +146 -0
- data/app/assets/stylesheets/flatty/plugins/ion_range_slider/ion.range_slider.skin_flat.css +107 -0
- data/app/assets/stylesheets/flatty/plugins/jgrowl/jquery.jgrowl.min.scss +136 -0
- data/app/assets/stylesheets/flatty/plugins/jquery_fileupload/jquery.fileupload-ui.scss +84 -0
- data/app/assets/stylesheets/flatty/plugins/lightbox/lightbox.scss +170 -0
- data/app/assets/stylesheets/flatty/plugins/mention/mention.scss +19 -0
- data/app/assets/stylesheets/flatty/plugins/select2/select2.scss +614 -0
- data/app/assets/stylesheets/flatty/plugins/slider_nav/slidernav.scss +26 -0
- data/app/assets/stylesheets/flatty/plugins/tabdrop/tabdrop.scss +12 -0
- data/app/assets/stylesheets/flatty/theme/_accordions.scss +39 -0
- data/app/assets/stylesheets/flatty/theme/_boxes-quick-links.scss +63 -0
- data/app/assets/stylesheets/flatty/theme/_boxes-statistics.scss +59 -0
- data/app/assets/stylesheets/flatty/theme/_boxes.scss +193 -0
- data/app/assets/stylesheets/flatty/theme/_calendar.scss +62 -0
- data/app/assets/stylesheets/flatty/theme/_chat.scss +114 -0
- data/app/assets/stylesheets/flatty/theme/_common.scss +55 -0
- data/app/assets/stylesheets/flatty/theme/_content.scss +117 -0
- data/app/assets/stylesheets/flatty/theme/_font-awesome.scss +1479 -0
- data/app/assets/stylesheets/flatty/theme/_forms.scss +144 -0
- data/app/assets/stylesheets/flatty/theme/_header.scss +336 -0
- data/app/assets/stylesheets/flatty/theme/_navigation.scss +484 -0
- data/app/assets/stylesheets/flatty/theme/_nestable-list.scss +99 -0
- data/app/assets/stylesheets/flatty/theme/_overrides-bootstrap.scss +86 -0
- data/app/assets/stylesheets/flatty/theme/_overrides-plugins.scss +223 -0
- data/app/assets/stylesheets/flatty/theme/_recent-activity.scss +124 -0
- data/app/assets/stylesheets/flatty/theme/_tables.scss +130 -0
- data/app/assets/stylesheets/flatty/theme/_tabs.scss +221 -0
- data/app/assets/stylesheets/flatty/theme/_tasks.scss +12 -0
- data/app/assets/stylesheets/flatty/theme/_todo-list.scss +152 -0
- data/app/assets/stylesheets/flatty/theme/_type.scss +170 -0
- data/app/assets/stylesheets/flatty/theme/_utilities.scss +122 -0
- data/app/assets/stylesheets/flatty/theme/_variables.scss +140 -0
- data/app/assets/stylesheets/flatty/theme/_wizard.scss +62 -0
- data/app/assets/stylesheets/flatty/theme/common/_buttons.scss +258 -0
- data/app/assets/stylesheets/flatty/theme/common/_dropdowns.scss +7 -0
- data/app/assets/stylesheets/flatty/theme/common/_elements.scss +17 -0
- data/app/assets/stylesheets/flatty/theme/common/_modals.scss +3 -0
- data/app/assets/stylesheets/flatty/theme/common/_paginations.scss +5 -0
- data/app/assets/stylesheets/flatty/theme/common/_progress.scss +55 -0
- data/app/assets/stylesheets/flatty/theme/pages/_errors.scss +84 -0
- data/app/assets/stylesheets/flatty/theme/pages/_faq.scss +25 -0
- data/app/assets/stylesheets/flatty/theme/pages/_gallery.scss +64 -0
- data/app/assets/stylesheets/flatty/theme/pages/_invoice.scss +77 -0
- data/app/assets/stylesheets/flatty/theme/pages/_login.scss +81 -0
- data/app/assets/stylesheets/flatty/theme/pages/_orders.scss +45 -0
- data/app/assets/stylesheets/flatty/theme/pages/_pricing_tables.scss +65 -0
- data/app/assets/stylesheets/flatty/theme/pages/_timeline.scss +87 -0
- data/app/assets/stylesheets/flatty/theme-colors.scss +329 -0
- data/app/assets/stylesheets/scaffolds.css.scss +69 -0
- data/app/assets/stylesheets/vehicles.css.scss +3 -0
- data/app/controllers/cg_app_base/application_controller.rb +13 -0
- data/app/controllers/cg_app_base/redirect_tool_controller.rb +10 -0
- data/app/controllers/concerns/cg_app_base/ip_authorization_concern.rb +19 -0
- data/app/helpers/cg_app_base/application_helper.rb +23 -0
- data/app/models/ability.rb +41 -0
- data/app/models/cg_app_base/address.rb +54 -0
- data/app/models/cg_app_base/contact.rb +33 -0
- data/app/models/cg_app_base/phone.rb +36 -0
- data/app/models/concerns/attributes_normalizer.rb +19 -0
- data/app/navigation_renderers/cg_navigation_renderer.rb +57 -0
- data/app/views/cg_app_base/redirect_tool/index.html.erb +86 -0
- data/app/views/layouts/application.html.erb +116 -0
- data/app/views/shared/_flash_message.html.erb +14 -0
- data/app/views/shared/_main_navigation.html.erb +17 -0
- data/app/views/shared/_navigation.html.erb +21 -0
- data/app/views/shared/_navigation_embedded.html.erb +10 -0
- data/config/cucumber.yml +8 -0
- data/config/initializers/simple_form.rb +145 -0
- data/config/initializers/simple_form_bootstrap.rb +86 -0
- data/config/initializers/simple_navigation.rb +2 -0
- data/config/navigation.rb +117 -0
- data/config/routes.rb +2 -0
- data/lib/cg_app_base/engine.rb +13 -0
- data/lib/cg_app_base/version.rb +3 -0
- data/lib/cg_app_base.rb +11 -0
- data/lib/controllers/concerns/layout_concern.rb +16 -0
- data/lib/tasks/cg_app_base_tasks.rake +4 -0
- data/lib/tasks/cucumber.rake +65 -0
- metadata +1104 -0
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* Norwegian (bokmål) translation for bootstrap-datepicker
|
3
|
+
* Fredrik Sundmyhr <http://github.com/fsundmyhr>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['nb'] = {
|
7
|
+
days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"],
|
8
|
+
daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"],
|
9
|
+
daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"],
|
10
|
+
months: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"],
|
11
|
+
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"],
|
12
|
+
today: "I Dag"
|
13
|
+
};
|
14
|
+
}(jQuery));
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* Belgium-Dutch translation for bootstrap-datepicker
|
3
|
+
* Julien Poulin <poulin_julien@hotmail.com>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['nl-BE'] = {
|
7
|
+
days: ["Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"],
|
8
|
+
daysShort: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"],
|
9
|
+
daysMin: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"],
|
10
|
+
months: ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"],
|
11
|
+
monthsShort: ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
12
|
+
today: "Vandaag",
|
13
|
+
clear: "Leegmaken",
|
14
|
+
weekStart: 1,
|
15
|
+
format: "dd/mm/yyyy"
|
16
|
+
};
|
17
|
+
}(jQuery));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* Dutch translation for bootstrap-datepicker
|
3
|
+
* Reinier Goltstein <mrgoltstein@gmail.com>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['nl'] = {
|
7
|
+
days: ["Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"],
|
8
|
+
daysShort: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"],
|
9
|
+
daysMin: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"],
|
10
|
+
months: ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"],
|
11
|
+
monthsShort: ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
12
|
+
today: "Vandaag"
|
13
|
+
};
|
14
|
+
}(jQuery));
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/**
|
2
|
+
* Norwegian translation for bootstrap-datepicker
|
3
|
+
**/
|
4
|
+
;(function($){
|
5
|
+
$.fn.datepicker.dates['no'] = {
|
6
|
+
days: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],
|
7
|
+
daysShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'],
|
8
|
+
daysMin: ['Sø','Ma','Ti','On','To','Fr','Lø'],
|
9
|
+
months: ['Januar','Februar','Mars','April','Mai','Juni','Juli','August','September','Oktober','November','Desember'],
|
10
|
+
monthsShort: ['Jan','Feb','Mar','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Des'],
|
11
|
+
today: 'I dag',
|
12
|
+
clear: 'Nullstill',
|
13
|
+
weekStart: 1,
|
14
|
+
format: 'dd.mm.yyyy'
|
15
|
+
};
|
16
|
+
}(jQuery));
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* Polish translation for bootstrap-datepicker
|
3
|
+
* Robert <rtpm@gazeta.pl>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['pl'] = {
|
7
|
+
days: ["Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota", "Niedziela"],
|
8
|
+
daysShort: ["Nie", "Pn", "Wt", "Śr", "Czw", "Pt", "So", "Nie"],
|
9
|
+
daysMin: ["N", "Pn", "Wt", "Śr", "Cz", "Pt", "So", "N"],
|
10
|
+
months: ["Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień"],
|
11
|
+
monthsShort: ["Sty", "Lu", "Mar", "Kw", "Maj", "Cze", "Lip", "Sie", "Wrz", "Pa", "Lis", "Gru"],
|
12
|
+
today: "Dzisiaj",
|
13
|
+
weekStart: 1
|
14
|
+
};
|
15
|
+
}(jQuery));
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* Brazilian translation for bootstrap-datepicker
|
3
|
+
* Cauan Cabral <cauan@radig.com.br>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['pt-BR'] = {
|
7
|
+
days: ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado", "Domingo"],
|
8
|
+
daysShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Dom"],
|
9
|
+
daysMin: ["Do", "Se", "Te", "Qu", "Qu", "Se", "Sa", "Do"],
|
10
|
+
months: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"],
|
11
|
+
monthsShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"],
|
12
|
+
today: "Hoje",
|
13
|
+
clear: "Limpar"
|
14
|
+
};
|
15
|
+
}(jQuery));
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/**
|
2
|
+
* Portuguese translation for bootstrap-datepicker
|
3
|
+
* Original code: Cauan Cabral <cauan@radig.com.br>
|
4
|
+
* Tiago Melo <tiago.blackcode@gmail.com>
|
5
|
+
*/
|
6
|
+
;(function($){
|
7
|
+
$.fn.datepicker.dates['pt'] = {
|
8
|
+
days: ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado", "Domingo"],
|
9
|
+
daysShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Dom"],
|
10
|
+
daysMin: ["Do", "Se", "Te", "Qu", "Qu", "Se", "Sa", "Do"],
|
11
|
+
months: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"],
|
12
|
+
monthsShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"],
|
13
|
+
today: "Hoje",
|
14
|
+
clear: "Limpar"
|
15
|
+
};
|
16
|
+
}(jQuery));
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/**
|
2
|
+
* Romanian translation for bootstrap-datepicker
|
3
|
+
* Cristian Vasile <cristi.mie@gmail.com>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['ro'] = {
|
7
|
+
days: ["Duminică", "Luni", "Marţi", "Miercuri", "Joi", "Vineri", "Sâmbătă", "Duminică"],
|
8
|
+
daysShort: ["Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm", "Dum"],
|
9
|
+
daysMin: ["Du", "Lu", "Ma", "Mi", "Jo", "Vi", "Sâ", "Du"],
|
10
|
+
months: ["Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"],
|
11
|
+
monthsShort: ["Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
12
|
+
today: "Astăzi",
|
13
|
+
clear: "Șterge",
|
14
|
+
weekStart: 1
|
15
|
+
};
|
16
|
+
}(jQuery));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* Serbian latin translation for bootstrap-datepicker
|
3
|
+
* Bojan Milosavlević <milboj@gmail.com>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['rs-latin'] = {
|
7
|
+
days: ["Nedelja","Ponedeljak", "Utorak", "Sreda", "Četvrtak", "Petak", "Subota", "Nedelja"],
|
8
|
+
daysShort: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub", "Ned"],
|
9
|
+
daysMin: ["N", "Po", "U", "Sr", "Č", "Pe", "Su", "N"],
|
10
|
+
months: ["Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"],
|
11
|
+
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"],
|
12
|
+
today: "Danas"
|
13
|
+
};
|
14
|
+
}(jQuery));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* Serbian cyrillic translation for bootstrap-datepicker
|
3
|
+
* Bojan Milosavlević <milboj@gmail.com>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['rs'] = {
|
7
|
+
days: ["Недеља","Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота", "Недеља"],
|
8
|
+
daysShort: ["Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб", "Нед"],
|
9
|
+
daysMin: ["Н", "По", "У", "Ср", "Ч", "Пе", "Су", "Н"],
|
10
|
+
months: ["Јануар", "Фебруар", "Март", "Април", "Мај", "Јун", "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар"],
|
11
|
+
monthsShort: ["Јан", "Феб", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Нов", "Дец"],
|
12
|
+
today: "Данас"
|
13
|
+
};
|
14
|
+
}(jQuery));
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* Russian translation for bootstrap-datepicker
|
3
|
+
* Victor Taranenko <darwin@snowdale.com>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['ru'] = {
|
7
|
+
days: ["Воскресенье", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота", "Воскресенье"],
|
8
|
+
daysShort: ["Вск", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Суб", "Вск"],
|
9
|
+
daysMin: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Вс"],
|
10
|
+
months: ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"],
|
11
|
+
monthsShort: ["Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек"],
|
12
|
+
today: "Сегодня",
|
13
|
+
weekStart: 1
|
14
|
+
};
|
15
|
+
}(jQuery));
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* Slovak translation for bootstrap-datepicker
|
3
|
+
* Marek Lichtner <marek@licht.sk>
|
4
|
+
* Fixes by Michal Remiš <michal.remis@gmail.com>
|
5
|
+
*/
|
6
|
+
;(function($){
|
7
|
+
$.fn.datepicker.dates["sk"] = {
|
8
|
+
days: ["Nedeľa", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatok", "Sobota", "Nedeľa"],
|
9
|
+
daysShort: ["Ned", "Pon", "Uto", "Str", "Štv", "Pia", "Sob", "Ned"],
|
10
|
+
daysMin: ["Ne", "Po", "Ut", "St", "Št", "Pia", "So", "Ne"],
|
11
|
+
months: ["Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December"],
|
12
|
+
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Máj", "Jún", "Júl", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
13
|
+
today: "Dnes"
|
14
|
+
};
|
15
|
+
}(jQuery));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* Slovene translation for bootstrap-datepicker
|
3
|
+
* Gregor Rudolf <gregor.rudolf@gmail.com>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['sl'] = {
|
7
|
+
days: ["Nedelja", "Ponedeljek", "Torek", "Sreda", "Četrtek", "Petek", "Sobota", "Nedelja"],
|
8
|
+
daysShort: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob", "Ned"],
|
9
|
+
daysMin: ["Ne", "Po", "To", "Sr", "Če", "Pe", "So", "Ne"],
|
10
|
+
months: ["Januar", "Februar", "Marec", "April", "Maj", "Junij", "Julij", "Avgust", "September", "Oktober", "November", "December"],
|
11
|
+
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"],
|
12
|
+
today: "Danes"
|
13
|
+
};
|
14
|
+
}(jQuery));
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* Albanian translation for bootstrap-datepicker
|
3
|
+
* Tomor Pupovci <http://www.github.com/ttomor>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['sq'] = {
|
7
|
+
days: ["E Diel", "E Hënë", "E martē", "E mërkurë", "E Enjte", "E Premte", "E Shtunë", "E Diel"],
|
8
|
+
daysShort: ["Die", "Hën", "Mar", "Mër", "Enj", "Pre", "Shtu", "Die"],
|
9
|
+
daysMin: ["Di", "Hë", "Ma", "Më", "En", "Pr", "Sht", "Di"],
|
10
|
+
months: ["Janar", "Shkurt", "Mars", "Prill", "Maj", "Qershor", "Korrik", "Gusht", "Shtator", "Tetor", "Nëntor", "Dhjetor"],
|
11
|
+
monthsShort: ["Jan", "Shk", "Mar", "Pri", "Maj", "Qer", "Korr", "Gu", "Sht", "Tet", "Nën", "Dhjet"],
|
12
|
+
today: "Sot"
|
13
|
+
};
|
14
|
+
}(jQuery));
|
15
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/**
|
2
|
+
* Swedish translation for bootstrap-datepicker
|
3
|
+
* Patrik Ragnarsson <patrik@starkast.net>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['sv'] = {
|
7
|
+
days: ["Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag", "Söndag"],
|
8
|
+
daysShort: ["Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör", "Sön"],
|
9
|
+
daysMin: ["Sö", "Må", "Ti", "On", "To", "Fr", "Lö", "Sö"],
|
10
|
+
months: ["Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"],
|
11
|
+
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
12
|
+
today: "Idag",
|
13
|
+
format: "yyyy-mm-dd",
|
14
|
+
weekStart: 1
|
15
|
+
};
|
16
|
+
}(jQuery));
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* Swahili translation for bootstrap-datepicker
|
3
|
+
* Edwin Mugendi <https://github.com/edwinmugendi>
|
4
|
+
* Source: http://scriptsource.org/cms/scripts/page.php?item_id=entry_detail&uid=xnfaqyzcku
|
5
|
+
*/
|
6
|
+
;(function($){
|
7
|
+
$.fn.datepicker.dates['sw'] = {
|
8
|
+
days: ["Jumapili", "Jumatatu", "Jumanne", "Jumatano", "Alhamisi", "Ijumaa", "Jumamosi", "Jumapili"],
|
9
|
+
daysShort: ["J2", "J3", "J4", "J5", "Alh", "Ij", "J1", "J2"],
|
10
|
+
daysMin: ["2", "3", "4", "5", "A", "I", "1", "2"],
|
11
|
+
months: ["Januari", "Februari", "Machi", "Aprili", "Mei", "Juni", "Julai", "Agosti", "Septemba", "Oktoba", "Novemba", "Desemba"],
|
12
|
+
monthsShort: ["Jan", "Feb", "Mac", "Apr", "Mei", "Jun", "Jul", "Ago", "Sep", "Okt", "Nov", "Des"],
|
13
|
+
today: "Leo"
|
14
|
+
};
|
15
|
+
}(jQuery));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* Thai translation for bootstrap-datepicker
|
3
|
+
* Suchau Jiraprapot <seroz24@gmail.com>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['th'] = {
|
7
|
+
days: ["อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัส", "ศุกร์", "เสาร์", "อาทิตย์"],
|
8
|
+
daysShort: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อา"],
|
9
|
+
daysMin: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อา"],
|
10
|
+
months: ["มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฎาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"],
|
11
|
+
monthsShort: ["ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค."],
|
12
|
+
today: "วันนี้"
|
13
|
+
};
|
14
|
+
}(jQuery));
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/**
|
2
|
+
* Turkish translation for bootstrap-datepicker
|
3
|
+
* Serkan Algur <kaisercrazy_2@hotmail.com>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['tr'] = {
|
7
|
+
days: ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi", "Pazar"],
|
8
|
+
daysShort: ["Pz", "Pzt", "Sal", "Çrş", "Prş", "Cu", "Cts", "Pz"],
|
9
|
+
daysMin: ["Pz", "Pzt", "Sa", "Çr", "Pr", "Cu", "Ct", "Pz"],
|
10
|
+
months: ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"],
|
11
|
+
monthsShort: ["Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara"],
|
12
|
+
today: "Bugün",
|
13
|
+
format: "dd.mm.yyyy"
|
14
|
+
};
|
15
|
+
}(jQuery));
|
16
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* Ukrainian translation for bootstrap-datepicker
|
3
|
+
* Igor Polynets
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['ua'] = {
|
7
|
+
days: ["Неділя", "Понеділок", "Вівторок", "Середа", "Четвер", "П'ятница", "Субота", "Неділя"],
|
8
|
+
daysShort: ["Нед", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Суб", "Нед"],
|
9
|
+
daysMin: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Нд"],
|
10
|
+
months: ["Cічень", "Лютий", "Березень", "Квітень", "Травень", "Червень", "Липень", "Серпень", "Вересень", "Жовтень", "Листопад", "Грудень"],
|
11
|
+
monthsShort: ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру"],
|
12
|
+
today: "Сьогодні",
|
13
|
+
weekStart: 1
|
14
|
+
};
|
15
|
+
}(jQuery));
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/**
|
2
|
+
* Vietnamese translation for bootstrap-datepicker
|
3
|
+
* An Vo <https://github.com/anvoz/>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['vi'] = {
|
7
|
+
days: ["Chủ nhật", "Thứ hai", "Thứ ba", "Thứ tư", "Thứ năm", "Thứ sáu", "Thứ bảy", "Chủ nhật"],
|
8
|
+
daysShort: ["CN", "Thứ 2", "Thứ 3", "Thứ 4", "Thứ 5", "Thứ 6", "Thứ 7", "CN"],
|
9
|
+
daysMin: ["CN", "T2", "T3", "T4", "T5", "T6", "T7", "CN"],
|
10
|
+
months: ["Tháng 1", "Tháng 2", "Tháng 3", "Tháng 4", "Tháng 5", "Tháng 6", "Tháng 7", "Tháng 8", "Tháng 9", "Tháng 10", "Tháng 11", "Tháng 12"],
|
11
|
+
monthsShort: ["Th1", "Th2", "Th3", "Th4", "Th5", "Th6", "Th7", "Th8", "Th9", "Th10", "Th11", "Th12"],
|
12
|
+
today: "Hôm nay",
|
13
|
+
clear: "Xóa",
|
14
|
+
format: "dd/mm/yyyy"
|
15
|
+
};
|
16
|
+
}(jQuery));
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/**
|
2
|
+
* Simplified Chinese translation for bootstrap-datepicker
|
3
|
+
* Yuan Cheung <advanimal@gmail.com>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['zh-CN'] = {
|
7
|
+
days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"],
|
8
|
+
daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"],
|
9
|
+
daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"],
|
10
|
+
months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
|
11
|
+
monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
|
12
|
+
today: "今日",
|
13
|
+
format: "yyyy年mm月dd日",
|
14
|
+
weekStart: 1
|
15
|
+
};
|
16
|
+
}(jQuery));
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* Traditional Chinese translation for bootstrap-datepicker
|
3
|
+
* Rung-Sheng Jang <daniel@i-trend.co.cc>
|
4
|
+
* FrankWu <frankwu100@gmail.com> Fix more appropriate use of Traditional Chinese habit
|
5
|
+
*/
|
6
|
+
;(function($){
|
7
|
+
$.fn.datepicker.dates['zh-TW'] = {
|
8
|
+
days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"],
|
9
|
+
daysShort: ["週日", "週一", "週二", "週三", "週四", "週五", "週六", "週日"],
|
10
|
+
daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"],
|
11
|
+
months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
|
12
|
+
monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
|
13
|
+
today: "今天",
|
14
|
+
format: "yyyy年mm月dd日",
|
15
|
+
weekStart: 1
|
16
|
+
};
|
17
|
+
}(jQuery));
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/*
|
2
|
+
* Project: Twitter Bootstrap Hover Dropdown
|
3
|
+
* Author: Cameron Spear
|
4
|
+
* Contributors: Mattia Larentis
|
5
|
+
*
|
6
|
+
* Dependencies?: Twitter Bootstrap's Dropdown plugin
|
7
|
+
*
|
8
|
+
* A simple plugin to enable twitter bootstrap dropdowns to active on hover and provide a nice user experience.
|
9
|
+
*
|
10
|
+
* No license, do what you want. I'd love credit or a shoutout, though.
|
11
|
+
*
|
12
|
+
* http://cameronspear.com/blog/twitter-bootstrap-dropdown-on-hover-plugin/
|
13
|
+
*/(function(e,t,n){var r=e();e.fn.dropdownHover=function(n){r=r.add(this.parent());return this.each(function(){var i=e(this),s=i.parent(),o={delay:500,instantlyCloseOthers:!0},u={delay:e(this).data("delay"),instantlyCloseOthers:e(this).data("close-others")},a=e.extend(!0,{},o,n,u),f;s.hover(function(e){if(!s.hasClass("open")&&!i.is(e.target))return!0;a.instantlyCloseOthers===!0&&r.removeClass("open");t.clearTimeout(f);s.addClass("open")},function(){f=t.setTimeout(function(){s.removeClass("open")},a.delay)});i.hover(function(){a.instantlyCloseOthers===!0&&r.removeClass("open");t.clearTimeout(f);s.addClass("open")});s.find(".dropdown-submenu").each(function(){var n=e(this),r;n.hover(function(){t.clearTimeout(r);n.children(".dropdown-menu").show();n.siblings().children(".dropdown-menu").hide()},function(){var e=n.children(".dropdown-menu");r=t.setTimeout(function(){e.hide()},a.delay)})})})};e(document).ready(function(){e('[data-hover="dropdown"]').dropdownHover()})})(jQuery,this);
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/* ==========================================================
|
2
|
+
* bootstrap-maxlength.js v1.3.7
|
3
|
+
*
|
4
|
+
* Copyright (c) 2013 Maurizio Napoleoni;
|
5
|
+
*
|
6
|
+
* Licensed under the terms of the MIT license.
|
7
|
+
* See: https://github.com/mimo84/bootstrap-maxlength/blob/master/LICENSE
|
8
|
+
* ========================================================== */
|
9
|
+
(function(h){h.fn.extend({maxlength:function(d,l){function m(b){var c=b.val().match(/\n/g),c=c?c.length:0;return b.val().length+c}function k(b,c){return c-m(b)}function n(b,c){var a="";d.preText&&(a+=d.preText);a=a+c+d.separator+b;d.postText&&(a+=d.postText);return a}function p(b,c,a,e){e.html(n(a,b));if(0<b){b=d.threshold;var f=!0;!d.alwaysShow&&a-m(c)>b&&(f=!1);f?e.removeClass(d.limitReachedClass).addClass(d.warningClass).css({display:"block"}):e.css({display:"none"})}else e.removeClass(d.warningClass).addClass(d.limitReachedClass).css({display:"block"})}
|
10
|
+
function q(b,c){var a;a=b[0];a=h.extend({},"function"===typeof a.getBoundingClientRect?a.getBoundingClientRect():{width:a.offsetWidth,height:a.offsetHeight},b.offset());var e=b.outerWidth(),f=c.outerWidth(),g=c.width(),j=c.height();switch(d.placement){case "bottom":c.css({top:a.top+a.height,left:a.left+a.width/2-g/2});break;case "top":c.css({top:a.top-j,left:a.left+a.width/2-g/2});break;case "left":c.css({top:a.top+a.height/2-j/2,left:a.left-g});break;case "right":c.css({top:a.top+a.height/2-j/2,
|
11
|
+
left:a.left+a.width});break;case "bottom-right":c.css({top:a.top+a.height,left:a.left+a.width});break;case "top-right":c.css({top:a.top-j,left:a.left+e});break;case "top-left":c.css({top:a.top-j,left:a.left-f});break;case "bottom-left":c.css({top:a.top+b.outerHeight(),left:a.left-f});break;case "centered-right":c.css({top:a.top+j/2,left:a.left+e-f-3})}}function g(b){return b.attr("maxlength")||b.attr("size")}var r=h("body");h.isFunction(d)&&!l&&(l=d,d={});d=h.extend({alwaysShow:!1,threshold:10,warningClass:"badge badge-success",
|
12
|
+
limitReachedClass:"badge badge-important",separator:" / ",preText:"",postText:"",placement:"bottom",validate:!1},d);return this.each(function(){var b=h(this),c=g(b),a=h("<span></span>").css({display:"none",position:"absolute",whiteSpace:"nowrap",zIndex:999}).html(n(c,"0"));b.is("textarea")&&(b.data("maxlenghtsizex",b.outerWidth()),b.data("maxlenghtsizey",b.outerHeight()),b.mouseup(function(){(b.outerWidth()!==b.data("maxlenghtsizex")||b.outerHeight()!==b.data("maxlenghtsizey"))&&q(b,a);b.data("maxlenghtsizex",
|
13
|
+
b.outerWidth());b.data("maxlenghtsizey",b.outerHeight())}));r.append(a);b.focus(function(){var d=k(b,g(b));p(d,b,c,a);q(b,a)});b.blur(function(){a.css("display","none")});b.keyup(function(){var e=k(b,g(b)),f=!0;d.validate&&0>e?f=!1:p(e,b,c,a);return f});b.keydown(function(a){if(0>=k(b,g(b))&&46!==a.keyCode&&8!==a.keyCode)return!1})})}})})(jQuery);
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*! ============================================================
|
2
|
+
* bootstrapSwitch v1.8 by Larentis Mattia @SpiritualGuru
|
3
|
+
* http://www.larentis.eu/
|
4
|
+
*
|
5
|
+
* Enhanced for radiobuttons by Stein, Peter @BdMdesigN
|
6
|
+
* http://www.bdmdesign.org/
|
7
|
+
*
|
8
|
+
* Project site:
|
9
|
+
* http://www.larentis.eu/switch/
|
10
|
+
* ============================================================
|
11
|
+
* Licensed under the Apache License, Version 2.0
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
13
|
+
* ============================================================ */
|
14
|
+
!function($){"use strict";$.fn['bootstrapSwitch']=function(method){var inputSelector='input[type!="hidden"]';var methods={init:function(){return this.each(function(){var $element=$(this),$div,$switchLeft,$switchRight,$label,$form=$element.closest('form'),myClasses="",classes=$element.attr('class'),color,moving,onLabel="ON",offLabel="OFF",icon=false,textLabel=false;$.each(['switch-mini','switch-small','switch-large'],function(i,el){if(classes.indexOf(el)>=0)myClasses=el});$element.addClass('has-switch');if($element.data('on')!==undefined)color="switch-"+$element.data('on');if($element.data('on-label')!==undefined)onLabel=$element.data('on-label');if($element.data('off-label')!==undefined)offLabel=$element.data('off-label');if($element.data('label-icon')!==undefined)icon=$element.data('label-icon');if($element.data('text-label')!==undefined)textLabel=$element.data('text-label');$switchLeft=$('<span>').addClass("switch-left").addClass(myClasses).addClass(color).html(onLabel);color='';if($element.data('off')!==undefined)color="switch-"+$element.data('off');$switchRight=$('<span>').addClass("switch-right").addClass(myClasses).addClass(color).html(offLabel);$label=$('<label>').html(" ").addClass(myClasses).attr('for',$element.find(inputSelector).attr('id'));if(icon){$label.html('<i class="icon '+icon+'"></i>')}if(textLabel){$label.html(''+textLabel+'')}$div=$element.find(inputSelector).wrap($('<div>')).parent().data('animated',false);if($element.data('animated')!==false)$div.addClass('switch-animate').data('animated',true);$div.append($switchLeft).append($label).append($switchRight);$element.find('>div').addClass($element.find(inputSelector).is(':checked')?'switch-on':'switch-off');if($element.find(inputSelector).is(':disabled'))$(this).addClass('deactivate');var changeStatus=function($this){if($element.parent('label').is('.label-change-switch')){}else{$this.siblings('label').trigger('mousedown').trigger('mouseup').trigger('click')}};$element.on('keydown',function(e){if(e.keyCode===32){e.stopImmediatePropagation();e.preventDefault();changeStatus($(e.target).find('span:first'))}});$switchLeft.on('click',function(e){changeStatus($(this))});$switchRight.on('click',function(e){changeStatus($(this))});$element.find(inputSelector).on('change',function(e,skipOnChange){var $this=$(this),$element=$this.parent(),thisState=$this.is(':checked'),state=$element.is('.switch-off');e.preventDefault();$element.css('left','');if(state===thisState){if(thisState)$element.removeClass('switch-off').addClass('switch-on');else $element.removeClass('switch-on').addClass('switch-off');if($element.data('animated')!==false)$element.addClass("switch-animate");if(typeof skipOnChange==='boolean'&&skipOnChange)return;$element.parent().trigger('switch-change',{'el':$this,'value':thisState})}});$element.find('label').on('mousedown touchstart',function(e){var $this=$(this);moving=false;e.preventDefault();e.stopImmediatePropagation();$this.closest('div').removeClass('switch-animate');if($this.closest('.has-switch').is('.deactivate')){$this.unbind('click')}else if($this.closest('.switch-on').parent().is('.radio-no-uncheck')){$this.unbind('click')}else{$this.on('mousemove touchmove',function(e){var $element=$(this).closest('.make-switch'),relativeX=(e.pageX||e.originalEvent.targetTouches[0].pageX)-$element.offset().left,percent=(relativeX/$element.width())*100,left=25,right=75;moving=true;if(percent<left)percent=left;else if(percent>right)percent=right;$element.find('>div').css('left',(percent-right)+"%")});$this.on('click touchend',function(e){var $this=$(this),$target=$(e.target),$myRadioCheckBox=$target.siblings('input');e.stopImmediatePropagation();e.preventDefault();$this.unbind('mouseleave');if(moving)$myRadioCheckBox.prop('checked',!(parseInt($this.parent().css('left'))<-25));else $myRadioCheckBox.prop("checked",!$myRadioCheckBox.is(":checked"));moving=false;$myRadioCheckBox.trigger('change')});$this.on('mouseleave',function(e){var $this=$(this),$myInputBox=$this.siblings('input');e.preventDefault();e.stopImmediatePropagation();$this.unbind('mouseleave');$this.trigger('mouseup');$myInputBox.prop('checked',!(parseInt($this.parent().css('left'))<-25)).trigger('change')});$this.on('mouseup',function(e){e.stopImmediatePropagation();e.preventDefault();$(this).unbind('mousemove')})}});if($form.data('bootstrapSwitch')!=='injected'){$form.bind('reset',function(){setTimeout(function(){$form.find('.make-switch').each(function(){var $input=$(this).find(inputSelector);$input.prop('checked',$input.is(':checked')).trigger('change')})},1)});$form.data('bootstrapSwitch','injected')}})},toggleActivation:function(){var $this=$(this);$this.toggleClass('deactivate');$this.find(inputSelector).prop('disabled',$this.is('.deactivate'))},isActive:function(){return!$(this).hasClass('deactivate')},setActive:function(active){var $this=$(this);if(active){$this.removeClass('deactivate');$this.find(inputSelector).removeAttr('disabled')}else{$this.addClass('deactivate');$this.find(inputSelector).attr('disabled','disabled')}},toggleState:function(skipOnChange){var $input=$(this).find(':checkbox');$input.prop('checked',!$input.is(':checked')).trigger('change',skipOnChange)},toggleRadioState:function(skipOnChange){var $radioinput=$(this).find(':radio');$radioinput.not(':checked').prop('checked',!$radioinput.is(':checked')).trigger('change',skipOnChange)},toggleRadioStateAllowUncheck:function(uncheck,skipOnChange){var $radioinput=$(this).find(':radio');if(uncheck){$radioinput.not(':checked').trigger('change',skipOnChange)}else{$radioinput.not(':checked').prop('checked',!$radioinput.is(':checked')).trigger('change',skipOnChange)}},setState:function(value,skipOnChange){$(this).find(inputSelector).prop('checked',value).trigger('change',skipOnChange)},setOnLabel:function(value){var $switchLeft=$(this).find(".switch-left");$switchLeft.html(value)},setOffLabel:function(value){var $switchRight=$(this).find(".switch-right");$switchRight.html(value)},setOnClass:function(value){var $switchLeft=$(this).find(".switch-left");var color='';if(value!==undefined){if($(this).attr('data-on')!==undefined){color="switch-"+$(this).attr('data-on')}$switchLeft.removeClass(color);color="switch-"+value;$switchLeft.addClass(color)}},setOffClass:function(value){var $switchRight=$(this).find(".switch-right");var color='';if(value!==undefined){if($(this).attr('data-off')!==undefined){color="switch-"+$(this).attr('data-off')}$switchRight.removeClass(color);color="switch-"+value;$switchRight.addClass(color)}},setAnimated:function(value){var $element=$(this).find(inputSelector).parent();if(value===undefined)value=false;$element.data('animated',value);$element.attr('data-animated',value);if($element.data('animated')!==false){$element.addClass("switch-animate")}else{$element.removeClass("switch-animate")}},setSizeClass:function(value){var $element=$(this);var $switchLeft=$element.find(".switch-left");var $switchRight=$element.find(".switch-right");var $label=$element.find("label");$.each(['switch-mini','switch-small','switch-large'],function(i,el){if(el!==value){$switchLeft.removeClass(el);$switchRight.removeClass(el);$label.removeClass(el)}else{$switchLeft.addClass(el);$switchRight.addClass(el);$label.addClass(el)}})},status:function(){return $(this).find(inputSelector).is(':checked')},destroy:function(){var $element=$(this),$div=$element.find('div'),$form=$element.closest('form'),$inputbox;$div.find(':not(input)').remove();$inputbox=$div.children();$inputbox.unwrap().unwrap();$inputbox.unbind('change');if($form){$form.unbind('reset');$form.removeData('bootstrapSwitch')}return $inputbox}};if(methods[method])return methods[method].apply(this,Array.prototype.slice.call(arguments,1));else if(typeof method==='object'||!method)return methods.init.apply(this,arguments);else $.error('Method '+method+' does not exist!')}}(jQuery);(function($){$(function(){$('.make-switch')['bootstrapSwitch']()})})(jQuery);
|
@@ -0,0 +1,58 @@
|
|
1
|
+
/*
|
2
|
+
* Character Count Plugin - jQuery plugin
|
3
|
+
* Dynamic character count for text areas and input fields
|
4
|
+
* written by Alen Grakalic
|
5
|
+
* http://cssglobe.com/post/7161/jquery-plugin-simplest-twitterlike-dynamic-character-count-for-textareas
|
6
|
+
*
|
7
|
+
* Copyright (c) 2009 Alen Grakalic (http://cssglobe.com)
|
8
|
+
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
9
|
+
* and GPL (GPL-LICENSE.txt) licenses.
|
10
|
+
*
|
11
|
+
* Built for jQuery library
|
12
|
+
* http://jquery.com
|
13
|
+
*
|
14
|
+
*/
|
15
|
+
|
16
|
+
(function($) {
|
17
|
+
|
18
|
+
$.fn.charCount = function(options){
|
19
|
+
|
20
|
+
// default configuration properties
|
21
|
+
var defaults = {
|
22
|
+
allowed: 140,
|
23
|
+
warning: 25,
|
24
|
+
css: 'counter',
|
25
|
+
counterElement: 'span',
|
26
|
+
cssWarning: 'warning',
|
27
|
+
cssExceeded: 'exceeded',
|
28
|
+
counterText: ''
|
29
|
+
};
|
30
|
+
|
31
|
+
var options = $.extend(defaults, options);
|
32
|
+
|
33
|
+
function calculate(obj){
|
34
|
+
var count = $(obj).val().length;
|
35
|
+
var available = options.allowed - count;
|
36
|
+
if(available <= options.warning && available >= 0){
|
37
|
+
$(obj).next().addClass(options.cssWarning);
|
38
|
+
} else {
|
39
|
+
$(obj).next().removeClass(options.cssWarning);
|
40
|
+
}
|
41
|
+
if(available < 0){
|
42
|
+
$(obj).next().addClass(options.cssExceeded);
|
43
|
+
} else {
|
44
|
+
$(obj).next().removeClass(options.cssExceeded);
|
45
|
+
}
|
46
|
+
$(obj).next().html(options.counterText + available);
|
47
|
+
};
|
48
|
+
|
49
|
+
this.each(function() {
|
50
|
+
$(this).after('<'+ options.counterElement +' class="' + options.css + '">'+ options.counterText +'</'+ options.counterElement +'>');
|
51
|
+
calculate(this);
|
52
|
+
$(this).keyup(function(){calculate(this)});
|
53
|
+
$(this).change(function(){calculate(this)});
|
54
|
+
});
|
55
|
+
|
56
|
+
};
|
57
|
+
|
58
|
+
})(jQuery);
|