mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
41 lines
1.7 KiB
HTML
41 lines
1.7 KiB
HTML
{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') %}
|
|
{% extends 'themes/' + theme() + '/base.html' %}
|
|
{% else %}
|
|
{% extends "base.html" %}
|
|
{% endif %} %}
|
|
{% from 'bootstrap/form.html' import render_form %}
|
|
|
|
{% block app_content %}
|
|
<div class="row">
|
|
<div class="col mx-auto">
|
|
<div class="card mt-5">
|
|
<div class="card-body p-6">
|
|
<div class="card-title">{{ _('Retrieve Remote Post') }}</div>
|
|
{% if community %}
|
|
<p>Enter the full URL of the post submitted to {{ community.ap_id }}</p>
|
|
{% else %}
|
|
<p>Enter the full URL of the post</p>
|
|
{% endif %}
|
|
<p>Note: URL needs to match the one from the post author's instance (which may be different than the community's instance)</p>
|
|
{{ render_form(form) }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% if new_post %}
|
|
<div class="row">
|
|
<div class="col mx-auto">
|
|
<div class="card mt-5">
|
|
<div class="card-body p-6">
|
|
<div class="card-title">{{ _('Found a post:') }}</div>
|
|
<div class="card-body">
|
|
<p>
|
|
<a href="/post/{{ new_post.id }}">{{ new_post.title }}</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|