Update search

This commit is contained in:
2024-05-16 01:25:08 -04:00
parent 15f486205d
commit f4d17bb7dc
4 changed files with 64 additions and 8 deletions

View File

@ -5,9 +5,7 @@
<!-- Search -->
{% if app.user %}
<section id="search" class="alt">
<form method="post" action="#">
<input type="text" name="query" id="query" placeholder="Search" />
</form>
<input type="text" name="query" id="query" placeholder="Search" />
</section>
{% endif %}
@ -48,7 +46,7 @@
<header class="major">
<h2>Recent Notes</h2>
</header>
<div class="mini-posts">
<div class="mini-posts" id='old-notes'>
{% for n in app.user.notes %}
<article>
<a href="#" onclick="retrieveNote('{{ n.id }}');openNote();">{{ n.title }}</a>