qol: quick search input to have fixed width

This commit is contained in:
Gary Sharp
2025-07-03 12:53:47 +10:00
parent 8b8b26116e
commit 4660425ccc
7 changed files with 5 additions and 38 deletions
-3
View File
@@ -58515,9 +58515,6 @@ jQuery.fn.DataTable.defaults.aLengthMenu = [[10, 20, 50, 100, 200, -1], [10, 20,
$this.data('ui-autocomplete')._renderItem = function (ul, item) {
let template;
//"<a><strong>" + item.DisplayName + "</strong><br>" + item.Id + " (" + item.Type + ")</a>"
switch (item.Type) {
case 'Device':
template = $('<a>').append('<i class="fa fa-desktop fa-fw">').append($('<strong>').text('Device ' + item.Id)).append($('<div>').text(item.ComputerName + '; ' + item.DeviceModelDescription))
@@ -45,9 +45,6 @@
$this.data('ui-autocomplete')._renderItem = function (ul, item) {
let template;
//"<a><strong>" + item.DisplayName + "</strong><br>" + item.Id + " (" + item.Type + ")</a>"
switch (item.Type) {
case 'Device':
template = $('<a>').append('<i class="fa fa-desktop fa-fw">').append($('<strong>').text('Device ' + item.Id)).append($('<div>').text(item.ComputerName + '; ' + item.DeviceModelDescription))