From 62e33c011b2928ba166a8059d445b8aa7429da96 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Sun, 10 Jun 2018 19:20:09 -0400 Subject: [PATCH] tweak index tooltips and details --- index.py | 2 ++ templates/link_index_fancy.html | 18 ++++++++---------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/index.py b/index.py index 6bb82bb0..44d993f5 100644 --- a/index.py +++ b/index.py @@ -145,6 +145,8 @@ def write_html_link_index(out_dir, link): 'tags': link['tags'] or 'untagged', 'bookmarked': datetime.fromtimestamp(float(link['timestamp'])).strftime('%Y-%m-%d %H:%M'), 'updated': datetime.fromtimestamp(float(link['updated'])).strftime('%Y-%m-%d %H:%M'), + 'bookmarked_ts': link['timestamp'], + 'updated_ts': link['updated'], 'archive_org': link['latest'].get('archive_org') or 'https://web.archive.org/save/{}'.format(link['url']), 'wget': link['latest'].get('wget') or wget_output_path(link), })) diff --git a/templates/link_index_fancy.html b/templates/link_index_fancy.html index c88487e7..2bbcb546 100644 --- a/templates/link_index_fancy.html +++ b/templates/link_index_fancy.html @@ -34,10 +34,6 @@ margin-top: 20px; margin-right: 0px; margin-left: -35px; - text-decoration: none; - } - a.collapse-icon:hover { - text-decoration: none; } .nav-icon img { float: right; @@ -169,21 +165,21 @@ Archive Icon - + - $title
+ $title
- $base_url + $base_url