cryptonas/plugins/volume_details/volume_details.cs
lars 405f6b90fa improved detection of 'active' plugin for marking in the main menu
plugin plugin_manager: prevent browser from caching repeatitive actions
plugin plugin_manager: add support for properties/volume visibility
plugins: moved message handling to central header file (templates/header.cs)
splitted 'volume_props' into 'volume_rename' and 'volume_chpasswd'
volume_props: turned into a container for small property changes
renamed 'format_fs' to 'volume_format_fs'
moved inclusion of 'show_volume_[header|footer].cs' to central header file
2006-11-13 16:11:07 +00:00

17 lines
1.3 KiB
C#

<?cs # $Id$ ?>
<h3><?cs var:html_escape(Lang.Plugins.volume_details.Title.Details) ?></h3>
<ul>
<li><?cs var:html_escape(Lang.Text.ContainerName) ?>: <?cs var:html_escape(Data.CurrentDisk.name) ?></li>
<li><?cs var:html_escape(Lang.Plugins.volume_details.Text.DeviceName) ?>: <?cs var:html_escape(Data.CurrentDisk.device) ?></li>
<li><?cs var:html_escape(Lang.Plugins.volume_details.Text.Status) ?>: <?cs if:Data.CurrentDisk.active ?><?cs var:html_escape(Lang.Plugins.volume_details.Text.StatusActive) ?><?cs else ?><?cs var:html_escape(Lang.Plugins.volume_details.Text.StatusPassive) ?><?cs /if ?></li>
<li><?cs var:html_escape(Lang.Plugins.volume_details.Text.EncryptionStatus) ?>: <?cs if:Data.CurrentDisk.encryption ?><?cs var:html_escape(Lang.Plugins.volume_details.Text.Yes) ?><?cs else ?><?cs var:html_escape(Lang.Plugins.volume_details.Text.Yes) ?><?cs /if ?></li>
<?cs if:Data.CurrentDisk.active ?>
<li><?cs var:html_escape(Lang.Plugins.volume_details.Text.Size.All) ?>: <?cs var:html_escape(Data.CurrentDisk.capacity.size) ?></li>
<li><?cs var:html_escape(Lang.Plugins.volume_details.Text.Size.Avail) ?>: <?cs var:html_escape(Data.CurrentDisk.capacity.free) ?></li>
<li><?cs var:html_escape(Lang.Plugins.volume_details.Text.Size.Used) ?>: <?cs var:html_escape(Data.CurrentDisk.capacity.percent) ?>%</li>
<?cs /if ?>
</ul>