From 4f9d668cf92d045025ed34eb5b367e90bb788ea0 Mon Sep 17 00:00:00 2001 From: "R. Tyler Croy" Date: Thu, 6 Dec 2018 11:58:27 -0800 Subject: [PATCH] Add the date to the dashboard Fixes #31 --- views/dashboard.pug | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/views/dashboard.pug b/views/dashboard.pug index 24cea67..2f5df5f 100644 --- a/views/dashboard.pug +++ b/views/dashboard.pug @@ -59,11 +59,15 @@ html(lang="en") strong a(href='?$sort[id]=-1').text-light ▲ a(href='?$sort[id]=1').text-light ▼ + th(scope='col').text-center Date   + strong + a(href='?$sort[createdAt]=-1').text-light ▲ + a(href='?$sort[createdAt]=1').text-light ▼ th(scope='col').text-center Correlator   strong a(href='?$sort[correlator]=-1').text-light ▲ a(href='?$sort[correlator]=1').text-light ▼ - th(scope='col').text-center Type + th(scope='col').text-center Type   if types.length > 0 select(id='type-nav', name='types', onchange='navigateToType()') each t in types @@ -74,6 +78,8 @@ html(lang="en") tr td.text-center. #{e.id} + td.text-center. + #{e.createdAt.toISOString()} td.text-center a(href='?correlator=' + e.correlator) #{e.correlator} td.text-center