From 0e8a5daa73289521c10022a20cd60d60f092037e Mon Sep 17 00:00:00 2001 From: lars Date: Mon, 9 Oct 2006 16:42:40 +0000 Subject: [PATCH] 'show_volume' splitted into different pages '/plugins' shows only plugins with 'system' capability development draft for volume sub-page links "access_denied" page added --- pythonrewrite/templates/access_denied.cs | 4 ++ pythonrewrite/templates/form_init.cs | 8 --- pythonrewrite/templates/form_system.cs | 11 +-- pythonrewrite/templates/main.cs | 12 ++-- pythonrewrite/templates/show_volume.cs | 68 ++----------------- pythonrewrite/templates/show_volume_footer.cs | 13 ++++ pythonrewrite/templates/show_volume_header.cs | 24 +++++++ pythonrewrite/templates/volume_plugins.cs | 22 ++++++ 8 files changed, 75 insertions(+), 87 deletions(-) create mode 100644 pythonrewrite/templates/access_denied.cs create mode 100644 pythonrewrite/templates/show_volume_footer.cs create mode 100644 pythonrewrite/templates/show_volume_header.cs create mode 100644 pythonrewrite/templates/volume_plugins.cs diff --git a/pythonrewrite/templates/access_denied.cs b/pythonrewrite/templates/access_denied.cs new file mode 100644 index 0000000..0263e36 --- /dev/null +++ b/pythonrewrite/templates/access_denied.cs @@ -0,0 +1,4 @@ +

+ +
+ diff --git a/pythonrewrite/templates/form_init.cs b/pythonrewrite/templates/form_init.cs index 61d0c63..dde6899 100644 --- a/pythonrewrite/templates/form_init.cs +++ b/pythonrewrite/templates/form_init.cs @@ -22,11 +22,3 @@
- diff --git a/pythonrewrite/templates/form_system.cs b/pythonrewrite/templates/form_system.cs index a12163e..8fdb6a7 100644 --- a/pythonrewrite/templates/form_system.cs +++ b/pythonrewrite/templates/form_system.cs @@ -7,21 +7,12 @@ + ?>
  • - - -= 0 && x.Rank <= 100) ?> -
  • -

    diff --git a/pythonrewrite/templates/main.cs b/pythonrewrite/templates/main.cs index d11fcbf..66d91d4 100644 --- a/pythonrewrite/templates/main.cs +++ b/pythonrewrite/templates/main.cs @@ -5,12 +5,10 @@ - - - - - - - + + + + + diff --git a/pythonrewrite/templates/show_volume.cs b/pythonrewrite/templates/show_volume.cs index dcd0d3f..2e1c94e 100644 --- a/pythonrewrite/templates/show_volume.cs +++ b/pythonrewrite/templates/show_volume.cs @@ -1,66 +1,10 @@ -

    + - - - - -

    Mount container

    - -

    - - - - - -

    - - -

    Unmount container

    - -

    -

    - - - - - - -

    Change the name of the container

    - -

    - - -

    - - - - - - -

    Reinitialize container

    - -

    - - -

    - - - -

    Some more stuff

    -

    For example: changing password? / backup? / access control?

    - -

    Details

    -

    +
    + +

    just a placeholder - any suggestions are welcome!

    +
    + diff --git a/pythonrewrite/templates/show_volume_footer.cs b/pythonrewrite/templates/show_volume_footer.cs new file mode 100644 index 0000000..7aadc00 --- /dev/null +++ b/pythonrewrite/templates/show_volume_footer.cs @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/pythonrewrite/templates/show_volume_header.cs b/pythonrewrite/templates/show_volume_header.cs new file mode 100644 index 0000000..bf9c740 --- /dev/null +++ b/pythonrewrite/templates/show_volume_header.cs @@ -0,0 +1,24 @@ + + + + +

    + + + + + + + + + + + + + + + + + + + +
    + diff --git a/pythonrewrite/templates/volume_plugins.cs b/pythonrewrite/templates/volume_plugins.cs new file mode 100644 index 0000000..f0b749f --- /dev/null +++ b/pythonrewrite/templates/volume_plugins.cs @@ -0,0 +1,22 @@ + + + + +0 ?> + + + +
    class="volume_plugin_active"class="volume_plugin_passive">