diff options
Diffstat (limited to 'modules-available/passthrough/templates')
-rw-r--r-- | modules-available/passthrough/templates/hardware-list.html | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/modules-available/passthrough/templates/hardware-list.html b/modules-available/passthrough/templates/hardware-list.html index d331acb5..4bff0a39 100644 --- a/modules-available/passthrough/templates/hardware-list.html +++ b/modules-available/passthrough/templates/hardware-list.html @@ -18,7 +18,7 @@ </td> {{/class_name}} {{^class_name}} - <td>{{vendor}}:{{device}}</td> + <td>{{vendor}}:{{device}} [{{rev}}]</td> <td> <table class="slx-ellipsis"> <tr> @@ -101,25 +101,5 @@ $(this).append($('<option>').attr('value', gid).text(gid + ' (' + title + ')')); }); }); - var missing = {{{missing_ids}}}; - var doQuery = function() { - if (missing && missing.length > 0) { - $.ajax({ - url: '?do=statistics', dataType: "json", method: "POST", data: { - token: TOKEN, - action: 'json-lookup', - list: missing.splice(0, 10) // Query 10 at a time max - } - }).done(function (data) { - if (!data) - return; - for (var k in data) { - $('.query-' + k.replace(':', '-')).text(data[k]); - } - doQuery(); - }); - } - } - doQuery(); }); </script>
\ No newline at end of file |