mirror of
https://github.com/sissbruecker/linkding.git
synced 2025-08-14 14:09:26 +02:00

* add bundle model and query logic * cleanup tests * add basic form * add success message * Add form tests * Add bundle list view * fix edit view * Add remove button * Add basic preview logic * Make pagination use absolute URLs * Hide bookmark edits when rendering preview * Render bookmark list in preview * Reorder bundles * Show bundles in bookmark view * Make bookmark search respect selected bundle * UI tweaks * Fix bookmark scope * Improve bundle preview * Skip preview if form is submitted * Show correct preview after invalid form submission * Add option to hide bundles * Merge new migrations * Add tests for bundle menu * Improve check for preview being removed
34 lines
864 B
HTML
34 lines
864 B
HTML
{% extends 'bookmarks/layout.html' %}
|
|
{% load widget_tweaks %}
|
|
|
|
{% block head %}
|
|
{% with page_title="New bundle - Linkding" %}
|
|
{{ block.super }}
|
|
{% endwith %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="bundles-editor-page grid columns-md-1">
|
|
<main aria-labelledby="main-heading">
|
|
<div class="section-header">
|
|
<h1 id="main-heading">New bundle</h1>
|
|
</div>
|
|
|
|
{% include 'shared/messages.html' %}
|
|
|
|
<form id="bundle-form" action="{% url 'linkding:bundles.new' %}" method="post" novalidate>
|
|
{% csrf_token %}
|
|
{% include 'bundles/form.html' %}
|
|
</form>
|
|
</main>
|
|
|
|
<aside class="col-2" aria-labelledby="preview-heading">
|
|
<div class="section-header">
|
|
<h2 id="preview-heading">Preview</h2>
|
|
</div>
|
|
|
|
{% include 'bundles/preview.html' %}
|
|
</aside>
|
|
</div>
|
|
{% endblock %}
|