lib.itmens/social/templates/feed.html

47 lines
1.7 KiB
HTML
Raw Normal View History

2022-12-21 14:34:36 -05:00
{% load static %}
{% load i18n %}
{% load l10n %}
{% load mastodon %}
{% load thumb %}
2025-02-06 19:17:53 +00:00
{% get_current_language as LANGUAGE_CODE %}
2022-12-21 14:34:36 -05:00
<!DOCTYPE html>
2025-02-06 19:17:53 +00:00
<html lang="{{ LANGUAGE_CODE }}" class="feed-page nav-page-feed">
<head>
2022-12-21 14:34:36 -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 'Activities from those you follow' %}</title>
2024-01-07 17:24:34 -05:00
{% include "common_libs.html" %}
2024-04-06 22:52:35 -04:00
<script src="{{ cdn_url }}/npm/shikwasa@2.2.1/dist/shikwasa.min.js"></script>
<link href="{{ cdn_url }}/npm/shikwasa@2.2.1/dist/style.min.css"
rel="stylesheet"></link>
2023-07-12 16:33:15 -04:00
<script src="{% static 'js/podcast.js' %}"></script>
2022-12-21 14:34:36 -05:00
</head>
<body>
2024-05-31 13:40:49 -04:00
{% include "_header.html" %}
<main>
<div class="grid__main">
2024-06-18 17:26:58 -04:00
<h5>
2024-06-18 18:22:18 -04:00
<span class="large-only">{% trans 'Activities from those you follow' %}</span>
2024-06-18 17:26:58 -04:00
<small>
{% if feed_type == 1 %}
<a href="{% url 'social:feed' %}">{% trans "All" %}</a> | {% trans "What they read/watch/..." %}
{% else %}
{% trans "All" %} | <a href="{% url 'social:focus' %}">{% trans "What they read/watch/..." %}</a>
{% endif %}
| <a href="{% url 'social:notification' %}">{% trans "Notifications" %}</a>
</small>
</h5>
<div class="feed">
<div hx-get="{% url 'social:data' %}?typ={{ feed_type }}"
hx-trigger="intersect once delay:0.1s"
hx-swap="outerHTML">
<i class="fa-solid fa-compact-disc fa-spin loading"></i>
2022-12-21 14:34:36 -05:00
</div>
</div>
2022-12-21 14:34:36 -05:00
</div>
2023-08-13 23:11:12 -04:00
{% include "_sidebar.html" with show_progress=1 identity=request.user.identity %}
</main>
2023-06-09 03:01:17 -04:00
{% include "_footer.html" %}
2022-12-21 14:34:36 -05:00
</body>
</html>