lib.itmens/catalog/templates/fetch_pending.html

40 lines
1.2 KiB
HTML
Raw Normal View History

2022-12-31 11:06:23 -05:00
{% load static %}
{% load i18n %}
{% load l10n %}
{% load humanize %}
{% load mastodon %}
{% load thumb %}
2025-02-06 19:17:53 +00:00
{% get_current_language as LANGUAGE_CODE %}
2022-12-31 11:06:23 -05:00
<!DOCTYPE html>
2025-02-06 19:17:53 +00:00
<html lang="{{ LANGUAGE_CODE }}" class="classic-page">
<head>
2022-12-31 11:06:23 -05:00
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2024-05-19 16:32:59 -04:00
<title>{{ site_name }} - {% trans 'Search results' %}</title>
2024-01-07 17:24:34 -05:00
{% include "common_libs.html" %}
</head>
<body>
{% include '_header.html' %}
<main>
<div class="grid__main">
<article>
2023-07-08 17:30:56 -04:00
{% if job_id %}
2024-05-19 16:32:59 -04:00
<h5>{% blocktrans with site_label=site.SITE_NAME.label %}Fetching from {{ site_label }}{% endblocktrans %}</h5>
2023-07-08 17:30:56 -04:00
<div hx-get="{% url 'catalog:fetch_refresh' job_id %}"
hx-trigger="load delay:2s"
hx-swap="outerHTML">
<i class="fa-solid fa-compact-disc fa-spin loading"></i>
</div>
{% else %}
2024-05-19 16:32:59 -04:00
<h5>{% trans "System busy, please try again in a minute." %}</h5>
2023-07-08 17:30:56 -04:00
{% endif %}
</article>
</div>
2023-06-09 02:45:27 -04:00
<aside class="grid__aside bottom">
{% include "_sidebar_search.html" %}
</aside>
</main>
2023-06-09 03:01:17 -04:00
{% include '_footer.html' %}
</body>
2022-12-31 11:06:23 -05:00
</html>