turn search into include, limit user results, minimum term search 2, show date of address addition

This commit is contained in:
dsc 2022-03-12 22:06:22 +02:00
parent 37208b102b
commit b13f03855d
10 changed files with 50 additions and 48 deletions

View file

@ -5,20 +5,9 @@
</div>
<div id="main">
<form action="{{ url_for('bp_routes.search') }}" method="GET">
<input type="text" name="username" placeholder="Search for an username...">
</form>
{% include 'includes/search.html' %}
<div id="addresses">
{% for user in users %}
<article>
<header>
<em>{{user.username}}</em>
</header>
<kbd>{{user.address}}</kbd>
</article>
{% endfor %}
</div>
{% include 'includes/user_results.html' %}
</div>
<style>
@ -42,13 +31,7 @@
#addresses::-webkit-scrollbar {
display: none;
}
#footer {
height: 12vh;
width: 100%;
text-align: center;
}
@media (max-width: 800px) {
kbd {
width: 100vw;