diff --git a/src/node/hooks/express/admin.js b/src/node/hooks/express/admin.js index 83bada227..766370fc3 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 000000000..5f1d0188e --- /dev/null +++ b/src/templates/admin/index.html @@ -0,0 +1,20 @@ + +
+