From 129e6ac281d655287910ccf15f2d5340aa745b73 Mon Sep 17 00:00:00 2001 From: kolaente Date: Fri, 6 Oct 2017 17:20:20 +0200 Subject: [PATCH] Fixed Messages not showing correctly --- admin/assets/admin.css | 8 ++++---- admin/index.php | 5 +++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/admin/assets/admin.css b/admin/assets/admin.css index ad61535..4be8262 100755 --- a/admin/assets/admin.css +++ b/admin/assets/admin.css @@ -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"; } diff --git a/admin/index.php b/admin/index.php index 8ba0dfd..6ad5761 100755 --- a/admin/index.php +++ b/admin/index.php @@ -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 '
' . substr(php_uname(), 0, strpos(php_uname(), ' ')) . '' . $lang->get('os') . '
'; echo '
' . $_SERVER['SERVER_SOFTWARE'] . '' . $lang->get('server_software') . '
'; echo '
' . str_replace(substr(PHP_VERSION, strpos(PHP_VERSION, '-')), '', PHP_VERSION) . '' . $lang->get('php_version') . '
';