video side: add Watchlist + Downloads nav pages
Following (Watchlist) and the download queue (Downloads) are core to a movies/TV/YouTube manager — same names as music so they read intuitively. Both wired via data-video-page (no inline onclick); placeholder for now.
This commit is contained in:
parent
f5c0f3ca31
commit
e3d3f453da
3 changed files with 12 additions and 1 deletions
|
|
@ -20,7 +20,8 @@ _CSS_PATH = _ROOT / "webui" / "static" / "video" / "video-side.css"
|
|||
|
||||
EXPECTED_VIDEO_PAGES = {
|
||||
"video-dashboard", "video-search", "video-discover", "video-library",
|
||||
"video-calendar", "video-import", "video-settings", "video-issues", "video-help",
|
||||
"video-watchlist", "video-downloads", "video-calendar", "video-import",
|
||||
"video-settings", "video-issues", "video-help",
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -341,6 +341,14 @@
|
|||
<span class="nav-icon"><svg class="nav-svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><polygon points="23 7 16 12 23 17 23 7"/><rect x="1" y="5" width="15" height="14" rx="2" ry="2"/></svg></span>
|
||||
<span class="nav-text">Library</span>
|
||||
</a>
|
||||
<a class="nav-button" data-video-page="video-watchlist" href="#">
|
||||
<span class="nav-icon"><svg class="nav-svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><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></span>
|
||||
<span class="nav-text">Watchlist</span>
|
||||
</a>
|
||||
<a class="nav-button" data-video-page="video-downloads" href="#">
|
||||
<span class="nav-icon"><svg class="nav-svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg></span>
|
||||
<span class="nav-text">Downloads</span>
|
||||
</a>
|
||||
<a class="nav-button" data-video-page="video-calendar" href="#">
|
||||
<span class="nav-icon"><svg class="nav-svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/></svg></span>
|
||||
<span class="nav-text">Calendar</span>
|
||||
|
|
|
|||
|
|
@ -29,6 +29,8 @@
|
|||
{ id: 'video-search', label: 'Search' },
|
||||
{ id: 'video-discover', label: 'Discover' },
|
||||
{ id: 'video-library', label: 'Library' },
|
||||
{ id: 'video-watchlist', label: 'Watchlist' },
|
||||
{ id: 'video-downloads', label: 'Downloads' },
|
||||
{ id: 'video-calendar', label: 'Calendar' },
|
||||
{ id: 'video-import', label: 'Import', shared: true },
|
||||
{ id: 'video-settings', label: 'Settings' },
|
||||
|
|
|
|||
Loading…
Reference in a new issue