repsheet_visualizer 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +25 -1
- data/bin/repsheet_visualizer +10 -8
- data/config.ru +8 -0
- data/lib/repsheet_visualizer/application/app.rb +120 -107
- data/lib/repsheet_visualizer/application/views/404.erb +66 -0
- data/lib/repsheet_visualizer/application/views/500.erb +66 -0
- data/lib/repsheet_visualizer/version.rb +1 -1
- metadata +4 -245
- data/redesign/actor.html +0 -237
- data/redesign/blacklist.html +0 -274
- data/redesign/css/App.css +0 -3436
- data/redesign/css/Login.css +0 -88
- data/redesign/css/bootstrap.min.css +0 -9
- data/redesign/css/custom.css +0 -0
- data/redesign/css/font-awesome.min.css +0 -395
- data/redesign/fonts/FontAwesome.otf +0 -0
- data/redesign/fonts/fontawesome-webfont.eot +0 -0
- data/redesign/fonts/fontawesome-webfont.svg +0 -414
- 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 +0 -228
- 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 +0 -333
- data/redesign/js/App.js +0 -372
- data/redesign/js/Login.js +0 -17
- data/redesign/js/demos/buttons.js +0 -7
- data/redesign/js/demos/calendar.js +0 -142
- data/redesign/js/demos/charts/flot/area.js +0 -73
- data/redesign/js/demos/charts/flot/chart1.js +0 -77
- data/redesign/js/demos/charts/flot/chart2.js +0 -70
- data/redesign/js/demos/charts/flot/chart3.js +0 -71
- data/redesign/js/demos/charts/flot/chart4.js +0 -69
- data/redesign/js/demos/charts/flot/donut.js +0 -49
- data/redesign/js/demos/charts/flot/horizontal.js +0 -56
- data/redesign/js/demos/charts/flot/line.js +0 -76
- data/redesign/js/demos/charts/flot/pie.js +0 -50
- data/redesign/js/demos/charts/flot/scatter.js +0 -62
- data/redesign/js/demos/charts/flot/stacked-area.js +0 -86
- data/redesign/js/demos/charts/flot/stacked-horizontal.js +0 -60
- data/redesign/js/demos/charts/flot/stacked-vertical.js +0 -75
- data/redesign/js/demos/charts/flot/vertical.js +0 -70
- data/redesign/js/demos/charts/morris/area.js +0 -28
- data/redesign/js/demos/charts/morris/bar.js +0 -29
- data/redesign/js/demos/charts/morris/donut.js +0 -26
- data/redesign/js/demos/charts/morris/line.js +0 -30
- data/redesign/js/demos/dashboard.js +0 -26
- data/redesign/js/demos/form-extended.js +0 -61
- data/redesign/js/demos/popups.js +0 -16
- data/redesign/js/demos/pricing.js +0 -10
- data/redesign/js/demos/sliders.js +0 -77
- data/redesign/js/libs/bootstrap.js +0 -1999
- data/redesign/js/libs/bootstrap.min.js +0 -6
- 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 +0 -294
- data/redesign/js/libs/css/ui-lightness/jquery-ui-1.9.2.custom.min.css +0 -7
- data/redesign/js/libs/jquery-1.9.1.min.js +0 -5
- data/redesign/js/libs/jquery-ui-1.9.2.custom.min.js +0 -6
- data/redesign/js/libs/jquery.min.map +0 -1
- data/redesign/js/libs/raphael-2.1.2.min.js +0 -11
- data/redesign/js/plugins/autosize/jquery.autosize.min.js +0 -7
- data/redesign/js/plugins/datatables/DT_bootstrap.js +0 -148
- 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 +0 -155
- data/redesign/js/plugins/datepicker/bootstrap-datepicker.js +0 -1258
- data/redesign/js/plugins/datepicker/datepicker.css +0 -481
- data/redesign/js/plugins/datepicker/less/datepicker.less +0 -122
- data/redesign/js/plugins/fileupload/bootstrap-fileupload.css +0 -132
- data/redesign/js/plugins/fileupload/bootstrap-fileupload.js +0 -169
- data/redesign/js/plugins/fileupload/bootstrap-fileupload.min.css +0 -31
- data/redesign/js/plugins/fileupload/bootstrap-fileupload.min.js +0 -7
- data/redesign/js/plugins/flot/jquery.flot.js +0 -2599
- data/redesign/js/plugins/flot/jquery.flot.orderBars.js +0 -186
- data/redesign/js/plugins/flot/jquery.flot.pie.js +0 -750
- data/redesign/js/plugins/flot/jquery.flot.resize.js +0 -57
- data/redesign/js/plugins/flot/jquery.flot.stack.js +0 -184
- data/redesign/js/plugins/flot/jquery.flot.tooltip.min.js +0 -14
- data/redesign/js/plugins/fullcalendar/fullcalendar.css +0 -589
- data/redesign/js/plugins/fullcalendar/fullcalendar.js +0 -6110
- data/redesign/js/plugins/fullcalendar/fullcalendar.min.js +0 -7
- data/redesign/js/plugins/fullcalendar/fullcalendar.print.css +0 -32
- data/redesign/js/plugins/fullcalendar/gcal.js +0 -107
- data/redesign/js/plugins/howl/howl.js +0 -70
- data/redesign/js/plugins/howl/howl.min.js +0 -2
- data/redesign/js/plugins/icheck/jquery.icheck.js +0 -462
- data/redesign/js/plugins/icheck/jquery.icheck.min.js +0 -11
- data/redesign/js/plugins/icheck/skins/all.css +0 -61
- data/redesign/js/plugins/icheck/skins/flat/_all.css +0 -540
- data/redesign/js/plugins/icheck/skins/flat/aero.css +0 -54
- 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 +0 -54
- 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 +0 -54
- 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 +0 -54
- 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 +0 -54
- 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 +0 -54
- 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 +0 -54
- 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 +0 -54
- 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 +0 -54
- 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 +0 -54
- 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 +0 -54
- 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 +0 -740
- data/redesign/js/plugins/icheck/skins/line/aero.css +0 -74
- data/redesign/js/plugins/icheck/skins/line/blue.css +0 -74
- data/redesign/js/plugins/icheck/skins/line/green.css +0 -74
- data/redesign/js/plugins/icheck/skins/line/grey.css +0 -74
- data/redesign/js/plugins/icheck/skins/line/line.css +0 -74
- 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 +0 -74
- data/redesign/js/plugins/icheck/skins/line/pink.css +0 -74
- data/redesign/js/plugins/icheck/skins/line/purple.css +0 -74
- data/redesign/js/plugins/icheck/skins/line/red.css +0 -74
- data/redesign/js/plugins/icheck/skins/line/yellow.css +0 -74
- data/redesign/js/plugins/icheck/skins/minimal/_all.css +0 -600
- data/redesign/js/plugins/icheck/skins/minimal/aero.css +0 -60
- 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 +0 -60
- 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 +0 -60
- 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 +0 -60
- 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 +0 -60
- 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 +0 -60
- 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 +0 -60
- 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 +0 -60
- 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 +0 -60
- 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 +0 -60
- 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 +0 -60
- 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 +0 -600
- data/redesign/js/plugins/icheck/skins/square/aero.css +0 -60
- 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 +0 -60
- 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 +0 -60
- 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 +0 -60
- 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 +0 -60
- 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 +0 -60
- 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 +0 -60
- 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 +0 -60
- 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 +0 -60
- 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 +0 -60
- 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 +0 -2026
- data/redesign/js/plugins/magnific/jquery.magnific-popup.min.js +0 -4
- data/redesign/js/plugins/magnific/magnific-popup.css +0 -396
- data/redesign/js/plugins/morris/morris.css +0 -1
- data/redesign/js/plugins/morris/morris.min.js +0 -1
- data/redesign/js/plugins/parsley/parsley.js +0 -1363
- data/redesign/js/plugins/select2/select2-spinner.gif +0 -0
- data/redesign/js/plugins/select2/select2.css +0 -615
- data/redesign/js/plugins/select2/select2.js +0 -3217
- data/redesign/js/plugins/select2/select2.min.js +0 -22
- 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 +0 -98
- data/redesign/js/plugins/simplecolorpicker/jquery.simplecolorpicker.js +0 -211
- data/redesign/js/plugins/sparkline/jquery.sparkline.min.js +0 -5
- data/redesign/js/plugins/tableCheckable/jquery.tableCheckable.js +0 -122
- data/redesign/js/plugins/textarea-counter/jquery.textarea-counter.js +0 -163
- data/redesign/js/plugins/timepicker/bootstrap-timepicker.css +0 -121
- data/redesign/js/plugins/timepicker/bootstrap-timepicker.js +0 -893
- data/redesign/suspects.html +0 -273
- data/redesign/whitelist.html +0 -273
@@ -1,60 +0,0 @@
|
|
1
|
-
$(function () {
|
2
|
-
|
3
|
-
var ds=[], data, chartOptions;
|
4
|
-
|
5
|
-
ds.push ([[2500, 1],[3400, 2],[3700, 3],[4500, 4]]);
|
6
|
-
ds.push ([[1300, 1],[2900, 2],[2500, 3],[2300, 4]]);
|
7
|
-
ds.push ([[800, 1],[1300, 2],[1900, 3],[1500, 4]]);
|
8
|
-
|
9
|
-
data = [ {
|
10
|
-
label: 'Product 1',
|
11
|
-
data: ds[1]
|
12
|
-
}, {
|
13
|
-
label: 'Product 2',
|
14
|
-
data: ds[0]
|
15
|
-
}, {
|
16
|
-
label: 'Product 3',
|
17
|
-
data: ds[2]
|
18
|
-
}];
|
19
|
-
|
20
|
-
chartOptions = {
|
21
|
-
xaxis: {
|
22
|
-
|
23
|
-
},
|
24
|
-
grid: {
|
25
|
-
hoverable: true,
|
26
|
-
clickable: false,
|
27
|
-
borderWidth: 0
|
28
|
-
},
|
29
|
-
series: {
|
30
|
-
stack: true
|
31
|
-
},
|
32
|
-
bars: {
|
33
|
-
horizontal: true,
|
34
|
-
show: true,
|
35
|
-
barWidth: .25,
|
36
|
-
fill: true,
|
37
|
-
lineWidth: 0,
|
38
|
-
fillColor: { colors: [ { opacity: 1 }, { opacity: 1 } ] }
|
39
|
-
},
|
40
|
-
|
41
|
-
tooltip: true,
|
42
|
-
|
43
|
-
tooltipOpts: {
|
44
|
-
content: '%s: %x'
|
45
|
-
},
|
46
|
-
colors: App.chartColors
|
47
|
-
}
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
var holder = $('#stacked-horizontal-chart');
|
52
|
-
|
53
|
-
if (holder.length) {
|
54
|
-
$.plot(holder, data, chartOptions );
|
55
|
-
}
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
});
|
@@ -1,75 +0,0 @@
|
|
1
|
-
$(function () {
|
2
|
-
|
3
|
-
var d1, d2, d3, data, chartOptions;
|
4
|
-
|
5
|
-
d1 = [
|
6
|
-
[1325376000000, 1200], [1328054400000, 700], [1330560000000, 1000], [1333238400000, 600],
|
7
|
-
[1335830400000, 350]
|
8
|
-
];
|
9
|
-
|
10
|
-
d2 = [
|
11
|
-
[1325376000000, 800], [1328054400000, 600], [1330560000000, 300], [1333238400000, 350],
|
12
|
-
[1335830400000, 300]
|
13
|
-
];
|
14
|
-
|
15
|
-
d3 = [
|
16
|
-
[1325376000000, 650], [1328054400000, 450], [1330560000000, 150], [1333238400000, 200],
|
17
|
-
[1335830400000, 150]
|
18
|
-
];
|
19
|
-
|
20
|
-
data = [{
|
21
|
-
label: 'Product 1',
|
22
|
-
data: d1
|
23
|
-
}, {
|
24
|
-
label: 'Product 2',
|
25
|
-
data: d2
|
26
|
-
}, {
|
27
|
-
label: 'Product 3',
|
28
|
-
data: d3
|
29
|
-
}];
|
30
|
-
|
31
|
-
chartOptions = {
|
32
|
-
xaxis: {
|
33
|
-
min: (new Date(2011, 11, 15)).getTime(),
|
34
|
-
max: (new Date(2012, 04, 18)).getTime(),
|
35
|
-
mode: "time",
|
36
|
-
tickSize: [2, "month"],
|
37
|
-
monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
38
|
-
tickLength: 0
|
39
|
-
},
|
40
|
-
grid: {
|
41
|
-
hoverable: true,
|
42
|
-
clickable: false,
|
43
|
-
borderWidth: 0
|
44
|
-
},
|
45
|
-
series: {
|
46
|
-
stack: true
|
47
|
-
},
|
48
|
-
bars: {
|
49
|
-
show: true,
|
50
|
-
barWidth: 36*24*60*60*300,
|
51
|
-
fill: true,
|
52
|
-
align: 'center',
|
53
|
-
lineWidth: 1,
|
54
|
-
lineWidth: 0,
|
55
|
-
fillColor: { colors: [ { opacity: 1 }, { opacity: 1 } ] }
|
56
|
-
},
|
57
|
-
|
58
|
-
tooltip: true,
|
59
|
-
tooltipOpts: {
|
60
|
-
content: '%s: %y'
|
61
|
-
},
|
62
|
-
colors: App.chartColors
|
63
|
-
}
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
var holder = $('#stacked-vertical-chart');
|
68
|
-
|
69
|
-
if (holder.length) {
|
70
|
-
$.plot(holder, data, chartOptions );
|
71
|
-
}
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
});
|
@@ -1,70 +0,0 @@
|
|
1
|
-
$(function () {
|
2
|
-
|
3
|
-
var d1, d2, d3, data, chartOptions;
|
4
|
-
|
5
|
-
d1 = [
|
6
|
-
[1325376000000, 1200], [1328054400000, 700], [1330560000000, 1000], [1333238400000, 600],
|
7
|
-
[1335830400000, 350]
|
8
|
-
];
|
9
|
-
|
10
|
-
d2 = [
|
11
|
-
[1325376000000, 800], [1328054400000, 600], [1330560000000, 300], [1333238400000, 350],
|
12
|
-
[1335830400000, 300]
|
13
|
-
];
|
14
|
-
|
15
|
-
d3 = [
|
16
|
-
[1325376000000, 650], [1328054400000, 450], [1330560000000, 150], [1333238400000, 200],
|
17
|
-
[1335830400000, 150]
|
18
|
-
];
|
19
|
-
|
20
|
-
data = [{
|
21
|
-
label: 'Product 1',
|
22
|
-
data: d1
|
23
|
-
}, {
|
24
|
-
label: 'Product 2',
|
25
|
-
data: d2
|
26
|
-
}, {
|
27
|
-
label: 'Product 3',
|
28
|
-
data: d3
|
29
|
-
}];
|
30
|
-
|
31
|
-
chartOptions = {
|
32
|
-
xaxis: {
|
33
|
-
min: (new Date(2011, 11, 15)).getTime(),
|
34
|
-
max: (new Date(2012, 04, 18)).getTime(),
|
35
|
-
mode: "time",
|
36
|
-
tickSize: [2, "month"],
|
37
|
-
monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
38
|
-
tickLength: 0
|
39
|
-
},
|
40
|
-
grid: {
|
41
|
-
hoverable: true,
|
42
|
-
clickable: false,
|
43
|
-
borderWidth: 0
|
44
|
-
},
|
45
|
-
bars: {
|
46
|
-
show: true,
|
47
|
-
barWidth: 12*24*60*60*300,
|
48
|
-
fill: true,
|
49
|
-
lineWidth: 1,
|
50
|
-
order: true,
|
51
|
-
lineWidth: 0,
|
52
|
-
fillColor: { colors: [ { opacity: 1 }, { opacity: 1 } ] }
|
53
|
-
},
|
54
|
-
|
55
|
-
tooltip: true,
|
56
|
-
tooltipOpts: {
|
57
|
-
content: '%s: %y'
|
58
|
-
},
|
59
|
-
colors: App.chartColors
|
60
|
-
}
|
61
|
-
|
62
|
-
|
63
|
-
var holder = $('#vertical-chart');
|
64
|
-
|
65
|
-
if (holder.length) {
|
66
|
-
$.plot(holder, data, chartOptions );
|
67
|
-
}
|
68
|
-
|
69
|
-
|
70
|
-
});
|
@@ -1,28 +0,0 @@
|
|
1
|
-
$(function () {
|
2
|
-
if (!$('#area-chart').length) { return false; }
|
3
|
-
area();
|
4
|
-
$(window).resize (App.debounce (area, 250));
|
5
|
-
});
|
6
|
-
|
7
|
-
function area () {
|
8
|
-
$('#area-chart').empty ();
|
9
|
-
|
10
|
-
Morris.Area ({
|
11
|
-
element: 'area-chart',
|
12
|
-
data: [
|
13
|
-
{date: '2013-11-06', blacklisted: 15, suspect: 90, whitelisted: 2},
|
14
|
-
{date: '2013-11-07', blacklisted: 5, suspect: 89, whitelisted: 1},
|
15
|
-
{date: '2013-11-08', blacklisted: 34, suspect: 196, whitelisted: 0},
|
16
|
-
{date: '2013-11-09', blacklisted: 37, suspect: 359, whitelisted: 0},
|
17
|
-
{date: '2013-11-10', blacklisted: 68, suspect: 560, whitelisted: 0},
|
18
|
-
{date: '2013-11-11', blacklisted: 23, suspect: 201, whitelisted: 1},
|
19
|
-
{date: '2013-11-12', blacklisted: 50, suspect: 379, whitelisted: 0}
|
20
|
-
],
|
21
|
-
xkey: 'date',
|
22
|
-
ykeys: ['blacklisted', 'suspect', 'whitelisted'],
|
23
|
-
labels: ['Blacklisted', 'Suspect', 'Whitelisted'],
|
24
|
-
pointSize: 5,
|
25
|
-
hideHover: 'auto',
|
26
|
-
lineColors: [App.chartColors[0], App.chartColors[1], App.chartColors[3]]
|
27
|
-
});
|
28
|
-
}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
$(function () {
|
2
|
-
|
3
|
-
if (!$('#bar-chart').length) { return false; }
|
4
|
-
|
5
|
-
bar ();
|
6
|
-
|
7
|
-
$(window).resize (App.debounce (bar, 325));
|
8
|
-
|
9
|
-
});
|
10
|
-
|
11
|
-
function bar () {
|
12
|
-
$('#bar-chart').empty ();
|
13
|
-
|
14
|
-
Morris.Bar({
|
15
|
-
element: 'bar-chart',
|
16
|
-
data: [
|
17
|
-
{ y: '2006', a: 100, b: 90, c: 120 },
|
18
|
-
{ y: '2007', a: 75, b: 65, c: 60 },
|
19
|
-
{ y: '2008', a: 50, b: 40, c: 60 },
|
20
|
-
{ y: '2009', a: 75, b: 65, c: 75 },
|
21
|
-
{ y: '2010', a: 50, b: 40, c: 65 },
|
22
|
-
{ y: '2011', a: 75, b: 65, c: 40 }
|
23
|
-
],
|
24
|
-
xkey: 'y',
|
25
|
-
ykeys: ['a', 'b', 'c'],
|
26
|
-
labels: ['Series A', 'Series B', 'Series C'],
|
27
|
-
barColors: App.chartColors
|
28
|
-
});
|
29
|
-
}
|
@@ -1,26 +0,0 @@
|
|
1
|
-
$(function () {
|
2
|
-
|
3
|
-
if (!$('#donut-chart').length) { return false; }
|
4
|
-
|
5
|
-
donut ();
|
6
|
-
|
7
|
-
$(window).resize (App.debounce (donut, 325));
|
8
|
-
|
9
|
-
});
|
10
|
-
|
11
|
-
function donut () {
|
12
|
-
$('#donut-chart').empty ();
|
13
|
-
|
14
|
-
Morris.Donut({
|
15
|
-
element: 'donut-chart',
|
16
|
-
data: [
|
17
|
-
{label: 'Direct', value: 25 },
|
18
|
-
{label: 'Referrals', value: 40 },
|
19
|
-
{label: 'Search engines', value: 25 },
|
20
|
-
{label: 'Unique visitors', value: 10 }
|
21
|
-
],
|
22
|
-
colors: App.chartColors,
|
23
|
-
hideHover: true,
|
24
|
-
formatter: function (y) { return y + "%" }
|
25
|
-
});
|
26
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
$(function () {
|
2
|
-
|
3
|
-
if (!$('#line-chart').length) { return false; }
|
4
|
-
|
5
|
-
line ();
|
6
|
-
|
7
|
-
$(window).resize (App.debounce (line, 325));
|
8
|
-
|
9
|
-
});
|
10
|
-
|
11
|
-
function line () {
|
12
|
-
$('#line-chart').empty ();
|
13
|
-
|
14
|
-
Morris.Line({
|
15
|
-
element: 'line-chart',
|
16
|
-
data: [
|
17
|
-
{ y: '2006', a: 100, b: 90 },
|
18
|
-
{ y: '2007', a: 75, b: 65 },
|
19
|
-
{ y: '2008', a: 50, b: 40 },
|
20
|
-
{ y: '2009', a: 75, b: 65 },
|
21
|
-
{ y: '2010', a: 50, b: 40 },
|
22
|
-
{ y: '2011', a: 75, b: 65 },
|
23
|
-
{ y: '2012', a: 100, b: 90 }
|
24
|
-
],
|
25
|
-
xkey: 'y',
|
26
|
-
ykeys: ['a', 'b', 'c'],
|
27
|
-
labels: ['Series A', 'Series B', 'Series C'],
|
28
|
-
lineColors: App.chartColors
|
29
|
-
});
|
30
|
-
}
|
@@ -1,26 +0,0 @@
|
|
1
|
-
$(function () {
|
2
|
-
|
3
|
-
var sparkOptions = {
|
4
|
-
type: 'bar'
|
5
|
-
, height: '35px'
|
6
|
-
, barWidth: '5px'
|
7
|
-
, barSpacing: '2px'
|
8
|
-
};
|
9
|
-
|
10
|
-
$('#total-visits').sparkline(
|
11
|
-
'html', $.extend (sparkOptions, { barColor: '#e5412d' })
|
12
|
-
);
|
13
|
-
|
14
|
-
$('#new-visits').sparkline(
|
15
|
-
'html', $.extend (sparkOptions, { barColor: '#444' })
|
16
|
-
);
|
17
|
-
|
18
|
-
$('#unique-visits').sparkline(
|
19
|
-
'html', $.extend (sparkOptions, { barColor: '#999' })
|
20
|
-
);
|
21
|
-
|
22
|
-
$('#revenue-visits').sparkline(
|
23
|
-
'html', $.extend (sparkOptions, { barColor: '#5cb85c' })
|
24
|
-
);
|
25
|
-
|
26
|
-
});
|
@@ -1,61 +0,0 @@
|
|
1
|
-
$(function () {
|
2
|
-
|
3
|
-
$('#dp-ex-1').datepicker ()
|
4
|
-
$('#dp-ex-2').datepicker ()
|
5
|
-
$('#dp-ex-3').datepicker ()
|
6
|
-
$('#dp-ex-4').datepicker ()
|
7
|
-
$('#dp-ex-5').datepicker ()
|
8
|
-
|
9
|
-
$('#dpStart').datepicker ().on ('changeDate', function (e) {
|
10
|
-
$('#dpEnd').datepicker ('setStartDate', e.date);
|
11
|
-
})
|
12
|
-
|
13
|
-
$('#dpEnd').datepicker ().on ('changeDate', function (e) {
|
14
|
-
$('#dpStart').datepicker ('setEndDate', e.date)
|
15
|
-
})
|
16
|
-
|
17
|
-
$('#tp-ex-1').timepicker ()
|
18
|
-
$('#tp-ex-2').timepicker({ template: 'modal' })
|
19
|
-
|
20
|
-
$('input:checkbox, input:radio').iCheck({
|
21
|
-
checkboxClass: 'icheckbox_minimal-blue',
|
22
|
-
radioClass: 'iradio_minimal-blue',
|
23
|
-
inheritClass: true
|
24
|
-
})
|
25
|
-
|
26
|
-
$('#cp-ex-1').simplecolorpicker ();
|
27
|
-
|
28
|
-
$('#cp-ex-2').simplecolorpicker({
|
29
|
-
picker: true
|
30
|
-
});
|
31
|
-
|
32
|
-
$('#count-textarea1').textareaCount({
|
33
|
-
maxCharacterSize: -2,
|
34
|
-
warningNumber: 40
|
35
|
-
})
|
36
|
-
|
37
|
-
$('#count-textarea2').textareaCount({
|
38
|
-
maxCharacterSize: 200,
|
39
|
-
warningNumber: 40,
|
40
|
-
displayFormat : '#input/#max | #words words'
|
41
|
-
})
|
42
|
-
|
43
|
-
$('#s2_basic').select2 ({
|
44
|
-
allowClear: true,
|
45
|
-
placeholder: "Select..."
|
46
|
-
})
|
47
|
-
|
48
|
-
$('#s2_multi_value').select2 ({
|
49
|
-
placeholder: "Select..."
|
50
|
-
})
|
51
|
-
|
52
|
-
$('#s2_tokenization').select2 ({
|
53
|
-
placeholder: "Select...",
|
54
|
-
tags:["red", "green", "blue", "black", "orange", "white"],
|
55
|
-
tokenSeparators: [",", " "]
|
56
|
-
})
|
57
|
-
|
58
|
-
$('#as-ex-1').autosize ()
|
59
|
-
$('#as-ex-2').autosize ().addClass ('autosize-animate')
|
60
|
-
|
61
|
-
})
|
data/redesign/js/demos/popups.js
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
$(function () {
|
2
|
-
|
3
|
-
$('.howler').click (function (e) {
|
4
|
-
|
5
|
-
$.howl ({
|
6
|
-
type: $(this).data ('type')
|
7
|
-
, title: 'Howl Message'
|
8
|
-
, content: 'Lorem ipsum dolor sit amet, consect adipisicing elit.'
|
9
|
-
, sticky: $(this).data ('sticky')
|
10
|
-
, lifetime: 7500
|
11
|
-
, iconCls: $(this).data ('icon')
|
12
|
-
});
|
13
|
-
|
14
|
-
});
|
15
|
-
|
16
|
-
});
|
@@ -1,77 +0,0 @@
|
|
1
|
-
$(function () {
|
2
|
-
|
3
|
-
|
4
|
-
/*--------------------------------------------------
|
5
|
-
Plugin: Slider
|
6
|
-
--------------------------------------------------*/
|
7
|
-
|
8
|
-
/* Increment Slider */
|
9
|
-
$( "#incrementSlider" ).slider({
|
10
|
-
range: "min",
|
11
|
-
value:150,
|
12
|
-
min: 0,
|
13
|
-
max: 500,
|
14
|
-
step: 50,
|
15
|
-
slide: function( event, ui ) {
|
16
|
-
$( "#incrementAmount" ).text ( "$" + ui.value );
|
17
|
-
}
|
18
|
-
});
|
19
|
-
|
20
|
-
$( "#incrementAmount" ).text ( "$" + $( "#incrementSlider" ).slider( "value" ) );
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
/* Min Value Slider */
|
25
|
-
$( "#rangeMinSlider" ).slider({
|
26
|
-
range: "min",
|
27
|
-
value: 100,
|
28
|
-
min: 50,
|
29
|
-
max: 700,
|
30
|
-
slide: function( event, ui ) {
|
31
|
-
$( "#rangeMinAmount" ).text ( "$" + ui.value );
|
32
|
-
}
|
33
|
-
});
|
34
|
-
|
35
|
-
$( "#rangeMinAmount" ).text ( "$" + $( "#rangeMinSlider" ).slider( "value" ) );
|
36
|
-
|
37
|
-
|
38
|
-
/* Default Slider */
|
39
|
-
$( ".slider-demo" ).each (function () {
|
40
|
-
$(this).slider({ value: randomFromInterval (10, 100), range: 'min' });
|
41
|
-
})
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
/* Vertical Slider */
|
46
|
-
$("#eq > span").each(function() {
|
47
|
-
var value = parseInt($(this).text());
|
48
|
-
$(this).empty().slider({
|
49
|
-
value: value,
|
50
|
-
range: "min",
|
51
|
-
animate: true,
|
52
|
-
orientation: "vertical"
|
53
|
-
});
|
54
|
-
});
|
55
|
-
|
56
|
-
|
57
|
-
/* Horizontal Slider */
|
58
|
-
$( "#rangeSlider" ).slider({
|
59
|
-
range: true,
|
60
|
-
min: 0,
|
61
|
-
max: 500,
|
62
|
-
values: [ 75, 250 ],
|
63
|
-
slide: function( event, ui ) {
|
64
|
-
$( "#amount" ).text ( "$" + ui.values[ 0 ] + " - $" + ui.values[ 1 ] );
|
65
|
-
}
|
66
|
-
});
|
67
|
-
|
68
|
-
$( "#amount" ).text( "$" + $( "#rangeSlider" ).slider( "values", 0 ) +
|
69
|
-
" - $" + $( "#rangeSlider" ).slider( "values", 1 ) );
|
70
|
-
|
71
|
-
|
72
|
-
});
|
73
|
-
|
74
|
-
function randomFromInterval(from,to)
|
75
|
-
{
|
76
|
-
return Math.floor(Math.random()*(to-from+1)+from);
|
77
|
-
}
|