lars
1c8db28989
simple partitioning interface finished order in navigation bar changed ignore extended partitions (in container list)
17 lines
660 B
C#
17 lines
660 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
|
|
elif:Data.Disks[index].encryption || Data.Disks[index].plaintext ?>passive<?cs
|
|
else ?>void<?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 ?>
|
|
|