
* new style with picocss * djlint * rate distribution * collection item drag to order * discover available for guest * search combine movie tv
44 lines
1.5 KiB
HTML
44 lines
1.5 KiB
HTML
{% load static %}
|
|
{% load i18n %}
|
|
{% load l10n %}
|
|
{% load humanize %}
|
|
{% load admin_url %}
|
|
{% load mastodon %}
|
|
{% load oauth_token %}
|
|
{% load truncate %}
|
|
{% load highlight %}
|
|
{% load thumb %}
|
|
<div id="modal"
|
|
_="on closeModal add .closing then wait for animationend then remove me">
|
|
<div class="modal-underlay" _="on click trigger closeModal"></div>
|
|
<div class="modal-content">
|
|
<div class="add-to-list-modal__head">
|
|
<span class="add-to-list-modal__title">{% trans '添加到收藏单' %}</span>
|
|
<span class="add-to-list-modal__close-button modal-close"
|
|
_="on click trigger closeModal">
|
|
<i class="fa-solid fa-xmark"></i>
|
|
</span>
|
|
</div>
|
|
<div class="add-to-list-modal__body">
|
|
<form action="{% url 'journal:add_to_collection' item.uuid %}"
|
|
method="post">
|
|
{% csrf_token %}
|
|
<select name="collection_id">
|
|
{% for collection in collections %}
|
|
<option value="{{ collection.id }}">
|
|
{{ collection.title }}
|
|
{% if collection.visibility > 0 %}🔒{% endif %}
|
|
</option>
|
|
{% endfor %}
|
|
<option value="0">新建收藏单</option>
|
|
</select>
|
|
<div>
|
|
<textarea type="text" name="note" placeholder="条目备注"></textarea>
|
|
</div>
|
|
<div class="add-to-list-modal__confirm-button">
|
|
<input type="submit" class="button float-right" value="{% trans '保存' %}">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|