1
0
Fork 0
mirror of synced 2024-06-27 02:20:36 +12:00

tweak tags css and add tags to navbar

This commit is contained in:
Nick Sweeting 2020-10-31 07:57:06 -04:00
parent c47398851b
commit 5cae05ae76
3 changed files with 10 additions and 8 deletions

View file

@ -88,6 +88,7 @@
<div id="user-tools">
<a href="{% url 'admin:Add' %}">Add </a> /
<a href="{% url 'Home' %}">Snapshots</a> /
<a href="/admin/core/tag/">Tags</a> /
<a href="/admin/auth/user/">Users</a> /
<a href="{% url 'Docs' %}">Docs</a>
&nbsp; &nbsp;

View file

@ -14,7 +14,7 @@
<tr>
<th style="width: 100px;">Bookmarked</th>
<th style="width: 26vw;">Saved Link ({{num_links}})</th>
<th style="width: 50px">Files</th>
<th style="width: 140px">Files</th>
<th style="width: 16vw;whitespace:nowrap;overflow-x:hidden;">Original URL</th>
</tr>
</thead>
@ -30,7 +30,7 @@
{% endif %}
<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>
<small style="float:right">{{link.tags|default:''}}</small>
<small style="float:right">{{link.tags_str}}</small>
</a>
</td>
<td>
@ -61,4 +61,4 @@
</span>
<br>
</center>
{% endblock %}
{% endblock %}

View file

@ -224,9 +224,10 @@ body.model-snapshot.change-list #content .object-tools {
}
.tags > a > .tag {
border: 1px solid;
border-radius: 10px;
background-color: #f3f3f3;
padding: 3px;
float: right;
border-radius: 5px;
background-color: #bfdfff;
padding: 2px 5px;
margin-left: 4px;
margin-top: 1px;
}