Add the date to the dashboard

Fixes #31
This commit is contained in:
R. Tyler Croy 2018-12-06 11:58:27 -08:00
parent 7a4b637755
commit 4f9d668cf9
No known key found for this signature in database
GPG Key ID: E5C92681BEF6CEA2
1 changed files with 7 additions and 1 deletions

View File

@ -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