"show_plugin" macro supports different types of plugins
"show_volume" macro can display disks with appropriate icons according to their state main interface partly moved to new design
This commit is contained in:
parent
253b69e1db
commit
5c7a6c474c
4 changed files with 54 additions and 22 deletions
|
@ -1,12 +1,15 @@
|
|||
<?cs # $Id$ ?>
|
||||
|
||||
<?cs # show all available volume plugins on top of the volume table ?>
|
||||
|
||||
<?cs # count volume plugins ?>
|
||||
<?cs set:volume_plugin_count=0 ?><?cs
|
||||
each: x = Settings.PluginList ?><?cs
|
||||
if:x.Types.volume ?><?cs set:volume_plugin_count=volume_plugin_count+1 ?><?cs /if ?><?cs
|
||||
/each ?>
|
||||
|
||||
<?cs # show one tab for each plugin ?>
|
||||
<?cs if:volume_plugin_count>0 ?>
|
||||
|
||||
<?cs # sort the Plugins - using the most stupid way :) ?>
|
||||
<?cs loop: order = #0, #100, #1
|
||||
?><?cs # plugins ?><?cs each:x = Settings.PluginList
|
||||
|
@ -18,5 +21,4 @@
|
|||
/if ?><?cs
|
||||
/each ?><?cs
|
||||
/loop ?>
|
||||
|
||||
<?cs /if ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue