Interfaces: Diagnostics: Packet Capture - fix wrapping as suggested in https://github.com/opnsense/core/pull/8554

This commit is contained in:
Ad Schellevis 2025-04-16 19:58:22 +02:00
parent 4d20b54aa5
commit 5d0007a023

View File

@ -198,8 +198,7 @@
*/
$("#btn_start_new > b").text("{{ lang._('Start') }}");
// (de)select all interfaces
$("select.interface_select").closest("td").find('a').remove();
$("select.interface_select").closest("td").find('br').remove();
$("select.interface_select").closest("td").css("white-space", "nowrap").find('a,br').remove();;
let btn_toggle_all = $('<button id="select_all" type="button" class="btn btn-default">');
btn_toggle_all.append($('<i class="fa fa-check-square-o fa-fw" aria-hidden="true"></i>'));
btn_toggle_all.tooltip({"title": "{{ lang._('(de)select all') }}"});