mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-11-20 16:26:37 +00:00
119 lines
5.6 KiB
HTML
119 lines
5.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="Calibre Web Book Downloader Application">
|
|
<meta name="theme-color" content="#333333">
|
|
<title>Calibre Web Book Downloader</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">
|
|
<!-- Add favicon -->
|
|
<link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='favicon.ico') }}">
|
|
<!-- UIkit CSS -->
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/uikit@3.21.16/dist/css/uikit.min.css" />
|
|
|
|
<!-- UIkit JS -->
|
|
<script src="https://cdn.jsdelivr.net/npm/uikit@3.21.16/dist/js/uikit.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/uikit@3.21.16/dist/js/uikit-icons.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<h1 class="uk-heading-medium" style="color: white;">Book Search & Download</h1>
|
|
</header>
|
|
|
|
<main>
|
|
<div class="uk-container">
|
|
<!-- Search Section -->
|
|
<section class="uk-section-xxsmall uk-padding">
|
|
<div class="uk-container uk-width-expand">
|
|
<form class="uk-search uk-search-default uk-width-expand">
|
|
<input class="uk-search-input" type="search" placeholder="Search by ISBN, title, author..." aria-label="Search books" id="search-input">
|
|
<button class="uk-search-icon-flip" uk-search-icon id="search-button" type="button"></button>
|
|
</form>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Results Section -->
|
|
<ul uk-accordion id="results-section-accordion">
|
|
<li id="search-accordion">
|
|
<a class="uk-accordion-title" href><h1 class="uk-heading-xsmall">Search Results</h1></a>
|
|
<div class="uk-accordion-content">
|
|
<div id="search-loading" class="uk-flex uk-flex-center" role="status" hidden>
|
|
<div uk-spinner="ratio: 2"></div>
|
|
<span>Loading...</span>
|
|
</div>
|
|
<div class="results-content">
|
|
<div class="uk-overflow-auto">
|
|
<table id="results-table" class="uk-table uk-table-hover uk-table-divider" role="grid">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">#</th>
|
|
<th scope="col">Preview</th>
|
|
<th scope="col">Title</th>
|
|
<th scope="col">Author</th>
|
|
<th scope="col">Publisher</th>
|
|
<th scope="col">Year</th>
|
|
<th scope="col">Language</th>
|
|
<th scope="col">Format</th>
|
|
<th scope="col">Size</th>
|
|
<th scope="col">Actions</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<!-- Search results will be injected here -->
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
|
|
<!-- Book Details Modal -->
|
|
<div class="modal-overlay" id="modal-overlay" role="dialog" aria-modal="true">
|
|
<div class="details-container" id="details-container">
|
|
<!-- Details will be dynamically injected here -->
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Status Section -->
|
|
<ul uk-accordion id="status-section">
|
|
<li id="search-accordion">
|
|
<a class="uk-accordion-title" href><h1 class="uk-heading-xsmall">Download Status</h1></a>
|
|
<div class="uk-accordion-content">
|
|
<div id="status-loading" class="uk-flex uk-flex-center" role="status" hidden>
|
|
<div uk-spinner="ratio: 2"></div>
|
|
<span>Loading...</span>
|
|
</div>
|
|
<div class="status-content">
|
|
<div class="uk-overflow-auto">
|
|
<table id="status-table" class="uk-table uk-table-hover uk-table-divider" role="grid">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">Status</th>
|
|
<th scope="col">Book ID</th>
|
|
<th scope="col">Title</th>
|
|
<th scope="col">Preview</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<!-- Search results will be injected here -->
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</main>
|
|
|
|
<footer>
|
|
<h1 class="uk-heading-xxsmall" style="color: white;">Calibre Web Book Downloader</h1>
|
|
<a href="https://github.com/calibrain/calibre-web-automated-book-downloader" class="uk-icon-link" uk-icon="icon:github; ratio: 2"></a>
|
|
</footer>
|
|
|
|
<!-- Scripts -->
|
|
<script src="{{ url_for('static', filename='js/main.js') }}" defer></script>
|
|
</body>
|
|
</html> |