forked from forks/microblog.pub
19 lines
686 B
HTML
19 lines
686 B
HTML
{%- import "utils.html" as utils with context -%}
|
|
{% extends "layout.html" %}
|
|
{% block content %}
|
|
|
|
<div class="box">
|
|
<p>Interact with an ActivityPub object via its URL or look for a user using <i>@user@domain.tld</i></p>
|
|
|
|
<form class="form" action="{{ url_for("get_lookup") }}" method="GET">
|
|
<input type="text" name="query" value="{{ query if query else "" }}" autofocus>
|
|
<input type="submit" value="Lookup">
|
|
</form>
|
|
</div>
|
|
|
|
{% if ap_object and ap_object.ap_type in actor_types %}
|
|
{{ utils.display_actor(ap_object, actors_metadata) }}
|
|
{% elif ap_object %}
|
|
{{ utils.display_object_expanded(ap_object) }}
|
|
{% endif %}
|
|
{% endblock %}
|