JabberCard/xhtml/download.xhtml
Schimon Jehudah, Adv. 7dda347ebc Python : Improve handling of PubSub nodes, modularize code, and restore XMPP error message;
SVG    : Add icons of a plant and ReactOS;
TOML   : Modify references of DivestOS and ReactOS;
XHTML  : Modify F-Droid and DivestOS notices, and add a notice about ReactOS.
2024-10-22 16:34:39 +03:00

212 lines
9 KiB
HTML

<?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" />
<title>{{brand_name}}: Download</title>
<meta name="description" content="Download an XMPP client and access to the world's foremost and premier publishing and telecommunication platform with top-tier encryption, privacy and security that are to be offered as of yet." />
<meta name="generator" content="Fast And Sleek Invite" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:description" content="Download an XMPP client and access to the world's foremost and premier publishing and telecommunication platform with top-tier encryption, privacy and security that are to be offered as of yet." />
<meta property="og:image" content="/photo/{{filename}}" />
<meta property="og:site_name" content="{{brand_name}}" />
<meta property="og:title" content="{{title}}" />
<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" />
</head>
<body>
<div id="overlay">
<div id="bar">
<a href="{{brand_site}}">
<img id="logo" src="/img/logo-wordmark-horizontal.svg" />
</a>
<a id="download" href="/download/{{software}}">
{{title}}
</a>
</div>
<div id="action-bar">
<a href="/download/android" id="android">
Android
</a>
<a href="/download/apple" id="apple">
Apple
</a>
<a href="/download/browser" id="browser">
Browser
</a>
<a href="/download/haiku" id="haiku">
Haiku
</a>
<a href="/download/linux" id="linux">
Linux
</a>
<a href="/download/windows" id="windows">
Win
</a>
</div>
<div id="container-of-selection">
{% if client_selection %}
<h1>XMPP Clients For {{title}}</h1>
{% if title == 'Apple' %}
<div id="security-notices">
<span class="notice">
<a href="/download/haiku">
<img src="/img/haiku.svg" />
</a>
<span>
Please refer to the section <a href="/download/haiku">XMPP
Clients For Haiku</a>, if you are using the Haiku operating
system.
</span>
</span>
</div>
{% endif %}
{% if title == 'Android' %}
<div id="security-notices">
<span class="notice">
<a href="https://f-droid.org">
<img src="/img/fdroid.svg" />
</a>
<span>
We advise installing an XMPP client with the
<a href="https://f-droid.org">F-Droid</a> repository, to
ensure that you are always using the most updated and secure
version of your XMPP chat client of choice, with the latest
and best that XMPP has to offer.
<strong>(recommended)</strong>
</span>
</span>
<span class="notice">
<a href="https://customrombay.org">
<img src="/img/plant.svg" />
</a>
<span>
We further suggest using an updated Android system. If your
smartphone manufacturer has ceased to provide updates,
please visit <a href="https://divestos.org">DivestOS
Mobile</a> or <a href="https://customrombay.org">
CustomRomBay</a> to find an updated version for your device.
<strong>(optional)</strong>
</span>
</span>
</div>
{% endif %}
{% if title == 'Haiku' %}
<div id="security-notices">
<span class="notice">
<img src="/img/haikudepot.svg" />
<span>
Most of the software that are listed here should be available
for you to install directly from desktop with HaikuDepot.
</span>
</span>
</div>
{% endif %}
{% if title == 'Linux' %}
<div id="security-notices">
<span class="notice">
<img src="/img/tux.svg" />
<span>
The listed XMPP clients, herein, are also usable with the
Linux systems that are designed for mobile devices, e.g.
<a href="https://droidian.org">Droidian</a>,
<a href="https://mobian.org">Mobian</a> and
<a href="https://postmarketos.org">postmarketOS</a>.
</span>
</span>
<span class="notice">
<a href="/download/posix">
<img src="/img/posix.svg" />
</a>
<span>
Please refer to the section <a href="/download/posix">XMPP
Clients For POSIX</a>, if you prefer software with text
based (i.e. console) interface.
</span>
</span>
</div>
{% endif %}
{% if title == 'Windows' %}
<div id="security-notices">
<span class="notice">
<img src="/img/reactos.svg" />
<span>
The listed XMPP clients, herein, are compatible with the
<a href="https://reactos.org">ReactOS</a> operating system.
</span>
</span>
</div>
{% endif %}
<dl id="selection">
{% for client in client_selection %}
<dt>
<a href="{{client['href']}}" id="{{client['iden']}}">
<img class="narrow" src="/img/{{client['iden']}}.svg"/>
<strong>{{client['name']}}</strong>
</a>
</dt>
<dd>
<span>
<span class="text">{{client['about']}}</span>
<div class="features">
{% if 'adhoc' in client['features'] %}
<span>🪄️ Ad-Hoc Commands</span>
{% endif %}
{% if 'desktop' in client['features'] %}
<span>🖥️ Desktop</span>
{% endif %}
{% if 'mobile' in client['features'] %}
<span>📱 Mobile</span>
{% endif %}
{% if 'omemo' in client['features'] %}
<!-- img class="icon" src="/img/omemo.svg" / -->
<span>🐟 OMEMO</span>
{% endif %}
{% if 'openpgp' in client['features'] %}
<span>🔐️ OpenPGP</span>
{% endif %}
{% if 'otr' in client['features'] %}
<span>🔏️ OTR</span>
{% endif %}
{% if 'pubsub' in client['features'] %}
<span>📡️ PubSub</span>
{% endif %}
</div>
</span>
<span>
<img class="wide" src="/img/{{client['iden']}}.svg" />
</span>
</dd>
{% endfor %}
<hr/>
<br/>
<dt>
<a href="https://xmpp.org/software/">
<img class="narrow" src="/img/xmpp.svg"/>
<strong>About XMPP</strong>
</a>
</dt>
<dd>
<span>
XMPP is the decentralized, free, open, and private messaging
and publishing protocol that drives the world's top-tier and
largest open IM network which allows for end-to-end
encrypted messaging, group chats, voice calls, video
conferences and more. Join to the community! (est. 1999)
</span>
<span>
<img class="wide" src="/img/xmpp.svg" />
</span>
</dd>
</dl>
{% endif %}
</div>
</div>
</body>
</html>