diff options
author | Egil Moeller <egil.moller@freecode.no> | 2010-04-06 19:32:17 +0200 |
---|---|---|
committer | Egil Moeller <egil.moller@freecode.no> | 2010-04-06 19:32:17 +0200 |
commit | a2151e06591cf6467a1e0ea36ca3961ae8b73930 (patch) | |
tree | 8fbb8a7d482f8ada1f1661871fe5080f171856cc | |
parent | f4fb4fee242f5a85ebcc5646a98672f90dc6b8b4 (diff) | |
download | etherpad-a2151e06591cf6467a1e0ea36ca3961ae8b73930.tar.gz etherpad-a2151e06591cf6467a1e0ea36ca3961ae8b73930.tar.xz etherpad-a2151e06591cf6467a1e0ea36ca3961ae8b73930.zip |
More plugin manager styling
-rw-r--r-- | etherpad/src/static/css/admin/pluginmanager.css | 18 | ||||
-rw-r--r-- | etherpad/src/templates/admin/pluginmanager.ejs | 10 |
2 files changed, 27 insertions, 1 deletions
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. */ %> </tr> <% for (var plugin in plugins.pluginModules) { %> <tr> - <td><%= plugins.pluginModules[plugin].description %></td> + <td class="mousover_parent"> + <%= plugin %> + <div class="mouseover_child"> + <%= plugins.pluginModules[plugin].description %> + </div> + </td> <td> <% if (plugins.plugins[plugin] !== undefined) { %> Installed @@ -120,6 +125,9 @@ limitations under the License. */ %> <% if (plugins.plugins[plugin] !== undefined) { %> <a href="/ep/admin/pluginmanager/?plugin=<%= plugin %>&action=uninstall">Uninstall</a> <a href="/ep/admin/pluginmanager/?plugin=<%= plugin %>&action=reinstall">Reinstall</a> + <% if (plugins.plugins[plugin].configLink !== undefined) { %> + <a href="<%= plugins.plugins[plugin].configLink %>">Configure</a> + <% } %> <% } else { %> <a href="/ep/admin/pluginmanager/?plugin=<%= plugin %>&action=install">Install</a> <% } %> |