2006-08-14 17:40:12 +02:00
|
|
|
<?cs # $Id$ ?>
|
|
|
|
|
|
|
|
<h1><?cs var:html_escape(Lang.Title.Status) ?></h1>
|
|
|
|
|
2006-09-07 13:21:56 +02:00
|
|
|
<?cs if:subcount(Data.Disks) == 0 ?>
|
2006-08-14 17:40:12 +02:00
|
|
|
<?cs # there are no partitions available ?>
|
|
|
|
<?cs # this case may never be true, as it should trigger a warning before ?>
|
|
|
|
<p>Sorry - you should have never seen this ...</p>
|
2006-09-07 13:21:56 +02:00
|
|
|
<?cs # elif:Data.activeDisksCount == subcount(Data.Disks) ?>
|
2006-08-14 17:40:12 +02:00
|
|
|
<?cs # all available disks are mounted ?>
|
|
|
|
<?cs # we do not use this special condition now - or should we? ?>
|
2006-09-07 13:21:56 +02:00
|
|
|
<?cs # elif:subcount(Data.Disks.passive) == subcount(Data.Disks) ?>
|
2006-08-14 17:40:12 +02:00
|
|
|
<?cs # no available disk is mounted ?>
|
|
|
|
<?cs # we do not use this special condition now - or should we? ?>
|
|
|
|
<?cs else ?>
|
|
|
|
<?cs # some are mounted - and some are not ... ?>
|
2006-09-07 13:21:56 +02:00
|
|
|
<?cs if:Data.activeDisksCount > 0 ?>
|
2006-08-14 17:40:12 +02:00
|
|
|
<p><?cs var:html_escape(Lang.Text.ActivePartitions) ?>:
|
2006-09-07 13:21:56 +02:00
|
|
|
<ul><?cs each:partition = Data.Disks ?><?cs if:partition.active ?>
|
2006-08-24 11:02:10 +02:00
|
|
|
<li><a href="<?cs call:link('show_volume','device',partition.device,'','')
|
2006-09-07 13:21:56 +02:00
|
|
|
?>"><?cs var:partition.name ?></a></li><?cs /if ?><?cs /each ?></ul><?cs /if ?>
|
|
|
|
<?cs if:Data.activeDisksCount < subcount(Data.Disks) ?>
|
2006-08-14 17:40:12 +02:00
|
|
|
<p><?cs var:html_escape(Lang.Text.PassivePartitions) ?>:
|
2006-09-12 10:55:20 +02:00
|
|
|
<ul><?cs each:partition = Data.Disks ?><?cs if:!partition.active ?>
|
2006-08-24 11:02:10 +02:00
|
|
|
<li><a href="<?cs call:link('show_volume','device',partition.device,'','')
|
2006-09-07 13:21:56 +02:00
|
|
|
?>"><?cs var:partition.name ?></a></li><?cs /if ?><?cs /each ?></ul><?cs /if ?>
|
2006-08-14 17:40:12 +02:00
|
|
|
<?cs /if ?>
|
|
|
|
|