Files
pyShelf/frontend/interface/templates/index.html
2019-11-17 13:21:35 -05:00

40 lines
1.3 KiB
HTML
Executable File

{% load filters %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link type="text/css" rel="stylesheet" href="/static/css/main.css" />
<title>pyShelf E-Book Server</title>
<link href="https://fonts.googleapis.com/css?family=Audiowide&display=swap" rel="stylesheet">
</head>
<body>
<div id="app">
<div class="app_header" >
<h1 class="app_hdr shadow">pyShelf</h1>
<h2 class="app_subhdr shadow">Open Source E-book Server</h2>
</div>
<div class="app_body" >
<div class="left_col">
left_col
</div>
<div class="shelf">
<div class="shelf_contents" >
<ul id="book_shelf">
{% for book in Books %}
<li class="shelf_item"><img alt="{{ book.title }}" src="data:image;base64,{{ book.cover | bin_2_img }}" class="book_thumb"/> </li>
{% endfor %}
</ul>
</div>
</div>
</div>
<div class="app_footer" >
<div class="python_logo" >
<img src="/static/img/py.png" id="python_logo" />
</div>
</div>
</div>
</body>
</html>