Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Platform
Commits
b982a164
Commit
b982a164
authored
Sep 26, 2014
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing the iCheck load
parent
63ceab30
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
20 deletions
+19
-20
app.js
Assets/js/app.js
+19
-19
master.blade.php
Resources/views/layouts/master.blade.php
+0
-1
No files found.
Assets/js/app.js
View file @
b982a164
...
...
@@ -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
)
{
...
...
Resources/views/layouts/master.blade.php
View file @
b982a164
...
...
@@ -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"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment