This repository has been archived on 2022-06-28. You can view files and clone it, but cannot push or open issues or pull requests.
Yotter/app/templates/search.html
2020-07-13 16:36:45 +02:00

33 lines
1.0 KiB
HTML

{% extends "base.html" %}
{% block content %}
<div class="ui one column centered grid">
<form class="ui form" action="" method="post" novalidate>
{{ form.hidden_tag() }}
<p>
{{ form.username.label }}<br>
{{ form.username(size=32) }}<br>
{% for error in form.username.errors %}
<span style="color: red;">[{{ error }}]</span>
{% endfor %}
</p>
<p>{{ form.submit() }}</p>
</form>
{% if results %}
<div style="margin: 0em;" class="ui one column centered grid">
<div class="ui center aligned divided list">
{% for res in results %}
<div class="item">
<img class="ui avatar image" src="{{ url_for('static',filename='img/avatars/')}}{{range(1, 12) | random}}.png">
<div class="content">
<a href="/user/{{res}}">{{res}}</a>
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}
</div>
{% endblock %}