From dea0ba28f950867532eae572e7bcda49e81bbcf0 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Wed, 18 Nov 2015 17:40:42 +0100 Subject: Fixes #378 - Plugin administration UI. --- tpl/pluginsadmin.html | 131 ++++++++++++++++++++++++++++++++++++++++++++++++++ tpl/tools.html | 17 +++++-- 2 files changed, 143 insertions(+), 5 deletions(-) create mode 100644 tpl/pluginsadmin.html (limited to 'tpl') diff --git a/tpl/pluginsadmin.html b/tpl/pluginsadmin.html new file mode 100644 index 00000000..4f7d091e --- /dev/null +++ b/tpl/pluginsadmin.html @@ -0,0 +1,131 @@ + + +{include="includes"} + + + + + +
+
+
+

Enabled Plugins

+ +
+ {if="count($enabledPlugins)==0"} +

No plugin enabled.

+ {else} + + + + + + + + + + + {loop="$enabledPlugins"} + + + + + + + {/loop} + +
DisableOrderNameDescription
+ + ▲ + + + ▼ + + + {$key}{$value.description}
+ {/if} +
+
+ +
+

Disabled Plugins

+ +
+ {if="count($disabledPlugins)==0"} +

No plugin disabled.

+ {else} + + + + + + + {loop="$disabledPlugins"} + + + + + + {/loop} +
EnableNameDescription
{$key}{$value.description}
+ {/if} +
+ +
+ +
+
+
+ +
+
+

Enabled Plugin Parameters

+ +
+ {if="count($enabledPlugins)==0"} +

No plugin enabled.

+ {else} + {loop="$enabledPlugins"} + {if="count($value.parameters) > 0"} +
+

{$key}

+ {loop="$value.parameters"} +
+
+ +
+
+ +
+
+ {/loop} +
+ {/if} + {/loop} + {/if} +
+ +
+
+
+
+ +
+{include="page.footer"} + + + + \ No newline at end of file diff --git a/tpl/tools.html b/tpl/tools.html index c13f4f16..78b81663 100644 --- a/tpl/tools.html +++ b/tpl/tools.html @@ -5,11 +5,18 @@