Added compact mode for the editor log

This commit is contained in:
2020-02-10 17:46:26 +09:00
parent 79cba90a4a
commit 70849553ef
3 changed files with 31 additions and 6 deletions

View File

@ -68,10 +68,10 @@ func Register(app *aero.Application) {
page.Get(app, "/editor/jobs", jobs.Overview)
// Log
page.Get(app, "/log", editlog.Get)
page.Get(app, "/log/from/:index", editlog.Get)
page.Get(app, "/user/:nick/log", editlog.Get)
page.Get(app, "/user/:nick/log/from/:index", editlog.Get)
page.Get(app, "/log", editlog.All)
page.Get(app, "/log/from/:index", editlog.All)
page.Get(app, "/user/:nick/log", editlog.All)
page.Get(app, "/user/:nick/log/from/:index", editlog.All)
// Admin
page.Get(app, "/admin", admin.Get)