From a2151e06591cf6467a1e0ea36ca3961ae8b73930 Mon Sep 17 00:00:00 2001 From: Egil Moeller Date: Tue, 6 Apr 2010 19:32:17 +0200 Subject: More plugin manager styling --- etherpad/src/static/css/admin/pluginmanager.css | 18 ++++++++++++++++++ etherpad/src/templates/admin/pluginmanager.ejs | 10 +++++++++- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/etherpad/src/static/css/admin/pluginmanager.css b/etherpad/src/static/css/admin/pluginmanager.css index 5814c08..136a713 100644 --- a/etherpad/src/static/css/admin/pluginmanager.css +++ b/etherpad/src/static/css/admin/pluginmanager.css @@ -42,3 +42,21 @@ #editorcontainerbox table tr td:first-child { border-left-color: #e6e6e6; } + +.mousover_parent .mouseover_child { + display: none; + position: absolute; + padding: 4pt; + + border-top-color: #e6e6e6; + border-bottom-color: #c3c3c3; + border-left-color: #e6e6e6; + border-right-color: #c3c3c3; + border: 1px solid; + + background: #ffffff; +} + +.mousover_parent:hover .mouseover_child { + display: block; +} diff --git a/etherpad/src/templates/admin/pluginmanager.ejs b/etherpad/src/templates/admin/pluginmanager.ejs index 6c8d76e..1cd7139 100644 --- a/etherpad/src/templates/admin/pluginmanager.ejs +++ b/etherpad/src/templates/admin/pluginmanager.ejs @@ -108,7 +108,12 @@ limitations under the License. */ %> <% for (var plugin in plugins.pluginModules) { %> - <%= plugins.pluginModules[plugin].description %> + + <%= plugin %> +
+ <%= plugins.pluginModules[plugin].description %> +
+ <% if (plugins.plugins[plugin] !== undefined) { %> Installed @@ -120,6 +125,9 @@ limitations under the License. */ %> <% if (plugins.plugins[plugin] !== undefined) { %> Uninstall Reinstall + <% if (plugins.plugins[plugin].configLink !== undefined) { %> + Configure + <% } %> <% } else { %> Install <% } %> -- cgit v1.2.3