public_footer.html 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. </div>
  2. <!-- Mainly scripts -->
  3. <script src="{$Think.config.resources}/js/jquery-3.1.1.min.js"></script>
  4. <script src="{$Think.config.resources}/js/bootstrap.min.js"></script>
  5. <script src="{$Think.config.resources}/js/plugins/metisMenu/jquery.metisMenu.js"></script>
  6. <script src="{$Think.config.resources}/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
  7. <!-- Flot -->
  8. <script src="{$Think.config.resources}/js/plugins/flot/jquery.flot.js"></script>
  9. <script src="{$Think.config.resources}/js/plugins/flot/jquery.flot.tooltip.min.js"></script>
  10. <script src="{$Think.config.resources}/js/plugins/flot/jquery.flot.spline.js"></script>
  11. <script src="{$Think.config.resources}/js/plugins/flot/jquery.flot.resize.js"></script>
  12. <script src="{$Think.config.resources}/js/plugins/flot/jquery.flot.pie.js"></script>
  13. <!-- Peity -->
  14. <script src="{$Think.config.resources}/js/plugins/peity/jquery.peity.min.js"></script>
  15. <script src="{$Think.config.resources}/js/demo/peity-demo.js"></script>
  16. <!-- Custom and plugin javascript -->
  17. <script src="{$Think.config.resources}/js/inspinia.js"></script>
  18. <script src="{$Think.config.resources}/js/plugins/pace/pace.min.js"></script>
  19. <!-- jQuery UI -->
  20. <script src="{$Think.config.resources}/js/plugins/jquery-ui/jquery-ui.min.js"></script>
  21. <!-- GITTER -->
  22. <script src="{$Think.config.resources}js/plugins/gritter/jquery.gritter.min.js"></script>
  23. <!-- Sparkline -->
  24. <script src="{$Think.config.resources}/js/plugins/sparkline/jquery.sparkline.min.js"></script>
  25. <!-- Sparkline demo data -->
  26. <script src="{$Think.config.resources}/js/demo/sparkline-demo.js"></script>
  27. <!-- ChartJS-->
  28. <script src="{$Think.config.resources}/js/plugins/chartJs/Chart.min.js"></script>
  29. <!-- Toastr -->
  30. <script src="{$Think.config.resources}/js/plugins/toastr/toastr.min.js"></script>
  31. <script>
  32. $(document).ready(function() {
  33. setTimeout(function() {
  34. toastr.options = {
  35. closeButton: true,
  36. progressBar: true,
  37. showMethod: 'slideDown',
  38. timeOut: 4000
  39. };
  40. toastr.success('Responsive Admin Theme', 'Welcome to INSPINIA');
  41. }, 1300);
  42. var data1 = [
  43. [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]
  44. ];
  45. var data2 = [
  46. [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]
  47. ];
  48. $("#flot-dashboard-chart").length && $.plot($("#flot-dashboard-chart"), [
  49. data1, data2
  50. ],
  51. {
  52. series: {
  53. lines: {
  54. show: false,
  55. fill: true
  56. },
  57. splines: {
  58. show: true,
  59. tension: 0.4,
  60. lineWidth: 1,
  61. fill: 0.4
  62. },
  63. points: {
  64. radius: 0,
  65. show: true
  66. },
  67. shadowSize: 2
  68. },
  69. grid: {
  70. hoverable: true,
  71. clickable: true,
  72. tickColor: "#f0f0f0",
  73. borderWidth: 1,
  74. color: '#f0f0f0'
  75. },
  76. colors: ["#1ab394", "#1C84C6"],
  77. xaxis:{
  78. },
  79. yaxis: {
  80. ticks: 4
  81. },
  82. tooltip: false
  83. }
  84. );
  85. var doughnutData = {
  86. labels: ["App","Software","Laptop" ],
  87. datasets: [{
  88. data: [300,50,100],
  89. backgroundColor: ["#a3e1d4","#dedede","#9CC3DA"]
  90. }]
  91. } ;
  92. var doughnutOptions = {
  93. responsive: false,
  94. legend: {
  95. display: false
  96. }
  97. };
  98. var ctx4 = document.getElementById("doughnutChart").getContext("2d");
  99. new Chart(ctx4, {type: 'doughnut', data: doughnutData, options:doughnutOptions});
  100. var doughnutData = {
  101. labels: ["App","Software","Laptop" ],
  102. datasets: [{
  103. data: [70,27,85],
  104. backgroundColor: ["#a3e1d4","#dedede","#9CC3DA"]
  105. }]
  106. } ;
  107. var doughnutOptions = {
  108. responsive: false,
  109. legend: {
  110. display: false
  111. }
  112. };
  113. var ctx4 = document.getElementById("doughnutChart2").getContext("2d");
  114. new Chart(ctx4, {type: 'doughnut', data: doughnutData, options:doughnutOptions});
  115. });
  116. </script>
  117. </body>
  118. </html>