cryptonas-branches/pythonrewrite/templates/show_volumes.cs
lars 0aa1f9f74b german language file updated
WebInterfaceDataset replaces CryptoBoxWebserverSettings
WebInterfaceSites replaces CryptoBoxWebserverSites
input validation rewritten
clearsiler macro 'print_form_header' now expects the 'action' as a parameter
2006-09-07 11:21:56 +00:00

17 lines
503 B
C#

<?cs # $Id$ ?>
<!-- TODO: completely useless for now - do something about it :) -->
<?cs each:volume = Data.Disks ?>
<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 ?>