8000 Remove legacy filters remnants · symfony/symfony@98a8aa2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 98a8aa2

Browse files
committed
Remove legacy filters remnants
1 parent 3683d73 commit 98a8aa2

File tree

2 files changed

+4
-42
lines changed

2 files changed

+4
-42
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/translation.html.twig

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -155,30 +155,28 @@
155155
</div>
156156
</div>
157157

158-
<script>Sfjs.createFilters();</script>
159-
160158
{% endblock messages %}
161159
{% endif %}
162160

163161
{% endblock %}
164162

165163
{% macro render_table(messages, is_fallback) %}
166-
<table data-filters>
164+
<table>
167165
<thead>
168166
<tr>
169-
<th data-filter="locale">Locale</th>
167+
<th>Locale</th>
170168
{% if is_fallback %}
171169
<th>Fallback locale</th>
172170
{% endif %}
173-
<th data-filter="domain">Domain</th>
171+
<th>Domain</th>
174172
<th>Times used</th>
175173
<th>Message ID</th>
176174
<th>Message Preview</th>
177175
</tr>
178176
</thead>
179177
<tbody>
180178
{% for message in messages %}
181-
<tr data-filter-locale="{{ message.locale }}" data-filter-domain="{{ message.domain }}">
179+
<tr>
182180
<td class="font-normal text-small nowrap">{{ message.locale }}</td>
183181
{% if is_fallback %}
184182
<td class="font-normal text-small nowrap">{{ message.fallbackLocale|default('-') }}</td>

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/profiler.css.twig

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -963,42 +963,6 @@ tr.status-warning td {
963963
display: block;
964964
}
965965

966-
{# Filters
967-
========================================================================= #}
968-
[data-filters] { position: relative; }
969-
[data-filtered] { cursor: pointer; }
970-
[data-filtered]:after { content: '\00a0\25BE'; }
971-
[data-filtered]:hover .filter-list li { display: inline-flex; }
972-
[class*="filter-hidden-"] { display: none; }
973-
.filter-list { position: absolute; border: var(--border); box-shadow: var(--shadow); margin: 0; padding: 0; display: flex; flex-direction: column; }
974-
.filter-list :after { content: ''; }
975-
.filter-list li {
976-
background: var(--tab-disabled-background);
977-
border-bottom: var(--border);
978-
color: var(--tab-disabled-color);
979-
display: none;
980-
list-style: none;
981-
margin: 0;
982-
padding: 5px 10px;
983-
text-align: left;
984-
font-weight: normal;
985-
}
986-
.filter-list li.active {
987-
background: var(--tab-background);
988-
color: var(--tab-color);
989-
}
990-
.filter-list li.last-active {
991-
background: var(--tab-active-background);
992-
color: var(--tab-active-color);
993-
}
994-
995-
.filter-list-level li { cursor: s-resize; }
996-
.filter-list-level li.active { cursor: n-resize; }
997-
.filter-list-level li.last-active { cursor: default; }
998-
.filter-list-level li.last-active:before { content: '\2714\00a0'; }
999-
.filter-list-choice li:before { content: '\2714\00a0'; color: transparent; }
1000-
.filter-list-choice li.active:before { color: unset; }
1001-
1002966
{# Twig panel
1003967
========================================================================= #}
1004968
#twig-dump pre {

0 commit comments

Comments
 (0)
0