mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-19 01:15:11 -04:00
consistent tags styling
This commit is contained in:
parent
6a8f6992d8
commit
7d8fe66d43
2 changed files with 20 additions and 13 deletions
|
@ -185,6 +185,14 @@
|
||||||
.title-col a {
|
.title-col a {
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
.tags {
|
||||||
|
float: right;
|
||||||
|
border-radius: 5px;
|
||||||
|
background-color: #bfdfff;
|
||||||
|
padding: 2px 5px;
|
||||||
|
margin-left: 4px;
|
||||||
|
margin-top: 1px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<link rel="stylesheet" href="{% static 'bootstrap.min.css' %}">
|
<link rel="stylesheet" href="{% static 'bootstrap.min.css' %}">
|
||||||
<link rel="stylesheet" href="{% static 'jquery.dataTables.min.css' %}"/>
|
<link rel="stylesheet" href="{% static 'jquery.dataTables.min.css' %}"/>
|
||||||
|
|
|
@ -8,19 +8,18 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="archive/{{link.timestamp}}/index.html"><img src="{% static 'spinner.gif' %}" class="link-favicon" decoding="async"></a>
|
<a href="archive/{{link.timestamp}}/index.html"><img src="{% static 'spinner.gif' %}" class="link-favicon" decoding="async"></a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<a href="archive/{{link.timestamp}}/{{link.canonical_outputs.wget_path}}" title="{{link.title}}">
|
|
||||||
|
<a href="archive/{{link.timestamp}}/index.html" title="{{link.title}}">
|
||||||
<span data-title-for="{{link.url}}" data-archived="{{link.is_archived}}">{{link.title|default:'Loading...'}}</span>
|
<span data-title-for="{{link.url}}" data-archived="{{link.is_archived}}">{{link.title|default:'Loading...'}}</span>
|
||||||
<span class="tags" style="background-color: #79aec8">
|
{% if link.tags_str %}
|
||||||
<a href="#">
|
<span class="tags" style="float: right; border-radius: 5px; background-color: #bfdfff; padding: 2px 5px; margin-left: 4px; margin-top: 1px;">
|
||||||
<span class="tag">
|
|
||||||
{% if link.tags_str != None %}
|
{% if link.tags_str != None %}
|
||||||
{{link.tags_str|default:''}}
|
{{link.tags_str|default:''}}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ link.tags|default:'' }}
|
{{ link.tags|default:'' }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</span>
|
</span>
|
||||||
</a>
|
{% endif %}
|
||||||
</span>
|
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue