Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
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
Kulya
OpnSense
Commits
d37aff72
Commit
d37aff72
authored
Nov 27, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src: whitespace sweep :)
parent
71675f7f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
21 deletions
+21
-21
jquery.bootgrid.css
src/opnsense/www/css/jquery.bootgrid.css
+1
-1
jquery.bootgrid.js
src/opnsense/www/js/jquery.bootgrid.js
+20
-20
No files found.
src/opnsense/www/css/jquery.bootgrid.css
View file @
d37aff72
/*!
/*!
* jQuery Bootgrid v1.3.1 - 09/11/2015
* jQuery Bootgrid v1.3.1 - 09/11/2015
* Copyright (c) 2014-2015 Rafael Staib (http://www.jquery-bootgrid.com)
* Copyright (c) 2014-2015 Rafael Staib (http://www.jquery-bootgrid.com)
* Licensed under MIT http://www.opensource.org/licenses/MIT
* Licensed under MIT http://www.opensource.org/licenses/MIT
...
...
src/opnsense/www/js/jquery.bootgrid.js
View file @
d37aff72
/*!
/*!
* jQuery Bootgrid v1.3.1 - 09/11/2015
* jQuery Bootgrid v1.3.1 - 09/11/2015
* Copyright (c) 2014-2015 Rafael Staib (http://www.jquery-bootgrid.com)
* Copyright (c) 2014-2015 Rafael Staib (http://www.jquery-bootgrid.com)
* Licensed under MIT http://www.opensource.org/licenses/MIT
* Licensed under MIT http://www.opensource.org/licenses/MIT
...
@@ -127,7 +127,7 @@
...
@@ -127,7 +127,7 @@
sortable
:
!
(
data
.
sortable
===
false
),
// default: true
sortable
:
!
(
data
.
sortable
===
false
),
// default: true
visible
:
!
(
data
.
visible
===
false
),
// default: true
visible
:
!
(
data
.
visible
===
false
),
// default: true
visibleInSelection
:
!
(
data
.
visibleInSelection
===
false
),
// default: true
visibleInSelection
:
!
(
data
.
visibleInSelection
===
false
),
// default: true
width
:
(
$
.
isNumeric
(
data
.
width
))
?
data
.
width
+
"
px
"
:
width
:
(
$
.
isNumeric
(
data
.
width
))
?
data
.
width
+
"
px
"
:
(
typeof
(
data
.
width
)
===
"
string
"
)
?
data
.
width
:
null
(
typeof
(
data
.
width
)
===
"
string
"
)
?
data
.
width
:
null
};
};
that
.
columns
.
push
(
column
);
that
.
columns
.
push
(
column
);
...
@@ -390,7 +390,7 @@
...
@@ -390,7 +390,7 @@
.
on
(
"
click
"
+
namespace
,
selector
,
function
(
e
)
.
on
(
"
click
"
+
namespace
,
selector
,
function
(
e
)
{
{
e
.
stopPropagation
();
e
.
stopPropagation
();
var
$this
=
$
(
this
),
var
$this
=
$
(
this
),
checkbox
=
$this
.
find
(
checkboxSelector
);
checkbox
=
$this
.
find
(
checkboxSelector
);
if
(
!
checkbox
.
prop
(
"
disabled
"
))
if
(
!
checkbox
.
prop
(
"
disabled
"
))
...
@@ -399,7 +399,7 @@
...
@@ -399,7 +399,7 @@
var
enable
=
that
.
columns
.
where
(
isVisible
).
length
>
1
;
var
enable
=
that
.
columns
.
where
(
isVisible
).
length
>
1
;
$this
.
parents
(
itemsSelector
).
find
(
selector
+
"
:has(
"
+
checkboxSelector
+
"
:checked)
"
)
$this
.
parents
(
itemsSelector
).
find
(
selector
+
"
:has(
"
+
checkboxSelector
+
"
:checked)
"
)
.
_bgEnableAria
(
enable
).
find
(
checkboxSelector
).
_bgEnableField
(
enable
);
.
_bgEnableAria
(
enable
).
find
(
checkboxSelector
).
_bgEnableField
(
enable
);
that
.
element
.
find
(
"
tbody
"
).
empty
();
// Fixes an column visualization bug
that
.
element
.
find
(
"
tbody
"
).
empty
();
// Fixes an column visualization bug
renderTableHeader
.
call
(
that
);
renderTableHeader
.
call
(
that
);
loadData
.
call
(
that
);
loadData
.
call
(
that
);
...
@@ -1087,7 +1087,7 @@
...
@@ -1087,7 +1087,7 @@
* @for searchSettings
* @for searchSettings
**/
**/
delay
:
250
,
delay
:
250
,
/**
/**
* The characters to type before the search gets executed.
* The characters to type before the search gets executed.
*
*
...
@@ -1335,7 +1335,7 @@
...
@@ -1335,7 +1335,7 @@
* @for statusMapping
* @for statusMapping
**/
**/
2
:
"
warning
"
,
2
:
"
warning
"
,
/**
/**
* Specifies a dangerous or potentially negative action.
* Specifies a dangerous or potentially negative action.
*
*
...
@@ -1519,7 +1519,7 @@
...
@@ -1519,7 +1519,7 @@
};
};
/**
/**
* Searches in all rows for a specific phrase (but only in visible cells).
* Searches in all rows for a specific phrase (but only in visible cells).
* The search filter will be reseted, if no argument is provided.
* The search filter will be reseted, if no argument is provided.
*
*
* @method search
* @method search
...
@@ -1664,7 +1664,7 @@
...
@@ -1664,7 +1664,7 @@
};
};
/**
/**
* Sorts the rows by a given sort descriptor dictionary.
* Sorts the rows by a given sort descriptor dictionary.
* The sort filter will be reseted, if no argument is provided.
* The sort filter will be reseted, if no argument is provided.
*
*
* @method sort
* @method sort
...
@@ -1825,8 +1825,8 @@
...
@@ -1825,8 +1825,8 @@
_bgBusyAria
:
function
(
busy
)
_bgBusyAria
:
function
(
busy
)
{
{
return
(
busy
==
null
||
busy
)
?
return
(
busy
==
null
||
busy
)
?
this
.
_bgAria
(
"
busy
"
,
"
true
"
)
:
this
.
_bgAria
(
"
busy
"
,
"
true
"
)
:
this
.
_bgAria
(
"
busy
"
,
"
false
"
);
this
.
_bgAria
(
"
busy
"
,
"
false
"
);
},
},
...
@@ -1837,29 +1837,29 @@
...
@@ -1837,29 +1837,29 @@
_bgEnableAria
:
function
(
enable
)
_bgEnableAria
:
function
(
enable
)
{
{
return
(
enable
==
null
||
enable
)
?
return
(
enable
==
null
||
enable
)
?
this
.
removeClass
(
"
disabled
"
).
_bgAria
(
"
disabled
"
,
"
false
"
)
:
this
.
removeClass
(
"
disabled
"
).
_bgAria
(
"
disabled
"
,
"
false
"
)
:
this
.
addClass
(
"
disabled
"
).
_bgAria
(
"
disabled
"
,
"
true
"
);
this
.
addClass
(
"
disabled
"
).
_bgAria
(
"
disabled
"
,
"
true
"
);
},
},
_bgEnableField
:
function
(
enable
)
_bgEnableField
:
function
(
enable
)
{
{
return
(
enable
==
null
||
enable
)
?
return
(
enable
==
null
||
enable
)
?
this
.
removeAttr
(
"
disabled
"
)
:
this
.
removeAttr
(
"
disabled
"
)
:
this
.
attr
(
"
disabled
"
,
"
disable
"
);
this
.
attr
(
"
disabled
"
,
"
disable
"
);
},
},
_bgShowAria
:
function
(
show
)
_bgShowAria
:
function
(
show
)
{
{
return
(
show
==
null
||
show
)
?
return
(
show
==
null
||
show
)
?
this
.
show
().
_bgAria
(
"
hidden
"
,
"
false
"
)
:
this
.
show
().
_bgAria
(
"
hidden
"
,
"
false
"
)
:
this
.
hide
().
_bgAria
(
"
hidden
"
,
"
true
"
);
this
.
hide
().
_bgAria
(
"
hidden
"
,
"
true
"
);
},
},
_bgSelectAria
:
function
(
select
)
_bgSelectAria
:
function
(
select
)
{
{
return
(
select
==
null
||
select
)
?
return
(
select
==
null
||
select
)
?
this
.
addClass
(
"
active
"
).
_bgAria
(
"
selected
"
,
"
true
"
)
:
this
.
addClass
(
"
active
"
).
_bgAria
(
"
selected
"
,
"
true
"
)
:
this
.
removeClass
(
"
active
"
).
_bgAria
(
"
selected
"
,
"
false
"
);
this
.
removeClass
(
"
active
"
).
_bgAria
(
"
selected
"
,
"
false
"
);
},
},
...
@@ -1949,8 +1949,8 @@
...
@@ -1949,8 +1949,8 @@
{
{
var
skip
=
(
page
-
1
)
*
size
,
var
skip
=
(
page
-
1
)
*
size
,
end
=
skip
+
size
;
end
=
skip
+
size
;
return
(
this
.
length
>
skip
)
?
return
(
this
.
length
>
skip
)
?
(
this
.
length
>
end
)
?
this
.
slice
(
skip
,
end
)
:
(
this
.
length
>
end
)
?
this
.
slice
(
skip
,
end
)
:
this
.
slice
(
skip
)
:
[];
this
.
slice
(
skip
)
:
[];
};
};
}
}
...
@@ -2039,4 +2039,4 @@
...
@@ -2039,4 +2039,4 @@
// ============
// ============
$
(
"
[data-toggle=
\"
bootgrid
\"
]
"
).
bootgrid
();
$
(
"
[data-toggle=
\"
bootgrid
\"
]
"
).
bootgrid
();
})(
jQuery
,
window
);
})(
jQuery
,
window
);
\ No newline at end of file
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