160 lines
6.7 KiB
HTML
160 lines
6.7 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>WaifuBoard Books</title>
|
||
<link rel="stylesheet" href="/views/css/globals.css">
|
||
<link rel="stylesheet" href="/views/css/components/navbar.css">
|
||
<link rel="stylesheet" href="/views/css/components/hero.css">
|
||
<link rel="stylesheet" href="/views/css/components/anilist-modal.css">
|
||
<link rel="stylesheet" href="/views/css/components/updateNotifier.css">
|
||
<link rel="icon" href="/public/assets/waifuboards.ico" type="image/x-icon">
|
||
</head>
|
||
<body>
|
||
<div class="hero-wrapper">
|
||
<div class="hero-background">
|
||
<img id="hero-bg-media" src="" alt="">
|
||
</div>
|
||
<div class="hero-vignette"></div>
|
||
|
||
<div class="hero-content">
|
||
<div class="hero-poster-card">
|
||
<img id="hero-poster" src="" alt="">
|
||
</div>
|
||
<div class="hero-text">
|
||
<h1 class="hero-title" id="hero-title">Loading...</h1>
|
||
<div class="hero-meta">
|
||
<span class="score-badge" id="hero-score"></span>
|
||
<span id="hero-year"></span>
|
||
<span id="hero-type"></span>
|
||
</div>
|
||
<p class="hero-desc" id="hero-desc"></p>
|
||
<div class="hero-buttons">
|
||
<button class="btn-primary" id="read-btn">Read Now</button>
|
||
<button class="btn-blur">+ Add to Library</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="modal-overlay" id="add-list-modal">
|
||
<div class="modal-content modal-list">
|
||
<button class="modal-close" onclick="closeAddToListModal()">✕</button>
|
||
<h2 class="modal-title" id="modal-title">Add to Library</h2>
|
||
|
||
<div class="modal-body">
|
||
<div class="modal-fields-grid">
|
||
|
||
<div class="form-group">
|
||
<label for="entry-status">Status</label>
|
||
<select id="entry-status" class="form-input">
|
||
<option value="CURRENT">Reading</option>
|
||
<option value="COMPLETED">Completed</option>
|
||
<option value="PLANNING">Plan to Read</option>
|
||
<option value="PAUSED">Paused</option>
|
||
<option value="DROPPED">Dropped</option>
|
||
<option value="REPEATING">Rereading</option>
|
||
</select>
|
||
</div>
|
||
|
||
<div class="form-group">
|
||
<label for="entry-progress" id="progress-label">Chapters Read</label>
|
||
<input type="number" id="entry-progress" class="form-input" min="0" max="0" placeholder="0">
|
||
</div>
|
||
|
||
<div class="form-group">
|
||
<label for="entry-score">Score (0-10)</label>
|
||
<input type="number" id="entry-score" class="form-input" min="0" max="10" step="0.1" placeholder="Optional">
|
||
</div>
|
||
|
||
<div class="form-group full-width date-group">
|
||
<div class="date-input-pair">
|
||
<label for="entry-start-date">Start Date</label>
|
||
<input type="date" id="entry-start-date" class="form-input">
|
||
</div>
|
||
<div class="date-input-pair">
|
||
<label for="entry-end-date">End Date</label>
|
||
<input type="date" id="entry-end-date" class="form-input">
|
||
</div>
|
||
</div>
|
||
|
||
<div class="form-group">
|
||
<label for="entry-repeat-count">Re-read Count</label>
|
||
<input type="number" id="entry-repeat-count" class="form-input" min="0">
|
||
</div>
|
||
|
||
<div class="form-group notes-group">
|
||
<label for="entry-notes">Notes</label>
|
||
<textarea id="entry-notes" class="form-input notes-textarea" rows="4" placeholder="Personal notes..."></textarea>
|
||
</div>
|
||
|
||
<div class="form-group checkbox-group">
|
||
<input type="checkbox" id="entry-is-private" class="form-checkbox">
|
||
<label for="entry-is-private">Mark as Private</label>
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<div class="modal-actions">
|
||
<button class="btn-danger" id="modal-delete-btn" onclick="deleteFromList()">Remove</button>
|
||
<button class="btn-secondary" onclick="closeAddToListModal()">Cancel</button>
|
||
<button class="btn-primary" onclick="saveToList()">Save Changes</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<main>
|
||
<section class="section">
|
||
<div class="section-header">
|
||
<div class="section-title">Continue Reading</div>
|
||
</div>
|
||
<div class="carousel-wrapper">
|
||
<button class="scroll-btn left" onclick="scrollCarousel('my-status-books', -1)">‹</button>
|
||
<div class="carousel" id="my-status-books"></div>
|
||
<button class="scroll-btn right" onclick="scrollCarousel('my-status-books', 1)">›</button>
|
||
</div>
|
||
</section>
|
||
|
||
<section class="section">
|
||
<div class="section-header"><div class="section-title">Trending Books</div></div>
|
||
<div class="carousel-wrapper">
|
||
<button class="scroll-btn left" onclick="scrollCarousel('trending', -1)">‹</button>
|
||
<div class="carousel" id="trending"></div>
|
||
<button class="scroll-btn right" onclick="scrollCarousel('trending', 1)">›</button>
|
||
</div>
|
||
</section>
|
||
|
||
<section class="section">
|
||
<div class="section-header"><div class="section-title">All Time Popular</div></div>
|
||
<div class="carousel-wrapper">
|
||
<button class="scroll-btn left" onclick="scrollCarousel('popular', -1)">‹</button>
|
||
<div class="carousel" id="popular"></div>
|
||
<button class="scroll-btn right" onclick="scrollCarousel('popular', 1)">›</button>
|
||
</div>
|
||
</section>
|
||
</main>
|
||
|
||
<div id="updateToast" class="hidden">
|
||
<p>Update available: <span id="latestVersionDisplay">v1.x</span></p>
|
||
|
||
<a
|
||
id="downloadButton"
|
||
href="https://git.waifuboard.app/ItsSkaiya/WaifuBoard/releases"
|
||
target="_blank"
|
||
>
|
||
Click To Download
|
||
</a>
|
||
</div>
|
||
|
||
<script src="/src/scripts/utils/auth-utils.js"></script>
|
||
<script src="/src/scripts/utils/notification-utils.js"></script>
|
||
<script src="/src/scripts/utils/search-manager.js"></script>
|
||
<script src="/src/scripts/utils/list-modal-manager.js"></script>
|
||
<script src="/src/scripts/utils/continue-watching-manager.js"></script>
|
||
<script src="/src/scripts/books/books.js"></script>
|
||
|
||
<script src="/src/scripts/updateNotifier.js"></script>
|
||
<script src="/src/scripts/auth-guard.js"></script>
|
||
</body>
|
||
</html> |