Skip to content
Snippets Groups Projects
Commit 7c37a6f2 authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Mathias Schreiber
Browse files

[BUGFIX] Align icons in System Information Panel

Add the ``fa-fw`` class to enforce a fixed width for each icon to align the
labels next to the icons correctly.

Resolves: #71594
Releases: master
Change-Id: I274dbd195a72291d7ff2101f65c23d2eaabe01b8
Reviewed-on: https://review.typo3.org/44731


Reviewed-by: default avatarMathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: default avatarMichael Oehlhof <typo3@oehlhof.de>
Tested-by: default avatarMichael Oehlhof <typo3@oehlhof.de>
Reviewed-by: default avatarDaniel Lorenz <forge@extco.de>
Reviewed-by: default avatarJosef Glatz <josef.glatz@typo3.org>
Tested-by: default avatarJosef Glatz <josef.glatz@typo3.org>
Tested-by: default avatarDaniel Lorenz <forge@extco.de>
Reviewed-by: default avatarMathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: default avatarMathias Schreiber <mathias.schreiber@wmdb.de>
parent 39906992
No related merge requests found
......@@ -150,7 +150,7 @@ class SystemInformationToolbarItem implements ToolbarItemInterface
$this->systemInformation[] = array(
'title' => $this->getLanguageService()->sL('LLL:EXT:lang/locallang_core.xlf:toolbarItems.sysinfo.phpversion', true),
'value' => PHP_VERSION,
'icon' => '<span class="fa fa-code"></span>'
'icon' => '<span class="fa fa-code fa-fw"></span>'
);
}
......@@ -164,7 +164,7 @@ class SystemInformationToolbarItem implements ToolbarItemInterface
$this->systemInformation[] = array(
'title' => $this->getLanguageService()->sL('LLL:EXT:lang/locallang_core.xlf:toolbarItems.sysinfo.database', true),
'value' => $this->getDatabaseConnection()->getServerVersion(),
'icon' => '<span class="fa fa-database"></span>'
'icon' => '<span class="fa fa-database fa-fw"></span>'
);
}
......@@ -180,7 +180,7 @@ class SystemInformationToolbarItem implements ToolbarItemInterface
'title' => $this->getLanguageService()->sL('LLL:EXT:lang/locallang_core.xlf:toolbarItems.sysinfo.applicationcontext', true),
'value' => (string)$applicationContext,
'status' => $applicationContext->isProduction() ? InformationStatus::STATUS_OK : InformationStatus::STATUS_WARNING,
'icon' => '<span class="fa fa-tasks"></span>'
'icon' => '<span class="fa fa-tasks fa-fw"></span>'
);
}
......@@ -197,7 +197,7 @@ class SystemInformationToolbarItem implements ToolbarItemInterface
$this->systemInformation[] = array(
'title' => $languageService->sL('LLL:EXT:lang/locallang_core.xlf:toolbarItems.sysinfo.composerMode', true),
'value' => $languageService->sL('LLL:EXT:lang/locallang_core.xlf:labels.enabled', true),
'icon' => '<span class="fa fa-music"></span>'
'icon' => '<span class="fa fa-music fa-fw"></span>'
);
}
......@@ -224,7 +224,7 @@ class SystemInformationToolbarItem implements ToolbarItemInterface
$this->systemInformation[] = array(
'title' => $this->getLanguageService()->sL('LLL:EXT:lang/locallang_core.xlf:toolbarItems.sysinfo.gitrevision', true),
'value' => sprintf('%s [%s]', $revision, $branch),
'icon' => '<span class="fa fa-git"></span>'
'icon' => '<span class="fa fa-git fa-fw"></span>'
);
}
}
......@@ -250,7 +250,7 @@ class SystemInformationToolbarItem implements ToolbarItemInterface
$this->systemInformation[] = array(
'title' => $this->getLanguageService()->sL('LLL:EXT:lang/locallang_core.xlf:toolbarItems.sysinfo.operatingsystem', true),
'value' => $kernelName . ' ' . php_uname('r'),
'icon' => '<span class="fa fa-' . htmlspecialchars($icon) . '"></span>'
'icon' => '<span class="fa fa-' . htmlspecialchars($icon) . ' fa-fw"></span>'
);
}
......@@ -262,7 +262,7 @@ class SystemInformationToolbarItem implements ToolbarItemInterface
$this->systemInformation[] = array(
'title' => $this->getLanguageService()->sL('LLL:EXT:lang/locallang_core.xlf:toolbarItems.sysinfo.webserver', true),
'value' => htmlspecialchars($_SERVER['SERVER_SOFTWARE']),
'icon' => '<span class="fa fa-server"></span>'
'icon' => '<span class="fa fa-server fa-fw"></span>'
);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment