diff options
-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> <% } %> |