mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-16 08:04:26 -04:00
better favicon loading
This commit is contained in:
parent
1772bbfb13
commit
c2ea90ed39
2 changed files with 5 additions and 5 deletions
|
@ -108,6 +108,10 @@ def write_html_links_index(out_dir, links, finished=False):
|
||||||
link['title']
|
link['title']
|
||||||
or (link['base_url'] if link['is_archived'] else TITLE_LOADING_MSG)
|
or (link['base_url'] if link['is_archived'] else TITLE_LOADING_MSG)
|
||||||
),
|
),
|
||||||
|
'favicon_url': (
|
||||||
|
os.path.join('archive', link['timestamp'], 'favicon.ico')
|
||||||
|
# if link['is_archived'] else 'data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs='
|
||||||
|
),
|
||||||
'archive_url': (
|
'archive_url': (
|
||||||
wget_output_path(link) or 'index.html'
|
wget_output_path(link) or 'index.html'
|
||||||
),
|
),
|
||||||
|
|
|
@ -99,7 +99,7 @@
|
||||||
table-layout: fixed;
|
table-layout: fixed;
|
||||||
}
|
}
|
||||||
table tr a span[data-archived~=False] {
|
table tr a span[data-archived~=False] {
|
||||||
opacity: 0.2;
|
opacity: 0.4;
|
||||||
}
|
}
|
||||||
.files-spinner {
|
.files-spinner {
|
||||||
height: 15px;
|
height: 15px;
|
||||||
|
@ -107,10 +107,6 @@
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
vertical-align: -2px;
|
vertical-align: -2px;
|
||||||
}
|
}
|
||||||
.link-favicon {
|
|
||||||
padding-right: 8px;
|
|
||||||
vertical-align: -4px;
|
|
||||||
}
|
|
||||||
.in-progress {
|
.in-progress {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue