Commit fa19f093 authored by Johannes Knödtel's avatar Johannes Knödtel 🎶
Browse files

add lock button to list view

parent a9fce4b8
......@@ -377,6 +377,17 @@
</div>
<form method="POST" action="/{% if locked %}unlock{% else %}lock{% endif %}-session" style="display:inline">
{% csrf-field %}
<input type="text" name="session" value="{{session}}" style="display:none;" />
<div class="fixed-action-btn">
<button class="btn btn-floating btn-large" type="submit">
<i class="material-icons {% if locked %}cyan{% else %}red{% endif %}">{% if locked %}lock_open{% else %}lock{% endif %}</i>
</button>
</div>
</form>
<div class="slide"></div>
{% endblock %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment