lars
de3280806f
plugin interface changed ("prepareForm" removed) plugins do not raise exceptions anymore first part of the partitioning plugin device-specific stuff moved to CryptoBoxTools
15 lines
578 B
C#
15 lines
578 B
C#
<?cs # $Id$ ?>
|
|
|
|
<?cs # we use "loop" instead of "each" to keep the order of the disks ?>
|
|
<?cs loop: index = #0, subcount(Data.Disks)-1, #1 ?>
|
|
|
|
<a href="<?cs call:link('show_volume','device',Data.Disks[index].device,'','') ?>" title="<?cs
|
|
var:Data.Disks[index].name ?>">
|
|
<?cs # the "div" is the container for the background image ?>
|
|
<div class="<?cs if:Data.Disks[index].active ?>active<?cs else ?>passive<?cs /if ?><?cs
|
|
if:Data.Disks[index].device == Data.CurrentDisk.device ?> current<?cs /if ?>">
|
|
<p><?cs var:Data.Disks[index].name ?></p>
|
|
</div>
|
|
</a>
|
|
<?cs /loop ?>
|
|
|