Create a customizable timeslider toolbar

This commit is contained in:
Marcel Klehr 2014-03-30 13:02:41 +02:00
parent 867e40533a
commit 6054cda473
9 changed files with 50 additions and 31 deletions

View file

@ -46,7 +46,14 @@ exports.expressCreateServer = function (hook_name, args, cb) {
//serve timeslider.html under /p/$padname/timeslider
args.app.get('/p/:pad/timeslider', function(req, res, next)
{
res.send(eejs.require("ep_etherpad-lite/templates/timeslider.html", {req: req}));
hooks.callAll("padInitToolbar", {
toolbar: toolbar
});
res.send(eejs.require("ep_etherpad-lite/templates/timeslider.html", {
req: req,
toolbar: toolbar
}));
});
//serve favicon.ico from all path levels except as a pad name