Migrates font-awesome 5 fa to fas

This commit is contained in:
Simone Mainardi 2019-12-18 11:50:02 +01:00
parent e28d0ec755
commit dacaa7e3db
107 changed files with 669 additions and 669 deletions

View file

@ -95,7 +95,7 @@ for key in pairsByValues(sort_to_key, sOrder) do
local chart = ""
if ts_utils.exists("monitored_host:rtt", {ifid=getSystemInterfaceId(), host=key}) then
chart = '<a href="'.. plugins_utils.getUrl('rtt_stats.lua') .. '?rtt_host='.. key ..'&page=historical"><i class="fa fa-chart-area fa-lg"></i></a>'
chart = '<a href="'.. plugins_utils.getUrl('rtt_stats.lua') .. '?rtt_host='.. key ..'&page=historical"><i class="fas fa-chart-area fa-lg"></i></a>'
end
local column_last_ip = ""

View file

@ -47,19 +47,19 @@ page_utils.print_navbar(title, url,
{
active = page == "overview" or not page,
page_name = "overview",
label = "<i class=\"fa fa-lg fa-home\"></i>",
label = "<i class=\"fas fa-lg fa-home\"></i>",
},
{
hidden = not host or not ts_utils.exists("monitored_host:rtt", {ifid=getSystemInterfaceId(), host = host}),
active = page == "historical",
page_name = "historical",
label = "<i class='fa fa-lg fa-chart-area'></i>",
label = "<i class='fas fa-lg fa-chart-area'></i>",
},
{
hidden = not isAdministrator() or not plugins_utils.hasAlerts(getSystemInterfaceId(), {entity = alert_consts.alertEntity("pinged_host")}),
active = page == "alerts",
page_name = "alerts",
label = "<i class=\"fa fa-lg fa-exclamation-triangle\"></i>",
label = "<i class=\"fas fa-lg fa-exclamation-triangle\"></i>",
},
}
)
@ -134,7 +134,7 @@ if(page == "overview") then
buttons: [
]]
if isAdministrator() then
print[['<a id="addRowBtn" onclick="addRow()" role="button" class="add-on btn" data-toggle="modal"><i class="fa fa-plus" aria-hidden="true"></i></a>']]
print[['<a id="addRowBtn" onclick="addRow()" role="button" class="add-on btn" data-toggle="modal"><i class="fas fa-plus" aria-hidden="true"></i></a>']]
end
print[[
],