mirror of
https://github.com/Rainyy21/Front-end-Design-Project.git
synced 2026-10-10 23:50:23 -04:00
delete some stuff
This commit is contained in:
+13
-10
@@ -78,23 +78,26 @@
|
|||||||
<div class ="container">
|
<div class ="container">
|
||||||
<div class = "header-secton">
|
<div class = "header-secton">
|
||||||
<h1>📚 My Library</h1>
|
<h1>📚 My Library</h1>
|
||||||
|
|
||||||
<form action ="/add" method ="POST" enctype="multipart/form-data">
|
<form action ="/add" method ="POST" enctype="multipart/form-data">
|
||||||
<input type="text" name="title" placeholder="Title" required>
|
<input type="text" name="title" placeholder="Title" required>
|
||||||
<select name="type">
|
<select name="type">
|
||||||
<option value="Book">Book</option>
|
<option value="Book">Book</option>
|
||||||
<option value="Show">Show</option>
|
<option value="Show">Show</option>
|
||||||
</select>
|
</select>
|
||||||
<input type="number" name="year" placeholder="Year">
|
<input type="number" name="year" placeholder="Year">
|
||||||
<input type="text" name="extra_info" placeholder="Author/Network">
|
<input type="text" name="extra_info" placeholder="Author/Network">
|
||||||
<select name="genre_id">
|
<select name="genre_id">
|
||||||
{% for g in genres %}
|
{% for g in genres %}
|
||||||
<option value="{{ g.id }}">{{ g.name }}</option>
|
<option value="{{ g.id }}">{{ g.name }}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
<input type="file" name="cover_image">
|
<input type="file" name="cover_image">
|
||||||
<button type="submit">Add Entry</button>
|
<button type="submit">Add Entry</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!--the card area-->
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
{% for item in items %}
|
{% for item in items %}
|
||||||
{% include 'card.html' %}
|
{% include 'card.html' %}
|
||||||
|
|||||||
Reference in New Issue
Block a user