chore: prepare for template hierarchy

This commit is contained in:
eneller
2025-03-24 11:35:41 +01:00
parent 24c986cbe9
commit 41eabd6026
3 changed files with 18 additions and 14 deletions

View File

@@ -27,14 +27,18 @@ h1,h2,h3{
header{ header{
text-align: center; text-align: center;
justify-content: center; justify-content: center;
margin-bottom: 4%;
} }
small{ small{
color: var(--fg-deemph); color: var(--fg-deemph);
} }
.searchbar{ .search-bar{
width: 100%; width: 100%;
} }
.search-container{
text-align: center;
justify-content: center;
margin-bottom: 4%;
}
#searchInput { #searchInput {
background-color: var(--bg); background-color: var(--bg);
width: 100%; width: 100%;

View File

@@ -17,12 +17,13 @@
</head> </head>
<body> <body>
<header> <header>
<div>
<h1><a href="{{ http_host }}">{{ title }}</a></h1> <h1><a href="{{ http_host }}">{{ title }}</a></h1>
<h2>1 Click Download für Literatur</h2> <h2>1 Click Download für Literatur</h2>
</div> </header>
<main>
<div class="search-container">
<search> <search>
<form onsubmit="submitSearch(event)" class="searchbar"> <form onsubmit="submitSearch(event)" class="search-bar">
<input type="search" id="searchInput" placeholder="Suche nach Titel" minlength="3"> <input type="search" id="searchInput" placeholder="Suche nach Titel" minlength="3">
</form> </form>
</search> </search>
@@ -33,8 +34,7 @@
<a href="https://github.com/eneller/epub2go-web"> <a href="https://github.com/eneller/epub2go-web">
<img src="{% static 'github.svg' %}" alt="GitHub" class="header-icon"> <img src="{% static 'github.svg' %}" alt="GitHub" class="header-icon">
</a> </a>
</header> </div>
<main>
<!-- NOTE use dl here?--> <!-- NOTE use dl here?-->
<table id="table"> <table id="table">
<thead> <thead>

4
uv.lock generated
View File

@@ -182,8 +182,8 @@ wheels = [
[[package]] [[package]]
name = "epub2go" name = "epub2go"
version = "2.1" version = "2.2"
source = { git = "https://github.com/eneller/epub2go.py#42677007633c1a4f7f87a2f8f02b9faa1715f037" } source = { git = "https://github.com/eneller/epub2go.py#660af7fab00fe058dd4c3a4aee571b7350c26464" }
dependencies = [ dependencies = [
{ name = "beautifulsoup4" }, { name = "beautifulsoup4" },
{ name = "click" }, { name = "click" },