mirror of
https://github.com/Rainyy21/Front-end-Design-Project.git
synced 2026-10-10 22:50:23 -04:00
115 lines
3.5 KiB
HTML
115 lines
3.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang = "en">
|
|
<head>
|
|
<!-- Required meta tags -->
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<!-- Bootstrap CSS -->
|
|
<title>Show log</title>
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-sRIl4kxILFvY47J16cr9ZwB07vP4J8+LH7qKQnuqkuIAvNWLzeN8tE5YBujZqJLB" crossorigin="anonymous">
|
|
|
|
<!-- CSS -->
|
|
<link href="{{ url_for('static', filename='css/style.css') }}" rel="stylesheet">
|
|
<link href="{{ url_for('static', filename='css/card.css') }}" rel="stylesheet">
|
|
|
|
<!-- JS -->
|
|
<script src="{{ url_for('static', filename='js/main.js') }}"></script>
|
|
|
|
</head>
|
|
<body>
|
|
<div id = "body_page">
|
|
<!--might make this entire thing a div-->
|
|
<div id = "side_bar">
|
|
<h1>
|
|
Book and Movie log
|
|
</h1>
|
|
<div id = "navagtor">
|
|
<ul id = "menu">
|
|
<li>
|
|
<a href="" id = "menu-button">Dashboard</a>
|
|
</li>
|
|
<li>
|
|
<a href="" id = "menu-button">Log</a>
|
|
</li>
|
|
<li>
|
|
<a href="" id = "menu-button">Stats</a>
|
|
</li>
|
|
|
|
</ul>
|
|
<!--maybe add a shelve-->
|
|
</div>
|
|
</div>
|
|
<!--this is where they show the info for the book/ maybe make it into a data base-->
|
|
<div id ="homepage">
|
|
<div id = "home_nav">
|
|
<!--welcome message/ search bar / add button-->
|
|
<h1>
|
|
Good evening
|
|
</h1>
|
|
<div id = "seach_bar">
|
|
|
|
</div>
|
|
<div id = "addLog_button">
|
|
+ log a book/show
|
|
</div>
|
|
</div>
|
|
|
|
<!--currently reading-->
|
|
<div id = "currently">
|
|
</div>
|
|
|
|
<!--data-->
|
|
|
|
<!--log-->
|
|
<div>
|
|
<div id = "log_nav">
|
|
<h2>
|
|
My log
|
|
</h2>
|
|
<!--more nav button-->
|
|
<div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!--the log-->
|
|
<div class ="container">
|
|
<div class = "header-secton">
|
|
<h1>📚 My Library</h1>
|
|
<form action ="/add" method ="POST" enctype="multipart/form-data">
|
|
<input type="text" name="title" placeholder="Title" required>
|
|
<select name="type">
|
|
<option value="Book">Book</option>
|
|
<option value="Show">Show</option>
|
|
</select>
|
|
<input type="number" name="year" placeholder="Year">
|
|
<input type="text" name="extra_info" placeholder="Author/Network">
|
|
<select name="genre_id">
|
|
{% for g in genres %}
|
|
<option value="{{ g.id }}">{{ g.name }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
<input type="file" name="cover_image">
|
|
<button type="submit">Add Entry</button>
|
|
</form>
|
|
</div>
|
|
<div class="grid">
|
|
{% for item in items %}
|
|
{% include 'card.html' %}
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
|
|
<!--data about genera-->
|
|
<div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!--Bootstrap Bundle with Popper -->
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/js/bootstrap.bundle.min.js" integrity="sha384-FKyoEForCGlyvwx9Hj09JcYn3nv7wiPVlz7YYwJrWVcXK/BmnVDxM+D2scQbITxI" crossorigin="anonymous"></script>
|
|
</body>
|
|
</html>
|