add simple settings template, cleanup

This commit is contained in:
partisan 2024-04-15 08:35:17 +02:00
parent d6edd14f16
commit 1efca320c8
10 changed files with 192 additions and 154 deletions

View file

@ -1150,7 +1150,7 @@ p {
background-color: inherit;
font-size: 14px;
font-family: 'Inter';
margin-right: 14px;
margin-right: 10px;
color: var(--search-button);
margin-top: 72px;
padding-bottom: 11px;

View file

@ -1,27 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Search with Ocásek</title>
<link rel="stylesheet" href="/static/css/style.css">
</head>
<body>
<div class="settings-search-div settings-search-div-search">
<!-- Assuming you have specific styles for this in your CSS -->
</div>
<form action="/search" class="search-container" method="post" autocomplete="off">
<h1>Ocásek</h1>
<div class="wrapper">
<input type="text" name="q" autofocus id="search-input" placeholder="Type to search..." />
<button id="search-wrapper-ico" class="material-icons-round" name="t" value="text" type="submit">search</button>
<a id="clearSearch" class="material-icons-round">close</a>
</div>
<div class="search-button-wrapper">
<input type="hidden" name="p" value="1">
<button name="t" value="text" type="submit">Search Text</button>
<button name="t" value="image" type="submit">Search Images</button>
</div>
</form>
</body>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB