Place a more consistent Fontawesome icon for the Export to PDF (#13713)

In Alerts >> Alert History

1 - reword "Export to pdf" to "Export to PDF"
2 - replace the Fontawesome Heartbeat icon with the Fontawesome File to PDF icon.

Regards
GG
This commit is contained in:
ilGino
2022-01-26 15:43:22 -06:00
committed by GitHub
parent 113cd1d98e
commit d2d07b8c88

View File

@@ -167,7 +167,7 @@ $common_output[] = '<div class="form-group"> \
max = high - low;
search = $(\'.search-field\').val();
$(".pdf-export").html("<a href=\'pdf.php?report=alert-log&device_id=' . htmlspecialchars($_POST['device_id']) . '&string=" + search + "&results=" + max + "&start=" + low + "\'><i class=\'fa fa-heartbeat fa-lg icon-theme\' aria-hidden=\'true\'></i> Export to pdf</a>");
$(".pdf-export").html("<a href=\'pdf.php?report=alert-log&device_id=' . htmlspecialchars($_POST['device_id']) . '&string=" + search + "&results=" + max + "&start=" + low + "\'><i class=\'fa fa-file-pdf-o fa-lg icon-theme\' aria-hidden=\'true\'></i> Export to PDF</a>");
grid.find(".incident-toggle").each(function () {
$(this).parent().addClass(\'incident-toggle-td\');