show extra tags in the nodes page as well
[plewww.git] / planetlab / nodes / node.php
index 8f1f25f..ec3e03d 100644 (file)
@@ -187,7 +187,7 @@ if ($display_pcus) {
   if (! $site_pcus) {
     $pcu_update_area = "This site has no PCU - " . href ( l_pcu_add(), "add one here");
   } else {
-    $pcu_add_link = href (l_pcu_add(),plc_add_icon());
+    $pcu_add_link = href (l_pcu_add(),plc_add_icon() . "Add new");
 
     // first option in pcus
     if ($pcu_ids) 
@@ -217,7 +217,7 @@ if ($display_pcus) {
     $pcu_attach_button = 
       $details->form()->submit_html('attach_pcu',"Attach PCU");
 
-    $pcu_update_area = $pcu_add_link . " " . $pcu_chooser . " " . $port_chooser . " " . $pcu_attach_button;
+    $pcu_update_area = $pcu_add_link . "<br>Or, select existing  " . $pcu_chooser . " " . $port_chooser . " " . $pcu_attach_button;
   }
 
   if ($pcu_string) 
@@ -274,10 +274,11 @@ if ( $local_peer  && $privileges) {
                     array("value"=>"download-node-iso","display"=>"Download ISO image for $hostname"),
                     array("value"=>"download-node-usb","display"=>"Download USB image for $hostname"),
                     array("value"=>"download-node-usb-partition", "display"=>"Download partitioned, USB image for $hostname"),
-                    array("display"=>"-- Floppy + generic image --","disabled"=>true),
-                    array("value"=>"download-node-floppy","display"=>"Download Floppy file for $hostname"),
-                    array("value"=>"download-generic-iso","display"=>"Download generic ISO image (requires floppy)"),
-                    array("value"=>"download-generic-usb","display"=>"Download generic USB image (requires floppy)"));
+                    //              array("display"=>"-- Floppy + generic image --","disabled"=>true),
+                    //              array("value"=>"download-node-floppy","display"=>"Download Floppy file for $hostname"),
+                    //              array("value"=>"download-generic-iso","display"=>"Download generic ISO image (requires floppy)"),
+                    //              array("value"=>"download-generic-usb","display"=>"Download generic USB image (requires floppy)"),
+                     );
   $download_value .= $download_form->select_html("action",$selectors,
                                                 array('label'=>"Download mode",'autosubmit'=>true));
   $download_value .= $download_form->end_html();
@@ -328,7 +329,6 @@ $form->start();
       $table->row_start();
       $peers->cell ($table,$slice['peer_id']);
       $table->cell (l_slice_t ($slice['slice_id'],$slice['name']));
-      # xxx l_sliver not implemented yet - what should we show exactly ?
       $table->cell (l_sliver_t ($node_id,$slice['slice_id'],'sliver tags'));
       $table->row_end();
     }