mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-30 17:58:59 +00:00
Add back select all to majority of pages.
This commit is contained in:
@@ -75,7 +75,7 @@
|
||||
<table class="data table table-striped responsive-utilities jambo-table bulk-action">
|
||||
<thead>
|
||||
<tr class="headings">
|
||||
<th>Select</th>
|
||||
<th><input id="check-all" type="checkbox" class="flat-all"/> Select All</th>
|
||||
<th>Name
|
||||
<a title="Sort Descending" href="{$orderbyname_desc}"><i
|
||||
class="fa-icon-caret-down text-muted"> </i></a>
|
||||
|
||||
@@ -33,9 +33,7 @@
|
||||
<table class="data table table-striped responsive-utilities jambo-table bulk-action">
|
||||
<thead>
|
||||
<tr class="headings">
|
||||
<th width="50">
|
||||
Select
|
||||
</th>
|
||||
<th><input id="check-all" type="checkbox" class="flat-all"/> Select All</th>
|
||||
<th class="column-title" style="display: table-cell;">Name</th>
|
||||
<th class="column-title" style="display: table-cell;">Added</th>
|
||||
<th class="column-title" style="display: table-cell;">Action</th>
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
<table style="width:100%;" class="data table table-striped responsive-utilities jambo-table"
|
||||
id="browsetable">
|
||||
<tr>
|
||||
<th>Select</th>
|
||||
<th><input id="check-all" type="checkbox" class="flat-all"/> Select All</th>
|
||||
<th>Name</th>
|
||||
<th>Category</th>
|
||||
<th>Posted</th>
|
||||
|
||||
@@ -99,7 +99,7 @@
|
||||
<table style="width:100%;"
|
||||
class="data table table-striped responsive-utilities jambo-table">
|
||||
<tr>
|
||||
<th>Select</th>
|
||||
<th><input id="check-all" type="checkbox" class="flat-all"/> Select All</th>
|
||||
<th>Name<br/>
|
||||
<a title="Sort Descending" href="{$orderbyname_desc}">
|
||||
<i class="fa fa-icon-caret-down"></i>
|
||||
|
||||
@@ -154,7 +154,7 @@
|
||||
<tr>
|
||||
<th>Ep</th>
|
||||
<th>Name</th>
|
||||
<th>Select</th>
|
||||
<th> Select All <input id="check-all" type="checkbox" class="flat-all"/></th>
|
||||
<th>Category</th>
|
||||
<th>Posted</th>
|
||||
<th>Size</th>
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
<table style="width:100%;"
|
||||
class="data table table-striped responsive-utilities jambo-table">
|
||||
<tr>
|
||||
<th></th>
|
||||
<th><input id="check-all" type="checkbox" class="flat-all"/> Select All</th>
|
||||
<th>Name<br/>
|
||||
<a title="Sort Descending" href="{$orderbyname_desc}">
|
||||
<i class="fa fa-icon-caret-down"></i>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
@@ -12,7 +12,7 @@ $(function () {
|
||||
$('#sidebar-menu li').on('click touchstart', function() {
|
||||
var link = $('a', this).attr('href');
|
||||
|
||||
if(link) {
|
||||
if(link) {
|
||||
window.location.href = link;
|
||||
} else {
|
||||
if ($(this).is('.active')) {
|
||||
@@ -21,7 +21,7 @@ $(function () {
|
||||
} else {
|
||||
$('#sidebar-menu li').removeClass('active');
|
||||
$('#sidebar-menu li ul').slideUp();
|
||||
|
||||
|
||||
$(this).addClass('active');
|
||||
$('ul', this).slideDown();
|
||||
}
|
||||
@@ -109,14 +109,33 @@ $('.collapse-link').click(function () {
|
||||
});
|
||||
/** ****** /collapse panel *********************** **/
|
||||
/** ****** iswitch *********************** **/
|
||||
if ($("input.flat")[0]) {
|
||||
$(document).ready(function () {
|
||||
$('input.flat').iCheck({
|
||||
checkboxClass: 'icheckbox_flat-green',
|
||||
radioClass: 'iradio_flat-green'
|
||||
});
|
||||
|
||||
$(function () {
|
||||
var checkAll = $('input.flat-all');
|
||||
var checkboxes = $('input.flat');
|
||||
|
||||
$('input').iCheck({
|
||||
checkboxClass: 'icheckbox_flat-green',
|
||||
radioClass: 'iradio_flat-green'
|
||||
});
|
||||
}
|
||||
|
||||
checkAll.on('ifChecked ifUnchecked', function(event) {
|
||||
if (event.type == 'ifChecked') {
|
||||
checkboxes.iCheck('check');
|
||||
} else {
|
||||
checkboxes.iCheck('uncheck');
|
||||
}
|
||||
});
|
||||
|
||||
checkboxes.on('ifChanged', function(event){
|
||||
if(checkboxes.filter(':checked').length == checkboxes.length) {
|
||||
checkAll.prop('checked', 'checked');
|
||||
} else {
|
||||
checkAll.prop('checked', false);
|
||||
}
|
||||
checkAll.iCheck('update');
|
||||
});
|
||||
});
|
||||
/** ****** /iswitch *********************** **/
|
||||
/** ****** star rating *********************** **/
|
||||
// Starrr plugin (https://github.com/dobtco/starrr)
|
||||
@@ -332,4 +351,4 @@ if (typeof NProgress != 'undefined') {
|
||||
NProgress.done();
|
||||
});
|
||||
}
|
||||
/** ****** NProgress *********************** **/
|
||||
/** ****** NProgress *********************** **/
|
||||
|
||||
Reference in New Issue
Block a user