1/* 2 * Author: Abdullah A Almsaeed 3 * Date: 4 Jan 2014 4 * Description: 5 * This is a demo file used only for the main dashboard (index.html) 6 **/ 7 8$(function () { 9 10 "use strict"; 11 12 //Make the dashboard widgets sortable Using jquery UI 13 $(".connectedSortable").sortable({ 14 placeholder: "sort-highlight", 15 connectWith: ".connectedSortable", 16 handle: ".box-header, .nav-tabs", 17 forcePlaceholderSize: true, 18 zIndex: 999999 19 }); 20 $(".connectedSortable .box-header, .connectedSortable .nav-tabs-custom").css("cursor", "move"); 21 22 //jQuery UI sortable for the todo list 23 $(".todo-list").sortable({ 24 placeholder: "sort-highlight", 25 handle: ".handle", 26 forcePlaceholderSize: true, 27 zIndex: 999999 28 }); 29 30 $('.daterange').daterangepicker({ 31 ranges: { 32 'Today': [moment(), moment()], 33 'Yesterday': [moment().subtract(1, 'days'), moment().subtract(1, 'days')], 34 'Last 7 Days': [moment().subtract(6, 'days'), moment()], 35 'Last 30 Days': [moment().subtract(29, 'days'), moment()], 36 'This Month': [moment().startOf('month'), moment().endOf('month')], 37 'Last Month': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').endOf('month')] 38 }, 39 startDate: moment().subtract(29, 'days'), 40 endDate: moment() 41 }, function (start, end) { 42 window.alert("You chose: " + start.format('MMMM D, YYYY') + ' - ' + end.format('MMMM D, YYYY')); 43 }); 44 45 /* jQueryKnob */ 46 $(".knob").knob(); 47 48 //Fix for charts under tabs 49 $('.box ul.nav a').on('shown.bs.tab', function () { 50 51 }); 52 53});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.