From 5c7a6c474cb40f371e1ec618db059bed9fbe8fe2 Mon Sep 17 00:00:00 2001 From: lars Date: Wed, 1 Nov 2006 09:28:48 +0000 Subject: [PATCH] "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 --- pythonrewrite/templates/footer.cs | 1 - pythonrewrite/templates/header.cs | 37 +++++++++++++---------- pythonrewrite/templates/macros.cs | 32 ++++++++++++++++++-- pythonrewrite/templates/volume_plugins.cs | 6 ++-- 4 files changed, 54 insertions(+), 22 deletions(-) diff --git a/pythonrewrite/templates/footer.cs b/pythonrewrite/templates/footer.cs index 7f3e30b..1d2f45b 100644 --- a/pythonrewrite/templates/footer.cs +++ b/pythonrewrite/templates/footer.cs @@ -14,7 +14,6 @@ CryptoBox-Home    sense.lab - diff --git a/pythonrewrite/templates/header.cs b/pythonrewrite/templates/header.cs index 8314bc0..54c4042 100644 --- a/pythonrewrite/templates/header.cs +++ b/pythonrewrite/templates/header.cs @@ -16,19 +16,30 @@ - 0 ?> -
- -
- -
- -
- + +
0 ?>
@@ -39,14 +50,8 @@

-
diff --git a/pythonrewrite/templates/macros.cs b/pythonrewrite/templates/macros.cs index d4fcef0..0550304 100644 --- a/pythonrewrite/templates/macros.cs +++ b/pythonrewrite/templates/macros.cs @@ -86,8 +86,34 @@ def:print_form_header(form_name, action) ?> class="plugin_"><?cs var:html_escape('icon: ' + plugin) ?>
+
+ + <?cs var:html_escape('icon: ' + plugin) ?>
+ +
+ + icon: volume
+ diff --git a/pythonrewrite/templates/volume_plugins.cs b/pythonrewrite/templates/volume_plugins.cs index ed9d14e..525b31f 100644 --- a/pythonrewrite/templates/volume_plugins.cs +++ b/pythonrewrite/templates/volume_plugins.cs @@ -1,12 +1,15 @@ + + + + 0 ?> - -