2006-08-14 17:40:12 +02:00
|
|
|
<?cs # $Id$ ?>
|
|
|
|
|
2006-09-14 14:33:01 +02:00
|
|
|
<?cs # we use "loop" instead of "each" to keep the order of the disks ?>
|
|
|
|
<?cs loop: index = #0, subcount(Data.Disks)-1, #1 ?>
|
2006-09-07 13:21:56 +02:00
|
|
|
|
2006-09-14 14:33:01 +02:00
|
|
|
<a href="<?cs call:link('show_volume','device',Data.Disks[index].device,'','') ?>" title="<?cs
|
|
|
|
var:Data.Disks[index].name ?>">
|
2006-08-14 17:40:12 +02:00
|
|
|
<?cs # the "div" is the container for the background image ?>
|
2006-09-18 12:16:05 +02:00
|
|
|
<div class="<?cs if:Data.Disks[index].active ?>active<?cs
|
|
|
|
elif:Data.Disks[index].encryption || Data.Disks[index].plaintext ?>passive<?cs
|
|
|
|
else ?>void<?cs /if ?><?cs
|
2006-09-14 14:33:01 +02:00
|
|
|
if:Data.Disks[index].device == Data.CurrentDisk.device ?> current<?cs /if ?>">
|
|
|
|
<p><?cs var:Data.Disks[index].name ?></p>
|
2006-08-14 17:40:12 +02:00
|
|
|
</div>
|
|
|
|
</a>
|
2006-09-14 14:33:01 +02:00
|
|
|
<?cs /loop ?>
|
2006-08-14 17:40:12 +02:00
|
|
|
|