Improved compact mode log

This commit is contained in:
2020-02-10 17:58:35 +09:00
parent 70849553ef
commit 3cf7697184
4 changed files with 101 additions and 84 deletions

View File

@ -4,12 +4,13 @@ component EditLogPage(entries []*arn.EditLogEntry, nextIndex int, viewUser *arn.
else
h1.mountable Editor log
.corner-buttons
a.button(href="/log", title="Full list")
RawIcon("list")
a.button(href="/log?compact=true", title="Compact list")
RawIcon("list-alt")
if viewUser == nil
.corner-buttons
a.button(href="/log", title="Full list")
RawIcon("list")
a.button(href="/log/compact", title="Compact list")
RawIcon("list-alt")
EditLog(entries, user)