feat: add search filter bar to playlist detail and favorites views
This commit is contained in:
1 parent
d5470a6440
commit
e78df7bdb9
4 files changed
+37
-2
No files matched your search
@@ -232,6 +232,10 @@
|
||||
<button class="sort-chip" data-sort="artist" onclick="loadStarred('artist')">Künstler</button>
|
||||
<button class="sort-chip" data-sort="plays" onclick="loadStarred('plays')">Meistgespielt</button>
|
||||
</div>
|
||||
<div class="list-search-wrap">
|
||||
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>
|
||||
<input id="starred-search" class="list-search" type="text" placeholder="In Favoriten suchen…" oninput="filterStarred(this.value)">
|
||||
</div>
|
||||
<div id="starred-songs" class="song-list"></div>
|
||||
</div>
|
||||
|
||||
@@ -265,6 +269,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list-search-wrap">
|
||||
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>
|
||||
<input id="playlist-search" class="list-search" type="text" placeholder="In Playlist suchen…" oninput="filterPlaylist(this.value)">
|
||||
</div>
|
||||
<div class="song-list" id="playlist-songs"></div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user