From f164c6afabf6b001563c22c051d7cc2e43b11765 Mon Sep 17 00:00:00 2001 From: Gregory Eremin Date: Sun, 25 Jan 2015 23:15:44 +0700 Subject: [PATCH] Loading indicator --- server/dashboard.tmpl | 70 ++++++++++++++++++++++++------------------- 1 file changed, 40 insertions(+), 30 deletions(-) diff --git a/server/dashboard.tmpl b/server/dashboard.tmpl index 854f1db..3cb36a9 100644 --- a/server/dashboard.tmpl +++ b/server/dashboard.tmpl @@ -12,26 +12,23 @@ .title, td, th { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 1.3em; - padding: 10px; + padding: 0.6em; font-weight: 300; } -.title { +.title, table { position: absolute; - top: 10px; left: 50%; - width: 600px; - margin-left: -300px; + width: 650px; + margin-left: -325px; +} +.title { + top: 10px; text-align: center; font-size: 1.8em; - font-weight: 300; } table { - position: absolute; top: 100px; - left: 50%; - width: 600px; - margin-left: -300px; border-spacing: 0; border-collapse: collapse; } @@ -45,8 +42,8 @@ tbody tr:nth-child(even) { background-color: #f5f5f5; } .name { - width: 300px; - max-width: 300px; + width: 350px; + max-width: 350px; text-align: left; overflow: hidden; white-space: nowrap; @@ -55,14 +52,9 @@ tbody tr:nth-child(even) { .messages, .subscriptions { width: 150px; max-width: 150px; - font-weight: 400; text-align: right; } -#placeholder td { - text-align: center; -} .zero { - font-weight: 300; color: #aaa; } .fat { @@ -72,6 +64,17 @@ tbody tr:nth-child(even) { font-weight: 600; color: #f20; } +#loading { + display: none; + position: absolute; + bottom: 10px; + right: 10px; + font-size: 0.5em; + width: auto; +} +#placeholder td { + text-align: center; +} @@ -93,17 +96,22 @@ tbody tr:nth-child(even) { Loading queues... +
Loading...