lighter contrast for ple/plc details
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Sun, 7 Jun 2009 08:46:21 +0000 (08:46 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Sun, 7 Jun 2009 08:46:21 +0000 (08:46 +0000)
planetlab/css/plc_peers.css
planetlab/includes/plc_peers.php

index 8ab2268..20b0e6d 100644 (file)
@@ -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;
index 468fda7..be446f6 100644 (file)
@@ -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)));
   }
-    
   
 }