shopping order sort. maybe needs some fine tuning
This commit is contained in:
@@ -52,9 +52,9 @@
|
||||
<form action="{{ url_for('sort_flip') }}" method=post>
|
||||
<input type=hidden name=shopid value="{{ shopid }}">
|
||||
{% if autosort %}
|
||||
<input class=submit type=submit name=toggleAll value="Autosort: On">
|
||||
<input class=submit type=submit name=toggleAll value="Auto order: On">
|
||||
{% else %}
|
||||
<input class=submit type=submit name=toggleAll value="Autosort: Off">
|
||||
<input class=submit type=submit name=toggleAll value="Auto order: Off">
|
||||
{% endif %}
|
||||
</form>
|
||||
</span>
|
||||
@@ -99,6 +99,6 @@
|
||||
<dl><input type=hidden name=shopid value={{ shopid }}><input class="submit notify" type=submit value=Delete onclick="return confirm('Do you really want to remove shop {{ shop }}?');">
|
||||
</dl></form>
|
||||
{% if autosort %}
|
||||
<script language=javascript>sortMarkdown();</script>
|
||||
<script language=javascript>sortMarkdown(boughtOrder=true);</script>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user