88a5fe8a2505a464202f7e32e9b7fb50.php
14.9 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* common/column_left.twig */
class __TwigTemplate_680067f80986b96e1d5f33221e7629ec extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<nav id=\"column-left\">
<div id=\"navigation\"><span class=\"fa fa-bars\"></span> ";
// line 2
yield ($context["text_navigation"] ?? null);
yield "</div>
<ul id=\"menu\">
";
// line 4
$context["i"] = 0;
// line 5
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["menus"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["menu"]) {
// line 6
yield " <li id=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["menu"], "id", [], "any", false, false, false, 6);
yield "\">
";
// line 7
if (CoreExtension::getAttribute($this->env, $this->source, $context["menu"], "href", [], "any", false, false, false, 7)) {
yield "<a href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["menu"], "href", [], "any", false, false, false, 7);
yield "\"><i class=\"fa ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["menu"], "icon", [], "any", false, false, false, 7);
yield " fw\"></i> ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["menu"], "name", [], "any", false, false, false, 7);
yield "</a>";
} else {
yield "<a href=\"#collapse";
yield ($context["i"] ?? null);
yield "\" data-toggle=\"collapse\" class=\"parent collapsed\"><i class=\"fa ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["menu"], "icon", [], "any", false, false, false, 7);
yield " fw\"></i> ";
yield CoreExtension::getAttribute($this->env, $this->source, $context["menu"], "name", [], "any", false, false, false, 7);
yield "</a>";
}
// line 8
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["menu"], "children", [], "any", false, false, false, 8)) {
// line 9
yield " <ul id=\"collapse";
yield ($context["i"] ?? null);
yield "\" class=\"collapse\">
";
// line 10
$context["j"] = 0;
// line 11
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["menu"], "children", [], "any", false, false, false, 11));
foreach ($context['_seq'] as $context["_key"] => $context["children_1"]) {
// line 12
yield " <li>";
if (CoreExtension::getAttribute($this->env, $this->source, $context["children_1"], "href", [], "any", false, false, false, 12)) {
// line 13
yield " <a href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["children_1"], "href", [], "any", false, false, false, 13);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["children_1"], "name", [], "any", false, false, false, 13);
yield "</a>
";
} else {
// line 15
yield " <a href=\"#collapse";
yield ($context["i"] ?? null);
yield "-";
yield ($context["j"] ?? null);
yield "\" data-toggle=\"collapse\" class=\"parent collapsed\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["children_1"], "name", [], "any", false, false, false, 15);
yield "</a>
";
}
// line 17
yield "
";
// line 18
if (CoreExtension::getAttribute($this->env, $this->source, $context["children_1"], "children", [], "any", false, false, false, 18)) {
// line 19
yield " <ul id=\"collapse";
yield ($context["i"] ?? null);
yield "-";
yield ($context["j"] ?? null);
yield "\" class=\"collapse\">
";
// line 20
$context["k"] = 0;
// line 21
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["children_1"], "children", [], "any", false, false, false, 21));
foreach ($context['_seq'] as $context["_key"] => $context["children_2"]) {
// line 22
yield " <li>";
if (CoreExtension::getAttribute($this->env, $this->source, $context["children_2"], "href", [], "any", false, false, false, 22)) {
// line 23
yield " <a href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["children_2"], "href", [], "any", false, false, false, 23);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["children_2"], "name", [], "any", false, false, false, 23);
yield "</a>
";
} else {
// line 25
yield " <a href=\"#collapse-";
yield ($context["i"] ?? null);
yield "-";
yield ($context["j"] ?? null);
yield "-";
yield ($context["k"] ?? null);
yield "\" data-toggle=\"collapse\" class=\"parent collapsed\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["children_2"], "name", [], "any", false, false, false, 25);
yield "</a>
";
}
// line 27
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["children_2"], "children", [], "any", false, false, false, 27)) {
// line 28
yield " <ul id=\"collapse-";
yield ($context["i"] ?? null);
yield "-";
yield ($context["j"] ?? null);
yield "-";
yield ($context["k"] ?? null);
yield "\" class=\"collapse\">
";
// line 29
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["children_2"], "children", [], "any", false, false, false, 29));
foreach ($context['_seq'] as $context["_key"] => $context["children_3"]) {
// line 30
yield " <li><a href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["children_3"], "href", [], "any", false, false, false, 30);
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, $context["children_3"], "name", [], "any", false, false, false, 30);
yield "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['children_3'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 32
yield " </ul>
";
}
// line 33
yield "</li>
";
// line 34
$context["k"] = (($context["k"] ?? null) + 1);
// line 35
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['children_2'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 36
yield " </ul>
";
}
// line 37
yield " </li>
";
// line 38
$context["j"] = (($context["j"] ?? null) + 1);
// line 39
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['children_1'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 40
yield " </ul>
";
}
// line 42
yield " </li>
";
// line 43
$context["i"] = (($context["i"] ?? null) + 1);
// line 44
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['menu'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 45
yield " </ul>
<div id=\"stats\">
<ul>
<li>
<div>";
// line 49
yield ($context["text_complete_status"] ?? null);
yield " <span class=\"pull-right\">";
yield ($context["complete_status"] ?? null);
yield "%</span></div>
<div class=\"progress\">
<div class=\"progress-bar progress-bar-success\" role=\"progressbar\" aria-valuenow=\"";
// line 51
yield ($context["complete_status"] ?? null);
yield "\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: ";
yield ($context["complete_status"] ?? null);
yield "%\"> <span class=\"sr-only\">";
yield ($context["complete_status"] ?? null);
yield "%</span></div>
</div>
</li>
<li>
<div>";
// line 55
yield ($context["text_processing_status"] ?? null);
yield " <span class=\"pull-right\">";
yield ($context["processing_status"] ?? null);
yield "%</span></div>
<div class=\"progress\">
<div class=\"progress-bar progress-bar-warning\" role=\"progressbar\" aria-valuenow=\"";
// line 57
yield ($context["processing_status"] ?? null);
yield "\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: ";
yield ($context["processing_status"] ?? null);
yield "%\"> <span class=\"sr-only\">";
yield ($context["processing_status"] ?? null);
yield "%</span></div>
</div>
</li>
<li>
<div>";
// line 61
yield ($context["text_other_status"] ?? null);
yield " <span class=\"pull-right\">";
yield ($context["other_status"] ?? null);
yield "%</span></div>
<div class=\"progress\">
<div class=\"progress-bar progress-bar-danger\" role=\"progressbar\" aria-valuenow=\"";
// line 63
yield ($context["other_status"] ?? null);
yield "\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: ";
yield ($context["other_status"] ?? null);
yield "%\"> <span class=\"sr-only\">";
yield ($context["other_status"] ?? null);
yield "%</span></div>
</div>
</li>
</ul>
</div>
</nav>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "common/column_left.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 275 => 63, 268 => 61, 257 => 57, 250 => 55, 239 => 51, 232 => 49, 226 => 45, 220 => 44, 218 => 43, 215 => 42, 211 => 40, 205 => 39, 203 => 38, 200 => 37, 196 => 36, 190 => 35, 188 => 34, 185 => 33, 181 => 32, 170 => 30, 166 => 29, 157 => 28, 154 => 27, 142 => 25, 134 => 23, 131 => 22, 126 => 21, 124 => 20, 117 => 19, 115 => 18, 112 => 17, 102 => 15, 94 => 13, 91 => 12, 86 => 11, 84 => 10, 79 => 9, 76 => 8, 58 => 7, 53 => 6, 48 => 5, 46 => 4, 41 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "common/column_left.twig", "");
}
}