From 374c8db63dca02dcf62d64448dc408897925c19f Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 26 May 2010 08:24:42 -0400
Subject: [PATCH] Improved some list templates and the dashboard template.
---
interface/web/themes/default/css/screen/content_ispc.css | 100 ++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 93 insertions(+), 7 deletions(-)
diff --git a/interface/web/themes/default/css/screen/content_ispc.css b/interface/web/themes/default/css/screen/content_ispc.css
index aca368d..74f982b 100644
--- a/interface/web/themes/default/css/screen/content_ispc.css
+++ b/interface/web/themes/default/css/screen/content_ispc.css
@@ -105,9 +105,11 @@
/* Systemmonitor */
.systemmonitor-state {
- margin: 10px 0;
+ margin: 10px 5px;
font-family: Consolas, "Lucida Console", "Courier New", monospace;
font-size: 0.9em;
+ float: left;
+ width: 100%;
}
.systemmonitor-state.state-no_state {
border-top: 4px solid #95A19F;
@@ -122,8 +124,8 @@
background-color: #adffa2;
}
.systemmonitor-state.state-info {
- border-top: 4px solid #fdff00;
- background-color: #fdffa2;
+ border-top: 4px solid #183e99;
+ background-color: #d4e2ff;
}
.systemmonitor-state.state-warning {
border-top: 4px solid #ffa800;
@@ -137,17 +139,68 @@
border-top: 4px solid #ff0000;
background-color: #ff7f7f;
}
+ .systemmonitor-state.state-no_state-ve {
+ float: left;
+ width: 213px;
+ border-top: 4px solid #95A19F;
+ background-color: #f8f8ff;
+ }
+ .systemmonitor-state.state-unknown-ve {
+ float: left;
+ width: 213px;
+ border-top: 4px solid #30302e;
+ background-color: #cecfc5;
+ }
+ .systemmonitor-state.state-ok-ve {
+ float: left;
+ width: 213px;
+ border-top: 4px solid #23fb00;
+ background-color: #adffa2;
+ }
+ .systemmonitor-state.state-info-ve {
+ float: left;
+ width: 213px;
+ border-top: 4px solid #183e99;
+ background-color: #d4e2ff;
+ }
+ .systemmonitor-state.state-warning-ve {
+ float: left;
+ width: 213px;
+ border-top: 4px solid #ffa800;
+ background-color: #ffda93;
+ }
+ .systemmonitor-state.state-critical-ve {
+ float: left;
+ width: 213px;
+ border-top: 4px solid #ff0000;
+ background-color: #ffb9b9;
+ }
+ .systemmonitor-state.state-error-ve {
+ float: left;
+ width: 213px;
+ border-top: 4px solid #ff0000;
+ background-color: #ff7f7f;
+ }
.systemmonitor-device {
+ background-position: -6px 4px;
background-repeat: no-repeat;
- background-position: 12px 4px;
min-height: 80px;
}
.systemmonitor-device.device-system { background-image: url("../../icons/x64/network.png"); }
- .systemmonitor-device.device-server { background-image: url("../../icons/x64/server.png"); }
+ .systemmonitor-device.device-server {
+ background-image: url("../../icons/x64/server.png");
+ }
+ .systemmonitor-device.device-ve {
+ background-image: url("../../icons/x64/server.png");
+ width: 213px;
+ float: left;
+ border: 1px dashed #aaaaaa;
+ border-top: none;
+ }
.systemmonitor-content.icons32 {
- padding:2px 10px 2px 80px;
+ padding:2px 10px 2px 56px;
background-repeat: no-repeat;
background-position: 12px 4px;
}
@@ -177,10 +230,43 @@
padding:0px 5px;
}
+ /* Dashboard */
+ .dashboard-modules {
+ float:left;
+ width:100px;
+ height: 100px;
+ border:1px dotted #888888;
+ background-color: #cccccc;
+ margin:10px;
+ background-position: center 5px;
+ background-repeat: no-repeat;
+ text-align: center;
+ }
+
+ .dashboard-modules a, .dashboard-modules a:hover{
+ color:Black;
+ display:block;
+ font-weight:bold;
+ height:30px;
+ padding-top:70px;
+ width:100px;
+ text-decoration: none;
+ }
+
+ .dashboard-modules.admin { background-image: url('../../icons/x64/system.png') !important; }
+ .dashboard-modules.client { background-image: url('../../icons/x64/client.png') !important; }
+ .dashboard-modules.mail { background-image: url('../../icons/x64/email.png') !important; }
+ .dashboard-modules.monitor { background-image: url('../../icons/x64/monitor.png') !important; }
+ .dashboard-modules.dns { background-image: url('../../icons/x64/dns.png') !important; }
+ .dashboard-modules.tools { background-image: url('../../icons/x64/tools.png') !important; }
+ .dashboard-modules.help { background-image: url('../../icons/x64/help.png') !important; }
+ .dashboard-modules.domain { background-image: url('../../icons/x64/domain.png') !important; }
+ .dashboard-modules.sites { background-image: url('../../icons/x64/sites.png') !important; }
+
/* Image-Replacement */
.swap { background-repeat:no-repeat; }
.swap span { display:none; height:16px; }
- #ir-HeaderLogo { background-image:url("../../images/header_logo.png"); height:32px; }
+ #ir-HeaderLogo { background-image:url("../../images/header_logo.png"); height:28px; }
#ir-Yes { background-image:url("../../icons/x16/tick_circle.png"); height:16px; }
#ir-No { background-image:url("../../icons/x16/cross_circle.png"); height:16px; }
--
Gitblit v1.9.1