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" />
|
|
|
|
<title>XMPP: {{action}} {{title}}</title>
|
|
|
|
<meta name="description" content="{{action}} {{title}}" />
|
|
|
|
<meta name="generator" content="Fast And Sleek Invite" />
|
|
|
|
<meta name="uri" content="{{xmpp_uri}}" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
<meta property="og:description" content="{{action}} {{title}}" />
|
|
|
|
<meta property="og:image" content="/photo/{{filename}}" />
|
|
|
|
<meta property="og:site_name" content="XMPP" />
|
|
|
|
<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" />
|
|
|
|
{% if selection %}
|
|
|
|
<style>
|
2024-10-09 15:40:51 +02:00
|
|
|
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)
|
|
|
|
);
|
|
|
|
}
|
2024-10-08 09:13:40 +02:00
|
|
|
}
|
2024-10-14 13:37:18 +02:00
|
|
|
@media (max-width: 725px) and (prefers-color-scheme: dark) {
|
|
|
|
body {
|
|
|
|
background: #2b2a33;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: 725px) {
|
|
|
|
body {
|
|
|
|
background: #f5f5f5;
|
|
|
|
}
|
|
|
|
}
|
2024-10-08 09:13:40 +02:00
|
|
|
</style>
|
|
|
|
{% endif %}
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="overlay">
|
|
|
|
<div id="bar">
|
|
|
|
<a href="https://xmpp.org">
|
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>
|
|
|
|
<a id="download" href="https://xmpp.org/software/">
|
|
|
|
Download
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div id="container-of-profile">
|
|
|
|
<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 %}
|
|
|
|
{% if note %}
|
|
|
|
<h3>{{note}}</h3>
|
|
|
|
{% endif %}
|
|
|
|
<div>
|
|
|
|
<pre id="xmpp-uri">{{xmpp_uri}}</pre>
|
|
|
|
</div>
|
|
|
|
{% if exception %}
|
|
|
|
<div>
|
|
|
|
<code>{{exception}}</code>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2024-10-09 22:07:16 +02:00
|
|
|
{% if links %}
|
|
|
|
<div id="action">
|
|
|
|
{% for link in links %}
|
2024-10-15 14:38:27 +02:00
|
|
|
<a href="{{link['href']}}" id="{{link['iden']}}">
|
|
|
|
{{link['name']}}
|
2024-10-09 22:07:16 +02:00
|
|
|
</a>
|
|
|
|
{% endfor %}
|
2024-10-08 09:13:40 +02:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
<!-- div>
|
|
|
|
<a id="preview" href="/view/{{jid_bare}}">
|
|
|
|
Preview journal OR Preview group chat
|
|
|
|
</a>
|
|
|
|
</div -->
|
2024-10-14 13:37:18 +02:00
|
|
|
{% if count or jid_kind in ('conference', 'mix', 'muc') %}
|
2024-10-14 11:31:31 +02:00
|
|
|
<div id="count">
|
|
|
|
<a href="{{view_href}}">
|
|
|
|
{% if count %}
|
|
|
|
{{count}} {{instance}}
|
2024-10-14 13:37:18 +02:00
|
|
|
{% elif jid_kind in ('conference', 'mix', 'muc') %}
|
2024-10-14 11:31:31 +02:00
|
|
|
Preview
|
|
|
|
{% endif %}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2024-10-08 09:13:40 +02:00
|
|
|
</div>
|
2024-10-14 13:37:18 +02:00
|
|
|
<div id="notice">
|
|
|
|
If you already have an <strong>XMPP Client</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.
|
|
|
|
</div>
|
|
|
|
<!-- div id="note">
|
|
|
|
<div>
|
|
|
|
You have been invited to
|
|
|
|
<abbr title="The Universal Messaging Standard">XMPP</abbr>.
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
XMPP is a decentralized, free, and private messaging and publishing
|
|
|
|
protocol, that allows for end-to-end encrypted messaging, voice
|
|
|
|
calls, video calls, groups and more. Join to the community!
|
|
|
|
</div>
|
|
|
|
</div -->
|
2024-10-08 09:13:40 +02:00
|
|
|
</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>
|