');
+
// having reservable nodes in white lists looks a bit off scope for now...
$toggle_nodes=new PlekitToggle('my-slice-nodes-reserve',
"Leases - " . count($reservable_nodes) . " reservable node(s)",
- array('visible'=>get_arg('show_nodes_resa',false),
+ array('visible'=>get_arg('show_nodes_resa'),
'info-text'=>$leases_info,
'info-visible'=>$show_reservable_info));
$toggle_nodes->start();
@@ -595,10 +589,10 @@ if ($count && $privileges) {
if ( ! $leases_offset ) $leases_offset=0;
// how many timeslots to show
$leases_slots=$_GET['leases_slots'];
- if ( ! $leases_slots ) $leases_slots = 48;
+ if ( ! $leases_slots ) $leases_slots = 36;
// offset in hours (in the future) from now
$leases_w = $_GET['leases_w'];
- if ( ! $leases_w) $leases_w=14;
+ if ( ! $leases_w) $leases_w=18;
// number of timeslots to display
$granularity=$api->GetLeaseGranularity();
@@ -626,14 +620,15 @@ if ($count && $privileges) {
-
-
+
+
EOF;
$toggle_nodes->end();
}
+if ($profiling) plc_debug_prof('06: leases',0);
//////////////////// node configuration panel
if ($first_time_configuration)
@@ -653,8 +648,7 @@ href="http://trac.myslice.info">http://trac.myslice.info.
';
$toggle_nodes=new PlekitToggle('my-slice-nodes-configuration',
"Node table layout",
- array('visible'=>$column_conf_visible,
- 'info-text'=>$layout_info,
+ array('info-text'=>$layout_info,
'info-visible'=>$show_layout_info));
$toggle_nodes->start();
@@ -673,12 +667,15 @@ print("