//= require easy_cms/bootstrap.min //= require easy_cms/material.min //= require easy_cms/chartist.min //= require easy_cms/bootstrap-notify /*! ========================================================= * Material Dashboard - v1.1.1 ========================================================= * Product Page: http://www.creative-tim.com/product/material-dashboard * Copyright 2017 Creative Tim (http://www.creative-tim.com) * Licensed under MIT (https://github.com/creativetimofficial/material-dashboard/blob/master/LICENSE.md) ========================================================= * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ // Material Dashboard Wizard Functions var searchVisible = 0; var transparent = true; var transparentDemo = true; var fixedTop = false; var mobile_menu_visible = 0, mobile_menu_initialized = false, toggle_initialized = false, bootstrap_nav_initialized = false; var seq = 0, delays = 80, durations = 500; var seq2 = 0, delays2 = 80, durations2 = 500; $(document).ready(function(){ $sidebar = $('.sidebar'); $.material.init(); md.initSidebarsCheck(); window_width = $(window).width(); // check if there is an image set for the sidebar's background md.checkSidebarImage(); // Activate the tooltips $('[rel="tooltip"]').tooltip(); $('.form-control').on("focus", function(){ $(this).parent('.input-group').addClass("input-group-focus"); }).on("blur", function(){ $(this).parent(".input-group").removeClass("input-group-focus"); }); }); // activate collapse right menu when the windows is resized $(window).resize(function(){ md.initSidebarsCheck(); // reset the seq for charts drawing animations seq = seq2 = 0; }); md = { misc:{ navbar_menu_visible: 0, active_collapse: true, disabled_collapse_init: 0, }, checkSidebarImage: function(){ $sidebar = $('.sidebar'); image_src = $sidebar.data('image'); if(image_src !== undefined){ sidebar_container = '