Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

46 lines (44 sloc) 2.044 kb
{% load thumbnail %}
{% for clipboard in user.clipboards.all %}
<table style="width: 100%; border: 1px solid #DDDDDD;" class="clipboard">
<thead>
<th colspan=3>Clipboard</th>
</thead>
<tbody id="fileInputQueue" class="fileUploadQueue">{% if clipboard.files.count %}{% with clipboard.files.all as items %}
{% include "image_filer/include/clipboard_item_rows.html" %}
{% endwith %}
{% else %}
<tr class="noItemsRow">
<td colspan=3 style="color: gray;text-align: center; height: 48px; vertical-align: middle;">the clipboard is empty</td>
</tr>
{% endif %}
</tbody>
<tfoot>
<tr>
<td colspan=3>
<form action="{% url admin:image_filer-paste_clipboard_to_folder %}" method="post" style="display: inline;">
<input type="hidden" name="folder_id" value="{{ folder.id }}" />
<input type="hidden" name="clipboard_id" value="{{ clipboard.id }}" />
<input type="hidden" name="redirect_to" value="{{ current_url }}" />
{% if is_popup %}<input type="hidden" name="_popup" value="1" />{% endif %}
<input type="submit" value="&larr;"{% if folder.is_root %} disabled="disabled" style="color: gray;"{% endif %} />
</form>
<form action="{% url admin:image_filer-discard_clipboard %}" method="post" style="display: inline;">
<input type="hidden" name="clipboard_id" value="{{ clipboard.id }}" />
<input type="hidden" name="redirect_to" value="{{ current_url }}" />
{% if is_popup %}<input type="hidden" name="_popup" value="1" />{% endif %}
<input type="submit" value="discard" />
</form>{% comment %}
<form action="{% url admin:image_filer-delete_clipboard %}" method="post" style="display: inline;">
<input type="hidden" name="clipboard_id" value="{{ clipboard.id }}" />
<input type="hidden" name="redirect_to" value="{{ current_url }}" />
{% if is_popup %}<input type="hidden" name="_popup" value="1" />{% endif %}
<input type="submit" value="delete files" />
</form>{% endcomment %}
</td>
</tr>
</tfoot>
</table>
<ul>
</ul>
{% endfor %}
Jump to Line
Something went wrong with that request. Please try again.