|
5 | 5 | {% block toolbar %}
|
6 | 6 | {% if collector.firewall %}
|
7 | 7 | {% set icon %}
|
8 |
| - {{ include('@Security/Collector/icon.svg') }} |
| 8 | + {{ source('@Security/Collector/icon.svg') }} |
9 | 9 | <span class="sf-toolbar-value">{{ collector.user|default('n/a') }}</span>
|
10 | 10 | {% endset %}
|
11 | 11 |
|
|
109 | 109 |
|
110 | 110 | {% block menu %}
|
111 | 111 | <span class="label {{ not collector.firewall or not collector.token ? 'disabled' }}">
|
112 |
| - <span class="icon">{{ include('@Security/Collector/icon.svg') }}</span> |
| 112 | + <span class="icon">{{ source('@Security/Collector/icon.svg') }}</span> |
113 | 113 | <strong>Security</strong>
|
114 | 114 | </span>
|
115 | 115 | {% endblock %}
|
|
130 | 130 | </div>
|
131 | 131 |
|
132 | 132 | <div class="metric">
|
133 |
| - <span class="value">{{ include('@WebProfiler/Icon/' ~ (collector.authenticated ? 'yes' : 'no') ~ '.svg') }}</span> |
| 133 | + <span class="value">{{ source('@WebProfiler/Icon/' ~ (collector.authenticated ? 'yes' : 'no') ~ '.svg') }}</span> |
134 | 134 | <span class="label">Authenticated</span>
|
135 | 135 | </div>
|
136 | 136 | </div>
|
|
187 | 187 | <span class="label">Name</span>
|
188 | 188 | </div>
|
189 | 189 | <div class="metric">
|
190 |
| - <span class="value">{{ include('@WebProfiler/Icon/' ~ (collector.firewall.security_enabled ? 'yes' : 'no') ~ '.svg') }}</span> |
| 190 | + <span class="value">{{ source('@WebProfiler/Icon/' ~ (collector.firewall.security_enabled ? 'yes' : 'no') ~ '.svg') }}</span> |
191 | 191 | <span class="label">Security enabled</span>
|
192 | 192 | </div>
|
193 | 193 | <div class="metric">
|
194 |
| - <span class="value">{{ include('@WebProfiler/Icon/' ~ (collector.firewall.stateless ? 'yes' : 'no') ~ '.svg') }}</span> |
| 194 | + <span class="value">{{ source('@WebProfiler/Icon/' ~ (collector.firewall.stateless ? 'yes' : 'no') ~ '.svg') }}</span> |
195 | 195 | <span class="label">Stateless</span>
|
196 | 196 | </div>
|
197 | 197 | </div>
|
|
310 | 310 |
|
311 | 311 | <tr>
|
312 | 312 | <td class="font-normal">{{ profiler_dump(authenticator.stub) }}</td>
|
313 |
| - <td class="no-wrap">{{ include('@WebProfiler/Icon/' ~ (authenticator.supports ? 'yes' : 'no') ~ '.svg') }}</td> |
| 313 | + <td class="no-wrap">{{ source('@WebProfiler/Icon/' ~ (authenticator.supports ? 'yes' : 'no') ~ '.svg') }}</td> |
314 | 314 | <td class="no-wrap">{{ '%0.2f'|format(authenticator.duration * 1000) }} ms</td>
|
315 | 315 | <td class="font-normal">{{ authenticator.passport ? profiler_dump(authenticator.passport) : '(none)' }}</td>
|
316 | 316 | </tr>
|
|
0 commit comments