From 2ec93ba9114111b573c432d14e3d87b0d104ee80 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Sat, 27 Sep 2014 19:15:16 -0400 Subject: [PATCH] some more styling to dashboard --- public/less/admin/admin.less | 4 ++- public/src/forum/admin/index.js | 4 +-- src/views/admin/index.tpl | 60 +++++++++++++++++---------------- 3 files changed, 36 insertions(+), 32 deletions(-) diff --git a/public/less/admin/admin.less b/public/less/admin/admin.less index 16c066aec6..f98ee4d296 100644 --- a/public/less/admin/admin.less +++ b/public/less/admin/admin.less @@ -159,8 +159,10 @@ } #unique-visitors, #active-users { + margin-left: -15px; > div { - min-width: 25%; + width: 25%; + font-size: 13px; } } diff --git a/public/src/forum/admin/index.js b/public/src/forum/admin/index.js index c00fbc09c5..5206dcf2e5 100644 --- a/public/src/forum/admin/index.js +++ b/public/src/forum/admin/index.js @@ -116,12 +116,12 @@ define('forum/admin/index', ['semver'], function(semver) { '
Guests
' + '' + '
' + - '
'+ data.onlineRegisteredCount + data.onlineGuestCount +'
' + + '
'+ (data.onlineRegisteredCount + data.onlineGuestCount) +'
' + '
Total
' + '
' + '
' + '
'+ data.socketCount +'
' + - '
Socket
Connections
' + + '
Connections
' + '
'; $('#active-users').html(html); diff --git a/src/views/admin/index.tpl b/src/views/admin/index.tpl index 810722c29e..b0f9fed2b3 100644 --- a/src/views/admin/index.tpl +++ b/src/views/admin/index.tpl @@ -7,40 +7,42 @@ -
- -
-
-
{stats.name}
-
-
-
-
{stats.day}
-
Day
-
-
-
{stats.week}
-
Week
-
-
-
{stats.month}
-
Month
-
-
-
{stats.alltime}
-
All Time
+
+
+ +
+
+
{stats.name}
+
+
+
+
{stats.day}
+
Day
+
+
+
{stats.week}
+
Week
+
+
+
{stats.month}
+
Month
+
+
+
{stats.alltime}
+
All Time
+
-
- + -
-
-
Active Users
-
-
+
+
+
Active Users
+
+
+