2024-10-08 09:13:40 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- Kayla (Céile) XMPP Invite -->
<!-- Zenya (Xenia) XMPP Invite -->
<!-- Fast And Sleek Invite (FASI) -->
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "application/xhtml+xml; charset=UTF-8" / >
2024-11-20 14:08:30 +01:00
< title > Articles {% if alias %}{{alias}}{% else %}{{title}}{% endif %} ({{jid_bare}}) | {{brand_name}}< / title >
2024-11-05 09:51:28 +01:00
< meta name = "description" content = "{{action}} {% if alias %}{{alias}}{% else %}{{title}}{% endif %}" / >
2024-10-08 09:13:40 +02:00
< meta name = "generator" content = "Fast And Sleek Invite" / >
< meta name = "uri" content = "{{xmpp_uri}}" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2024-11-05 09:51:28 +01:00
< meta property = "og:description" content = "{{action}} {% if alias %}{{alias}}{% else %}{{title}}{% endif %}" / >
2024-10-08 09:13:40 +02:00
< meta property = "og:image" content = "/photo/{{filename}}" / >
2024-10-16 12:24:11 +02:00
< meta property = "og:site_name" content = "{{brand_name}}" / >
2024-11-05 09:51:28 +01:00
< meta property = "og:title" content = "{% if alias %}{{alias}}{% else %}{{title}}{% endif %}" / >
2024-10-08 09:13:40 +02:00
< meta property = "og:type" content = "website" / >
< meta property = "og:url" content = "{{url}}" / >
< link rel = "alternate icon" href = "/img/favicon.ico" type = "image/x-icon" / >
< link rel = "icon" href = "/img/favicon.svg" type = "image/svg+xml" / >
< link rel = "stylesheet" href = "/css/stylesheet.css" media = "screen" type = "text/css" / >
2024-11-05 09:51:28 +01:00
{% if selection %}
< style >
body {
/* background-repeat: no-repeat; */
background:
url(/img/background.svg),
linear-gradient(
to right,
rgba({{selection[0][2]}}, {{selection[0][1]}}, {{selection[0][0]}}, 0.7),
rgba({{selection[1][2]}}, {{selection[1][1]}}, {{selection[1][0]}}, 0.7)
);
}
@media (prefers-color-scheme: dark) {
body {
background:
url(/img/background.svg),
linear-gradient(
to right,
rgba({{selection[0][2]-50}}, {{selection[0][1]-50}}, {{selection[0][0]-50}}, 0.7),
rgba({{selection[1][2]-50}}, {{selection[1][1]-50}}, {{selection[1][0]-50}}, 0.7)
);
}
}
@media (max-width: 725px) and (prefers-color-scheme: dark) {
body {
background: #2b2a33;
}
}
@media (max-width: 725px) {
body {
background: #f5f5f5;
}
}
< / style >
{% endif %}
2024-10-08 09:13:40 +02:00
< / head >
< body >
< div id = "overlay" >
< div id = "bar" >
2024-10-16 12:24:11 +02:00
< a href = "{{brand_site}}" >
2024-10-09 15:40:51 +02:00
< img id = "logo" src = "/img/logo-wordmark-horizontal.svg" / >
2024-10-08 09:13:40 +02:00
< / a >
2024-10-20 16:30:06 +02:00
< a id = "download" href = "/download" >
2024-10-08 09:13:40 +02:00
Download
< / a >
< / div >
2024-10-26 19:14:45 +02:00
< div id = "container" >
2024-11-05 09:51:28 +01:00
< div id = "profile" >
< h1 > {{title}}< / h1 >
{% if filename %}
< div id = "graphics" >
<!-- a href="xmpp:{{jid_bare}}" -->
< img id = "photo" src = "/photo/{{filename}}" / >
< img id = "qrcode" src = "/qr/{{jid_bare}}.png" / >
<!-- /a -->
< / div >
{% endif %}
< div id = "vcard-note" >
{% if note %}{{note}}{% endif %}
< / div >
<!-- div>
< pre id = "xmpp-uri" > {{xmpp_uri}}< / pre >
< /div -->
{% if exception %}
< div >
< code > {{exception}}< / code >
< / div >
{% endif %}
2024-10-13 17:42:44 +02:00
{% if links %}
2024-11-05 09:51:28 +01:00
< div id = "action" >
2024-10-13 17:42:44 +02:00
{% for link in links %}
2024-10-14 11:31:31 +02:00
< a href = "{{link['href']}}" id = "{{link['iden']}}" >
{{link['name']}}
2024-10-13 17:42:44 +02:00
< / a >
{% endfor %}
< / div >
2024-10-08 09:13:40 +02:00
{% endif %}
2024-11-05 09:51:28 +01:00
< div id = "pubsub" >
{% if entries %}
< div id = "entries" >
{% for entry in entries %}
< div class = "entry"
id="{{entry['id']}}">
< h3 >
< a href = "#{{entry['id']}}" title = "{{entry['updated'] or entry['published']}}" > 📜️< / a >
< strong > {{entry['title']}}< / strong >
< / h3 >
< div class = "summary" > {{entry['content'] or entry['summary']}}< / div >
<!-- div class="date">{{entry['updated'] or entry['published']}}</div -->
{% if entry['tags'] %}
< div class = "tags" >
< span > Tags:< / span >
{% for tag in entry['tags'] %}
< span > {{tag}}< / span >
{% endfor %}
< / div >
{% endif %}
< div class = "link" >
< a href = "/d/{{jid_bare}}/{{node_name}}/{{entry['id']}}"
title="Permalink (i.e. permanent link)."
class="permalink">Permalink< / a >
(< a href = "{{entry['href']}}"
title="Source might require an XMPP client.">Source< / a > )
2024-10-08 09:13:40 +02:00
< / div >
< / div >
2024-11-05 09:51:28 +01:00
{% endfor %}
< / div >
{% endif %}
< / div >
2024-10-13 17:42:44 +02:00
{% if number_of_pages %}
< div id = "number-of-pages" >
2024-10-14 11:31:31 +02:00
{% if number_of_pages > 3 %}
2024-10-13 20:24:14 +02:00
{% if page_number < 2 % }
2024-10-14 11:31:31 +02:00
< span class = "inactive" id = "first" > First< / span >
2024-10-13 20:24:14 +02:00
< span class = "inactive" > Back< / span >
{% else %}
2024-10-14 11:31:31 +02:00
< a href = "?page=1" id = "first" > First< / a >
2024-10-13 20:24:14 +02:00
< a href = "?page={{page_number-1}}" > Back< / a >
2024-10-13 17:42:44 +02:00
{% endif %}
2024-10-13 20:24:14 +02:00
< a href = "?page={{page_number}}" > {{page_number}}< / a >
{% if page_number == number_of_pages %}
< span class = "inactive" > Proceed< / span >
2024-10-14 11:31:31 +02:00
< span class = "inactive" id = "last" > Last< / span >
2024-10-13 20:24:14 +02:00
{% else %}
< a href = "?page={{page_number+1}}" > Proceed< / a >
2024-10-14 11:31:31 +02:00
< a href = "?page={{number_of_pages}}" id = "last" > Last< / a >
2024-10-13 17:42:44 +02:00
{% endif %}
{% else %}
{% for number in range(number_of_pages) %}
< a href = "?page={{number+1}}" > {{number+1}}< / a >
{% endfor %}
{% endif %}
< / div >
{% endif %}
{% if previous %}
< div id = "number-of-pages" >
2024-11-05 09:51:28 +01:00
< a href = "./" > Previous< / a >
2024-10-08 09:13:40 +02:00
< / div >
{% endif %}
2024-11-05 09:51:28 +01:00
< / div >
< div id = "notice" >
If you already have < strong > {% if news_client and jid_kind == 'pubsub' %}{{news_client}}{% elif chat_client %}{{chat_client}}{% else %}an XMPP Client{% endif %}< / strong > you can
< br / >
{% if jid_kind in ('conference', 'mix', 'muc') %}
join to
{% elif jid_kind == 'pubsub' %}
subscribe to
{% elif jid_kind == 'bot' %}
try
{% elif jid_kind == 'server' %}
explore
{% else %}
talk with
{% endif %}
< strong > {{title}}< / strong >
right now.
2024-10-08 09:13:40 +02:00
< / div >
< / div >
{% if message %}
2024-10-15 14:38:27 +02:00
< div id = "xmpp-message" > {{message}}< / div >
2024-10-08 09:13:40 +02:00
{% endif %}
< / div >
< / body >
< / html >