mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-02-20 00:56:07 +08:00
32 lines
1.4 KiB
HTML
32 lines
1.4 KiB
HTML
{% load i18n %}
|
|
<div class="actions">
|
|
<div class="actions-left">
|
|
{% block actions %}
|
|
{% block actions-form %}
|
|
{% for field in action_form %}
|
|
{% if field.name == "tags" %}
|
|
<span class="actions-tags">{{ field }}</span>
|
|
{% else %}
|
|
{% if field.label %}<label>{{ field.label }} {{ field }}</label>{% else %}{{ field }}{% endif %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endblock %}
|
|
{% block actions-submit %}
|
|
<button type="submit" class="button" name="index" value="{{ action_index|default:0 }}">{% translate "Run" %}</button>
|
|
{% endblock %}
|
|
{% block actions-counter %}
|
|
{% if actions_selection_counter %}
|
|
<span class="action-counter" data-actions-icnt="{{ cl.result_list|length }}">{{ selection_note }}</span>
|
|
{% if cl.result_count != cl.result_list|length %}
|
|
<span class="all hidden">{{ selection_note_all }}</span>
|
|
<span class="question hidden">
|
|
<a role="button" href="#" title="{% translate "Click here to select the objects across all pages" %}">{% blocktranslate with cl.result_count as total_count %}Select all {{ total_count }} {{ module_name }}{% endblocktranslate %}</a>
|
|
</span>
|
|
<span class="clear hidden"><a role="button" href="#">{% translate "Clear selection" %}</a></span>
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endblock %}
|
|
{% endblock %}
|
|
</div>
|
|
</div>
|