71 lines
1.9 KiB
HTML
71 lines
1.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<link rel="stylesheet" href="static/css/style.css">
|
|
<title>ABdown</title>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="topbar">
|
|
<h1>ABdown</h1>
|
|
<form method="POST" action="updatePath">
|
|
Download path: <input type="text" name="path" value="{{ dl_path }}">
|
|
</form>
|
|
<form method="POST" action="updateLabel">
|
|
Download label: <input type="text" name="label" value="{{ dl_label }}">
|
|
</form>
|
|
<form method="POST" action="updateCreds">
|
|
Username: <input type="text" name="user" value="{{ qb_user }}">
|
|
Password: <input type="password" name="pass" value="********">
|
|
<button type="submit">Login</button>
|
|
</form>
|
|
</div>
|
|
<div id="airing">
|
|
<h2>Airing</h2>
|
|
<table>
|
|
<thead>
|
|
<th>Title</th>
|
|
<th>Resolution</th>
|
|
<th>Last episode</th>
|
|
<th>Add</th>
|
|
</thead>
|
|
<tbody>
|
|
{% for i in airing %}
|
|
<tr>
|
|
<td>{{ i.title }}</td>
|
|
<td>{{ i.resolution }}</td>
|
|
<td>{{ i.last_episode }}</td>
|
|
<td><a href="addAnime?id={{ i.id }}"><button>+</button></a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div id="watching">
|
|
<h2>Watching</h2>
|
|
<table>
|
|
<thead>
|
|
<th class="text">Title</th>
|
|
<th>Resolution</th>
|
|
<th>Last episode</th>
|
|
<th>Remove</th>
|
|
</thead>
|
|
<tbody>
|
|
{% for i in watching %}
|
|
<tr>
|
|
<td class="text">{{ i.title }}</td>
|
|
<td>{{ i.resolution }}</td>
|
|
<td>{{ i.last_episode }}</td>
|
|
<td><a href="removeAnime?id={{ i.id }}"><button>-</button></a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</body>
|
|
|
|
</html> |