mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
shorter button textes & cleanup
Signed-off-by: Th3M3 <the_me@outlook.de>
This commit is contained in:
@@ -150,8 +150,7 @@ function initTable() {
|
||||
})
|
||||
.selectpicker()
|
||||
.siblings(".dropdown-menu")
|
||||
.find(".btn-group")
|
||||
.parent()
|
||||
.find(".bs-actionsbox")
|
||||
.prepend(
|
||||
'<button type="button" id=btn_apply_' +
|
||||
data.id +
|
||||
|
||||
@@ -188,8 +188,7 @@ function initTable() {
|
||||
})
|
||||
.selectpicker()
|
||||
.siblings(".dropdown-menu")
|
||||
.find(".btn-group")
|
||||
.parent()
|
||||
.find(".bs-actionsbox")
|
||||
.prepend(
|
||||
'<button type="button" id=btn_apply_' +
|
||||
data.id +
|
||||
|
||||
@@ -138,6 +138,8 @@ function bsSelect_defaults() {
|
||||
pickerDEFAULTS.width = "fit";
|
||||
pickerDEFAULTS.container = "body";
|
||||
pickerDEFAULTS.dropdownAlignRight = "auto";
|
||||
pickerDEFAULTS.selectAllText = "All";
|
||||
pickerDEFAULTS.deselectAllText = "None";
|
||||
pickerDEFAULTS.countSelectedText = function(num, total) {
|
||||
if (num === total) {
|
||||
return "All selected (" + num + ")";
|
||||
|
||||
@@ -215,8 +215,7 @@ function initTable() {
|
||||
})
|
||||
.selectpicker()
|
||||
.siblings(".dropdown-menu")
|
||||
.find(".btn-group")
|
||||
.parent()
|
||||
.find(".bs-actionsbox")
|
||||
.prepend(
|
||||
'<button type="button" id=btn_apply_' +
|
||||
data.id +
|
||||
|
||||
Reference in New Issue
Block a user