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,498 @@
|
|
1
|
+
!function($, wysi) {
|
2
|
+
"use strict";
|
3
|
+
|
4
|
+
var tpl = {
|
5
|
+
"font-styles": function(locale, options) {
|
6
|
+
var size = (options && options.size) ? ' btn-'+options.size : '';
|
7
|
+
return "<li class='dropdown'>" +
|
8
|
+
"<a class='btn dropdown-toggle" + size + "' data-toggle='dropdown' href='#'>" +
|
9
|
+
"<i class='icon-font'></i> <span class='current-font'>" + locale.font_styles.normal + "</span> <b class='caret'></b>" +
|
10
|
+
"</a>" +
|
11
|
+
"<ul class='dropdown-menu'>" +
|
12
|
+
"<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='div' tabindex='-1'>" + locale.font_styles.normal + "</a></li>" +
|
13
|
+
"<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h1' tabindex='-1'>" + locale.font_styles.h1 + "</a></li>" +
|
14
|
+
"<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h2' tabindex='-1'>" + locale.font_styles.h2 + "</a></li>" +
|
15
|
+
"<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h3' tabindex='-1'>" + locale.font_styles.h3 + "</a></li>" +
|
16
|
+
"</ul>" +
|
17
|
+
"</li>";
|
18
|
+
},
|
19
|
+
|
20
|
+
"emphasis": function(locale, options) {
|
21
|
+
var size = (options && options.size) ? ' btn-'+options.size : '';
|
22
|
+
return "<li>" +
|
23
|
+
"<div class='btn-group'>" +
|
24
|
+
"<a class='btn" + size + "' data-wysihtml5-command='bold' title='CTRL+B' tabindex='-1'>" + locale.emphasis.bold + "</a>" +
|
25
|
+
"<a class='btn" + size + "' data-wysihtml5-command='italic' title='CTRL+I' tabindex='-1'>" + locale.emphasis.italic + "</a>" +
|
26
|
+
"<a class='btn" + size + "' data-wysihtml5-command='underline' title='CTRL+U' tabindex='-1'>" + locale.emphasis.underline + "</a>" +
|
27
|
+
"</div>" +
|
28
|
+
"</li>";
|
29
|
+
},
|
30
|
+
|
31
|
+
"lists": function(locale, options) {
|
32
|
+
var size = (options && options.size) ? ' btn-'+options.size : '';
|
33
|
+
return "<li>" +
|
34
|
+
"<div class='btn-group'>" +
|
35
|
+
"<a class='btn" + size + "' data-wysihtml5-command='insertUnorderedList' title='" + locale.lists.unordered + "' tabindex='-1'><i class='icon-list'></i></a>" +
|
36
|
+
"<a class='btn" + size + "' data-wysihtml5-command='insertOrderedList' title='" + locale.lists.ordered + "' tabindex='-1'><i class='icon-th-list'></i></a>" +
|
37
|
+
"<a class='btn" + size + "' data-wysihtml5-command='Outdent' title='" + locale.lists.outdent + "' tabindex='-1'><i class='icon-indent-right'></i></a>" +
|
38
|
+
"<a class='btn" + size + "' data-wysihtml5-command='Indent' title='" + locale.lists.indent + "' tabindex='-1'><i class='icon-indent-left'></i></a>" +
|
39
|
+
"</div>" +
|
40
|
+
"</li>";
|
41
|
+
},
|
42
|
+
|
43
|
+
"link": function(locale, options) {
|
44
|
+
var size = (options && options.size) ? ' btn-'+options.size : '';
|
45
|
+
return "<li>" +
|
46
|
+
"<div class='bootstrap-wysihtml5-insert-link-modal modal hide fade'>" +
|
47
|
+
"<div class='modal-header'>" +
|
48
|
+
"<a class='close' data-dismiss='modal'>×</a>" +
|
49
|
+
"<h3>" + locale.link.insert + "</h3>" +
|
50
|
+
"</div>" +
|
51
|
+
"<div class='modal-body'>" +
|
52
|
+
"<input value='http://' class='bootstrap-wysihtml5-insert-link-url input-xlarge'>" +
|
53
|
+
"</div>" +
|
54
|
+
"<div class='modal-footer'>" +
|
55
|
+
"<a href='#' class='btn' data-dismiss='modal'>" + locale.link.cancel + "</a>" +
|
56
|
+
"<a href='#' class='btn btn-primary' data-dismiss='modal'>" + locale.link.insert + "</a>" +
|
57
|
+
"</div>" +
|
58
|
+
"</div>" +
|
59
|
+
"<a class='btn" + size + "' data-wysihtml5-command='createLink' title='" + locale.link.insert + "' tabindex='-1'><i class='icon-share'></i></a>" +
|
60
|
+
"</li>";
|
61
|
+
},
|
62
|
+
|
63
|
+
"image": function(locale, options) {
|
64
|
+
var size = (options && options.size) ? ' btn-'+options.size : '';
|
65
|
+
return "<li>" +
|
66
|
+
"<div class='bootstrap-wysihtml5-insert-image-modal modal hide fade'>" +
|
67
|
+
"<div class='modal-header'>" +
|
68
|
+
"<a class='close' data-dismiss='modal'>×</a>" +
|
69
|
+
"<h3>" + locale.image.insert + "</h3>" +
|
70
|
+
"</div>" +
|
71
|
+
"<div class='modal-body'>" +
|
72
|
+
"<input value='http://' class='bootstrap-wysihtml5-insert-image-url input-xlarge'>" +
|
73
|
+
"</div>" +
|
74
|
+
"<div class='modal-footer'>" +
|
75
|
+
"<a href='#' class='btn' data-dismiss='modal'>" + locale.image.cancel + "</a>" +
|
76
|
+
"<a href='#' class='btn btn-primary' data-dismiss='modal'>" + locale.image.insert + "</a>" +
|
77
|
+
"</div>" +
|
78
|
+
"</div>" +
|
79
|
+
"<a class='btn" + size + "' data-wysihtml5-command='insertImage' title='" + locale.image.insert + "' tabindex='-1'><i class='icon-picture'></i></a>" +
|
80
|
+
"</li>";
|
81
|
+
},
|
82
|
+
|
83
|
+
"html": function(locale, options) {
|
84
|
+
var size = (options && options.size) ? ' btn-'+options.size : '';
|
85
|
+
return "<li>" +
|
86
|
+
"<div class='btn-group'>" +
|
87
|
+
"<a class='btn" + size + "' data-wysihtml5-action='change_view' title='" + locale.html.edit + "' tabindex='-1'><i class='icon-pencil'></i></a>" +
|
88
|
+
"</div>" +
|
89
|
+
"</li>";
|
90
|
+
},
|
91
|
+
|
92
|
+
"color": function(locale, options) {
|
93
|
+
var size = (options && options.size) ? ' btn-'+options.size : '';
|
94
|
+
return "<li class='dropdown'>" +
|
95
|
+
"<a class='btn dropdown-toggle" + size + "' data-toggle='dropdown' href='#' tabindex='-1'>" +
|
96
|
+
"<span class='current-color'>" + locale.colours.black + "</span> <b class='caret'></b>" +
|
97
|
+
"</a>" +
|
98
|
+
"<ul class='dropdown-menu'>" +
|
99
|
+
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='black'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='black'>" + locale.colours.black + "</a></li>" +
|
100
|
+
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='silver'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='silver'>" + locale.colours.silver + "</a></li>" +
|
101
|
+
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='gray'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='gray'>" + locale.colours.gray + "</a></li>" +
|
102
|
+
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='maroon'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='maroon'>" + locale.colours.maroon + "</a></li>" +
|
103
|
+
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='red'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='red'>" + locale.colours.red + "</a></li>" +
|
104
|
+
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='purple'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='purple'>" + locale.colours.purple + "</a></li>" +
|
105
|
+
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='green'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='green'>" + locale.colours.green + "</a></li>" +
|
106
|
+
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='olive'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='olive'>" + locale.colours.olive + "</a></li>" +
|
107
|
+
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='navy'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='navy'>" + locale.colours.navy + "</a></li>" +
|
108
|
+
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='blue'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='blue'>" + locale.colours.blue + "</a></li>" +
|
109
|
+
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='orange'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='orange'>" + locale.colours.orange + "</a></li>" +
|
110
|
+
"</ul>" +
|
111
|
+
"</li>";
|
112
|
+
}
|
113
|
+
};
|
114
|
+
|
115
|
+
var templates = function(key, locale, options) {
|
116
|
+
return tpl[key](locale, options);
|
117
|
+
};
|
118
|
+
|
119
|
+
|
120
|
+
var Wysihtml5 = function(el, options) {
|
121
|
+
this.el = el;
|
122
|
+
var toolbarOpts = options || defaultOptions;
|
123
|
+
for(var t in toolbarOpts.customTemplates) {
|
124
|
+
tpl[t] = toolbarOpts.customTemplates[t];
|
125
|
+
}
|
126
|
+
this.toolbar = this.createToolbar(el, toolbarOpts);
|
127
|
+
this.editor = this.createEditor(options);
|
128
|
+
|
129
|
+
window.editor = this.editor;
|
130
|
+
|
131
|
+
$('iframe.wysihtml5-sandbox').each(function(i, el){
|
132
|
+
$(el.contentWindow).off('focus.wysihtml5').on({
|
133
|
+
'focus.wysihtml5' : function(){
|
134
|
+
$('li.dropdown').removeClass('open');
|
135
|
+
}
|
136
|
+
});
|
137
|
+
});
|
138
|
+
};
|
139
|
+
|
140
|
+
Wysihtml5.prototype = {
|
141
|
+
|
142
|
+
constructor: Wysihtml5,
|
143
|
+
|
144
|
+
createEditor: function(options) {
|
145
|
+
options = options || {};
|
146
|
+
|
147
|
+
// Add the toolbar to a clone of the options object so multiple instances
|
148
|
+
// of the WYISYWG don't break because "toolbar" is already defined
|
149
|
+
options = $.extend(true, {}, options);
|
150
|
+
options.toolbar = this.toolbar[0];
|
151
|
+
|
152
|
+
var editor = new wysi.Editor(this.el[0], options);
|
153
|
+
|
154
|
+
if(options && options.events) {
|
155
|
+
for(var eventName in options.events) {
|
156
|
+
editor.on(eventName, options.events[eventName]);
|
157
|
+
}
|
158
|
+
}
|
159
|
+
return editor;
|
160
|
+
},
|
161
|
+
|
162
|
+
createToolbar: function(el, options) {
|
163
|
+
var self = this;
|
164
|
+
var toolbar = $("<ul/>", {
|
165
|
+
'class' : "wysihtml5-toolbar",
|
166
|
+
'style': "display:none"
|
167
|
+
});
|
168
|
+
var culture = options.locale || defaultOptions.locale || "en";
|
169
|
+
for(var key in defaultOptions) {
|
170
|
+
var value = false;
|
171
|
+
|
172
|
+
if(options[key] !== undefined) {
|
173
|
+
if(options[key] === true) {
|
174
|
+
value = true;
|
175
|
+
}
|
176
|
+
} else {
|
177
|
+
value = defaultOptions[key];
|
178
|
+
}
|
179
|
+
|
180
|
+
if(value === true) {
|
181
|
+
toolbar.append(templates(key, locale[culture], options));
|
182
|
+
|
183
|
+
if(key === "html") {
|
184
|
+
this.initHtml(toolbar);
|
185
|
+
}
|
186
|
+
|
187
|
+
if(key === "link") {
|
188
|
+
this.initInsertLink(toolbar);
|
189
|
+
}
|
190
|
+
|
191
|
+
if(key === "image") {
|
192
|
+
this.initInsertImage(toolbar);
|
193
|
+
}
|
194
|
+
}
|
195
|
+
}
|
196
|
+
|
197
|
+
if(options.toolbar) {
|
198
|
+
for(key in options.toolbar) {
|
199
|
+
toolbar.append(options.toolbar[key]);
|
200
|
+
}
|
201
|
+
}
|
202
|
+
|
203
|
+
toolbar.find("a[data-wysihtml5-command='formatBlock']").click(function(e) {
|
204
|
+
var target = e.target || e.srcElement;
|
205
|
+
var el = $(target);
|
206
|
+
self.toolbar.find('.current-font').text(el.html());
|
207
|
+
});
|
208
|
+
|
209
|
+
toolbar.find("a[data-wysihtml5-command='foreColor']").click(function(e) {
|
210
|
+
var target = e.target || e.srcElement;
|
211
|
+
var el = $(target);
|
212
|
+
self.toolbar.find('.current-color').text(el.html());
|
213
|
+
});
|
214
|
+
|
215
|
+
this.el.before(toolbar);
|
216
|
+
|
217
|
+
return toolbar;
|
218
|
+
},
|
219
|
+
|
220
|
+
initHtml: function(toolbar) {
|
221
|
+
var changeViewSelector = "a[data-wysihtml5-action='change_view']";
|
222
|
+
toolbar.find(changeViewSelector).click(function(e) {
|
223
|
+
toolbar.find('a.btn').not(changeViewSelector).toggleClass('disabled');
|
224
|
+
});
|
225
|
+
},
|
226
|
+
|
227
|
+
initInsertImage: function(toolbar) {
|
228
|
+
var self = this;
|
229
|
+
var insertImageModal = toolbar.find('.bootstrap-wysihtml5-insert-image-modal');
|
230
|
+
var urlInput = insertImageModal.find('.bootstrap-wysihtml5-insert-image-url');
|
231
|
+
var insertButton = insertImageModal.find('a.btn-primary');
|
232
|
+
var initialValue = urlInput.val();
|
233
|
+
var caretBookmark;
|
234
|
+
|
235
|
+
var insertImage = function() {
|
236
|
+
var url = urlInput.val();
|
237
|
+
urlInput.val(initialValue);
|
238
|
+
self.editor.currentView.element.focus();
|
239
|
+
if (caretBookmark) {
|
240
|
+
self.editor.composer.selection.setBookmark(caretBookmark);
|
241
|
+
caretBookmark = null;
|
242
|
+
}
|
243
|
+
self.editor.composer.commands.exec("insertImage", url);
|
244
|
+
};
|
245
|
+
|
246
|
+
urlInput.keypress(function(e) {
|
247
|
+
if(e.which == 13) {
|
248
|
+
insertImage();
|
249
|
+
insertImageModal.modal('hide');
|
250
|
+
}
|
251
|
+
});
|
252
|
+
|
253
|
+
insertButton.click(insertImage);
|
254
|
+
|
255
|
+
insertImageModal.on('shown', function() {
|
256
|
+
urlInput.focus();
|
257
|
+
});
|
258
|
+
|
259
|
+
insertImageModal.on('hide', function() {
|
260
|
+
self.editor.currentView.element.focus();
|
261
|
+
});
|
262
|
+
|
263
|
+
toolbar.find('a[data-wysihtml5-command=insertImage]').click(function() {
|
264
|
+
var activeButton = $(this).hasClass("wysihtml5-command-active");
|
265
|
+
|
266
|
+
if (!activeButton) {
|
267
|
+
self.editor.currentView.element.focus(false);
|
268
|
+
caretBookmark = self.editor.composer.selection.getBookmark();
|
269
|
+
insertImageModal.appendTo('body').modal('show');
|
270
|
+
insertImageModal.on('click.dismiss.modal', '[data-dismiss="modal"]', function(e) {
|
271
|
+
e.stopPropagation();
|
272
|
+
});
|
273
|
+
return false;
|
274
|
+
}
|
275
|
+
else {
|
276
|
+
return true;
|
277
|
+
}
|
278
|
+
});
|
279
|
+
},
|
280
|
+
|
281
|
+
initInsertLink: function(toolbar) {
|
282
|
+
var self = this;
|
283
|
+
var insertLinkModal = toolbar.find('.bootstrap-wysihtml5-insert-link-modal');
|
284
|
+
var urlInput = insertLinkModal.find('.bootstrap-wysihtml5-insert-link-url');
|
285
|
+
var insertButton = insertLinkModal.find('a.btn-primary');
|
286
|
+
var initialValue = urlInput.val();
|
287
|
+
var caretBookmark;
|
288
|
+
|
289
|
+
var insertLink = function() {
|
290
|
+
var url = urlInput.val();
|
291
|
+
urlInput.val(initialValue);
|
292
|
+
self.editor.currentView.element.focus();
|
293
|
+
if (caretBookmark) {
|
294
|
+
self.editor.composer.selection.setBookmark(caretBookmark);
|
295
|
+
caretBookmark = null;
|
296
|
+
}
|
297
|
+
self.editor.composer.commands.exec("createLink", {
|
298
|
+
href: url,
|
299
|
+
target: "_blank",
|
300
|
+
rel: "nofollow"
|
301
|
+
});
|
302
|
+
};
|
303
|
+
var pressedEnter = false;
|
304
|
+
|
305
|
+
urlInput.keypress(function(e) {
|
306
|
+
if(e.which == 13) {
|
307
|
+
insertLink();
|
308
|
+
insertLinkModal.modal('hide');
|
309
|
+
}
|
310
|
+
});
|
311
|
+
|
312
|
+
insertButton.click(insertLink);
|
313
|
+
|
314
|
+
insertLinkModal.on('shown', function() {
|
315
|
+
urlInput.focus();
|
316
|
+
});
|
317
|
+
|
318
|
+
insertLinkModal.on('hide', function() {
|
319
|
+
self.editor.currentView.element.focus();
|
320
|
+
});
|
321
|
+
|
322
|
+
toolbar.find('a[data-wysihtml5-command=createLink]').click(function() {
|
323
|
+
var activeButton = $(this).hasClass("wysihtml5-command-active");
|
324
|
+
|
325
|
+
if (!activeButton) {
|
326
|
+
self.editor.currentView.element.focus(false);
|
327
|
+
caretBookmark = self.editor.composer.selection.getBookmark();
|
328
|
+
insertLinkModal.appendTo('body').modal('show');
|
329
|
+
insertLinkModal.on('click.dismiss.modal', '[data-dismiss="modal"]', function(e) {
|
330
|
+
e.stopPropagation();
|
331
|
+
});
|
332
|
+
return false;
|
333
|
+
}
|
334
|
+
else {
|
335
|
+
return true;
|
336
|
+
}
|
337
|
+
});
|
338
|
+
}
|
339
|
+
};
|
340
|
+
|
341
|
+
// these define our public api
|
342
|
+
var methods = {
|
343
|
+
resetDefaults: function() {
|
344
|
+
$.fn.wysihtml5.defaultOptions = $.extend(true, {}, $.fn.wysihtml5.defaultOptionsCache);
|
345
|
+
},
|
346
|
+
bypassDefaults: function(options) {
|
347
|
+
return this.each(function () {
|
348
|
+
var $this = $(this);
|
349
|
+
$this.data('wysihtml5', new Wysihtml5($this, options));
|
350
|
+
});
|
351
|
+
},
|
352
|
+
shallowExtend: function (options) {
|
353
|
+
var settings = $.extend({}, $.fn.wysihtml5.defaultOptions, options || {});
|
354
|
+
var that = this;
|
355
|
+
return methods.bypassDefaults.apply(that, [settings]);
|
356
|
+
},
|
357
|
+
deepExtend: function(options) {
|
358
|
+
var settings = $.extend(true, {}, $.fn.wysihtml5.defaultOptions, options || {});
|
359
|
+
var that = this;
|
360
|
+
return methods.bypassDefaults.apply(that, [settings]);
|
361
|
+
},
|
362
|
+
init: function(options) {
|
363
|
+
var that = this;
|
364
|
+
return methods.shallowExtend.apply(that, [options]);
|
365
|
+
}
|
366
|
+
};
|
367
|
+
|
368
|
+
$.fn.wysihtml5 = function ( method ) {
|
369
|
+
if ( methods[method] ) {
|
370
|
+
return methods[method].apply( this, Array.prototype.slice.call( arguments, 1 ));
|
371
|
+
} else if ( typeof method === 'object' || ! method ) {
|
372
|
+
return methods.init.apply( this, arguments );
|
373
|
+
} else {
|
374
|
+
$.error( 'Method ' + method + ' does not exist on jQuery.wysihtml5' );
|
375
|
+
}
|
376
|
+
};
|
377
|
+
|
378
|
+
$.fn.wysihtml5.Constructor = Wysihtml5;
|
379
|
+
|
380
|
+
var defaultOptions = $.fn.wysihtml5.defaultOptions = {
|
381
|
+
"font-styles": true,
|
382
|
+
"color": false,
|
383
|
+
"emphasis": true,
|
384
|
+
"lists": true,
|
385
|
+
"html": false,
|
386
|
+
"link": true,
|
387
|
+
"image": true,
|
388
|
+
events: {},
|
389
|
+
parserRules: {
|
390
|
+
classes: {
|
391
|
+
// (path_to_project/lib/css/wysiwyg-color.css)
|
392
|
+
"wysiwyg-color-silver" : 1,
|
393
|
+
"wysiwyg-color-gray" : 1,
|
394
|
+
"wysiwyg-color-white" : 1,
|
395
|
+
"wysiwyg-color-maroon" : 1,
|
396
|
+
"wysiwyg-color-red" : 1,
|
397
|
+
"wysiwyg-color-purple" : 1,
|
398
|
+
"wysiwyg-color-fuchsia" : 1,
|
399
|
+
"wysiwyg-color-green" : 1,
|
400
|
+
"wysiwyg-color-lime" : 1,
|
401
|
+
"wysiwyg-color-olive" : 1,
|
402
|
+
"wysiwyg-color-yellow" : 1,
|
403
|
+
"wysiwyg-color-navy" : 1,
|
404
|
+
"wysiwyg-color-blue" : 1,
|
405
|
+
"wysiwyg-color-teal" : 1,
|
406
|
+
"wysiwyg-color-aqua" : 1,
|
407
|
+
"wysiwyg-color-orange" : 1
|
408
|
+
},
|
409
|
+
tags: {
|
410
|
+
"b": {},
|
411
|
+
"i": {},
|
412
|
+
"br": {},
|
413
|
+
"ol": {},
|
414
|
+
"ul": {},
|
415
|
+
"li": {},
|
416
|
+
"h1": {},
|
417
|
+
"h2": {},
|
418
|
+
"h3": {},
|
419
|
+
"blockquote": {},
|
420
|
+
"u": 1,
|
421
|
+
"img": {
|
422
|
+
"check_attributes": {
|
423
|
+
"width": "numbers",
|
424
|
+
"alt": "alt",
|
425
|
+
"src": "url",
|
426
|
+
"height": "numbers"
|
427
|
+
}
|
428
|
+
},
|
429
|
+
"a": {
|
430
|
+
set_attributes: {
|
431
|
+
target: "_blank",
|
432
|
+
rel: "nofollow"
|
433
|
+
},
|
434
|
+
check_attributes: {
|
435
|
+
href: "url" // important to avoid XSS
|
436
|
+
}
|
437
|
+
},
|
438
|
+
"span": 1,
|
439
|
+
"div": 1,
|
440
|
+
// to allow save and edit files with code tag hacks
|
441
|
+
"code": 1,
|
442
|
+
"pre": 1
|
443
|
+
}
|
444
|
+
},
|
445
|
+
locale: "en"
|
446
|
+
};
|
447
|
+
|
448
|
+
if (typeof $.fn.wysihtml5.defaultOptionsCache === 'undefined') {
|
449
|
+
$.fn.wysihtml5.defaultOptionsCache = $.extend(true, {}, $.fn.wysihtml5.defaultOptions);
|
450
|
+
}
|
451
|
+
|
452
|
+
var locale = $.fn.wysihtml5.locale = {
|
453
|
+
en: {
|
454
|
+
font_styles: {
|
455
|
+
normal: "Normal text",
|
456
|
+
h1: "Heading 1",
|
457
|
+
h2: "Heading 2",
|
458
|
+
h3: "Heading 3"
|
459
|
+
},
|
460
|
+
emphasis: {
|
461
|
+
bold: "Bold",
|
462
|
+
italic: "Italic",
|
463
|
+
underline: "Underline"
|
464
|
+
},
|
465
|
+
lists: {
|
466
|
+
unordered: "Unordered list",
|
467
|
+
ordered: "Ordered list",
|
468
|
+
outdent: "Outdent",
|
469
|
+
indent: "Indent"
|
470
|
+
},
|
471
|
+
link: {
|
472
|
+
insert: "Insert link",
|
473
|
+
cancel: "Cancel"
|
474
|
+
},
|
475
|
+
image: {
|
476
|
+
insert: "Insert image",
|
477
|
+
cancel: "Cancel"
|
478
|
+
},
|
479
|
+
html: {
|
480
|
+
edit: "Edit HTML"
|
481
|
+
},
|
482
|
+
colours: {
|
483
|
+
black: "Black",
|
484
|
+
silver: "Silver",
|
485
|
+
gray: "Grey",
|
486
|
+
maroon: "Maroon",
|
487
|
+
red: "Red",
|
488
|
+
purple: "Purple",
|
489
|
+
green: "Green",
|
490
|
+
olive: "Olive",
|
491
|
+
navy: "Navy",
|
492
|
+
blue: "Blue",
|
493
|
+
orange: "Orange"
|
494
|
+
}
|
495
|
+
}
|
496
|
+
};
|
497
|
+
|
498
|
+
}(window.jQuery, window.wysihtml5);
|
@@ -0,0 +1,6 @@
|
|
1
|
+
//! moment.js
|
2
|
+
//! version : 2.5.1
|
3
|
+
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
4
|
+
//! license : MIT
|
5
|
+
//! momentjs.com
|
6
|
+
(function(a){function b(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function c(a,b){return function(c){return k(a.call(this,c),b)}}function d(a,b){return function(c){return this.lang().ordinal(a.call(this,c),b)}}function e(){}function f(a){w(a),h(this,a)}function g(a){var b=q(a),c=b.year||0,d=b.month||0,e=b.week||0,f=b.day||0,g=b.hour||0,h=b.minute||0,i=b.second||0,j=b.millisecond||0;this._milliseconds=+j+1e3*i+6e4*h+36e5*g,this._days=+f+7*e,this._months=+d+12*c,this._data={},this._bubble()}function h(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return b.hasOwnProperty("toString")&&(a.toString=b.toString),b.hasOwnProperty("valueOf")&&(a.valueOf=b.valueOf),a}function i(a){var b,c={};for(b in a)a.hasOwnProperty(b)&&qb.hasOwnProperty(b)&&(c[b]=a[b]);return c}function j(a){return 0>a?Math.ceil(a):Math.floor(a)}function k(a,b,c){for(var d=""+Math.abs(a),e=a>=0;d.length<b;)d="0"+d;return(e?c?"+":"":"-")+d}function l(a,b,c,d){var e,f,g=b._milliseconds,h=b._days,i=b._months;g&&a._d.setTime(+a._d+g*c),(h||i)&&(e=a.minute(),f=a.hour()),h&&a.date(a.date()+h*c),i&&a.month(a.month()+i*c),g&&!d&&db.updateOffset(a),(h||i)&&(a.minute(e),a.hour(f))}function m(a){return"[object Array]"===Object.prototype.toString.call(a)}function n(a){return"[object Date]"===Object.prototype.toString.call(a)||a instanceof Date}function o(a,b,c){var d,e=Math.min(a.length,b.length),f=Math.abs(a.length-b.length),g=0;for(d=0;e>d;d++)(c&&a[d]!==b[d]||!c&&s(a[d])!==s(b[d]))&&g++;return g+f}function p(a){if(a){var b=a.toLowerCase().replace(/(.)s$/,"$1");a=Tb[a]||Ub[b]||b}return a}function q(a){var b,c,d={};for(c in a)a.hasOwnProperty(c)&&(b=p(c),b&&(d[b]=a[c]));return d}function r(b){var c,d;if(0===b.indexOf("week"))c=7,d="day";else{if(0!==b.indexOf("month"))return;c=12,d="month"}db[b]=function(e,f){var g,h,i=db.fn._lang[b],j=[];if("number"==typeof e&&(f=e,e=a),h=function(a){var b=db().utc().set(d,a);return i.call(db.fn._lang,b,e||"")},null!=f)return h(f);for(g=0;c>g;g++)j.push(h(g));return j}}function s(a){var b=+a,c=0;return 0!==b&&isFinite(b)&&(c=b>=0?Math.floor(b):Math.ceil(b)),c}function t(a,b){return new Date(Date.UTC(a,b+1,0)).getUTCDate()}function u(a){return v(a)?366:365}function v(a){return a%4===0&&a%100!==0||a%400===0}function w(a){var b;a._a&&-2===a._pf.overflow&&(b=a._a[jb]<0||a._a[jb]>11?jb:a._a[kb]<1||a._a[kb]>t(a._a[ib],a._a[jb])?kb:a._a[lb]<0||a._a[lb]>23?lb:a._a[mb]<0||a._a[mb]>59?mb:a._a[nb]<0||a._a[nb]>59?nb:a._a[ob]<0||a._a[ob]>999?ob:-1,a._pf._overflowDayOfYear&&(ib>b||b>kb)&&(b=kb),a._pf.overflow=b)}function x(a){return null==a._isValid&&(a._isValid=!isNaN(a._d.getTime())&&a._pf.overflow<0&&!a._pf.empty&&!a._pf.invalidMonth&&!a._pf.nullInput&&!a._pf.invalidFormat&&!a._pf.userInvalidated,a._strict&&(a._isValid=a._isValid&&0===a._pf.charsLeftOver&&0===a._pf.unusedTokens.length)),a._isValid}function y(a){return a?a.toLowerCase().replace("_","-"):a}function z(a,b){return b._isUTC?db(a).zone(b._offset||0):db(a).local()}function A(a,b){return b.abbr=a,pb[a]||(pb[a]=new e),pb[a].set(b),pb[a]}function B(a){delete pb[a]}function C(a){var b,c,d,e,f=0,g=function(a){if(!pb[a]&&rb)try{require("./lang/"+a)}catch(b){}return pb[a]};if(!a)return db.fn._lang;if(!m(a)){if(c=g(a))return c;a=[a]}for(;f<a.length;){for(e=y(a[f]).split("-"),b=e.length,d=y(a[f+1]),d=d?d.split("-"):null;b>0;){if(c=g(e.slice(0,b).join("-")))return c;if(d&&d.length>=b&&o(e,d,!0)>=b-1)break;b--}f++}return db.fn._lang}function D(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function E(a){var b,c,d=a.match(vb);for(b=0,c=d.length;c>b;b++)d[b]=Yb[d[b]]?Yb[d[b]]:D(d[b]);return function(e){var f="";for(b=0;c>b;b++)f+=d[b]instanceof Function?d[b].call(e,a):d[b];return f}}function F(a,b){return a.isValid()?(b=G(b,a.lang()),Vb[b]||(Vb[b]=E(b)),Vb[b](a)):a.lang().invalidDate()}function G(a,b){function c(a){return b.longDateFormat(a)||a}var d=5;for(wb.lastIndex=0;d>=0&&wb.test(a);)a=a.replace(wb,c),wb.lastIndex=0,d-=1;return a}function H(a,b){var c,d=b._strict;switch(a){case"DDDD":return Ib;case"YYYY":case"GGGG":case"gggg":return d?Jb:zb;case"Y":case"G":case"g":return Lb;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return d?Kb:Ab;case"S":if(d)return Gb;case"SS":if(d)return Hb;case"SSS":if(d)return Ib;case"DDD":return yb;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return Cb;case"a":case"A":return C(b._l)._meridiemParse;case"X":return Fb;case"Z":case"ZZ":return Db;case"T":return Eb;case"SSSS":return Bb;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return d?Hb:xb;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return xb;default:return c=new RegExp(P(O(a.replace("\\","")),"i"))}}function I(a){a=a||"";var b=a.match(Db)||[],c=b[b.length-1]||[],d=(c+"").match(Qb)||["-",0,0],e=+(60*d[1])+s(d[2]);return"+"===d[0]?-e:e}function J(a,b,c){var d,e=c._a;switch(a){case"M":case"MM":null!=b&&(e[jb]=s(b)-1);break;case"MMM":case"MMMM":d=C(c._l).monthsParse(b),null!=d?e[jb]=d:c._pf.invalidMonth=b;break;case"D":case"DD":null!=b&&(e[kb]=s(b));break;case"DDD":case"DDDD":null!=b&&(c._dayOfYear=s(b));break;case"YY":e[ib]=s(b)+(s(b)>68?1900:2e3);break;case"YYYY":case"YYYYY":case"YYYYYY":e[ib]=s(b);break;case"a":case"A":c._isPm=C(c._l).isPM(b);break;case"H":case"HH":case"h":case"hh":e[lb]=s(b);break;case"m":case"mm":e[mb]=s(b);break;case"s":case"ss":e[nb]=s(b);break;case"S":case"SS":case"SSS":case"SSSS":e[ob]=s(1e3*("0."+b));break;case"X":c._d=new Date(1e3*parseFloat(b));break;case"Z":case"ZZ":c._useUTC=!0,c._tzm=I(b);break;case"w":case"ww":case"W":case"WW":case"d":case"dd":case"ddd":case"dddd":case"e":case"E":a=a.substr(0,1);case"gg":case"gggg":case"GG":case"GGGG":case"GGGGG":a=a.substr(0,2),b&&(c._w=c._w||{},c._w[a]=b)}}function K(a){var b,c,d,e,f,g,h,i,j,k,l=[];if(!a._d){for(d=M(a),a._w&&null==a._a[kb]&&null==a._a[jb]&&(f=function(b){var c=parseInt(b,10);return b?b.length<3?c>68?1900+c:2e3+c:c:null==a._a[ib]?db().weekYear():a._a[ib]},g=a._w,null!=g.GG||null!=g.W||null!=g.E?h=Z(f(g.GG),g.W||1,g.E,4,1):(i=C(a._l),j=null!=g.d?V(g.d,i):null!=g.e?parseInt(g.e,10)+i._week.dow:0,k=parseInt(g.w,10)||1,null!=g.d&&j<i._week.dow&&k++,h=Z(f(g.gg),k,j,i._week.doy,i._week.dow)),a._a[ib]=h.year,a._dayOfYear=h.dayOfYear),a._dayOfYear&&(e=null==a._a[ib]?d[ib]:a._a[ib],a._dayOfYear>u(e)&&(a._pf._overflowDayOfYear=!0),c=U(e,0,a._dayOfYear),a._a[jb]=c.getUTCMonth(),a._a[kb]=c.getUTCDate()),b=0;3>b&&null==a._a[b];++b)a._a[b]=l[b]=d[b];for(;7>b;b++)a._a[b]=l[b]=null==a._a[b]?2===b?1:0:a._a[b];l[lb]+=s((a._tzm||0)/60),l[mb]+=s((a._tzm||0)%60),a._d=(a._useUTC?U:T).apply(null,l)}}function L(a){var b;a._d||(b=q(a._i),a._a=[b.year,b.month,b.day,b.hour,b.minute,b.second,b.millisecond],K(a))}function M(a){var b=new Date;return a._useUTC?[b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()]:[b.getFullYear(),b.getMonth(),b.getDate()]}function N(a){a._a=[],a._pf.empty=!0;var b,c,d,e,f,g=C(a._l),h=""+a._i,i=h.length,j=0;for(d=G(a._f,g).match(vb)||[],b=0;b<d.length;b++)e=d[b],c=(h.match(H(e,a))||[])[0],c&&(f=h.substr(0,h.indexOf(c)),f.length>0&&a._pf.unusedInput.push(f),h=h.slice(h.indexOf(c)+c.length),j+=c.length),Yb[e]?(c?a._pf.empty=!1:a._pf.unusedTokens.push(e),J(e,c,a)):a._strict&&!c&&a._pf.unusedTokens.push(e);a._pf.charsLeftOver=i-j,h.length>0&&a._pf.unusedInput.push(h),a._isPm&&a._a[lb]<12&&(a._a[lb]+=12),a._isPm===!1&&12===a._a[lb]&&(a._a[lb]=0),K(a),w(a)}function O(a){return a.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,b,c,d,e){return b||c||d||e})}function P(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Q(a){var c,d,e,f,g;if(0===a._f.length)return a._pf.invalidFormat=!0,a._d=new Date(0/0),void 0;for(f=0;f<a._f.length;f++)g=0,c=h({},a),c._pf=b(),c._f=a._f[f],N(c),x(c)&&(g+=c._pf.charsLeftOver,g+=10*c._pf.unusedTokens.length,c._pf.score=g,(null==e||e>g)&&(e=g,d=c));h(a,d||c)}function R(a){var b,c,d=a._i,e=Mb.exec(d);if(e){for(a._pf.iso=!0,b=0,c=Ob.length;c>b;b++)if(Ob[b][1].exec(d)){a._f=Ob[b][0]+(e[6]||" ");break}for(b=0,c=Pb.length;c>b;b++)if(Pb[b][1].exec(d)){a._f+=Pb[b][0];break}d.match(Db)&&(a._f+="Z"),N(a)}else a._d=new Date(d)}function S(b){var c=b._i,d=sb.exec(c);c===a?b._d=new Date:d?b._d=new Date(+d[1]):"string"==typeof c?R(b):m(c)?(b._a=c.slice(0),K(b)):n(c)?b._d=new Date(+c):"object"==typeof c?L(b):b._d=new Date(c)}function T(a,b,c,d,e,f,g){var h=new Date(a,b,c,d,e,f,g);return 1970>a&&h.setFullYear(a),h}function U(a){var b=new Date(Date.UTC.apply(null,arguments));return 1970>a&&b.setUTCFullYear(a),b}function V(a,b){if("string"==typeof a)if(isNaN(a)){if(a=b.weekdaysParse(a),"number"!=typeof a)return null}else a=parseInt(a,10);return a}function W(a,b,c,d,e){return e.relativeTime(b||1,!!c,a,d)}function X(a,b,c){var d=hb(Math.abs(a)/1e3),e=hb(d/60),f=hb(e/60),g=hb(f/24),h=hb(g/365),i=45>d&&["s",d]||1===e&&["m"]||45>e&&["mm",e]||1===f&&["h"]||22>f&&["hh",f]||1===g&&["d"]||25>=g&&["dd",g]||45>=g&&["M"]||345>g&&["MM",hb(g/30)]||1===h&&["y"]||["yy",h];return i[2]=b,i[3]=a>0,i[4]=c,W.apply({},i)}function Y(a,b,c){var d,e=c-b,f=c-a.day();return f>e&&(f-=7),e-7>f&&(f+=7),d=db(a).add("d",f),{week:Math.ceil(d.dayOfYear()/7),year:d.year()}}function Z(a,b,c,d,e){var f,g,h=U(a,0,1).getUTCDay();return c=null!=c?c:e,f=e-h+(h>d?7:0)-(e>h?7:0),g=7*(b-1)+(c-e)+f+1,{year:g>0?a:a-1,dayOfYear:g>0?g:u(a-1)+g}}function $(a){var b=a._i,c=a._f;return null===b?db.invalid({nullInput:!0}):("string"==typeof b&&(a._i=b=C().preparse(b)),db.isMoment(b)?(a=i(b),a._d=new Date(+b._d)):c?m(c)?Q(a):N(a):S(a),new f(a))}function _(a,b){db.fn[a]=db.fn[a+"s"]=function(a){var c=this._isUTC?"UTC":"";return null!=a?(this._d["set"+c+b](a),db.updateOffset(this),this):this._d["get"+c+b]()}}function ab(a){db.duration.fn[a]=function(){return this._data[a]}}function bb(a,b){db.duration.fn["as"+a]=function(){return+this/b}}function cb(a){var b=!1,c=db;"undefined"==typeof ender&&(a?(gb.moment=function(){return!b&&console&&console.warn&&(b=!0,console.warn("Accessing Moment through the global scope is deprecated, and will be removed in an upcoming release.")),c.apply(null,arguments)},h(gb.moment,c)):gb.moment=db)}for(var db,eb,fb="2.5.1",gb=this,hb=Math.round,ib=0,jb=1,kb=2,lb=3,mb=4,nb=5,ob=6,pb={},qb={_isAMomentObject:null,_i:null,_f:null,_l:null,_strict:null,_isUTC:null,_offset:null,_pf:null,_lang:null},rb="undefined"!=typeof module&&module.exports&&"undefined"!=typeof require,sb=/^\/?Date\((\-?\d+)/i,tb=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,ub=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,vb=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|X|zz?|ZZ?|.)/g,wb=/(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g,xb=/\d\d?/,yb=/\d{1,3}/,zb=/\d{1,4}/,Ab=/[+\-]?\d{1,6}/,Bb=/\d+/,Cb=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Db=/Z|[\+\-]\d\d:?\d\d/gi,Eb=/T/i,Fb=/[\+\-]?\d+(\.\d{1,3})?/,Gb=/\d/,Hb=/\d\d/,Ib=/\d{3}/,Jb=/\d{4}/,Kb=/[+-]?\d{6}/,Lb=/[+-]?\d+/,Mb=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Nb="YYYY-MM-DDTHH:mm:ssZ",Ob=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],Pb=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d{1,3}/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],Qb=/([\+\-]|\d\d)/gi,Rb="Date|Hours|Minutes|Seconds|Milliseconds".split("|"),Sb={Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6},Tb={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},Ub={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},Vb={},Wb="DDD w W M D d".split(" "),Xb="M D H h m s w W".split(" "),Yb={M:function(){return this.month()+1},MMM:function(a){return this.lang().monthsShort(this,a)},MMMM:function(a){return this.lang().months(this,a)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(a){return this.lang().weekdaysMin(this,a)},ddd:function(a){return this.lang().weekdaysShort(this,a)},dddd:function(a){return this.lang().weekdays(this,a)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return k(this.year()%100,2)},YYYY:function(){return k(this.year(),4)},YYYYY:function(){return k(this.year(),5)},YYYYYY:function(){var a=this.year(),b=a>=0?"+":"-";return b+k(Math.abs(a),6)},gg:function(){return k(this.weekYear()%100,2)},gggg:function(){return k(this.weekYear(),4)},ggggg:function(){return k(this.weekYear(),5)},GG:function(){return k(this.isoWeekYear()%100,2)},GGGG:function(){return k(this.isoWeekYear(),4)},GGGGG:function(){return k(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.lang().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.lang().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return s(this.milliseconds()/100)},SS:function(){return k(s(this.milliseconds()/10),2)},SSS:function(){return k(this.milliseconds(),3)},SSSS:function(){return k(this.milliseconds(),3)},Z:function(){var a=-this.zone(),b="+";return 0>a&&(a=-a,b="-"),b+k(s(a/60),2)+":"+k(s(a)%60,2)},ZZ:function(){var a=-this.zone(),b="+";return 0>a&&(a=-a,b="-"),b+k(s(a/60),2)+k(s(a)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},X:function(){return this.unix()},Q:function(){return this.quarter()}},Zb=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"];Wb.length;)eb=Wb.pop(),Yb[eb+"o"]=d(Yb[eb],eb);for(;Xb.length;)eb=Xb.pop(),Yb[eb+eb]=c(Yb[eb],2);for(Yb.DDDD=c(Yb.DDD,3),h(e.prototype,{set:function(a){var b,c;for(c in a)b=a[c],"function"==typeof b?this[c]=b:this["_"+c]=b},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(a){return this._months[a.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(a){return this._monthsShort[a.month()]},monthsParse:function(a){var b,c,d;for(this._monthsParse||(this._monthsParse=[]),b=0;12>b;b++)if(this._monthsParse[b]||(c=db.utc([2e3,b]),d="^"+this.months(c,"")+"|^"+this.monthsShort(c,""),this._monthsParse[b]=new RegExp(d.replace(".",""),"i")),this._monthsParse[b].test(a))return b},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(a){return this._weekdays[a.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(a){return this._weekdaysShort[a.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(a){return this._weekdaysMin[a.day()]},weekdaysParse:function(a){var b,c,d;for(this._weekdaysParse||(this._weekdaysParse=[]),b=0;7>b;b++)if(this._weekdaysParse[b]||(c=db([2e3,1]).day(b),d="^"+this.weekdays(c,"")+"|^"+this.weekdaysShort(c,"")+"|^"+this.weekdaysMin(c,""),this._weekdaysParse[b]=new RegExp(d.replace(".",""),"i")),this._weekdaysParse[b].test(a))return b},_longDateFormat:{LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D YYYY",LLL:"MMMM D YYYY LT",LLLL:"dddd, MMMM D YYYY LT"},longDateFormat:function(a){var b=this._longDateFormat[a];return!b&&this._longDateFormat[a.toUpperCase()]&&(b=this._longDateFormat[a.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(a){return a.slice(1)}),this._longDateFormat[a]=b),b},isPM:function(a){return"p"===(a+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(a,b,c){return a>11?c?"pm":"PM":c?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(a,b){var c=this._calendar[a];return"function"==typeof c?c.apply(b):c},_relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},relativeTime:function(a,b,c,d){var e=this._relativeTime[c];return"function"==typeof e?e(a,b,c,d):e.replace(/%d/i,a)},pastFuture:function(a,b){var c=this._relativeTime[a>0?"future":"past"];return"function"==typeof c?c(b):c.replace(/%s/i,b)},ordinal:function(a){return this._ordinal.replace("%d",a)},_ordinal:"%d",preparse:function(a){return a},postformat:function(a){return a},week:function(a){return Y(a,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),db=function(c,d,e,f){var g;return"boolean"==typeof e&&(f=e,e=a),g={},g._isAMomentObject=!0,g._i=c,g._f=d,g._l=e,g._strict=f,g._isUTC=!1,g._pf=b(),$(g)},db.utc=function(c,d,e,f){var g;return"boolean"==typeof e&&(f=e,e=a),g={},g._isAMomentObject=!0,g._useUTC=!0,g._isUTC=!0,g._l=e,g._i=c,g._f=d,g._strict=f,g._pf=b(),$(g).utc()},db.unix=function(a){return db(1e3*a)},db.duration=function(a,b){var c,d,e,f=a,h=null;return db.isDuration(a)?f={ms:a._milliseconds,d:a._days,M:a._months}:"number"==typeof a?(f={},b?f[b]=a:f.milliseconds=a):(h=tb.exec(a))?(c="-"===h[1]?-1:1,f={y:0,d:s(h[kb])*c,h:s(h[lb])*c,m:s(h[mb])*c,s:s(h[nb])*c,ms:s(h[ob])*c}):(h=ub.exec(a))&&(c="-"===h[1]?-1:1,e=function(a){var b=a&&parseFloat(a.replace(",","."));return(isNaN(b)?0:b)*c},f={y:e(h[2]),M:e(h[3]),d:e(h[4]),h:e(h[5]),m:e(h[6]),s:e(h[7]),w:e(h[8])}),d=new g(f),db.isDuration(a)&&a.hasOwnProperty("_lang")&&(d._lang=a._lang),d},db.version=fb,db.defaultFormat=Nb,db.updateOffset=function(){},db.lang=function(a,b){var c;return a?(b?A(y(a),b):null===b?(B(a),a="en"):pb[a]||C(a),c=db.duration.fn._lang=db.fn._lang=C(a),c._abbr):db.fn._lang._abbr},db.langData=function(a){return a&&a._lang&&a._lang._abbr&&(a=a._lang._abbr),C(a)},db.isMoment=function(a){return a instanceof f||null!=a&&a.hasOwnProperty("_isAMomentObject")},db.isDuration=function(a){return a instanceof g},eb=Zb.length-1;eb>=0;--eb)r(Zb[eb]);for(db.normalizeUnits=function(a){return p(a)},db.invalid=function(a){var b=db.utc(0/0);return null!=a?h(b._pf,a):b._pf.userInvalidated=!0,b},db.parseZone=function(a){return db(a).parseZone()},h(db.fn=f.prototype,{clone:function(){return db(this)},valueOf:function(){return+this._d+6e4*(this._offset||0)},unix:function(){return Math.floor(+this/1e3)},toString:function(){return this.clone().lang("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var a=db(this).utc();return 0<a.year()&&a.year()<=9999?F(a,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):F(a,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var a=this;return[a.year(),a.month(),a.date(),a.hours(),a.minutes(),a.seconds(),a.milliseconds()]},isValid:function(){return x(this)},isDSTShifted:function(){return this._a?this.isValid()&&o(this._a,(this._isUTC?db.utc(this._a):db(this._a)).toArray())>0:!1},parsingFlags:function(){return h({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(){return this.zone(0)},local:function(){return this.zone(0),this._isUTC=!1,this},format:function(a){var b=F(this,a||db.defaultFormat);return this.lang().postformat(b)},add:function(a,b){var c;return c="string"==typeof a?db.duration(+b,a):db.duration(a,b),l(this,c,1),this},subtract:function(a,b){var c;return c="string"==typeof a?db.duration(+b,a):db.duration(a,b),l(this,c,-1),this},diff:function(a,b,c){var d,e,f=z(a,this),g=6e4*(this.zone()-f.zone());return b=p(b),"year"===b||"month"===b?(d=432e5*(this.daysInMonth()+f.daysInMonth()),e=12*(this.year()-f.year())+(this.month()-f.month()),e+=(this-db(this).startOf("month")-(f-db(f).startOf("month")))/d,e-=6e4*(this.zone()-db(this).startOf("month").zone()-(f.zone()-db(f).startOf("month").zone()))/d,"year"===b&&(e/=12)):(d=this-f,e="second"===b?d/1e3:"minute"===b?d/6e4:"hour"===b?d/36e5:"day"===b?(d-g)/864e5:"week"===b?(d-g)/6048e5:d),c?e:j(e)},from:function(a,b){return db.duration(this.diff(a)).lang(this.lang()._abbr).humanize(!b)},fromNow:function(a){return this.from(db(),a)},calendar:function(){var a=z(db(),this).startOf("day"),b=this.diff(a,"days",!0),c=-6>b?"sameElse":-1>b?"lastWeek":0>b?"lastDay":1>b?"sameDay":2>b?"nextDay":7>b?"nextWeek":"sameElse";return this.format(this.lang().calendar(c,this))},isLeapYear:function(){return v(this.year())},isDST:function(){return this.zone()<this.clone().month(0).zone()||this.zone()<this.clone().month(5).zone()},day:function(a){var b=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=a?(a=V(a,this.lang()),this.add({d:a-b})):b},month:function(a){var b,c=this._isUTC?"UTC":"";return null!=a?"string"==typeof a&&(a=this.lang().monthsParse(a),"number"!=typeof a)?this:(b=this.date(),this.date(1),this._d["set"+c+"Month"](a),this.date(Math.min(b,this.daysInMonth())),db.updateOffset(this),this):this._d["get"+c+"Month"]()},startOf:function(a){switch(a=p(a)){case"year":this.month(0);case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===a?this.weekday(0):"isoWeek"===a&&this.isoWeekday(1),this},endOf:function(a){return a=p(a),this.startOf(a).add("isoWeek"===a?"week":a,1).subtract("ms",1)},isAfter:function(a,b){return b="undefined"!=typeof b?b:"millisecond",+this.clone().startOf(b)>+db(a).startOf(b)},isBefore:function(a,b){return b="undefined"!=typeof b?b:"millisecond",+this.clone().startOf(b)<+db(a).startOf(b)},isSame:function(a,b){return b=b||"ms",+this.clone().startOf(b)===+z(a,this).startOf(b)},min:function(a){return a=db.apply(null,arguments),this>a?this:a},max:function(a){return a=db.apply(null,arguments),a>this?this:a},zone:function(a){var b=this._offset||0;return null==a?this._isUTC?b:this._d.getTimezoneOffset():("string"==typeof a&&(a=I(a)),Math.abs(a)<16&&(a=60*a),this._offset=a,this._isUTC=!0,b!==a&&l(this,db.duration(b-a,"m"),1,!0),this)},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return this._tzm?this.zone(this._tzm):"string"==typeof this._i&&this.zone(this._i),this},hasAlignedHourOffset:function(a){return a=a?db(a).zone():0,(this.zone()-a)%60===0},daysInMonth:function(){return t(this.year(),this.month())},dayOfYear:function(a){var b=hb((db(this).startOf("day")-db(this).startOf("year"))/864e5)+1;return null==a?b:this.add("d",a-b)},quarter:function(){return Math.ceil((this.month()+1)/3)},weekYear:function(a){var b=Y(this,this.lang()._week.dow,this.lang()._week.doy).year;return null==a?b:this.add("y",a-b)},isoWeekYear:function(a){var b=Y(this,1,4).year;return null==a?b:this.add("y",a-b)},week:function(a){var b=this.lang().week(this);return null==a?b:this.add("d",7*(a-b))},isoWeek:function(a){var b=Y(this,1,4).week;return null==a?b:this.add("d",7*(a-b))},weekday:function(a){var b=(this.day()+7-this.lang()._week.dow)%7;return null==a?b:this.add("d",a-b)},isoWeekday:function(a){return null==a?this.day()||7:this.day(this.day()%7?a:a-7)},get:function(a){return a=p(a),this[a]()},set:function(a,b){return a=p(a),"function"==typeof this[a]&&this[a](b),this},lang:function(b){return b===a?this._lang:(this._lang=C(b),this)}}),eb=0;eb<Rb.length;eb++)_(Rb[eb].toLowerCase().replace(/s$/,""),Rb[eb]);_("year","FullYear"),db.fn.days=db.fn.day,db.fn.months=db.fn.month,db.fn.weeks=db.fn.week,db.fn.isoWeeks=db.fn.isoWeek,db.fn.toJSON=db.fn.toISOString,h(db.duration.fn=g.prototype,{_bubble:function(){var a,b,c,d,e=this._milliseconds,f=this._days,g=this._months,h=this._data;h.milliseconds=e%1e3,a=j(e/1e3),h.seconds=a%60,b=j(a/60),h.minutes=b%60,c=j(b/60),h.hours=c%24,f+=j(c/24),h.days=f%30,g+=j(f/30),h.months=g%12,d=j(g/12),h.years=d},weeks:function(){return j(this.days()/7)},valueOf:function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*s(this._months/12)},humanize:function(a){var b=+this,c=X(b,!a,this.lang());return a&&(c=this.lang().pastFuture(b,c)),this.lang().postformat(c)},add:function(a,b){var c=db.duration(a,b);return this._milliseconds+=c._milliseconds,this._days+=c._days,this._months+=c._months,this._bubble(),this},subtract:function(a,b){var c=db.duration(a,b);return this._milliseconds-=c._milliseconds,this._days-=c._days,this._months-=c._months,this._bubble(),this},get:function(a){return a=p(a),this[a.toLowerCase()+"s"]()},as:function(a){return a=p(a),this["as"+a.charAt(0).toUpperCase()+a.slice(1)+"s"]()},lang:db.fn.lang,toIsoString:function(){var a=Math.abs(this.years()),b=Math.abs(this.months()),c=Math.abs(this.days()),d=Math.abs(this.hours()),e=Math.abs(this.minutes()),f=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(a?a+"Y":"")+(b?b+"M":"")+(c?c+"D":"")+(d||e||f?"T":"")+(d?d+"H":"")+(e?e+"M":"")+(f?f+"S":""):"P0D"}});for(eb in Sb)Sb.hasOwnProperty(eb)&&(bb(eb,Sb[eb]),ab(eb.toLowerCase()));bb("Weeks",6048e5),db.duration.fn.asMonths=function(){return(+this-31536e6*this.years())/2592e6+12*this.years()},db.lang("en",{ordinal:function(a){var b=a%10,c=1===s(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}),rb?(module.exports=db,cb(!0)):"function"==typeof define&&define.amd?define("moment",function(b,c,d){return d.config&&d.config()&&d.config().noGlobal!==!0&&cb(d.config().noGlobal===a),db}):cb()}).call(this);
|