From 15ffc0cee15300209d5bf67d60c12428dbade1f8 Mon Sep 17 00:00:00 2001 From: r4sas Date: Thu, 8 Apr 2021 11:12:50 +0000 Subject: [PATCH] update tables output structure Signed-off-by: r4sas --- public/css/style.css | 11 ++++++++++- templates/alive.twig | 10 +++++++--- templates/all.twig | 10 +++++++--- templates/latest.twig | 10 +++++++--- templates/search.twig | 14 +++++++++----- 5 files changed, 40 insertions(+), 15 deletions(-) diff --git a/public/css/style.css b/public/css/style.css index 876bc2f..59bdbc6 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -366,6 +366,11 @@ body { padding: 10px; } +.table__cell_center-bold { + text-align: center; + font-weight: bold; +} + .pagination { margin-top: 40px; display: flex; @@ -613,6 +618,10 @@ body { min-width: 48px; } + .table__cell_full-b32 { + display: none; + } + .text-input { padding: 0 6px; font-size: 16px; @@ -639,4 +648,4 @@ body { .main-menu__item { min-width: 45vw; } -} \ No newline at end of file +} diff --git a/templates/alive.twig b/templates/alive.twig index 3d1a30d..cac3ba8 100644 --- a/templates/alive.twig +++ b/templates/alive.twig @@ -12,15 +12,19 @@ Domain - Base32 + AH + B32 + Full Base32 Last seen {% for host in hosts %} - {{ host.host }} - {{ host.base32 }}.b32.i2p + {{ host.host }} + A + B + {{ host.base32 }}.b32.i2p {{ host.last_seen }} {% endfor %} diff --git a/templates/all.twig b/templates/all.twig index 4fc07ed..86af9e3 100644 --- a/templates/all.twig +++ b/templates/all.twig @@ -13,15 +13,19 @@ Domain - Base32 + AH + B32 + Full Base32 Last seen {% for host in hosts %} - {{ host.host }} - {{ host.base32 }}.b32.i2p + {{ host.host }} + A + B + {{ host.base32 }}.b32.i2p {{ host.last_seen != '0000-00-00 00:00:00' ? host.last_seen : 'Never' }} {% endfor %} diff --git a/templates/latest.twig b/templates/latest.twig index e365dd1..6975a46 100644 --- a/templates/latest.twig +++ b/templates/latest.twig @@ -13,15 +13,19 @@ Domain - Base32 + AH + B32 + Full Base32 Added {% for host in hosts %} - {{ host.host }} - {{ host.base32 }}.b32.i2p + {{ host.host }} + A + B + {{ host.base32 }}.b32.i2p {{ host.add_date }} {% endfor %} diff --git a/templates/search.twig b/templates/search.twig index 840ae70..16dc575 100644 --- a/templates/search.twig +++ b/templates/search.twig @@ -20,16 +20,20 @@ - - - + + + + + {% for host in result %} - - + + + + {% endfor %}
DomainBase32Last seenDomainAHB32Full Base32Last seen
{{ host.host }}{{ host.base32 }}.b32.i2p{{ host.host }}AB{{ host.base32 }}.b32.i2p {{ host.last_seen != '0000-00-00 00:00:00' ? host.last_seen : 'Never' }}