misc: use ⣿ for dragndrop handles

This commit is contained in:
Frédéric Péters 2016-06-18 11:02:46 +02:00
parent 619632a123
commit 62f976aa78
3 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ function multisort(element)
if (category_value && $(x).val().indexOf(category_value + ':') != 0) {
return;
}
$('<li data-value="' + $(x).val() + '"><span class="handle"></span>' + $(x).text() + '</li>').appendTo($ul);
$('<li data-value="' + $(x).val() + '"><span class="handle"></span>' + $(x).text() + '</li>').appendTo($ul);
});
$ul.appendTo(element);
$ul.sortable({

View File

@ -21,14 +21,14 @@
<p class="hint">
{% blocktrans %}
Use drag and drop with the handles to reorder and change hierarchy of pages.
Use drag and drop with the handles to reorder and change hierarchy of pages.
{% endblocktrans %}
</p>
<div class="objects-list" id="pages-list" data-page-order-url="{% url 'combo-manager-page-order' %}">
{% for page in object_list %}
<div class="level-{{page.level}}" data-page-id="{{page.id}}" data-level="{{page.level}}">
<span class="handle"></span> <a href="{% url 'combo-manager-page-view' pk=page.id %}">{{ page.title }}</a>
<span class="handle"></span> <a href="{% url 'combo-manager-page-view' pk=page.id %}">{{ page.title }}</a>
</div>
{% endfor %}
</div>

View File

@ -76,7 +76,7 @@
<div class="cell-list">
{% for cell in placeholder.cells %}
<div class="cell" data-cell-reference="{{ cell.get_reference }}">
<h3><span class="handle"></span>
<h3><span class="handle"></span>
{{ cell.get_label }}
{% if cell.slug %} [{{cell.slug}}] {% endif %}
<span class="additional-label">