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"> <div id="user-tools">
<a href="{% url 'admin:Add' %}">Add </a> / <a href="{% url 'admin:Add' %}">Add </a> /
<a href="{% url 'Home' %}">Snapshots</a> / <a href="{% url 'Home' %}">Snapshots</a> /
<a href="/admin/core/tag/">Tags</a> /
<a href="/admin/auth/user/">Users</a> / <a href="/admin/auth/user/">Users</a> /
<a href="{% url 'Docs' %}">Docs</a> <a href="{% url 'Docs' %}">Docs</a>
&nbsp; &nbsp; &nbsp; &nbsp;

View file

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

View file

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