sort-dropdown: 👍👁 emojis durch SVGs ersetzt
This commit is contained in:
@@ -1690,8 +1690,8 @@ def public_frontend():
|
||||
filter_html += f'<input type="hidden" name="cat" value="{cat_filter}">'
|
||||
filter_html += '<select name="sort" onchange="this.form.submit()" class="hall-select">'
|
||||
filter_html += f'<option value="neu" {"selected" if sort == "neu" else ""}>Neueste zuerst</option>'
|
||||
filter_html += f'<option value="beliebt" {"selected" if sort == "beliebt" else ""}>👍 Beliebteste</option>'
|
||||
filter_html += f'<option value="gesehen" {"selected" if sort == "gesehen" else ""}>👁 Meist gesehen</option>'
|
||||
filter_html += f'<option value="beliebt" {"selected" if sort == "beliebt" else ""}><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" style="vertical-align:middle;margin-right:3px;"><path d="M7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"/><path d="M7 11h11.5a2.5 2.5 0 0 1 2.5 2.5v.5a2.5 2.5 0 0 1-2.5 2.5h-2.5"/><path d="M16 16.5V19a3 3 0 0 1-6 1.5L7 11"/></svg> Beliebteste</option>'
|
||||
filter_html += f'<option value="gesehen" {"selected" if sort == "gesehen" else ""}><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" style="vertical-align:middle;margin-right:3px;"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"/><circle cx="12" cy="12" r="3"/></svg> Meist gesehen</option>'
|
||||
filter_html += '</select></form> '
|
||||
|
||||
if halle_filter or cat_filter or sort != "neu":
|
||||
|
||||
Reference in New Issue
Block a user