Search function
Added a (hopefully) functioning search function.
This commit is contained in:
parent
0d55022ba8
commit
978c634067
8 changed files with 191 additions and 29 deletions
|
@ -12,7 +12,12 @@
|
|||
<header>
|
||||
<span id="title">{{title}}</span>
|
||||
<div id="container">
|
||||
<form action="/search" method="get">
|
||||
<!-- BUTTONS IF USER LOGGED IN -->
|
||||
{% if login %}
|
||||
<a href="/add"><button class="big-button"><b>+</b></button></a>
|
||||
{% endif %}
|
||||
<!------------------------------->
|
||||
<form action="/search" method="get">
|
||||
<input type="text" name="q" placeholder="search">
|
||||
<input type="submit" value="🔎" class="big-button" id="search-button">
|
||||
</form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue