edit event: two columns
This commit is contained in:
parent
c330bdeff4
commit
d06c72043f
1 changed files with 31 additions and 26 deletions
|
@ -49,32 +49,37 @@ $(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">
|
||||||
Available actions:
|
<div class="col-md-8">
|
||||||
<ul>
|
Available actions:
|
||||||
{% for a in all_actions %}
|
<ul>
|
||||||
<li title="{{a.kind}}"
|
{% for a in all_actions %}
|
||||||
data-nick="{{a.nick}}"
|
<li title="{{a.kind}}"
|
||||||
data-id="{{a.eid}}"
|
data-nick="{{a.nick}}"
|
||||||
class="avail ui-state-highlight">{% if a.nick %} {{a.nick}} {% else %} {{a.eid}} {%endif%}</li>
|
data-id="{{a.eid}}"
|
||||||
{% endfor %}
|
class="avail ui-state-highlight">{% if a.nick %} {{a.nick}} {% else %} {{a.eid}} {%endif%}</li>
|
||||||
</ul>
|
{% endfor %}
|
||||||
</div>
|
</ul>
|
||||||
<div>
|
</div>
|
||||||
Actions currently added:
|
<div class="col-md-4">
|
||||||
<ul id="selected">
|
<div class="row">
|
||||||
{% for a in actions %}
|
<div class="col-md-12">
|
||||||
<li title="{{a.kind}}"
|
Actions currently added:
|
||||||
data-nick="{{a.nick}}"
|
<ul id="selected">
|
||||||
data-id="{{a.eid}}"
|
{% for a in actions %}
|
||||||
class="ui-state-default">{% if a.nick %} {{a.nick}} {% else %} {{a.eid}} {%endif%}</li>
|
<li title="{{a.kind}}"
|
||||||
{% endfor %}
|
data-nick="{{a.nick}}"
|
||||||
</ul>
|
data-id="{{a.eid}}"
|
||||||
</div>
|
class="ui-state-default">{% if a.nick %} {{a.nick}} {% else %} {{a.eid}} {%endif%}</li>
|
||||||
<div>
|
{% endfor %}
|
||||||
<button>Save</button>
|
</ul>
|
||||||
</div>
|
</div><!-- .col-md-12 -->
|
||||||
</div>
|
<div class="col-md-12">
|
||||||
|
<button>Save</button>
|
||||||
|
</div><!-- .col-md-12 -->
|
||||||
|
</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: #}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue