mirror of
https://github.com/sissbruecker/linkding.git
synced 2025-08-14 22:19:32 +02:00

* change tag modal into drawer * improve scroll handling * teleport all side bar content * improve naming * fix focus trap in filter drawer
52 lines
1.5 KiB
HTML
52 lines
1.5 KiB
HTML
{% extends "bookmarks/layout.html" %}
|
|
{% load static %}
|
|
{% load shared %}
|
|
{% load bookmarks %}
|
|
|
|
{% block content %}
|
|
<div ld-bulk-edit
|
|
class="bookmarks-page grid columns-md-1 {% if bookmark_list.collapse_side_panel %}collapse-side-panel{% endif %}">
|
|
|
|
{# Bookmark list #}
|
|
<section class="main content-area col-2">
|
|
<div class="content-area-header mb-0">
|
|
<h2>Bookmarks</h2>
|
|
<div class="header-controls">
|
|
{% bookmark_search bookmark_list.search %}
|
|
{% include 'bookmarks/bulk_edit/toggle.html' %}
|
|
<button ld-filter-drawer-trigger class="btn ml-2">Filters</button>
|
|
</div>
|
|
</div>
|
|
|
|
<form class="bookmark-actions"
|
|
action="{{ bookmark_list.action_url|safe }}"
|
|
method="post" autocomplete="off">
|
|
{% csrf_token %}
|
|
{% include 'bookmarks/bulk_edit/bar.html' with disable_actions='bulk_unarchive' %}
|
|
|
|
<div id="bookmark-list-container">
|
|
{% include 'bookmarks/bookmark_list.html' %}
|
|
</div>
|
|
</form>
|
|
</section>
|
|
|
|
{# Tag cloud #}
|
|
<section class="side-panel content-area col-1">
|
|
<div class="content-area-header">
|
|
<h2>Tags</h2>
|
|
</div>
|
|
<div id="tag-cloud-container">
|
|
{% include 'bookmarks/tag_cloud.html' %}
|
|
</div>
|
|
</section>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block overlays %}
|
|
{# Bookmark details #}
|
|
<turbo-frame id="details-modal" target="_top">
|
|
{% if details %}
|
|
{% include 'bookmarks/details/modal.html' %}
|
|
{% endif %}
|
|
</turbo-frame>
|
|
{% endblock %} |