How to re-initialize $SIDEBAR_MENU = $('#sidebar-menu'), after ajax load? - Provided support.
This commit is contained in:
parent
db5ac7c613
commit
badd8f4320
File diff suppressed because one or more lines are too long
|
@ -1,3 +0,0 @@
|
|||
|
||||
|
||||
|
|
@ -70,6 +70,7 @@ var setContentHeight = function () {
|
|||
};
|
||||
|
||||
$SIDEBAR_MENU.find('a').on('click', function(ev) {
|
||||
console.log('clicked - sidebar_menu');
|
||||
var $li = $(this).parent();
|
||||
|
||||
if ($li.is('.active')) {
|
||||
|
@ -100,6 +101,8 @@ var setContentHeight = function () {
|
|||
|
||||
// toggle small or large menu
|
||||
$MENU_TOGGLE.on('click', function() {
|
||||
console.log('clicked - menu toggle');
|
||||
|
||||
if ($BODY.hasClass('nav-md')) {
|
||||
$SIDEBAR_MENU.find('li.active ul').hide();
|
||||
$SIDEBAR_MENU.find('li.active').addClass('active-sm').removeClass('active');
|
||||
|
@ -2745,7 +2748,7 @@ if (typeof NProgress != 'undefined') {
|
|||
|
||||
|
||||
/* ECHRTS */
|
||||
|
||||
|
||||
|
||||
function init_echarts() {
|
||||
|
||||
|
@ -3041,6 +3044,9 @@ if (typeof NProgress != 'undefined') {
|
|||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
//echart Radar
|
||||
|
||||
if ($('#echart_sonar').length ){
|
||||
|
@ -3175,7 +3181,7 @@ if (typeof NProgress != 'undefined') {
|
|||
|
||||
if ($('#echart_gauge').length ){
|
||||
|
||||
var echartGauge = echarts.init(document.getElementById('echart_guage'), theme);
|
||||
var echartGauge = echarts.init(document.getElementById('echart_gauge'), theme);
|
||||
|
||||
echartGauge.setOption({
|
||||
tooltip: {
|
||||
|
@ -4411,6 +4417,7 @@ if (typeof NProgress != 'undefined') {
|
|||
|
||||
var echartMap = echarts.init(document.getElementById('echart_world_map'), theme);
|
||||
|
||||
|
||||
echartMap.setOption({
|
||||
title: {
|
||||
text: 'World Population (2010)',
|
File diff suppressed because one or more lines are too long
|
@ -20,7 +20,7 @@
|
|||
<link href="../vendors/fullcalendar/dist/fullcalendar.print.css" rel="stylesheet" media="print">
|
||||
|
||||
<!-- Custom styling plus plugins -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -422,7 +422,7 @@
|
|||
<script src="../vendors/fullcalendar/dist/fullcalendar.min.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -17,7 +17,7 @@
|
|||
<link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -481,7 +481,7 @@
|
|||
<script src="../vendors/Chart.js/dist/Chart.min.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -17,7 +17,7 @@
|
|||
<link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -479,7 +479,7 @@
|
|||
<script src="../vendors/Chart.js/dist/Chart.min.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -17,7 +17,7 @@
|
|||
<link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -680,6 +680,6 @@
|
|||
<script src="../vendors/nprogress/nprogress.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -19,7 +19,7 @@
|
|||
<link href="../vendors/iCheck/skins/flat/green.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -470,6 +470,6 @@
|
|||
<script src="../vendors/nprogress/nprogress.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -17,7 +17,7 @@
|
|||
<link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -575,8 +575,8 @@
|
|||
</div>
|
||||
<div class="x_content">
|
||||
|
||||
<div id="echart_pyramid" style="height:370px;"></div>
|
||||
|
||||
<div id="echart_pyramid" style="min-height:200px;"></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -633,7 +633,7 @@
|
|||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<div class="x_content">
|
||||
<div id="echart_guage" style="height:370px;"></div>
|
||||
<div id="echart_gauge" style="height:370px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -666,7 +666,7 @@
|
|||
<script src="../vendors/echarts/map/js/world.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -19,7 +19,7 @@
|
|||
<link href="../vendors/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.min.css" rel="stylesheet"/>
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md footer_fixed">
|
||||
|
@ -303,6 +303,6 @@
|
|||
<script src="../vendors/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.concat.min.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -19,7 +19,7 @@
|
|||
<link href="../vendors/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.min.css" rel="stylesheet"/>
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -302,6 +302,6 @@
|
|||
<script src="../vendors/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.concat.min.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -29,7 +29,7 @@
|
|||
<link href="../vendors/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -1361,7 +1361,7 @@
|
|||
<!-- starrr -->
|
||||
<script src="../vendors/starrr/dist/starrr.js"></script>
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
<link href="../vendors/cropper/dist/cropper.min.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -1223,7 +1223,7 @@
|
|||
<script src="../vendors/cropper/dist/cropper.min.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -17,7 +17,7 @@
|
|||
<link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -744,6 +744,6 @@
|
|||
<script src="../vendors/fastclick/lib/fastclick.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -20,7 +20,7 @@
|
|||
<link href="../vendors/dropzone/dist/min/dropzone.min.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -350,6 +350,6 @@
|
|||
<script src="../vendors/dropzone/dist/min/dropzone.min.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -17,7 +17,7 @@
|
|||
<link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -423,7 +423,7 @@
|
|||
<script src="../vendors/validator/validator.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -17,7 +17,7 @@
|
|||
<link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -597,7 +597,7 @@
|
|||
<!-- jQuery Smart Wizard -->
|
||||
<script src="../vendors/jQuery-Smart-Wizard/js/jquery.smartWizard.js"></script>
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
|
||||
|
||||
</body>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<link href="../vendors/pnotify/dist/pnotify.nonblock.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -1655,7 +1655,7 @@
|
|||
<script src="../vendors/pnotify/dist/pnotify.nonblock.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -17,7 +17,7 @@
|
|||
<link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom styling plus plugins -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -1735,6 +1735,6 @@
|
|||
<script src="../vendors/nprogress/nprogress.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -17,7 +17,7 @@
|
|||
<link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom styling plus plugins -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -2343,6 +2343,6 @@
|
|||
<script src="../vendors/nprogress/nprogress.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -19,7 +19,7 @@
|
|||
<link href="../vendors/google-code-prettify/bin/prettify.min.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom styling plus plugins -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -636,7 +636,7 @@
|
|||
<script src="../vendors/google-code-prettify/src/prettify.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -26,7 +26,7 @@
|
|||
<link href="../vendors/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -1018,7 +1018,7 @@
|
|||
<script src="../vendors/bootstrap-daterangepicker/daterangepicker.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<link href="../vendors/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -766,6 +766,6 @@
|
|||
<script src="../vendors/bootstrap-daterangepicker/daterangepicker.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -22,7 +22,7 @@
|
|||
<link href="../vendors/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -882,204 +882,7 @@
|
|||
<script src="../vendors/bootstrap-daterangepicker/daterangepicker.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
|
||||
|
||||
<!-- jQuery Sparklines -->
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$(".sparkline_one").sparkline([2, 4, 3, 4, 5, 4, 5, 4, 3, 4, 5, 6, 7, 5, 4, 3, 5, 6], {
|
||||
type: 'bar',
|
||||
height: '40',
|
||||
barWidth: 9,
|
||||
colorMap: {
|
||||
'7': '#a1a1a1'
|
||||
},
|
||||
barSpacing: 2,
|
||||
barColor: '#26B99A'
|
||||
});
|
||||
|
||||
$(".sparkline_two").sparkline([2, 4, 3, 4, 5, 4, 5, 4, 3, 4, 5, 6, 7, 5, 4, 3, 5, 6], {
|
||||
type: 'line',
|
||||
width: '200',
|
||||
height: '40',
|
||||
lineColor: '#26B99A',
|
||||
fillColor: 'rgba(223, 223, 223, 0.57)',
|
||||
lineWidth: 2,
|
||||
spotColor: '#26B99A',
|
||||
minSpotColor: '#26B99A'
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!-- /jQuery Sparklines -->
|
||||
|
||||
<!-- Doughnut Chart -->
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
var options = {
|
||||
legend: false,
|
||||
responsive: false
|
||||
};
|
||||
|
||||
new Chart(document.getElementById("canvas1"), {
|
||||
type: 'doughnut',
|
||||
tooltipFillColor: "rgba(51, 51, 51, 0.55)",
|
||||
data: {
|
||||
labels: [
|
||||
"Symbian",
|
||||
"Blackberry",
|
||||
"Other",
|
||||
"Android",
|
||||
"IOS"
|
||||
],
|
||||
datasets: [{
|
||||
data: [15, 20, 30, 10, 30],
|
||||
backgroundColor: [
|
||||
"#BDC3C7",
|
||||
"#9B59B6",
|
||||
"#E74C3C",
|
||||
"#26B99A",
|
||||
"#3498DB"
|
||||
],
|
||||
hoverBackgroundColor: [
|
||||
"#CFD4D8",
|
||||
"#B370CF",
|
||||
"#E95E4F",
|
||||
"#36CAAB",
|
||||
"#49A9EA"
|
||||
]
|
||||
}]
|
||||
},
|
||||
options: options
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!-- /Doughnut Chart -->
|
||||
|
||||
<!-- bootstrap-daterangepicker -->
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
|
||||
var cb = function(start, end, label) {
|
||||
console.log(start.toISOString(), end.toISOString(), label);
|
||||
$('#reportrange span').html(start.format('MMMM D, YYYY') + ' - ' + end.format('MMMM D, YYYY'));
|
||||
};
|
||||
|
||||
var optionSet1 = {
|
||||
startDate: moment().subtract(29, 'days'),
|
||||
endDate: moment(),
|
||||
minDate: '01/01/2012',
|
||||
maxDate: '12/31/2015',
|
||||
dateLimit: {
|
||||
days: 60
|
||||
},
|
||||
showDropdowns: true,
|
||||
showWeekNumbers: true,
|
||||
timePicker: false,
|
||||
timePickerIncrement: 1,
|
||||
timePicker12Hour: true,
|
||||
ranges: {
|
||||
'Today': [moment(), moment()],
|
||||
'Yesterday': [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
|
||||
'Last 7 Days': [moment().subtract(6, 'days'), moment()],
|
||||
'Last 30 Days': [moment().subtract(29, 'days'), moment()],
|
||||
'This Month': [moment().startOf('month'), moment().endOf('month')],
|
||||
'Last Month': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').endOf('month')]
|
||||
},
|
||||
opens: 'left',
|
||||
buttonClasses: ['btn btn-default'],
|
||||
applyClass: 'btn-small btn-primary',
|
||||
cancelClass: 'btn-small',
|
||||
format: 'MM/DD/YYYY',
|
||||
separator: ' to ',
|
||||
locale: {
|
||||
applyLabel: 'Submit',
|
||||
cancelLabel: 'Clear',
|
||||
fromLabel: 'From',
|
||||
toLabel: 'To',
|
||||
customRangeLabel: 'Custom',
|
||||
daysOfWeek: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
|
||||
monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
|
||||
firstDay: 1
|
||||
}
|
||||
};
|
||||
$('#reportrange span').html(moment().subtract(29, 'days').format('MMMM D, YYYY') + ' - ' + moment().format('MMMM D, YYYY'));
|
||||
$('#reportrange').daterangepicker(optionSet1, cb);
|
||||
$('#reportrange').on('show.daterangepicker', function() {
|
||||
console.log("show event fired");
|
||||
});
|
||||
$('#reportrange').on('hide.daterangepicker', function() {
|
||||
console.log("hide event fired");
|
||||
});
|
||||
$('#reportrange').on('apply.daterangepicker', function(ev, picker) {
|
||||
console.log("apply event fired, start/end dates are " + picker.startDate.format('MMMM D, YYYY') + " to " + picker.endDate.format('MMMM D, YYYY'));
|
||||
});
|
||||
$('#reportrange').on('cancel.daterangepicker', function(ev, picker) {
|
||||
console.log("cancel event fired");
|
||||
});
|
||||
$('#options1').click(function() {
|
||||
$('#reportrange').data('daterangepicker').setOptions(optionSet1, cb);
|
||||
});
|
||||
$('#options2').click(function() {
|
||||
$('#reportrange').data('daterangepicker').setOptions(optionSet2, cb);
|
||||
});
|
||||
$('#destroy').click(function() {
|
||||
$('#reportrange').data('daterangepicker').remove();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!-- /bootstrap-daterangepicker -->
|
||||
|
||||
<!-- morris.js -->
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
Morris.Bar({
|
||||
element: 'graph_bar',
|
||||
data: [
|
||||
{ "period": "Jan", "Hours worked": 80 },
|
||||
{ "period": "Feb", "Hours worked": 125 },
|
||||
{ "period": "Mar", "Hours worked": 176 },
|
||||
{ "period": "Apr", "Hours worked": 224 },
|
||||
{ "period": "May", "Hours worked": 265 },
|
||||
{ "period": "Jun", "Hours worked": 314 },
|
||||
{ "period": "Jul", "Hours worked": 347 },
|
||||
{ "period": "Aug", "Hours worked": 287 },
|
||||
{ "period": "Sep", "Hours worked": 240 },
|
||||
{ "period": "Oct", "Hours worked": 211 }
|
||||
],
|
||||
xkey: 'period',
|
||||
hideHover: 'auto',
|
||||
barColors: ['#26B99A', '#34495E', '#ACADAC', '#3498DB'],
|
||||
ykeys: ['Hours worked', 'sorned'],
|
||||
labels: ['Hours worked', 'SORN'],
|
||||
xLabelAngle: 60,
|
||||
resize: true
|
||||
});
|
||||
|
||||
$MENU_TOGGLE.on('click', function() {
|
||||
$(window).resize();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!-- /morris.js -->
|
||||
|
||||
<!-- Skycons -->
|
||||
<script>
|
||||
var icons = new Skycons({
|
||||
"color": "#73879C"
|
||||
}),
|
||||
list = [
|
||||
"clear-day", "clear-night", "partly-cloudy-day",
|
||||
"partly-cloudy-night", "cloudy", "rain", "sleet", "snow", "wind",
|
||||
"fog"
|
||||
],
|
||||
i;
|
||||
|
||||
for (i = list.length; i--;)
|
||||
icons.set(list[i], list[i]);
|
||||
|
||||
icons.play();
|
||||
</script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -17,7 +17,7 @@
|
|||
<link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom styling plus plugins -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -490,6 +490,6 @@
|
|||
<script src="../vendors/nprogress/nprogress.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -18,7 +18,7 @@
|
|||
<link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -299,6 +299,6 @@
|
|||
<script src="../vendors/nprogress/nprogress.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -19,7 +19,7 @@
|
|||
<link href="../vendors/animate.css/animate.min.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="login">
|
||||
|
|
1409
production/map.html
1409
production/map.html
File diff suppressed because it is too large
Load Diff
|
@ -18,7 +18,7 @@
|
|||
<link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom styling plus plugins -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -533,6 +533,6 @@
|
|||
<script src="../vendors/nprogress/nprogress.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -19,7 +19,7 @@
|
|||
<link href="../vendors/iCheck/skins/flat/green.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -493,7 +493,7 @@
|
|||
<script src="../vendors/morris.js/morris.min.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -21,7 +21,7 @@
|
|||
<link href="../vendors/jqvmap/dist/jqvmap.min.css" rel="stylesheet"/>
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -456,7 +456,7 @@
|
|||
<script src="../vendors/jquery.easy-pie-chart/dist/jquery.easypiechart.min.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -17,7 +17,7 @@
|
|||
<link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -61,6 +61,6 @@
|
|||
<script src="../vendors/nprogress/nprogress.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -17,7 +17,7 @@
|
|||
<link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -61,6 +61,6 @@
|
|||
<script src="../vendors/nprogress/nprogress.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -61,6 +61,6 @@
|
|||
<script src="../vendors/nprogress/nprogress.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -17,7 +17,7 @@
|
|||
<link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -340,6 +340,6 @@
|
|||
<script src="../vendors/nprogress/nprogress.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -481,6 +481,6 @@
|
|||
<script src="../vendors/nprogress/nprogress.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -19,7 +19,7 @@
|
|||
<link href="../vendors/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -576,7 +576,7 @@
|
|||
<script src="../vendors/bootstrap-daterangepicker/daterangepicker.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -19,7 +19,7 @@
|
|||
<link href="../vendors/iCheck/skins/flat/green.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -478,7 +478,7 @@
|
|||
<script src="../vendors/echarts/dist/echarts.min.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -19,7 +19,7 @@
|
|||
<link href="../vendors/iCheck/skins/flat/green.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -684,6 +684,6 @@
|
|||
<script src="../vendors/bootstrap-progressbar/bootstrap-progressbar.min.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -19,7 +19,7 @@
|
|||
<link href="../vendors/iCheck/skins/flat/green.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -745,6 +745,6 @@
|
|||
<script src="../vendors/iCheck/icheck.min.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -25,7 +25,7 @@
|
|||
<link href="../vendors/datatables.net-scroller-bs/css/scroller.bootstrap.min.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -3701,7 +3701,7 @@
|
|||
<script src="../vendors/pdfmake/build/vfs_fonts.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -17,7 +17,7 @@
|
|||
<link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom styling plus plugins -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -377,6 +377,6 @@
|
|||
<script src="../vendors/nprogress/nprogress.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -19,7 +19,7 @@
|
|||
<link href="../vendors/bootstrap-progressbar/css/bootstrap-progressbar-3.3.4.min.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Theme Style -->
|
||||
<link href="../build/css/style.css" rel="stylesheet">
|
||||
<link href="../build/css/custom.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="nav-md">
|
||||
|
@ -909,7 +909,7 @@
|
|||
<script src="../vendors/bootstrap-progressbar/bootstrap-progressbar.min.js"></script>
|
||||
|
||||
<!-- Custom Theme Scripts -->
|
||||
<script src="../build/js/new-custom2.js"></script>
|
||||
<script src="../build/js/custom.min.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue