2022-06-22 13:11:22 -05:00
|
|
|
{%- import "utils.html" as utils with context -%}
|
|
|
|
{% extends "layout.html" %}
|
|
|
|
{% block content %}
|
2022-06-26 04:09:43 -05:00
|
|
|
|
|
|
|
<p>Interact with an ActivityPub object via its URL or look for a user using <i>@user@domain.tld</i></p>
|
|
|
|
|
2022-07-03 15:01:47 -05:00
|
|
|
<form class="form" action="{{ url_for("get_lookup") }}" method="GET">
|
2022-07-04 12:02:30 -05:00
|
|
|
<input type="text" name="query" value="{{ query if query else "" }}" autofocus>
|
2022-06-22 13:11:22 -05:00
|
|
|
<input type="submit" value="Lookup">
|
|
|
|
</form>
|
|
|
|
{% if ap_object and ap_object.ap_type == "Person" %}
|
|
|
|
{{ utils.display_actor(ap_object, actors_metadata) }}
|
|
|
|
{% elif ap_object %}
|
2022-06-26 03:01:26 -05:00
|
|
|
{{ utils.display_object_expanded(ap_object) }}
|
2022-06-22 13:11:22 -05:00
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|