Revize 8766d436
Přidáno uživatelem Jan Čarnogurský před téměř 5 roky(ů)
src/main/webapp/WEB-INF/templates/assembly.html | ||
---|---|---|
1 |
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml"> |
|
2 |
<head> |
|
3 |
<meta charset="utf-8"> |
|
4 |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> |
|
5 |
<meta name="description" content=""> |
|
6 |
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors"> |
|
7 |
<meta name="generator" content="Jekyll v3.8.6"> |
|
8 |
<title>Album example · Bootstrap</title> |
|
9 |
<link rel="canonical" href="https://getbootstrap.com/docs/4.4/examples/album/"> |
|
1 |
<html xmlns:th="http://www.thymeleaf.org" |
|
2 |
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" |
|
3 |
layout:decorator="~{/layouts/layout}"> |
|
10 | 4 |
|
11 |
<!-- Bootstrap core CSS --> |
|
12 |
<link href="css/bootstrap.min.css" rel="stylesheet"> |
|
5 |
<div layout:fragment="content"> |
|
13 | 6 |
|
14 |
<link href="css/bootstrap-select.min.css" rel="stylesheet"> |
|
15 |
<link href="css/fontawesome.min.css" rel="stylesheet"> |
|
16 |
<link href="css/style.css" rel="stylesheet"> |
|
17 |
|
|
18 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" |
|
19 |
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" |
|
20 |
crossorigin="anonymous"></script> |
|
21 |
<script type="text/javascript" src="js/jquery.js"></script> |
|
22 |
<script type="text/javascript" src="js/bootstrap.min.js"></script> |
|
23 |
<script type="text/javascript" src="js/bootstrap-select.min.js"></script> |
|
24 |
|
|
25 |
<link href="//code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css" rel="stylesheet"> |
|
26 |
<script src="//code.jquery.com/ui/1.11.1/jquery-ui.js"></script> |
|
27 |
</head> |
|
28 |
<body> |
|
29 |
<div id="test"></div> |
|
30 |
<main role="main"> |
|
31 |
|
|
32 |
<div class="container"> |
|
33 |
<h1> |
|
34 |
Sestava - Studenti - studijní programy |
|
35 |
</h1> |
|
36 |
<a href="/" class="btn btn-success mb-2">Zpět</a> |
|
37 |
</div> |
|
38 |
|
|
39 |
<form th:object="${configuration}" method="post" th:action="@{/configuration(configurationID=${configuration.id})}"> |
|
40 |
<input type="hidden" th:field="*{assembly.id}" th:value="${configuration.assembly?.getId()}"/> |
|
41 |
<div class="container box"> |
|
42 |
<div class="col-md-12"> |
|
43 |
<div class="col-md-12 form-group row"> |
|
44 |
<label for="exampleFormControlSelect1" class="name-input-label">Titulek tabulky:</label> |
|
45 |
<input type="text" class="form-control name-input" th:field="*{tableName}" |
|
46 |
th:value="${configuration?.tableName}"> |
|
47 |
</div> |
|
48 |
<span>Parametry:</span> |
|
49 |
<div class="col-md-9"> |
|
50 |
<table class="table"> |
|
51 |
<thead> |
|
52 |
<tr> |
|
53 |
<th class="col-1">Parametr</th> |
|
54 |
<th class="col-2">Umístění</th> |
|
55 |
<th class="col-3">Filtry</th> |
|
56 |
</tr> |
|
57 |
</thead> |
|
58 |
<tbody> |
|
59 |
<tr th:each="parameterInConfiguration, itemStat : ${#lists.sort(configuration.parametersInConfiguration, comparator)}" class="parameter-row"> |
|
60 |
<input type="hidden" class="parameterIndex" th:value="${itemStat.index}"> |
|
61 |
<td> |
|
62 |
<span class="select-text-padding parameter-name" |
|
63 |
th:text="${parameterInConfiguration.parameter.name}"></span> |
|
64 |
</td> |
|
65 |
<td class="select-action-buttons"> |
|
66 |
<optional th:each="location : ${parameterInConfiguration.parameter.locations}"> |
|
67 |
<span th:if="${location.name?.equals('Řádek')}" |
|
68 |
th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].location.name}" |
|
69 |
class="select-action-padding select-action-button select-input-action-margin-collapse unselectable row-button" |
|
70 |
th:classappend="(${configuration.parametersInConfiguration[__${itemStat.index}__].location.name?.equals('Řádek')}) ? select-action-headlight" > |
|
71 |
<i class="fas fa-align-justify"></i> |
|
72 |
</span> |
|
73 |
<span th:if="${location.name?.equals('Sloupec')}" |
|
74 |
th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].location.name}" |
|
75 |
class="select-action-padding select-action-button select-input-action-margin-collapse unselectable column-button" |
|
76 |
th:classappend="(${configuration.parametersInConfiguration[__${itemStat.index}__].location.name?.equals('Sloupec')}) ? select-action-headlight"> |
|
77 |
<i class="fas fa-align-justify transform"></i> |
|
78 |
</span> |
|
79 |
<span th:if="${location.name?.equals('Hodnota')}" |
|
80 |
th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].location.name}" |
|
81 |
class="select-action-padding select-action-button select-input-action-margin-collapse unselectable value-button" |
|
82 |
th:classappend="(${configuration.parametersInConfiguration[__${itemStat.index}__].location.name?.equals('Hodnota')}) ? select-action-headlight"> |
|
83 |
<i class="fas fa-heading"></i> |
|
84 |
</span> |
|
85 |
</optional> |
|
86 |
</td> |
|
87 |
<td class="s"> |
|
88 |
<div class="col select-filter"> |
|
89 |
<select class="form-control" |
|
90 |
th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].operator.name}"> |
|
91 |
<option th:value="zadny" selected value> -- Operátor --</option> |
|
92 |
<option th:each="operator : ${parameterInConfiguration.parameter.operators}" |
|
93 |
th:text="${operator.name}" th:value="${operator.name}"></option> |
|
94 |
</select> |
|
95 |
<input type="text" class="form-control select-filter-input" id="name" |
|
96 |
th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].operatorValue}"> |
|
97 |
</div> |
|
98 |
</td> |
|
99 |
|
|
100 |
<select class="form-control hidden" th:id="'function-select-' + ${itemStat.index}" |
|
101 |
th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].functions}" |
|
102 |
multiple> |
|
103 |
<option th:each="function : ${parameterInConfiguration.parameter.functions}" |
|
104 |
th:text="${function.name}" th:value="${{function.id}}"></option> |
|
105 |
</select> |
|
106 |
</tr> |
|
107 |
</tbody> |
|
108 |
</table> |
|
109 |
</div> |
|
7 |
<div class="container"> |
|
8 |
<h1> |
|
9 |
Sestava - Studenti - studijní programy |
|
10 |
</h1> |
|
11 |
<a href="/" class="btn btn-success mb-2">Zpět</a> |
|
12 |
</div> |
|
110 | 13 |
|
111 |
<div class="selected-input-container"> |
|
112 |
<div class="selected-input-box"> |
|
113 |
<div class="selected-input-box-icon"> |
|
114 |
<i class="fas fa-align-justify"></i> |
|
115 |
</div> |
|
116 |
<table class="table table-parameter"> |
|
14 |
<form th:object="${configuration}" method="post" th:action="@{/configuration(configurationID=${configuration.id})}"> |
|
15 |
<input type="hidden" th:field="*{assembly.id}" th:value="${configuration.assembly?.getId()}"/> |
|
16 |
<div class="container box"> |
|
17 |
<div class="col-md-12"> |
|
18 |
<div class="col-md-12 form-group row"> |
|
19 |
<label for="exampleFormControlSelect1" class="name-input-label">Titulek tabulky:</label> |
|
20 |
<input type="text" class="form-control name-input" th:field="*{tableName}" |
|
21 |
th:value="${configuration?.tableName}"> |
|
22 |
</div> |
|
23 |
<span>Parametry:</span> |
|
24 |
<div class="col-md-9"> |
|
25 |
<table class="table"> |
|
117 | 26 |
<thead> |
118 | 27 |
<tr> |
119 |
<th class="col-1-p"></th>
|
|
120 |
<th class="col-2-p">Vlastní název</th>
|
|
121 |
<th class="col-3-p"></th>
|
|
28 |
<th class="col-1">Parametr</th>
|
|
29 |
<th class="col-2">Umístění</th>
|
|
30 |
<th class="col-3">Filtry</th>
|
|
122 | 31 |
</tr> |
123 | 32 |
</thead> |
124 |
<tbody id="row-wrapper" class="sortable"> |
|
125 |
<tr th:each="parameterInConfiguration, itemStat : ${#lists.sort(configuration.parametersInConfiguration)}" th:if="${parameterInConfiguration.location.name?.equals('Řádek')}" class="row-parameter parameter"> |
|
126 |
<input type="hidden" th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].location.id}" value="1"> |
|
127 |
<input type="hidden" class="parametr-order" th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].parameterOrder}" th:value="${configuration.parametersInConfiguration[__${itemStat.index}__].parameterOrder}"> |
|
33 |
<tbody> |
|
34 |
<tr th:each="parameterInConfiguration, itemStat : ${#lists.sort(configuration.parametersInConfiguration, comparator)}" class="parameter-row"> |
|
35 |
<input type="hidden" class="parameterIndex" th:value="${itemStat.index}"> |
|
128 | 36 |
<td> |
129 |
<span class="parameter-name" th:text="${parameterInConfiguration.parameter.name}"></span> |
|
37 |
<span class="select-text-padding parameter-name" |
|
38 |
th:text="${parameterInConfiguration.parameter.name}"></span> |
|
130 | 39 |
</td> |
131 |
<td> |
|
132 |
<input th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].columnName}" |
|
133 |
type="text" class="form-control select-filter-input"> |
|
40 |
<td class="select-action-buttons"> |
|
41 |
<optional th:each="location : ${parameterInConfiguration.parameter.locations}"> |
|
42 |
<span th:if="${location.name?.equals('Řádek')}" |
|
43 |
th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].location.name}" |
|
44 |
class="select-action-padding select-action-button select-input-action-margin-collapse unselectable row-button" |
|
45 |
th:classappend="(${configuration.parametersInConfiguration[__${itemStat.index}__].location.name?.equals('Řádek')}) ? select-action-headlight" > |
|
46 |
<i class="fas fa-align-justify"></i> |
|
47 |
</span> |
|
48 |
<span th:if="${location.name?.equals('Sloupec')}" |
|
49 |
th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].location.name}" |
|
50 |
class="select-action-padding select-action-button select-input-action-margin-collapse unselectable column-button" |
|
51 |
th:classappend="(${configuration.parametersInConfiguration[__${itemStat.index}__].location.name?.equals('Sloupec')}) ? select-action-headlight"> |
|
52 |
<i class="fas fa-align-justify transform"></i> |
|
53 |
</span> |
|
54 |
<span th:if="${location.name?.equals('Hodnota')}" |
|
55 |
th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].location.name}" |
|
56 |
class="select-action-padding select-action-button select-input-action-margin-collapse unselectable value-button" |
|
57 |
th:classappend="(${configuration.parametersInConfiguration[__${itemStat.index}__].location.name?.equals('Hodnota')}) ? select-action-headlight"> |
|
58 |
<i class="fas fa-heading"></i> |
|
59 |
</span> |
|
60 |
</optional> |
|
134 | 61 |
</td> |
135 |
<td> |
|
136 |
<span><i class="fas fa-sort"></i></span> |
|
62 |
<td class="s"> |
|
63 |
<div class="col select-filter"> |
|
64 |
<select class="form-control" |
|
65 |
th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].operator.name}"> |
|
66 |
<option th:value="zadny" selected value> -- Operátor --</option> |
|
67 |
<option th:each="operator : ${parameterInConfiguration.parameter.operators}" |
|
68 |
th:text="${operator.name}" th:value="${operator.name}"></option> |
|
69 |
</select> |
|
70 |
<input type="text" class="form-control select-filter-input" id="name" |
|
71 |
th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].operatorValue}"> |
|
72 |
</div> |
|
137 | 73 |
</td> |
74 |
|
|
75 |
<select class="form-control hidden" th:id="'function-select-' + ${itemStat.index}" |
|
76 |
th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].functions}" |
|
77 |
multiple> |
|
78 |
<option th:each="function : ${parameterInConfiguration.parameter.functions}" |
|
79 |
th:text="${function.name}" th:value="${{function.id}}"></option> |
|
80 |
</select> |
|
138 | 81 |
</tr> |
139 | 82 |
</tbody> |
140 | 83 |
</table> |
141 | 84 |
</div> |
142 | 85 |
|
86 |
<div class="selected-input-container"> |
|
87 |
<div class="selected-input-box"> |
|
88 |
<div class="selected-input-box-icon"> |
|
89 |
<i class="fas fa-align-justify"></i> |
|
90 |
</div> |
|
91 |
<table class="table table-parameter"> |
|
92 |
<thead> |
|
93 |
<tr> |
|
94 |
<th class="col-1-p"></th> |
|
95 |
<th class="col-2-p">Vlastní název</th> |
|
96 |
<th class="col-3-p"></th> |
|
97 |
</tr> |
|
98 |
</thead> |
|
99 |
<tbody id="row-wrapper" class="sortable"> |
|
100 |
<tr th:each="parameterInConfiguration, itemStat : ${#lists.sort(configuration.parametersInConfiguration)}" th:if="${parameterInConfiguration.location.name?.equals('Řádek')}" class="row-parameter parameter"> |
|
101 |
<input type="hidden" th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].location.id}" value="1"> |
|
102 |
<input type="hidden" class="parametr-order" th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].parameterOrder}" th:value="${configuration.parametersInConfiguration[__${itemStat.index}__].parameterOrder}"> |
|
103 |
<td> |
|
104 |
<span class="parameter-name" th:text="${parameterInConfiguration.parameter.name}"></span> |
|
105 |
</td> |
|
106 |
<td> |
|
107 |
<input th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].columnName}" |
|
108 |
type="text" class="form-control select-filter-input"> |
|
109 |
</td> |
|
110 |
<td> |
|
111 |
<span><i class="fas fa-sort"></i></span> |
|
112 |
</td> |
|
113 |
</tr> |
|
114 |
</tbody> |
|
115 |
</table> |
|
116 |
</div> |
|
117 |
|
|
143 | 118 |
|
144 |
<div class="selected-input-box"> |
|
145 |
<div class="selected-input-box-icon"> |
|
146 |
<i class="fas fa-align-justify transform"></i> |
|
119 |
<div class="selected-input-box"> |
|
120 |
<div class="selected-input-box-icon"> |
|
121 |
<i class="fas fa-align-justify transform"></i> |
|
122 |
</div> |
|
123 |
<table class="table table-parameter"> |
|
124 |
<thead> |
|
125 |
<tr> |
|
126 |
<th class="col-1-p"></th> |
|
127 |
<th class="col-2-p">Vlastní název</th> |
|
128 |
<th class="col-3-p"></th> |
|
129 |
</tr> |
|
130 |
</thead> |
|
131 |
<tbody id="column-wrapper" class="sortable"> |
|
132 |
<tr th:each="parameterInConfiguration, itemStat : ${#lists.sort(configuration.parametersInConfiguration)}" th:if="${parameterInConfiguration.location.name?.equals('Sloupec')}" class="column-parameter parameter"> |
|
133 |
<input type="hidden" th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].location.id}" value="2"> |
|
134 |
<input type="hidden" class="parametr-order" th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].parameterOrder}" th:value="${configuration.parametersInConfiguration[__${itemStat.index}__].parameterOrder}"> |
|
135 |
<td> |
|
136 |
<span class="parameter-name" th:text="${parameterInConfiguration.parameter.name}"></span> |
|
137 |
</td> |
|
138 |
<td> |
|
139 |
<input th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].columnName}" |
|
140 |
type="text" class="form-control select-filter-input" id="name"> |
|
141 |
</td> |
|
142 |
<td> |
|
143 |
<span><i class="fas fa-sort"></i></span> |
|
144 |
</td> |
|
145 |
</tr> |
|
146 |
</tbody> |
|
147 |
</table> |
|
147 | 148 |
</div> |
148 |
<table class="table table-parameter"> |
|
149 |
<thead> |
|
150 |
<tr> |
|
151 |
<th class="col-1-p"></th> |
|
152 |
<th class="col-2-p">Vlastní název</th> |
|
153 |
<th class="col-3-p"></th> |
|
154 |
</tr> |
|
155 |
</thead> |
|
156 |
<tbody id="column-wrapper" class="sortable"> |
|
157 |
<tr th:each="parameterInConfiguration, itemStat : ${#lists.sort(configuration.parametersInConfiguration)}" th:if="${parameterInConfiguration.location.name?.equals('Sloupec')}" class="column-parameter parameter"> |
|
158 |
<input type="hidden" th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].location.id}" value="2"> |
|
159 |
<input type="hidden" class="parametr-order" th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].parameterOrder}" th:value="${configuration.parametersInConfiguration[__${itemStat.index}__].parameterOrder}"> |
|
160 |
<td> |
|
161 |
<span class="parameter-name" th:text="${parameterInConfiguration.parameter.name}"></span> |
|
162 |
</td> |
|
163 |
<td> |
|
164 |
<input th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].columnName}" |
|
165 |
type="text" class="form-control select-filter-input" id="name"> |
|
166 |
</td> |
|
167 |
<td> |
|
168 |
<span><i class="fas fa-sort"></i></span> |
|
169 |
</td> |
|
170 |
</tr> |
|
171 |
</tbody> |
|
172 |
</table> |
|
173 |
</div> |
|
174 | 149 |
|
175 | 150 |
|
176 |
<div class="selected-input-box"> |
|
177 |
<div class="selected-input-box-icon"> |
|
178 |
<i class="fas fa-heading"></i> |
|
151 |
<div class="selected-input-box"> |
|
152 |
<div class="selected-input-box-icon"> |
|
153 |
<i class="fas fa-heading"></i> |
|
154 |
</div> |
|
155 |
<table class="table table-parameter"> |
|
156 |
<thead> |
|
157 |
<tr> |
|
158 |
<th class="col-1-p"></th> |
|
159 |
<th class="col-2-p">Funkce</th> |
|
160 |
</tr> |
|
161 |
</thead> |
|
162 |
<tbody id="value-wrapper"> |
|
163 |
<tr th:each="parameterInConfiguration, itemStat : ${#lists.sort(configuration.parametersInConfiguration)}" th:if="${parameterInConfiguration.location.name?.equals('Hodnota')}" class="value-parameter parameter"> |
|
164 |
<input type="hidden" th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].location.id}" value="3"> |
|
165 |
<input type="hidden" class="parametr-order" th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].parameterOrder}" th:value="${configuration.parametersInConfiguration[__${itemStat.index}__].parameterOrder}"> |
|
166 |
<td> |
|
167 |
<span class="parameter-name" th:text="${parameterInConfiguration.parameter.name}"></span> |
|
168 |
</td> |
|
169 |
<td> |
|
170 |
<select class="form-control" |
|
171 |
th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].functions}" |
|
172 |
multiple> |
|
173 |
<option th:each="function : ${parameterInConfiguration.parameter.functions}" |
|
174 |
th:text="${function.name}" th:value="${{function.id}}"></option> |
|
175 |
</select> |
|
176 |
</td> |
|
177 |
</tr> |
|
178 |
</tbody> |
|
179 |
</table> |
|
179 | 180 |
</div> |
180 |
<table class="table table-parameter"> |
|
181 |
<thead> |
|
182 |
<tr> |
|
183 |
<th class="col-1-p"></th> |
|
184 |
<th class="col-2-p">Funkce</th> |
|
185 |
</tr> |
|
186 |
</thead> |
|
187 |
<tbody id="value-wrapper"> |
|
188 |
<tr th:each="parameterInConfiguration, itemStat : ${#lists.sort(configuration.parametersInConfiguration)}" th:if="${parameterInConfiguration.location.name?.equals('Hodnota')}" class="value-parameter parameter"> |
|
189 |
<input type="hidden" th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].location.id}" value="3"> |
|
190 |
<input type="hidden" class="parametr-order" th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].parameterOrder}" th:value="${configuration.parametersInConfiguration[__${itemStat.index}__].parameterOrder}"> |
|
191 |
<td> |
|
192 |
<span class="parameter-name" th:text="${parameterInConfiguration.parameter.name}"></span> |
|
193 |
</td> |
|
194 |
<td> |
|
195 |
<select class="form-control" |
|
196 |
th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].functions}" |
|
197 |
multiple> |
|
198 |
<option th:each="function : ${parameterInConfiguration.parameter.functions}" |
|
199 |
th:text="${function.name}" th:value="${{function.id}}"></option> |
|
200 |
</select> |
|
201 |
</td> |
|
202 |
</tr> |
|
203 |
</tbody> |
|
204 |
</table> |
|
205 | 181 |
</div> |
206 |
</div> |
|
207 | 182 |
|
208 | 183 |
|
209 |
<div class="col-md-12 form-group row template-input"> |
|
210 |
<label for="exampleFormControlSelect1" class="template-input-label">Vlastní název šablony:</label> |
|
211 |
<div class=""> |
|
212 |
<input type="text" required="required" class="form-control select-filter-input" id="name" |
|
213 |
th:field="${configuration.name}"> |
|
214 |
</div> |
|
184 |
<div class="col-md-12 form-group row template-input">
|
|
185 |
<label for="exampleFormControlSelect1" class="template-input-label">Vlastní název šablony:</label>
|
|
186 |
<div class="">
|
|
187 |
<input type="text" required="required" class="form-control select-filter-input" id="name"
|
|
188 |
th:field="${configuration.name}">
|
|
189 |
</div>
|
|
215 | 190 |
|
216 |
<button type="submit" class="btn btn-success mb-2 template-input-submit">Uložit šablonu</button> |
|
217 |
</div> |
|
191 |
<button type="submit" class="btn btn-success mb-2 template-input-submit">Uložit šablonu</button>
|
|
192 |
</div>
|
|
218 | 193 |
|
219 | 194 |
|
220 |
<div class="buttons-wrap"> |
|
221 |
<button type="submit" class="btn btn-secondary mb-2 " name="generate-table">Vygenerovat tabulku |
|
222 |
</button> |
|
223 |
<button type="submit" class="btn btn-secondary mb-2 " name="export-xls">Export do XLS</button> |
|
224 |
<button type="submit" class="btn btn-secondary mb-2 " name="export-pdf">Export do PDF</button> |
|
195 |
<div class="buttons-wrap"> |
|
196 |
<button type="submit" class="btn btn-secondary mb-2 " name="generate-table">Vygenerovat tabulku |
|
197 |
</button> |
|
198 |
<button type="submit" class="btn btn-secondary mb-2 " name="export-xls">Export do XLS</button> |
|
199 |
<button type="submit" class="btn btn-secondary mb-2 " name="export-pdf">Export do PDF</button> |
|
200 |
</div> |
|
225 | 201 |
</div> |
226 | 202 |
</div> |
227 |
</div> |
|
228 |
</form> |
|
203 |
</form> |
|
229 | 204 |
|
230 | 205 |
|
231 |
<div th:if="${contingencyTableRows}" class="container box"> |
|
232 |
<div class="col-md-12"> |
|
233 |
<table class="tg table"> |
|
234 |
<tr th:each="contingencyTableRow : ${contingencyTableRows}"> |
|
235 |
<div class="tg-align" th:if="${contingencyTableRow.isHeader()}"> |
|
236 |
<th class="tg-align" th:each="contingencyTableRowCell : ${contingencyTableRow.getCells()}"> |
|
237 |
<span th:text="${contingencyTableRowCell.getValue()}"></span> |
|
238 |
</th> |
|
239 |
</div> |
|
240 |
<div th:unless="${contingencyTableRow.isHeader()}"> |
|
241 |
<td class="tg-align" th:each="contingencyTableRowCell : ${contingencyTableRow.getCells()}"> |
|
242 |
<span th:text="${contingencyTableRowCell.getValue()}"></span> |
|
243 |
</td> |
|
244 |
</div> |
|
245 |
</tr> |
|
206 |
<div th:if="${contingencyTableRows}" class="container box">
|
|
207 |
<div class="col-md-12">
|
|
208 |
<table class="tg table">
|
|
209 |
<tr th:each="contingencyTableRow : ${contingencyTableRows}">
|
|
210 |
<div class="tg-align" th:if="${contingencyTableRow.isHeader()}">
|
|
211 |
<th class="tg-align" th:each="contingencyTableRowCell : ${contingencyTableRow.getCells()}">
|
|
212 |
<span th:text="${contingencyTableRowCell.getValue()}"></span>
|
|
213 |
</th>
|
|
214 |
</div>
|
|
215 |
<div th:unless="${contingencyTableRow.isHeader()}">
|
|
216 |
<td class="tg-align" th:each="contingencyTableRowCell : ${contingencyTableRow.getCells()}">
|
|
217 |
<span th:text="${contingencyTableRowCell.getValue()}"></span>
|
|
218 |
</td>
|
|
219 |
</div>
|
|
220 |
</tr>
|
|
246 | 221 |
|
247 | 222 |
|
248 |
</table> |
|
223 |
</table> |
|
224 |
</div> |
|
249 | 225 |
</div> |
250 | 226 |
</div> |
251 |
</main> |
|
252 |
|
|
253 |
<footer class="text-muted"> |
|
254 |
<div class="container"> |
|
255 | 227 |
|
228 |
<div layout:fragment="scripts"> |
|
229 |
<script type="text/javascript" src="js/assemblyScripts.js"></script> |
|
256 | 230 |
</div> |
257 |
</footer> |
|
258 | 231 |
|
259 |
<script type="text/javascript" src="js/app.js"></script> |
|
260 |
</body> |
|
261 | 232 |
</html> |
262 |
<script type="text/javascript"> |
|
263 |
$("select").selectpicker(); |
|
264 |
</script> |
|
265 |
<script type="text/javascript" src="js/assemblyScripts.js"></script> |
|
233 |
|
Také k dispozici: Unified diff
re #7975 - added flash message style, create one layout for all templates, refactoring