repsheet_visualizer 0.2.3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/Gemfile.lock +8 -6
- data/lib/repsheet_visualizer/application/app.rb +51 -5
- data/lib/repsheet_visualizer/application/backend.rb +27 -0
- data/lib/repsheet_visualizer/application/public/fonts/FontAwesome.otf +0 -0
- data/lib/repsheet_visualizer/application/public/fonts/fontawesome-webfont.eot +0 -0
- data/lib/repsheet_visualizer/application/public/fonts/fontawesome-webfont.svg +414 -0
- data/lib/repsheet_visualizer/application/public/fonts/fontawesome-webfont.ttf +0 -0
- data/lib/repsheet_visualizer/application/public/fonts/fontawesome-webfont.woff +0 -0
- data/lib/repsheet_visualizer/application/public/fonts/glyphicons-halflings-regular.eot +0 -0
- data/lib/repsheet_visualizer/application/public/fonts/glyphicons-halflings-regular.svg +228 -0
- data/lib/repsheet_visualizer/application/public/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/lib/repsheet_visualizer/application/public/fonts/glyphicons-halflings-regular.woff +0 -0
- data/lib/repsheet_visualizer/application/public/img/jquery/handle-vertical.png +0 -0
- data/lib/repsheet_visualizer/application/public/img/jquery/handle.png +0 -0
- data/lib/repsheet_visualizer/application/public/img/layout/sidebar-bg.png +0 -0
- data/lib/repsheet_visualizer/application/public/img/loaders/ajax-loader.gif +0 -0
- data/lib/repsheet_visualizer/application/public/img/photos/map.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/App.js +372 -0
- data/lib/repsheet_visualizer/application/public/js/Login.js +17 -0
- data/lib/repsheet_visualizer/application/public/js/demos/buttons.js +7 -0
- data/lib/repsheet_visualizer/application/public/js/demos/calendar.js +142 -0
- data/lib/repsheet_visualizer/application/public/js/demos/charts/flot/area.js +73 -0
- data/lib/repsheet_visualizer/application/public/js/demos/charts/flot/chart1.js +77 -0
- data/lib/repsheet_visualizer/application/public/js/demos/charts/flot/chart2.js +70 -0
- data/lib/repsheet_visualizer/application/public/js/demos/charts/flot/chart3.js +71 -0
- data/lib/repsheet_visualizer/application/public/js/demos/charts/flot/chart4.js +69 -0
- data/lib/repsheet_visualizer/application/public/js/demos/charts/flot/donut.js +49 -0
- data/lib/repsheet_visualizer/application/public/js/demos/charts/flot/horizontal.js +56 -0
- data/lib/repsheet_visualizer/application/public/js/demos/charts/flot/line.js +76 -0
- data/lib/repsheet_visualizer/application/public/js/demos/charts/flot/pie.js +50 -0
- data/lib/repsheet_visualizer/application/public/js/demos/charts/flot/scatter.js +62 -0
- data/lib/repsheet_visualizer/application/public/js/demos/charts/flot/stacked-area.js +86 -0
- data/lib/repsheet_visualizer/application/public/js/demos/charts/flot/stacked-horizontal.js +60 -0
- data/lib/repsheet_visualizer/application/public/js/demos/charts/flot/stacked-vertical.js +75 -0
- data/lib/repsheet_visualizer/application/public/js/demos/charts/flot/vertical.js +70 -0
- data/lib/repsheet_visualizer/application/public/js/demos/charts/morris/area.js +28 -0
- data/lib/repsheet_visualizer/application/public/js/demos/charts/morris/bar.js +29 -0
- data/lib/repsheet_visualizer/application/public/js/demos/charts/morris/donut.js +26 -0
- data/lib/repsheet_visualizer/application/public/js/demos/charts/morris/line.js +30 -0
- data/lib/repsheet_visualizer/application/public/js/demos/dashboard.js +26 -0
- data/lib/repsheet_visualizer/application/public/js/demos/form-extended.js +61 -0
- data/lib/repsheet_visualizer/application/public/js/demos/popups.js +16 -0
- data/lib/repsheet_visualizer/application/public/js/demos/pricing.js +10 -0
- data/lib/repsheet_visualizer/application/public/js/demos/sliders.js +77 -0
- data/lib/repsheet_visualizer/application/public/js/libs/bootstrap.js +1999 -0
- data/lib/repsheet_visualizer/application/public/js/libs/bootstrap.min.js +6 -0
- data/lib/repsheet_visualizer/application/public/js/libs/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/libs/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/libs/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/libs/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/libs/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/libs/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/libs/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/libs/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/libs/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/libs/css/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/libs/css/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/libs/css/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/libs/css/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/libs/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/libs/css/ui-lightness/jquery-ui-1.9.2.custom.css +294 -0
- data/lib/repsheet_visualizer/application/public/js/libs/css/ui-lightness/jquery-ui-1.9.2.custom.min.css +7 -0
- data/lib/repsheet_visualizer/application/public/js/libs/jquery-1.9.1.min.js +5 -0
- data/lib/repsheet_visualizer/application/public/js/libs/jquery-ui-1.9.2.custom.min.js +6 -0
- data/lib/repsheet_visualizer/application/public/js/libs/jquery.min.map +1 -0
- data/lib/repsheet_visualizer/application/public/js/libs/raphael-2.1.2.min.js +11 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/autosize/jquery.autosize.min.js +7 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/datatables/DT_bootstrap.js +148 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/datatables/img/Sorting icons.psd +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/datatables/img/back_disabled.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/datatables/img/back_enabled.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/datatables/img/back_enabled_hover.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/datatables/img/datatable-row-openclose.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/datatables/img/favicon.ico +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/datatables/img/forward_disabled.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/datatables/img/forward_enabled.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/datatables/img/forward_enabled_hover.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/datatables/img/sort_asc.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/datatables/img/sort_asc_disabled.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/datatables/img/sort_both.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/datatables/img/sort_desc.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/datatables/img/sort_desc_disabled.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/datatables/jquery.dataTables.min.js +155 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/datepicker/bootstrap-datepicker.js +1258 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/datepicker/datepicker.css +481 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/datepicker/less/datepicker.less +122 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/fileupload/bootstrap-fileupload.css +132 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/fileupload/bootstrap-fileupload.js +169 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/fileupload/bootstrap-fileupload.min.css +31 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/fileupload/bootstrap-fileupload.min.js +7 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/flot/jquery.flot.js +2599 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/flot/jquery.flot.orderBars.js +186 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/flot/jquery.flot.pie.js +750 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/flot/jquery.flot.resize.js +57 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/flot/jquery.flot.stack.js +184 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/flot/jquery.flot.tooltip.min.js +14 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/fullcalendar/fullcalendar.css +589 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/fullcalendar/fullcalendar.js +6110 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/fullcalendar/fullcalendar.min.js +7 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/fullcalendar/fullcalendar.print.css +32 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/fullcalendar/gcal.js +107 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/howl/howl.js +70 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/howl/howl.min.js +2 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/jquery.icheck.js +462 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/jquery.icheck.min.js +11 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/all.css +61 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/_all.css +540 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/aero.css +54 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/aero.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/aero@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/blue.css +54 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/blue.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/blue@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/flat.css +54 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/flat.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/flat@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/green.css +54 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/green.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/green@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/grey.css +54 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/grey.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/grey@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/orange.css +54 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/orange.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/orange@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/pink.css +54 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/pink.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/pink@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/purple.css +54 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/purple.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/purple@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/red.css +54 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/red.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/red@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/yellow.css +54 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/yellow.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/flat/yellow@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/futurico/futurico.css +54 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/futurico/futurico.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/futurico/futurico@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/line/_all.css +740 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/line/aero.css +74 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/line/blue.css +74 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/line/green.css +74 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/line/grey.css +74 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/line/line.css +74 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/line/line.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/line/line@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/line/orange.css +74 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/line/pink.css +74 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/line/purple.css +74 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/line/red.css +74 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/line/yellow.css +74 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/_all.css +600 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/aero.css +60 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/aero.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/aero@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/blue.css +60 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/blue.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/blue@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/green.css +60 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/green.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/green@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/grey.css +60 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/grey.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/grey@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/minimal.css +60 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/minimal.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/minimal@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/orange.css +60 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/orange.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/orange@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/pink.css +60 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/pink.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/pink@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/purple.css +60 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/purple.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/purple@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/red.css +60 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/red.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/red@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/yellow.css +60 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/yellow.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/minimal/yellow@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/polaris/polaris.css +60 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/polaris/polaris.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/polaris/polaris@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/_all.css +600 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/aero.css +60 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/aero.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/aero@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/blue.css +60 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/blue.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/blue@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/green.css +60 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/green.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/green@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/grey.css +60 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/grey.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/grey@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/orange.css +60 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/orange.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/orange@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/pink.css +60 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/pink.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/pink@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/purple.css +60 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/purple.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/purple@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/red.css +60 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/red.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/red@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/square.css +60 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/square.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/square@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/yellow.css +60 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/yellow.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/icheck/skins/square/yellow@2x.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/magnific/jquery.magnific-popup.js +2026 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/magnific/jquery.magnific-popup.min.js +4 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/magnific/magnific-popup.css +396 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/morris/morris.css +1 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/morris/morris.min.js +1 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/parsley/parsley.js +1363 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/select2/select2-spinner.gif +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/select2/select2.css +615 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/select2/select2.js +3217 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/select2/select2.min.js +22 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/select2/select2.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/select2/select2x2.png +0 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/simplecolorpicker/jquery.simplecolorpicker.css +98 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/simplecolorpicker/jquery.simplecolorpicker.js +211 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/sparkline/jquery.sparkline.min.js +5 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/tableCheckable/jquery.tableCheckable.js +122 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/textarea-counter/jquery.textarea-counter.js +163 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/timepicker/bootstrap-timepicker.css +121 -0
- data/lib/repsheet_visualizer/application/public/js/plugins/timepicker/bootstrap-timepicker.js +893 -0
- data/lib/repsheet_visualizer/application/public/stylesheets/App.css +3436 -0
- data/lib/repsheet_visualizer/application/public/stylesheets/Login.css +88 -0
- data/lib/repsheet_visualizer/application/public/stylesheets/bootstrap.min.css +9 -0
- data/lib/repsheet_visualizer/application/public/stylesheets/custom.css +0 -0
- data/lib/repsheet_visualizer/application/public/stylesheets/font-awesome.min.css +395 -0
- data/lib/repsheet_visualizer/application/views/actor.erb +169 -0
- data/lib/repsheet_visualizer/application/views/blacklist.erb +105 -0
- data/lib/repsheet_visualizer/application/views/index.erb +188 -0
- data/lib/repsheet_visualizer/application/views/layout.erb +73 -0
- data/lib/repsheet_visualizer/application/views/suspects.erb +105 -0
- data/lib/repsheet_visualizer/application/views/whitelist.erb +90 -78
- data/lib/repsheet_visualizer/application/views/worldview.erb +84 -78
- data/lib/repsheet_visualizer/version.rb +1 -1
- data/redesign/404.html +446 -0
- data/redesign/500.html +453 -0
- data/redesign/actor.html +237 -0
- data/redesign/blacklist.html +274 -0
- data/redesign/css/App.css +3436 -0
- data/redesign/css/Login.css +88 -0
- data/redesign/css/bootstrap.min.css +9 -0
- data/redesign/css/custom.css +0 -0
- data/redesign/css/font-awesome.min.css +395 -0
- data/redesign/fonts/FontAwesome.otf +0 -0
- data/redesign/fonts/fontawesome-webfont.eot +0 -0
- data/redesign/fonts/fontawesome-webfont.svg +414 -0
- data/redesign/fonts/fontawesome-webfont.ttf +0 -0
- data/redesign/fonts/fontawesome-webfont.woff +0 -0
- data/redesign/fonts/glyphicons-halflings-regular.eot +0 -0
- data/redesign/fonts/glyphicons-halflings-regular.svg +228 -0
- data/redesign/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/redesign/fonts/glyphicons-halflings-regular.woff +0 -0
- data/redesign/img/jquery/handle-vertical.png +0 -0
- data/redesign/img/jquery/handle.png +0 -0
- data/redesign/img/layout/sidebar-bg.png +0 -0
- data/redesign/img/loaders/ajax-loader.gif +0 -0
- data/redesign/img/photos/map.png +0 -0
- data/redesign/index.html +333 -0
- data/redesign/js/App.js +372 -0
- data/redesign/js/Login.js +17 -0
- data/redesign/js/demos/buttons.js +7 -0
- data/redesign/js/demos/calendar.js +142 -0
- data/redesign/js/demos/charts/flot/area.js +73 -0
- data/redesign/js/demos/charts/flot/chart1.js +77 -0
- data/redesign/js/demos/charts/flot/chart2.js +70 -0
- data/redesign/js/demos/charts/flot/chart3.js +71 -0
- data/redesign/js/demos/charts/flot/chart4.js +69 -0
- data/redesign/js/demos/charts/flot/donut.js +49 -0
- data/redesign/js/demos/charts/flot/horizontal.js +56 -0
- data/redesign/js/demos/charts/flot/line.js +76 -0
- data/redesign/js/demos/charts/flot/pie.js +50 -0
- data/redesign/js/demos/charts/flot/scatter.js +62 -0
- data/redesign/js/demos/charts/flot/stacked-area.js +86 -0
- data/redesign/js/demos/charts/flot/stacked-horizontal.js +60 -0
- data/redesign/js/demos/charts/flot/stacked-vertical.js +75 -0
- data/redesign/js/demos/charts/flot/vertical.js +70 -0
- data/redesign/js/demos/charts/morris/area.js +28 -0
- data/redesign/js/demos/charts/morris/bar.js +29 -0
- data/redesign/js/demos/charts/morris/donut.js +26 -0
- data/redesign/js/demos/charts/morris/line.js +30 -0
- data/redesign/js/demos/dashboard.js +26 -0
- data/redesign/js/demos/form-extended.js +61 -0
- data/redesign/js/demos/popups.js +16 -0
- data/redesign/js/demos/pricing.js +10 -0
- data/redesign/js/demos/sliders.js +77 -0
- data/redesign/js/libs/bootstrap.js +1999 -0
- data/redesign/js/libs/bootstrap.min.js +6 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/redesign/js/libs/css/ui-lightness/jquery-ui-1.9.2.custom.css +294 -0
- data/redesign/js/libs/css/ui-lightness/jquery-ui-1.9.2.custom.min.css +7 -0
- data/redesign/js/libs/jquery-1.9.1.min.js +5 -0
- data/redesign/js/libs/jquery-ui-1.9.2.custom.min.js +6 -0
- data/redesign/js/libs/jquery.min.map +1 -0
- data/redesign/js/libs/raphael-2.1.2.min.js +11 -0
- data/redesign/js/plugins/autosize/jquery.autosize.min.js +7 -0
- data/redesign/js/plugins/datatables/DT_bootstrap.js +148 -0
- data/redesign/js/plugins/datatables/img/Sorting icons.psd +0 -0
- data/redesign/js/plugins/datatables/img/back_disabled.png +0 -0
- data/redesign/js/plugins/datatables/img/back_enabled.png +0 -0
- data/redesign/js/plugins/datatables/img/back_enabled_hover.png +0 -0
- data/redesign/js/plugins/datatables/img/datatable-row-openclose.png +0 -0
- data/redesign/js/plugins/datatables/img/favicon.ico +0 -0
- data/redesign/js/plugins/datatables/img/forward_disabled.png +0 -0
- data/redesign/js/plugins/datatables/img/forward_enabled.png +0 -0
- data/redesign/js/plugins/datatables/img/forward_enabled_hover.png +0 -0
- data/redesign/js/plugins/datatables/img/sort_asc.png +0 -0
- data/redesign/js/plugins/datatables/img/sort_asc_disabled.png +0 -0
- data/redesign/js/plugins/datatables/img/sort_both.png +0 -0
- data/redesign/js/plugins/datatables/img/sort_desc.png +0 -0
- data/redesign/js/plugins/datatables/img/sort_desc_disabled.png +0 -0
- data/redesign/js/plugins/datatables/jquery.dataTables.min.js +155 -0
- data/redesign/js/plugins/datepicker/bootstrap-datepicker.js +1258 -0
- data/redesign/js/plugins/datepicker/datepicker.css +481 -0
- data/redesign/js/plugins/datepicker/less/datepicker.less +122 -0
- data/redesign/js/plugins/fileupload/bootstrap-fileupload.css +132 -0
- data/redesign/js/plugins/fileupload/bootstrap-fileupload.js +169 -0
- data/redesign/js/plugins/fileupload/bootstrap-fileupload.min.css +31 -0
- data/redesign/js/plugins/fileupload/bootstrap-fileupload.min.js +7 -0
- data/redesign/js/plugins/flot/jquery.flot.js +2599 -0
- data/redesign/js/plugins/flot/jquery.flot.orderBars.js +186 -0
- data/redesign/js/plugins/flot/jquery.flot.pie.js +750 -0
- data/redesign/js/plugins/flot/jquery.flot.resize.js +57 -0
- data/redesign/js/plugins/flot/jquery.flot.stack.js +184 -0
- data/redesign/js/plugins/flot/jquery.flot.tooltip.min.js +14 -0
- data/redesign/js/plugins/fullcalendar/fullcalendar.css +589 -0
- data/redesign/js/plugins/fullcalendar/fullcalendar.js +6110 -0
- data/redesign/js/plugins/fullcalendar/fullcalendar.min.js +7 -0
- data/redesign/js/plugins/fullcalendar/fullcalendar.print.css +32 -0
- data/redesign/js/plugins/fullcalendar/gcal.js +107 -0
- data/redesign/js/plugins/howl/howl.js +70 -0
- data/redesign/js/plugins/howl/howl.min.js +2 -0
- data/redesign/js/plugins/icheck/jquery.icheck.js +462 -0
- data/redesign/js/plugins/icheck/jquery.icheck.min.js +11 -0
- data/redesign/js/plugins/icheck/skins/all.css +61 -0
- data/redesign/js/plugins/icheck/skins/flat/_all.css +540 -0
- data/redesign/js/plugins/icheck/skins/flat/aero.css +54 -0
- data/redesign/js/plugins/icheck/skins/flat/aero.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/aero@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/blue.css +54 -0
- data/redesign/js/plugins/icheck/skins/flat/blue.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/blue@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/flat.css +54 -0
- data/redesign/js/plugins/icheck/skins/flat/flat.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/flat@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/green.css +54 -0
- data/redesign/js/plugins/icheck/skins/flat/green.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/green@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/grey.css +54 -0
- data/redesign/js/plugins/icheck/skins/flat/grey.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/grey@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/orange.css +54 -0
- data/redesign/js/plugins/icheck/skins/flat/orange.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/orange@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/pink.css +54 -0
- data/redesign/js/plugins/icheck/skins/flat/pink.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/pink@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/purple.css +54 -0
- data/redesign/js/plugins/icheck/skins/flat/purple.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/purple@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/red.css +54 -0
- data/redesign/js/plugins/icheck/skins/flat/red.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/red@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/yellow.css +54 -0
- data/redesign/js/plugins/icheck/skins/flat/yellow.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/yellow@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/futurico/futurico.css +54 -0
- data/redesign/js/plugins/icheck/skins/futurico/futurico.png +0 -0
- data/redesign/js/plugins/icheck/skins/futurico/futurico@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/line/_all.css +740 -0
- data/redesign/js/plugins/icheck/skins/line/aero.css +74 -0
- data/redesign/js/plugins/icheck/skins/line/blue.css +74 -0
- data/redesign/js/plugins/icheck/skins/line/green.css +74 -0
- data/redesign/js/plugins/icheck/skins/line/grey.css +74 -0
- data/redesign/js/plugins/icheck/skins/line/line.css +74 -0
- data/redesign/js/plugins/icheck/skins/line/line.png +0 -0
- data/redesign/js/plugins/icheck/skins/line/line@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/line/orange.css +74 -0
- data/redesign/js/plugins/icheck/skins/line/pink.css +74 -0
- data/redesign/js/plugins/icheck/skins/line/purple.css +74 -0
- data/redesign/js/plugins/icheck/skins/line/red.css +74 -0
- data/redesign/js/plugins/icheck/skins/line/yellow.css +74 -0
- data/redesign/js/plugins/icheck/skins/minimal/_all.css +600 -0
- data/redesign/js/plugins/icheck/skins/minimal/aero.css +60 -0
- data/redesign/js/plugins/icheck/skins/minimal/aero.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/aero@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/blue.css +60 -0
- data/redesign/js/plugins/icheck/skins/minimal/blue.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/blue@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/green.css +60 -0
- data/redesign/js/plugins/icheck/skins/minimal/green.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/green@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/grey.css +60 -0
- data/redesign/js/plugins/icheck/skins/minimal/grey.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/grey@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/minimal.css +60 -0
- data/redesign/js/plugins/icheck/skins/minimal/minimal.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/minimal@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/orange.css +60 -0
- data/redesign/js/plugins/icheck/skins/minimal/orange.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/orange@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/pink.css +60 -0
- data/redesign/js/plugins/icheck/skins/minimal/pink.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/pink@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/purple.css +60 -0
- data/redesign/js/plugins/icheck/skins/minimal/purple.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/purple@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/red.css +60 -0
- data/redesign/js/plugins/icheck/skins/minimal/red.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/red@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/yellow.css +60 -0
- data/redesign/js/plugins/icheck/skins/minimal/yellow.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/yellow@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/polaris/polaris.css +60 -0
- data/redesign/js/plugins/icheck/skins/polaris/polaris.png +0 -0
- data/redesign/js/plugins/icheck/skins/polaris/polaris@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/_all.css +600 -0
- data/redesign/js/plugins/icheck/skins/square/aero.css +60 -0
- data/redesign/js/plugins/icheck/skins/square/aero.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/aero@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/blue.css +60 -0
- data/redesign/js/plugins/icheck/skins/square/blue.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/blue@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/green.css +60 -0
- data/redesign/js/plugins/icheck/skins/square/green.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/green@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/grey.css +60 -0
- data/redesign/js/plugins/icheck/skins/square/grey.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/grey@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/orange.css +60 -0
- data/redesign/js/plugins/icheck/skins/square/orange.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/orange@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/pink.css +60 -0
- data/redesign/js/plugins/icheck/skins/square/pink.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/pink@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/purple.css +60 -0
- data/redesign/js/plugins/icheck/skins/square/purple.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/purple@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/red.css +60 -0
- data/redesign/js/plugins/icheck/skins/square/red.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/red@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/square.css +60 -0
- data/redesign/js/plugins/icheck/skins/square/square.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/square@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/yellow.css +60 -0
- data/redesign/js/plugins/icheck/skins/square/yellow.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/yellow@2x.png +0 -0
- data/redesign/js/plugins/magnific/jquery.magnific-popup.js +2026 -0
- data/redesign/js/plugins/magnific/jquery.magnific-popup.min.js +4 -0
- data/redesign/js/plugins/magnific/magnific-popup.css +396 -0
- data/redesign/js/plugins/morris/morris.css +1 -0
- data/redesign/js/plugins/morris/morris.min.js +1 -0
- data/redesign/js/plugins/parsley/parsley.js +1363 -0
- data/redesign/js/plugins/select2/select2-spinner.gif +0 -0
- data/redesign/js/plugins/select2/select2.css +615 -0
- data/redesign/js/plugins/select2/select2.js +3217 -0
- data/redesign/js/plugins/select2/select2.min.js +22 -0
- data/redesign/js/plugins/select2/select2.png +0 -0
- data/redesign/js/plugins/select2/select2x2.png +0 -0
- data/redesign/js/plugins/simplecolorpicker/jquery.simplecolorpicker.css +98 -0
- data/redesign/js/plugins/simplecolorpicker/jquery.simplecolorpicker.js +211 -0
- data/redesign/js/plugins/sparkline/jquery.sparkline.min.js +5 -0
- data/redesign/js/plugins/tableCheckable/jquery.tableCheckable.js +122 -0
- data/redesign/js/plugins/textarea-counter/jquery.textarea-counter.js +163 -0
- data/redesign/js/plugins/timepicker/bootstrap-timepicker.css +121 -0
- data/redesign/js/plugins/timepicker/bootstrap-timepicker.js +893 -0
- data/redesign/page-blank.html +417 -0
- data/redesign/suspects.html +273 -0
- data/redesign/whitelist.html +273 -0
- data/repsheet_visualizer.gemspec +1 -0
- data/script/fill +2 -0
- metadata +508 -5
- data/lib/repsheet_visualizer/application/views/activity.erb +0 -74
- data/lib/repsheet_visualizer/application/views/actors.erb +0 -130
@@ -0,0 +1,17 @@
|
|
1
|
+
var Login = function () {
|
2
|
+
"use strict";
|
3
|
+
|
4
|
+
return { init: init };
|
5
|
+
|
6
|
+
function init () {
|
7
|
+
$.support.placeholder = false;
|
8
|
+
var test = document.createElement('input');
|
9
|
+
if('placeholder' in test) $.support.placeholder = true;
|
10
|
+
|
11
|
+
if (!$.support.placeholder) {
|
12
|
+
$('#login-form').find ('label').show ();
|
13
|
+
}
|
14
|
+
}
|
15
|
+
} ();
|
16
|
+
|
17
|
+
$(function () { Login.init (); });
|
@@ -0,0 +1,142 @@
|
|
1
|
+
$(function () {
|
2
|
+
|
3
|
+
var date = new Date();
|
4
|
+
var d = date.getDate();
|
5
|
+
var m = date.getMonth();
|
6
|
+
var y = date.getFullYear();
|
7
|
+
|
8
|
+
$('#full-calendar').fullCalendar({
|
9
|
+
header: {
|
10
|
+
left: 'prev,next',
|
11
|
+
center: 'title',
|
12
|
+
right: 'month,agendaWeek,agendaDay'
|
13
|
+
},
|
14
|
+
editable: true,
|
15
|
+
droppable: true,
|
16
|
+
drop: function(date, allDay) { // this function is called when something is dropped
|
17
|
+
|
18
|
+
// retrieve the dropped element's stored Event Object
|
19
|
+
var originalEventObject = $(this).data('eventObject');
|
20
|
+
|
21
|
+
// we need to copy it, so that multiple events don't have a reference to the same object
|
22
|
+
var copiedEventObject = $.extend({}, originalEventObject);
|
23
|
+
|
24
|
+
// assign it the date that was reported
|
25
|
+
copiedEventObject.start = date;
|
26
|
+
copiedEventObject.allDay = allDay;
|
27
|
+
copiedEventObject.className = $(this).attr("data-category");
|
28
|
+
|
29
|
+
// render the event on the calendar
|
30
|
+
// the last `true` argument determines if the event "sticks" (http://arshaw.com/fullcalendar/docs/event_rendering/renderEvent/)
|
31
|
+
$('#full-calendar').fullCalendar('renderEvent', copiedEventObject, true);
|
32
|
+
|
33
|
+
// is the "remove after drop" checkbox checked?
|
34
|
+
//if ($('#drop-remove').is(':checked')) {
|
35
|
+
// if so, remove the element from the "Draggable Events" list
|
36
|
+
$(this).remove();
|
37
|
+
//}
|
38
|
+
|
39
|
+
},
|
40
|
+
|
41
|
+
events: [
|
42
|
+
{
|
43
|
+
title: 'All Day Event',
|
44
|
+
start: new Date(y, m, 1),
|
45
|
+
end: new Date (y, m, 2),
|
46
|
+
className: 'fc-red'
|
47
|
+
},
|
48
|
+
{
|
49
|
+
title: 'Long Event',
|
50
|
+
start: new Date(y, m, d-5),
|
51
|
+
end: new Date(y, m, d-2),
|
52
|
+
className: 'fc-yellow'
|
53
|
+
},
|
54
|
+
{
|
55
|
+
id: 999,
|
56
|
+
title: 'Repeating Event',
|
57
|
+
start: new Date(y, m, d-3, 16, 0),
|
58
|
+
allDay: false,
|
59
|
+
className: 'fc-grey'
|
60
|
+
},
|
61
|
+
{
|
62
|
+
id: 999,
|
63
|
+
title: 'Repeating Event',
|
64
|
+
start: new Date(y, m, d+1, 14, 0),
|
65
|
+
end: new Date(y, m, d+3, 14, 0),
|
66
|
+
allDay: false,
|
67
|
+
className: 'fc-charcoal'
|
68
|
+
},
|
69
|
+
{
|
70
|
+
title: 'Meeting',
|
71
|
+
start: new Date(y, m, d-13, 10, 30),
|
72
|
+
end: new Date (y,m,d-11, 10,30),
|
73
|
+
allDay: false,
|
74
|
+
className: 'fc-grey'
|
75
|
+
},
|
76
|
+
{
|
77
|
+
title: 'Lunch',
|
78
|
+
start: new Date(y, m, d, 12, 0),
|
79
|
+
end: new Date(y, m, d, 14, 0),
|
80
|
+
allDay: false,
|
81
|
+
className: 'fc-red'
|
82
|
+
}
|
83
|
+
]
|
84
|
+
});
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
$('#external-events div.external-event').each(function() {
|
90
|
+
|
91
|
+
// create an Event Object (http://arshaw.com/fullcalendar/docs/event_data/Event_Object/)
|
92
|
+
// it doesn't need to have a start or end
|
93
|
+
var eventObject = {
|
94
|
+
title: $.trim($(this).text()) // use the element's text as the event title
|
95
|
+
};
|
96
|
+
|
97
|
+
// store the Event Object in the DOM element so we can get to it later
|
98
|
+
$(this).data('eventObject', eventObject);
|
99
|
+
|
100
|
+
// make the event draggable using jQuery UI
|
101
|
+
$(this).draggable({
|
102
|
+
zIndex: 999,
|
103
|
+
revert: true, // will cause the event to go back to its
|
104
|
+
revertDuration: 0 // original position after the drag
|
105
|
+
});
|
106
|
+
|
107
|
+
});
|
108
|
+
|
109
|
+
|
110
|
+
var addEvent = function (title, category) {
|
111
|
+
title = title.length == 0 ? "Untitled Event" : title;
|
112
|
+
category = category.length == 0 ? 'fc-secondary' : category;
|
113
|
+
var html = $('<div data-category="' + category + '" class="external-event ui-draggable label ' + category + '">' + title + '</div>');
|
114
|
+
jQuery('#event_box').append(html);
|
115
|
+
initDrag(html);
|
116
|
+
}
|
117
|
+
|
118
|
+
$('#event-form').unbind('submit').submit(function (e) {
|
119
|
+
e.preventDefault ();
|
120
|
+
var title = $('#event_title');
|
121
|
+
var category = $('#event_category');
|
122
|
+
addEvent(title.val(), category.val ());
|
123
|
+
title.val ('');
|
124
|
+
});
|
125
|
+
|
126
|
+
var initDrag = function (el) {
|
127
|
+
// create an Event Object (http://arshaw.com/fullcalendar/docs/event_data/Event_Object/)
|
128
|
+
// it doesn't need to have a start or end
|
129
|
+
var eventObject = {
|
130
|
+
title: $.trim(el.text()) // use the element's text as the event title
|
131
|
+
};
|
132
|
+
// store the Event Object in the DOM element so we can get to it later
|
133
|
+
el.data('eventObject', eventObject);
|
134
|
+
// make the event draggable using jQuery UI
|
135
|
+
el.draggable({
|
136
|
+
zIndex: 999,
|
137
|
+
revert: true, // will cause the event to go back to its
|
138
|
+
revertDuration: 0 // original position after the drag
|
139
|
+
});
|
140
|
+
}
|
141
|
+
|
142
|
+
});
|
@@ -0,0 +1,73 @@
|
|
1
|
+
$(function () {
|
2
|
+
|
3
|
+
var d1, data, chartOptions;
|
4
|
+
|
5
|
+
d1 = [
|
6
|
+
[1262304000000, 5], [1264982400000, 200], [1267401600000, 1605], [1270080000000, 1129],
|
7
|
+
[1272672000000, 1163], [1275350400000, 1905], [1277942400000, 2002], [1280620800000, 2917],
|
8
|
+
[1283299200000, 2700], [1285891200000, 2700], [1288569600000, 2100], [1291161600000, 1700]
|
9
|
+
];
|
10
|
+
|
11
|
+
d2 = [
|
12
|
+
[1262304000000, 434], [1264982400000, 232], [1267401600000, 475], [1270080000000, 553],
|
13
|
+
[1272672000000, 675], [1275350400000, 679], [1277942400000, 789], [1280620800000, 1026],
|
14
|
+
[1283299200000, 1640], [1285891200000, 1892], [1288569600000, 2147], [1291161600000, 2256]
|
15
|
+
];
|
16
|
+
|
17
|
+
data = [{
|
18
|
+
label: "Total visitors",
|
19
|
+
data: d2
|
20
|
+
}, {
|
21
|
+
label: "Total sales",
|
22
|
+
data: d1
|
23
|
+
}];
|
24
|
+
|
25
|
+
chartOptions = {
|
26
|
+
xaxis: {
|
27
|
+
min: (new Date(2009, 12, 1)).getTime(),
|
28
|
+
max: (new Date(2010, 11, 2)).getTime(),
|
29
|
+
mode: "time",
|
30
|
+
tickSize: [1, "month"],
|
31
|
+
monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
32
|
+
tickLength: 0
|
33
|
+
},
|
34
|
+
yaxis: {
|
35
|
+
|
36
|
+
},
|
37
|
+
series: {
|
38
|
+
lines: {
|
39
|
+
show: true,
|
40
|
+
fill: true,
|
41
|
+
lineWidth: 3
|
42
|
+
},
|
43
|
+
points: {
|
44
|
+
show: true,
|
45
|
+
radius: 4.5,
|
46
|
+
fill: true,
|
47
|
+
fillColor: "#ffffff",
|
48
|
+
lineWidth: 2.75
|
49
|
+
}
|
50
|
+
},
|
51
|
+
grid: {
|
52
|
+
hoverable: true,
|
53
|
+
clickable: false,
|
54
|
+
borderWidth: 0
|
55
|
+
},
|
56
|
+
legend: {
|
57
|
+
show: true
|
58
|
+
},
|
59
|
+
|
60
|
+
tooltip: true,
|
61
|
+
tooltipOpts: {
|
62
|
+
content: '%s: %y'
|
63
|
+
},
|
64
|
+
colors: App.chartColors
|
65
|
+
};
|
66
|
+
|
67
|
+
var holder = $('#area-chart');
|
68
|
+
|
69
|
+
if (holder.length) {
|
70
|
+
$.plot(holder, data, chartOptions);
|
71
|
+
}
|
72
|
+
|
73
|
+
});
|
@@ -0,0 +1,77 @@
|
|
1
|
+
$(function () {
|
2
|
+
|
3
|
+
var d1, d2, data, chartOptions;
|
4
|
+
|
5
|
+
d1 = [
|
6
|
+
[1262304000000, 5], [1264982400000, 200], [1267401600000, 1605], [1270080000000, 1129],
|
7
|
+
[1272672000000, 1163], [1275350400000, 1905], [1277942400000, 2002], [1280620800000, 2917],
|
8
|
+
[1283299200000, 2700], [1285891200000, 2700], [1288569600000, 2100], [1291161600000, 1700]
|
9
|
+
];
|
10
|
+
|
11
|
+
d2 = [
|
12
|
+
[1262304000000, 434], [1264982400000, 232], [1267401600000, 475], [1270080000000, 553],
|
13
|
+
[1272672000000, 675], [1275350400000, 679], [1277942400000, 789], [1280620800000, 1026],
|
14
|
+
[1283299200000, 1640], [1285891200000, 1892], [1288569600000, 2147], [1291161600000, 2256]
|
15
|
+
];
|
16
|
+
|
17
|
+
data = [{
|
18
|
+
label: "Total visitors",
|
19
|
+
data: d1,
|
20
|
+
color: '#e5412d'
|
21
|
+
}, {
|
22
|
+
label: "Total Sales",
|
23
|
+
data: d2,
|
24
|
+
color: '#f0ad4e'
|
25
|
+
}];
|
26
|
+
|
27
|
+
chartOptions = {
|
28
|
+
xaxis: {
|
29
|
+
min: (new Date(2009, 12, 1)).getTime(),
|
30
|
+
max: (new Date(2010, 11, 2)).getTime(),
|
31
|
+
mode: "time",
|
32
|
+
tickSize: [1, "month"],
|
33
|
+
monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
34
|
+
tickLength: 0
|
35
|
+
},
|
36
|
+
yaxis: {
|
37
|
+
|
38
|
+
},
|
39
|
+
series: {
|
40
|
+
lines: {
|
41
|
+
show: true,
|
42
|
+
fill: false,
|
43
|
+
lineWidth: 2.5
|
44
|
+
},
|
45
|
+
points: {
|
46
|
+
show: true,
|
47
|
+
radius: 4.5,
|
48
|
+
fill: true,
|
49
|
+
fillColor: "#ffffff",
|
50
|
+
lineWidth: 2.5
|
51
|
+
}
|
52
|
+
},
|
53
|
+
grid: {
|
54
|
+
hoverable: true,
|
55
|
+
clickable: false,
|
56
|
+
borderWidth: 0
|
57
|
+
},
|
58
|
+
legend: {
|
59
|
+
show: false
|
60
|
+
},
|
61
|
+
|
62
|
+
tooltip: true,
|
63
|
+
tooltipOpts: {
|
64
|
+
content: '%s: %y'
|
65
|
+
}
|
66
|
+
};
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
var holder = $('#chart1');
|
71
|
+
|
72
|
+
if (holder.length) {
|
73
|
+
$.plot(holder, data, chartOptions );
|
74
|
+
}
|
75
|
+
|
76
|
+
|
77
|
+
});
|
@@ -0,0 +1,70 @@
|
|
1
|
+
$(function () {
|
2
|
+
|
3
|
+
var d1, data, chartOptions;
|
4
|
+
|
5
|
+
d1 = [
|
6
|
+
[1262304000000, 5], [1264982400000, 200], [1267401600000, 1605], [1270080000000, 1129],
|
7
|
+
[1272672000000, 1163], [1275350400000, 1905], [1277942400000, 2002], [1280620800000, 2917],
|
8
|
+
[1283299200000, 2700], [1285891200000, 2700], [1288569600000, 2100], [1291161600000, 1700]
|
9
|
+
];
|
10
|
+
|
11
|
+
data = [{
|
12
|
+
label: "Total visitors",
|
13
|
+
data: d1,
|
14
|
+
color: '#222'
|
15
|
+
}];
|
16
|
+
|
17
|
+
chartOptions = {
|
18
|
+
xaxis: {
|
19
|
+
min: (new Date(2009, 12, 1)).getTime(),
|
20
|
+
max: (new Date(2010, 11, 2)).getTime(),
|
21
|
+
mode: "time",
|
22
|
+
tickSize: [2, "month"],
|
23
|
+
monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
24
|
+
tickLength: 0
|
25
|
+
},
|
26
|
+
yaxis: {
|
27
|
+
|
28
|
+
},
|
29
|
+
series: {
|
30
|
+
lines: {
|
31
|
+
show: true,
|
32
|
+
fill: true,
|
33
|
+
fillColor: { colors: [ { opacity: 0.5 }, { opacity: 0.2 } ] },
|
34
|
+
lineWidth: 1.5
|
35
|
+
},
|
36
|
+
points: {
|
37
|
+
show: true,
|
38
|
+
radius: 2.5,
|
39
|
+
fill: true,
|
40
|
+
fillColor: "#ffffff",
|
41
|
+
lineWidth: 1.1
|
42
|
+
}
|
43
|
+
},
|
44
|
+
grid: {
|
45
|
+
hoverable: true,
|
46
|
+
clickable: false,
|
47
|
+
borderWidth: 0
|
48
|
+
},
|
49
|
+
legend: {
|
50
|
+
show: false
|
51
|
+
},
|
52
|
+
|
53
|
+
tooltip: true,
|
54
|
+
|
55
|
+
tooltipOpts: {
|
56
|
+
content: '%s: %y'
|
57
|
+
}
|
58
|
+
};
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
var holder = $('#chart2');
|
63
|
+
|
64
|
+
if (holder.length) {
|
65
|
+
$.plot(holder, data, chartOptions );
|
66
|
+
}
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
});
|
@@ -0,0 +1,71 @@
|
|
1
|
+
$(function () {
|
2
|
+
|
3
|
+
var d1, data, chartOptions;
|
4
|
+
|
5
|
+
d1 = [
|
6
|
+
[1262304000000, 6], [1264982400000, 2057], [1267401600000, 2043], [1270080000000, 2198],
|
7
|
+
[1272672000000, 2660], [1275350400000, 1826], [1277942400000, 1302], [1280620800000, 2237],
|
8
|
+
[1283299200000, 2004], [1285891200000, 2144], [1288569600000, 1577], [1291161600000, 1295]
|
9
|
+
];
|
10
|
+
|
11
|
+
data = [{
|
12
|
+
label: "Total clicks",
|
13
|
+
data: d1,
|
14
|
+
color: '#f0ad4e'
|
15
|
+
}];
|
16
|
+
|
17
|
+
chartOptions = {
|
18
|
+
xaxis: {
|
19
|
+
min: (new Date(2009, 12, 1)).getTime(),
|
20
|
+
max: (new Date(2010, 11, 2)).getTime(),
|
21
|
+
mode: "time",
|
22
|
+
tickSize: [2, "month"],
|
23
|
+
monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
24
|
+
tickLength: 0
|
25
|
+
},
|
26
|
+
yaxis: {
|
27
|
+
|
28
|
+
},
|
29
|
+
series: {
|
30
|
+
lines: {
|
31
|
+
show: true,
|
32
|
+
fill: true,
|
33
|
+
fillColor: { colors: [ { opacity: 0.5 }, { opacity: 0.2 } ] },
|
34
|
+
lineWidth: 1.5
|
35
|
+
},
|
36
|
+
points: {
|
37
|
+
show: true,
|
38
|
+
radius: 2.5,
|
39
|
+
fill: true,
|
40
|
+
fillColor: "#ffffff",
|
41
|
+
lineWidth: 1.1
|
42
|
+
}
|
43
|
+
},
|
44
|
+
grid: {
|
45
|
+
hoverable: true,
|
46
|
+
clickable: false,
|
47
|
+
borderWidth: 0
|
48
|
+
},
|
49
|
+
legend: {
|
50
|
+
show: false
|
51
|
+
},
|
52
|
+
|
53
|
+
tooltip: true,
|
54
|
+
|
55
|
+
tooltipOpts: {
|
56
|
+
content: '%s: %y'
|
57
|
+
}
|
58
|
+
};
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
var holder = $('#chart3');
|
64
|
+
|
65
|
+
if (holder.length) {
|
66
|
+
$.plot(holder, data, chartOptions );
|
67
|
+
}
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
});
|