2006-08-14 17:40:12 +02:00
|
|
|
<?cs # $Id$ ?>
|
|
|
|
|
|
|
|
<?cs each:volume = Data.Disks.available ?>
|
|
|
|
|
2006-08-24 11:02:10 +02:00
|
|
|
<a href="<?cs call:link('show_volume','device',volume.device,'','') ?>" title="<?cs
|
2006-08-14 17:40:12 +02:00
|
|
|
var:volume.name ?>">
|
|
|
|
<?cs # the "div" is the container for the background image ?>
|
|
|
|
<div class="<?cs if:volume.isActive ?>active<?cs else ?>passive<?cs /if ?><?cs
|
|
|
|
if:volume.device == Data.CurrentDisk.device ?> current<?cs /if ?>">
|
|
|
|
<p><?cs var:volume.name ?></p>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<?cs /each ?>
|
|
|
|
|