Fixed Messages not showing correctly

This commit is contained in:
kolaente 2017-10-06 17:20:20 +02:00
parent 58550a8a96
commit 129e6ac281
2 changed files with 9 additions and 4 deletions

View File

@ -1283,11 +1283,11 @@ header .stream{
background: #4CAF50;
}
.message .message-fail {
.message .icon-fail {
background: #F44336;
}
.message .message-info {
.message .icon-info {
background: #2280db;
}
@ -1295,11 +1295,11 @@ header .stream{
content: "\f058";
}
.message .message-fail:before {
.message .icon-fail:before {
content: "\f057";
}
.message .message-info:before {
.message .icon-info:before {
content: "\f05a";
}

View File

@ -30,6 +30,11 @@ foreach ($installedApps as $appuri => $installedApp)
if (hasPerm('view_dashboard'))
{
echo msg('success', 'Success');
echo msg('fail', 'Fail');
echo msg('info', 'Info');
echo '<div class="cardsContainer cardsContainer-main"><div class="card-yellow" title="' . php_uname() . '"><span>' . substr(php_uname(), 0, strpos(php_uname(), ' ')) . '</span>' . $lang->get('os') . '</div>';
echo '<div class="card-green" title="' . $_SERVER['SERVER_SOFTWARE'] . '"><span>' . $_SERVER['SERVER_SOFTWARE'] . '</span>' . $lang->get('server_software') . '</div>';
echo '<div class="card-indigo" title="' . PHP_VERSION . '"><span>' . str_replace(substr(PHP_VERSION, strpos(PHP_VERSION, '-')), '', PHP_VERSION) . '</span>' . $lang->get('php_version') . '</div>';