Apply fixes from StyleCI (#12124)

This commit is contained in:
Jellyfrog
2020-09-21 15:59:34 +02:00
committed by GitHub
parent 0d56bbd946
commit 29f45ca352
816 changed files with 5038 additions and 5038 deletions

View File

@@ -30,7 +30,7 @@ foreach (Application::query()->hasAccess(Auth::user())->with('device')->get()->s
$overlib_url = route('device', [$app->device_id, 'apps', "app=$app->app_type"]);
$app_state = \LibreNMS\Util\Html::appStateIcon($app->app_state);
$app_state_info = "<font color=\"" . $app_state['color'] . "\"><i title=\"" . $app_state['hover_text'] . "\" class=\"fa " . $app_state['icon'] . " fa-fw fa-lg\" aria-hidden=\"true\"></i></font>";
$app_state_info = '<font color="' . $app_state['color'] . '"><i title="' . $app_state['hover_text'] . '" class="fa ' . $app_state['icon'] . ' fa-fw fa-lg" aria-hidden="true"></i></font>';
$overlib_link = '<span style="float:left; margin-left: 10px; font-weight: bold;">' . $app_state_info . optional($app->device)->shortDisplayName() . '</span>';
if (! empty($app->app_instance)) {