From 63e4a3488585eb1ca9e26f795bd3204c6f3dc437 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sun, 7 Jun 2009 08:46:21 +0000 Subject: [PATCH] lighter contrast for ple/plc details --- planetlab/css/plc_peers.css | 4 ++-- planetlab/includes/plc_peers.php | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/planetlab/css/plc_peers.css b/planetlab/css/plc_peers.css index 8ab2268..20b0e6d 100644 --- a/planetlab/css/plc_peers.css +++ b/planetlab/css/plc_peers.css @@ -13,7 +13,7 @@ div.objects-list { /* -------------------- PLC is bluish */ div.peer-plc { - background-color: #0e5e95; + background-color: #90a0cc; } table.plekit_table>tbody>tr>td.peer-plc a { font-weight: bold; @@ -22,7 +22,7 @@ table.plekit_table>tbody>tr>td.peer-plc a { /* -------------------- PLE is redish */ div.peer-ple { - background-color: #6e1c19; + background-color: #cc8080; } table.plekit_table>tbody>tr>td.peer-ple a { font-weight: bold; diff --git a/planetlab/includes/plc_peers.php b/planetlab/includes/plc_peers.php index 468fda7..be446f6 100644 --- a/planetlab/includes/plc_peers.php +++ b/planetlab/includes/plc_peers.php @@ -96,12 +96,11 @@ class Peers { } // writes a cell in the table with the peer's shortname, link to the peer page, - // and classname set for proper background + // and classname set for proper color function cell ($table, $peer_id) { - $shortname = $this->shortname($peer_id); - $table->cell ($this->link($peer_id,$shortname),array('class'=>'peer-'.strtolower($shortname))); + $table->cell ($this->link($peer_id,$shortname), + array('class'=>$this->classname($peer_id))); } - } -- 2.43.0