From d7e6656422854be1c35abf667bec2f950aeea100 Mon Sep 17 00:00:00 2001 From: Egil Moeller Date: Tue, 6 Apr 2010 19:04:02 +0200 Subject: Styling for plugin manager --- etherpad/src/static/css/admin/pluginmanager.css | 44 +++++++++++++++++++++++++ etherpad/src/templates/admin/pluginmanager.ejs | 25 ++++++++------ 2 files changed, 59 insertions(+), 10 deletions(-) create mode 100644 etherpad/src/static/css/admin/pluginmanager.css diff --git a/etherpad/src/static/css/admin/pluginmanager.css b/etherpad/src/static/css/admin/pluginmanager.css new file mode 100644 index 0000000..5814c08 --- /dev/null +++ b/etherpad/src/static/css/admin/pluginmanager.css @@ -0,0 +1,44 @@ +#editorcontainer { + padding: 5pt; +} + +#editorcontainerbox { + overflow: auto; + height: auto; +} + +#editbarinner { + line-height: 36px; + font-size: 16px; + padding-left: 6pt; +} + +#editbarinner a { + font-size: 12px; +} + +#editorcontainerbox table { + margin: 10pt; + border-collapse: collapse; +} + +#editorcontainerbox table tr th { + font-weight: bold; + background: #c3c3c3; +} + +#editorcontainerbox table tr td, +#editorcontainerbox table tr th { + border: 1px solid #c3c3c3; + padding: 2pt; +} + +#editorcontainerbox table tr:first-child th, +#editorcontainerbox table tr:first-child td { + border-top-color: #e6e6e6; +} + +#editorcontainerbox table tr th:first-child, +#editorcontainerbox table tr td:first-child { + border-left-color: #e6e6e6; +} diff --git a/etherpad/src/templates/admin/pluginmanager.ejs b/etherpad/src/templates/admin/pluginmanager.ejs index 8a3d0bf..29f70cd 100644 --- a/etherpad/src/templates/admin/pluginmanager.ejs +++ b/etherpad/src/templates/admin/pluginmanager.ejs @@ -19,6 +19,7 @@ limitations under the License. */ %> helpers.setBodyId("padbody"); helpers.addBodyClass("limwidth nonpropad nonprouser"); helpers.includeCss("pad2_ejs.css"); + helpers.includeCss("admin/pluginmanager.css"); helpers.includeJs("undo-xpopup.js"); helpers.includeCometJs(); helpers.includeJQuery(); @@ -63,13 +64,19 @@ limitations under the License. */ %> <% } %>
-
-
Manage plugins
- - - - - +
+ + + + + + <% + plugins.callHookStr('docbarItemsAll', {}, '', ''); + plugins.callHookStr('docbarItemsPluginManager', {}, '', ''); + %> + + +
Plugin manager ', '', '
@@ -89,12 +96,10 @@ limitations under the License. */ %>
-
-
+
-

Plugin manager

-- cgit v1.2.3-1-g7c22
Module name