edit event: two columns

This commit is contained in:
boyska 2021-11-20 18:49:24 +01:00
parent c330bdeff4
commit d06c72043f

View file

@ -49,7 +49,8 @@ $(function() {
You are currently editing: <code>{{alarm|tojson}}</code> You are currently editing: <code>{{alarm|tojson}}</code>
{% endif %} {% endif %}
<h2>Change actions</h2> <h2>Change actions</h2>
<div> <div class="row">
<div class="col-md-8">
Available actions: Available actions:
<ul> <ul>
{% for a in all_actions %} {% for a in all_actions %}
@ -60,7 +61,9 @@ $(function() {
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>
<div> <div class="col-md-4">
<div class="row">
<div class="col-md-12">
Actions currently added: Actions currently added:
<ul id="selected"> <ul id="selected">
{% for a in actions %} {% for a in actions %}
@ -70,11 +73,13 @@ $(function() {
class="ui-state-default">{% if a.nick %} {{a.nick}} {% else %} {{a.eid}} {%endif%}</li> class="ui-state-default">{% if a.nick %} {{a.nick}} {% else %} {{a.eid}} {%endif%}</li>
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div><!-- .col-md-12 -->
<div> <div class="col-md-12">
<button>Save</button> <button>Save</button>
</div> </div><!-- .col-md-12 -->
</div> </div><!-- .row -->
</div><!-- .col-md-4 -->
</div><!-- .row -->
{% endblock content %} {% endblock content %}
{# vim: set ts=2 sw=2 noet: #} {# vim: set ts=2 sw=2 noet: #}