diff --git a/src/node/hooks/express/admin.js b/src/node/hooks/express/admin.js index 83bada22..766370fc 100644 --- a/src/node/hooks/express/admin.js +++ b/src/node/hooks/express/admin.js @@ -1,5 +1,8 @@ +var eejs = require('ep_etherpad-lite/node/eejs'); + exports.expressCreateServer = function (hook_name, args, cb) { args.app.get('/admin', function(req, res) { - res.send( 501, 'Not Implemented, yet. Meanwhile go to /admin/plugins' ); + res.send( eejs.require("ep_etherpad-lite/templates/admin/index.html", {}) ); }); -}; \ No newline at end of file +} + diff --git a/src/templates/admin/index.html b/src/templates/admin/index.html new file mode 100644 index 00000000..5f1d0188 --- /dev/null +++ b/src/templates/admin/index.html @@ -0,0 +1,20 @@ + + + Etherpad Lite Admin Dashboard + + + + + + +
+

Etherpad Lite Admin Dashboard

+
+ Install and Uninstall plugins +
+
+ Modify Server and Plugin Settings +
+
+ +