mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 22:54:27 -04:00
add status column and tweak index css
This commit is contained in:
parent
f7015d2594
commit
4a2e74a3ac
4 changed files with 99 additions and 40 deletions
10
util.py
10
util.py
|
@ -434,11 +434,11 @@ def derived_link_info(link):
|
|||
**link,
|
||||
'date': datetime.fromtimestamp(float(link['timestamp'])).strftime('%Y-%m-%d %H:%M'),
|
||||
'google_favicon_url': 'https://www.google.com/s2/favicons?domain={domain}'.format(**link),
|
||||
'favicon_url': './archive/{timestamp}/favicon.ico'.format(**link),
|
||||
'files_url': './archive/{timestamp}/index.html'.format(**link),
|
||||
'archive_url': './archive/{}/{}'.format(link['timestamp'], html_appended_url(link)),
|
||||
'pdf_link': './archive/{timestamp}/output.pdf'.format(**link),
|
||||
'screenshot_link': './archive/{timestamp}/screenshot.png'.format(**link),
|
||||
'favicon_url': 'archive/{timestamp}/favicon.ico'.format(**link),
|
||||
'files_url': 'archive/{timestamp}/index.html'.format(**link),
|
||||
'archive_url': 'archive/{}/{}'.format(link['timestamp'], html_appended_url(link)),
|
||||
'pdf_link': 'archive/{timestamp}/output.pdf'.format(**link),
|
||||
'screenshot_link': 'archive/{timestamp}/screenshot.png'.format(**link),
|
||||
'archive_org_url': 'https://web.archive.org/web/{base_url}'.format(**link),
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue