Commit b982a164 authored by Nicolas Widart's avatar Nicolas Widart

Fixing the iCheck load

parent 63ceab30
......@@ -6,7 +6,7 @@
!**/
/*
* Global variables. If you change any of these vars, don't forget
* Global variables. If you change any of these vars, don't forget
* to change the values in the less files!
*/
var left_side_width = 220; //Sidebar width in pixels
......@@ -41,11 +41,11 @@ $(function() {
//Activate tooltips
$("[data-toggle='tooltip']").tooltip();
/*
/*
* Add collapse and remove events to boxes
*/
$("[data-widget='collapse']").click(function() {
//Find the box parent
//Find the box parent
var box = $(this).parents(".box").first();
//Find the body and the footer
var bf = box.find(".box-body, .box-footer");
......@@ -87,7 +87,7 @@ $(function() {
});
$("[data-widget='remove']").click(function() {
//Find the box parent
//Find the box parent
var box = $(this).parents(".box").first();
box.slideUp();
});
......@@ -95,13 +95,13 @@ $(function() {
/* Sidebar tree view */
$(".sidebar .treeview").tree();
/*
/*
* Make sure that the sidebar is streched full height
* ---------------------------------------------
* We are gonna assign a min-height value every time the
* wrapper gets resized and upon page load. We will use
* Ben Alman's method for detecting the resize event.
*
*
**/
function _fix() {
//Get window height and the wrapper height
......@@ -129,12 +129,12 @@ $(function() {
fix_sidebar();
/*
* We are gonna initialize all checkbox and radio inputs to
* We are gonna initialize all checkbox and radio inputs to
* iCheck plugin in.
* You can find the documentation at http://fronteed.com/iCheck/
*/
$("input[type='checkbox']:not(.simple), input[type='radio']:not(.simple)").iCheck({
checkboxClass: 'icheckbox_minimal',
$(".iChecked:not(.simple), input[type='radio']:not(.simple)").iCheck({
checkboxClass: 'icheckbox_minimal-red',
radioClass: 'iradio_minimal'
});
......@@ -473,12 +473,12 @@ $(window).load(function() {
}).call(this);
});
/*
* BOX REFRESH BUTTON
/*
* BOX REFRESH BUTTON
* ------------------
* This is a custom plugin to use with the compenet BOX. It allows you to add
* a refresh button to the box. It converts the box's state to a loading state.
*
*
* USAGE:
* $("#box-widget").boxRefresh( options );
* */
......@@ -555,13 +555,13 @@ $(window).load(function() {
* SIDEBAR MENU
* ------------
* This is a custom plugin for the sidebar menu. It provides a tree view.
*
*
* Usage:
* $(".sidebar).tree();
*
*
* Note: This plugin does not accept any options. Instead, it only requires a class
* added to the element that contains a sub-menu.
*
*
* When used with the sidebar, for example, it would look something like this:
* <ul class='sidebar-menu'>
* <li class="treeview active">
......@@ -571,7 +571,7 @@ $(window).load(function() {
* </ul>
* </li>
* </ul>
*
*
* Add .active class to <li> elements if you want the menu to be open automatically
* on page load. See above for an example.
*/
......@@ -679,7 +679,7 @@ $(window).load(function() {
/*
* jQuery resize event - v1.1 - 3/14/2010
* http://benalman.com/projects/jquery-resize-plugin/
*
*
* Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
......@@ -743,8 +743,8 @@ $(window).load(function() {
/*!
* SlimScroll https://github.com/rochal/jQuery-slimScroll
* =======================================================
*
* Copyright (c) 2011 Piotr Rochala (http://rocha.la) Dual licensed under the MIT
*
* Copyright (c) 2011 Piotr Rochala (http://rocha.la) Dual licensed under the MIT
*/
(function(f) {
jQuery.fn.extend({slimScroll: function(h) {
......
......@@ -16,7 +16,6 @@
<link href="{{{ core_asset('css/vendor/ionicons.min.css') }}}" rel="stylesheet" type="text/css" />
<link href="{{{ core_asset('css/vendor/alertify/alertify.core.css') }}}" rel="stylesheet" type="text/css" />
<link href="{{{ core_asset('css/vendor/alertify/alertify.default.css') }}}" rel="stylesheet" type="text/css" />
<link href="{{{ core_asset('css/vendor/iCheck/minimal/blue.css') }}}" rel="stylesheet" type="text/css" />
<link href="{{{ core_asset('css/vendor/datatables/dataTables.bootstrap.css') }}}" rel="stylesheet" type="text/css" />
<!-- Theme style -->
<link href="{{{ core_asset('css/AdminLTE.css') }}}" rel="stylesheet" type="text/css" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment