mirror of
https://github.com/sissbruecker/linkding.git
synced 2026-03-07 02:13:12 +08:00
* Add links to remove tags from current query * Display selected tags in tag cloud * Add tag cloud tests * Fix tag cloud in archive * Add tests for bookmark views * Expose parse query string * Improve tag cloud tests * Cleanup * Fix rebase issues * Ignore casing when removing tags from query Co-authored-by: Jon Hauris <jonp@hauris.org>
49 lines
1.4 KiB
HTML
49 lines
1.4 KiB
HTML
{% extends "bookmarks/layout.html" %}
|
|
{% load static %}
|
|
{% load shared %}
|
|
{% load bookmarks %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="bookmarks-page columns">
|
|
|
|
{# Bookmark list #}
|
|
<section class="content-area column col-8 col-md-12">
|
|
<div class="content-area-header">
|
|
<h2>Shared bookmarks</h2>
|
|
<div class="spacer"></div>
|
|
{% bookmark_search filters tags mode='shared' %}
|
|
</div>
|
|
|
|
<form class="bookmark-actions" action="{% url 'bookmarks:action' %}?return_url={{ return_url }}"
|
|
method="post">
|
|
{% csrf_token %}
|
|
|
|
{% if empty %}
|
|
{% include 'bookmarks/empty_bookmarks.html' %}
|
|
{% else %}
|
|
{% bookmark_list bookmarks return_url link_target %}
|
|
{% endif %}
|
|
</form>
|
|
</section>
|
|
|
|
{# Filters #}
|
|
<section class="content-area column col-4 hide-md">
|
|
<div class="content-area-header">
|
|
<h2>User</h2>
|
|
</div>
|
|
<div>
|
|
{% user_select filters users %}
|
|
<br>
|
|
</div>
|
|
<div class="content-area-header">
|
|
<h2>Tags</h2>
|
|
</div>
|
|
{% tag_cloud tags selected_tags %}
|
|
</section>
|
|
</div>
|
|
|
|
<script src="{% static "bundle.js" %}"></script>
|
|
<script src="{% static "shared.js" %}"></script>
|
|
{% endblock %}
|