mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 13:14:28 +00:00
28 lines
652 B
HTML
28 lines
652 B
HTML
|
{%- import "utils.html" as utils with context -%}
|
||
|
{% extends "layout.html" %}
|
||
|
|
||
|
{% block head %}
|
||
|
<title>{{ local_actor.display_name }} - Search</title>
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block content %}
|
||
|
|
||
|
<div class="box">
|
||
|
|
||
|
<form class="form" action="{{ url_for("admin_search") }}" method="GET">
|
||
|
<input type="text" name="query" value="{{ query if query else "" }}" autofocus>
|
||
|
<select name="what">
|
||
|
<option value="outbox">Outbox</option>
|
||
|
</select>
|
||
|
<input type="submit" value="Search">
|
||
|
</form>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
{% for result in results %}
|
||
|
{{ utils.display_object(result) }}
|
||
|
{% endfor %}
|
||
|
|
||
|
|
||
|
{% endblock %}
|