filter-bar: emoji-icons durch BSN-blaue SVGs ersetzt
This commit is contained in:
@@ -1660,7 +1660,7 @@ def public_frontend():
|
||||
return empty_state
|
||||
|
||||
# Build filter bar HTML — hallen as dropdown
|
||||
filter_html = '<div class="frontend-filter"><span class="filter-label">📍 Halle:</span> '
|
||||
filter_html = '<div class="frontend-filter"><span class="filter-label"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="#20228a" stroke-width="2.5" stroke-linecap="round" style="vertical-align:middle;margin-right:2px;"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/></svg> Halle:</span> '
|
||||
filter_html += '<form method="get" class="filter-form-inline" style="display:inline;">'
|
||||
if cat_filter:
|
||||
filter_html += f'<input type="hidden" name="cat" value="{cat_filter}">'
|
||||
@@ -1682,7 +1682,7 @@ def public_frontend():
|
||||
filter_html += f'<option value="{c}"{selected}>{c}</option>'
|
||||
filter_html += '</select></form> '
|
||||
# Sort dropdown
|
||||
filter_html += '<span class="filter-label" style="margin-left:0.8rem;">🔽 Sortierung:</span> '
|
||||
filter_html += '<span class="filter-label" style="margin-left:0.8rem;"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="#20228a" stroke-width="2.5" stroke-linecap="round" style="vertical-align:middle;margin-right:2px;"><polyline points="6 9 12 15 18 9"/></svg> Sortierung:</span> '
|
||||
filter_html += '<form method="get" class="filter-form-inline" style="display:inline;">'
|
||||
if halle_filter:
|
||||
filter_html += f'<input type="hidden" name="halle" value="{halle_filter}">'
|
||||
|
||||
Reference in New Issue
Block a user