ui: search tracker name and tracker url. resolves #10870 (#12803)

This commit is contained in:
Diego Heras
2022-01-16 16:32:47 +01:00
committed by GitHub
parent f2d21899e6
commit a5b7e58d26
2 changed files with 24 additions and 4 deletions

View File

@@ -288,6 +288,12 @@ function displayConfiguredIndexersList(indexers) {
"visible": true, "visible": true,
"searchable": true, "searchable": true,
"orderable": true "orderable": true
},
{
"targets": 2,
"visible": false,
"searchable": true,
"orderable": false
} }
] ]
}); });
@@ -430,6 +436,13 @@ function displayUnconfiguredIndexersList() {
"visible": true, "visible": true,
"searchable": false, "searchable": false,
"orderable": false "orderable": false
},
{
"name": "url",
"targets": 7,
"visible": false,
"searchable": true,
"orderable": false
} }
] ]
}); });

View File

@@ -306,11 +306,12 @@
<script id="configured-indexer-table" type="text/x-handlebars-template"> <script id="configured-indexer-table" type="text/x-handlebars-template">
<div class="tab-content configured-indexer-div"> <div class="tab-content configured-indexer-div">
<table id="configured-indexer-datatable" class="indexer-table dataTable compact cell-border hover stripe table table-responsive"> <table id="configured-indexer-datatable" class="indexer-table dataTable compact cell-border hover stripe table table-responsive" style="width: 100%">
<thead> <thead>
<tr> <tr>
<th>Indexer</th> <th>Indexer</th>
<th>Actions</th> <th>Actions</th>
<th data-type="hiddendata">URL</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@@ -338,12 +339,15 @@
</button> </button>
</div> </div>
</td> </td>
<td data-type="hiddendata">{{site_link}}</td>
</tr> </tr>
{{/each}} {{/each}}
</tbody> </tbody>
<tfoot> <tfoot>
<tr> <tr>
<td colspan="2"></td> <th></th>
<th></th>
<th data-type="hiddendata"></th>
</tr> </tr>
</tfoot> </tfoot>
</table> </table>
@@ -352,7 +356,7 @@
<script id="unconfigured-indexer-table" type="text/x-handlebars-template"> <script id="unconfigured-indexer-table" type="text/x-handlebars-template">
<div class="unconfigured-indexer-div"> <div class="unconfigured-indexer-div">
<table id="unconfigured-indexer-datatable" class="indexer-table dataTable compact cell-border hover stripe table table-responsive"> <table id="unconfigured-indexer-datatable" class="indexer-table dataTable compact cell-border hover stripe table table-responsive" style="width: 100%">
<thead> <thead>
<tr> <tr>
<th></th> <th></th>
@@ -362,6 +366,7 @@
<th data-type="hiddendata">Type string</th> <th data-type="hiddendata">Type string</th>
<th>Language</th> <th>Language</th>
<th></th> <th></th>
<th data-type="hiddendata">URL</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@@ -389,6 +394,7 @@
{{/if_eq}} {{/if_eq}}
</div> </div>
</td> </td>
<td data-type="hiddendata">{{site_link}}</td>
</tr> </tr>
{{/each}} {{/each}}
</tbody> </tbody>
@@ -401,6 +407,7 @@
<th data-type="hiddendata">Type string</th> <th data-type="hiddendata">Type string</th>
<th>Language</th> <th>Language</th>
<th></th> <th></th>
<th data-type="hiddendata">URL</th>
</tr> </tr>
</tfoot> </tfoot>
</table> </table>
@@ -736,6 +743,6 @@
</script> </script>
<script type="text/javascript" src="../libs/api.js?changed=2017083001"></script> <script type="text/javascript" src="../libs/api.js?changed=2017083001"></script>
<script type="text/javascript" src="../custom.js?changed=2022010901"></script> <script type="text/javascript" src="../custom.js?changed=2022011001"></script>
</body> </body>
</html> </html>