You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
1.9 KiB
86 lines
1.9 KiB
<!DOCTYPE html>
|
|
<html lang="nl">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<title>Scrape & Download Resultaat</title>
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
padding: 40px;
|
|
max-width: 900px;
|
|
margin: auto;
|
|
}
|
|
h1 {
|
|
margin-bottom: 10px;
|
|
}
|
|
.error {
|
|
padding: 15px;
|
|
background: #ffdddd;
|
|
border-left: 5px solid #ff4444;
|
|
margin-bottom: 20px;
|
|
}
|
|
.box {
|
|
padding: 15px;
|
|
background: #f7f7f7;
|
|
border: 1px solid #ddd;
|
|
margin-bottom: 20px;
|
|
border-radius: 6px;
|
|
}
|
|
a {
|
|
color: #007bff;
|
|
text-decoration: none;
|
|
}
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<a href="/">← Terug</a>
|
|
|
|
{% if error %}
|
|
<div class="error"><strong>Fout:</strong><br />{{ error }}</div>
|
|
{% endif %}
|
|
|
|
<h1>Scrape Resultaat</h1>
|
|
|
|
{% if book %}
|
|
|
|
<div class="box">
|
|
<strong>Titel:</strong> {{ book.title }}<br />
|
|
<strong>Auteur:</strong> {{ book.author }}<br />
|
|
</div>
|
|
|
|
{% if book.description %}
|
|
<div class="box">
|
|
<strong>Beschrijving:</strong><br />
|
|
<p>{{ book.description }}</p>
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class="box">
|
|
<strong>Aantal chapters:</strong> {{ book.chapters|length }}
|
|
</div>
|
|
|
|
{% if book.chapters %}
|
|
<div class="box">
|
|
<strong>Chapters:</strong><br /><br />
|
|
<ul>
|
|
{% for ch in book.chapters %}
|
|
<li>
|
|
<a href="{{ ch.url }}" target="_blank">
|
|
Chapter {{ ch.num }} — {{ ch.title }}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
{% endif %} {% if download_job_id %}
|
|
<div class="box">
|
|
<strong>Download pipeline gestart!</strong><br />
|
|
Job ID: <code>{{ download_job_id }}</code>
|
|
</div>
|
|
{% endif %} {% endif %}
|
|
</body>
|
|
</html>
|