Files

67 lines
2.1 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>h-player</title>
<link rel="stylesheet" href="/assets/styles.css">
</head>
<body>
<div class="app">
<aside class="sidebar">
<div class="topline">
<div class="brand-wrap">
<h1>h-player</h1>
<p class="shell-note">Private anime library</p>
</div>
<span id="libraryBadge" class="badge">Library</span>
</div>
<nav class="page-links" aria-label="Primary navigation">
<a class="page-link active" href="/">Collection</a>
<button id="rescanBtn" class="page-action" type="button">Rescan</button>
</nav>
<label class="search-label">
<span>Search collection</span>
<input id="searchInput" type="search" placeholder="Title, folder, file" autocomplete="off">
</label>
</aside>
<main class="layout">
<header class="toolbar">
<div>
<h2>Collection</h2>
</div>
<button id="backBtn" class="ghost hidden" type="button">Collection</button>
</header>
<section id="details" class="details">
<div class="empty">
<h2>No titles found</h2>
</div>
</section>
</main>
</div>
<div id="playerOverlay" class="player-overlay hidden">
<button id="closePlayerBtn" class="player-close" type="button">Close</button>
<video id="playerVideo" class="player-video" controls autoplay></video>
<div id="playerNowPlaying" class="player-now-playing"></div>
</div>
<template id="titleCardTemplate">
<button class="title-card" type="button">
<span class="title-card__poster">
<img alt="">
<span class="title-card__fallback"></span>
</span>
<span class="title-card__name"></span>
<span class="title-card__meta"></span>
</button>
</template>
<script src="/assets/app.js"></script>
</body>
</html>