123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- </div>
- <!-- Mainly scripts -->
- <script src="{$Think.config.resources}/js/jquery-3.1.1.min.js"></script>
- <script src="{$Think.config.resources}/js/bootstrap.min.js"></script>
- <script src="{$Think.config.resources}/js/plugins/metisMenu/jquery.metisMenu.js"></script>
- <script src="{$Think.config.resources}/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
- <!-- Flot -->
- <script src="{$Think.config.resources}/js/plugins/flot/jquery.flot.js"></script>
- <script src="{$Think.config.resources}/js/plugins/flot/jquery.flot.tooltip.min.js"></script>
- <script src="{$Think.config.resources}/js/plugins/flot/jquery.flot.spline.js"></script>
- <script src="{$Think.config.resources}/js/plugins/flot/jquery.flot.resize.js"></script>
- <script src="{$Think.config.resources}/js/plugins/flot/jquery.flot.pie.js"></script>
- <!-- Peity -->
- <script src="{$Think.config.resources}/js/plugins/peity/jquery.peity.min.js"></script>
- <script src="{$Think.config.resources}/js/demo/peity-demo.js"></script>
- <!-- Custom and plugin javascript -->
- <script src="{$Think.config.resources}/js/inspinia.js"></script>
- <script src="{$Think.config.resources}/js/plugins/pace/pace.min.js"></script>
- <!-- jQuery UI -->
- <script src="{$Think.config.resources}/js/plugins/jquery-ui/jquery-ui.min.js"></script>
- <!-- GITTER -->
- <script src="{$Think.config.resources}js/plugins/gritter/jquery.gritter.min.js"></script>
- <!-- Sparkline -->
- <script src="{$Think.config.resources}/js/plugins/sparkline/jquery.sparkline.min.js"></script>
- <!-- Sparkline demo data -->
- <script src="{$Think.config.resources}/js/demo/sparkline-demo.js"></script>
- <!-- ChartJS-->
- <script src="{$Think.config.resources}/js/plugins/chartJs/Chart.min.js"></script>
- <!-- Toastr -->
- <script src="{$Think.config.resources}/js/plugins/toastr/toastr.min.js"></script>
- <script>
- $(document).ready(function() {
- setTimeout(function() {
- toastr.options = {
- closeButton: true,
- progressBar: true,
- showMethod: 'slideDown',
- timeOut: 4000
- };
- toastr.success('Responsive Admin Theme', 'Welcome to INSPINIA');
- }, 1300);
- var data1 = [
- [0,4],[1,8],[2,5],[3,10],[4,4],[5,16],[6,5],[7,11],[8,6],[9,11],[10,30],[11,10],[12,13],[13,4],[14,3],[15,3],[16,6]
- ];
- var data2 = [
- [0,1],[1,0],[2,2],[3,0],[4,1],[5,3],[6,1],[7,5],[8,2],[9,3],[10,2],[11,1],[12,0],[13,2],[14,8],[15,0],[16,0]
- ];
- $("#flot-dashboard-chart").length && $.plot($("#flot-dashboard-chart"), [
- data1, data2
- ],
- {
- series: {
- lines: {
- show: false,
- fill: true
- },
- splines: {
- show: true,
- tension: 0.4,
- lineWidth: 1,
- fill: 0.4
- },
- points: {
- radius: 0,
- show: true
- },
- shadowSize: 2
- },
- grid: {
- hoverable: true,
- clickable: true,
- tickColor: "#f0f0f0",
- borderWidth: 1,
- color: '#f0f0f0'
- },
- colors: ["#1ab394", "#1C84C6"],
- xaxis:{
- },
- yaxis: {
- ticks: 4
- },
- tooltip: false
- }
- );
- var doughnutData = {
- labels: ["App","Software","Laptop" ],
- datasets: [{
- data: [300,50,100],
- backgroundColor: ["#a3e1d4","#dedede","#9CC3DA"]
- }]
- } ;
- var doughnutOptions = {
- responsive: false,
- legend: {
- display: false
- }
- };
- var ctx4 = document.getElementById("doughnutChart").getContext("2d");
- new Chart(ctx4, {type: 'doughnut', data: doughnutData, options:doughnutOptions});
- var doughnutData = {
- labels: ["App","Software","Laptop" ],
- datasets: [{
- data: [70,27,85],
- backgroundColor: ["#a3e1d4","#dedede","#9CC3DA"]
- }]
- } ;
- var doughnutOptions = {
- responsive: false,
- legend: {
- display: false
- }
- };
- var ctx4 = document.getElementById("doughnutChart2").getContext("2d");
- new Chart(ctx4, {type: 'doughnut', data: doughnutData, options:doughnutOptions});
- });
- </script>
- </body>
- </html>
|