1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
{#
/*
* Spring Signage Ltd - http://www.springsignage.com
* Copyright (C) 2015 Spring Signage Ltd
* (${FILE_NAME})
*/
#}
{% extends "form-base.twig" %}
{% import "forms.twig" as forms %}
{% import "inline.twig" as inline %}
{% block formTitle %}
{% trans "Assign a Layout" %}
{% endblock %}
{% block formButtons %}
{% trans "Help" %}, XiboHelpRender("{{ help }}")
{% trans "Cancel" %}, XiboDialogClose()
{% trans "Save" %}, layoutAssignSubmit()
{% endblock %}
{% block callBack %}layoutFormCallBack{% endblock %}
{% block formHtml %}
<div class="row">
<div class="col-md-12">
<div class="alert alert-warning">
{% trans "Assigning a Layout to a Display/DisplayGroup does NOT schedule that Layout to be shown. Please use the Schedule to show Layouts." %}
</div>
<div id="FileAssociationsAssign" class="well" data-url="{{ urlFor("displayGroup.assign.layout", {id: displayGroup.displayGroupId}) }}">
<div>
<ul id="FileAssociationsSortable">
{% for item in layouts %}
<li data-layout-id="{{ item.layoutId }}" class="btn btn-sm btn-default">{{ item.layout }}<span class="glyphicon glyphicon-minus-sign"></span></li>
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="XiboGrid" id="{{ random() }}">
<div class="FilterDiv">
<form onsubmit="false">
</form>
</div>
<div class="XiboData">
<table id="layoutAssignments" data-url="{{ urlFor("layout.search") }}" class="table table-striped">
<thead>
<tr>
<th>{% trans "Name" %}</th>
<th></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</div>
{% endblock %}
|