From 9ca387861a4d37ce275d84b21eb6b62eec36b5a2 Mon Sep 17 00:00:00 2001 From: jerome Date: Tue, 8 Apr 2014 03:43:10 +0200 Subject: [PATCH] - Disable zooming. - Change dropdown menu appearance. - fix status display on mobile. --- src/templates/main.tpl.html | 25 +++++++++------- src/templates/server/status.tpl.html | 43 ++++++++++++++++------------ static/css/style.css | 28 +++++++++++++++++- 3 files changed, 65 insertions(+), 31 deletions(-) diff --git a/src/templates/main.tpl.html b/src/templates/main.tpl.html index 5615e375..4d7c1533 100755 --- a/src/templates/main.tpl.html +++ b/src/templates/main.tpl.html @@ -4,7 +4,7 @@ {title} - + {auto_refresh} @@ -46,7 +46,7 @@
{html_sidebar} @@ -72,15 +72,6 @@ diff --git a/src/templates/server/status.tpl.html b/src/templates/server/status.tpl.html index b8065ec4..69627280 100755 --- a/src/templates/server/status.tpl.html +++ b/src/templates/server/status.tpl.html @@ -2,7 +2,6 @@
-
-

{label}

-

{label_last_online}: {last_online_nice}

-

{label_last_check}: {last_checked_nice}

+
+
+

{label}

+

{label_last_online}: {last_online_nice}

+

{label_last_check}: {last_checked_nice}

+
{servers_offline}
-
-

{label}

-

{label_last_online}: {last_checked_nice}

-

{label_rtime}: {rtime}s

+
+
+

{label}

+

{label_last_online}: {last_checked_nice}

+

{label_rtime}: {rtime}s

+
{servers_online} diff --git a/static/css/style.css b/static/css/style.css index 564288b0..fb8e3e41 100755 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,5 +1,5 @@ body { - padding-top: 70px; + padding-top: 40px; padding-left: 0px; padding-right: 0px; } @@ -15,6 +15,18 @@ body { margin: 5px 0; min-width: 100px; } +.navbar .nav .divider { + height: 1px; + overflow: hidden; + background-color: #444; +} + +@media (min-width: 980px) { + .hidden-desktop { + display: none !important; + } +} + @media (max-width: 979px) { .sidebar-nav .nav-list { padding: 0; @@ -26,7 +38,21 @@ body { float: left; margin-right: 15px; } + .navbar .brand { + margin-left: -10px; + } + .visible-desktop { + display: none !important; + } } + +@media (max-width: 479px) { + .container-fluid { + padding-left: 10px; + padding-right: 10px; + } +} + body.install{ padding-top:20px; }