cryptonas-branches/pythonrewrite/templates/show_volumes.cs
2006-08-24 09:02:10 +00:00

15 lines
443 B
C#

<?cs # $Id$ ?>
<?cs each:volume = Data.Disks.available ?>
<a href="<?cs call:link('show_volume','device',volume.device,'','') ?>" title="<?cs
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 ?>