Add a dynamic message in accord to JID purpose (Thanks to Ramiro from Above Phone and TBOT).
This commit is contained in:
parent
26d92eff7c
commit
0b85570631
3 changed files with 64 additions and 30 deletions
|
@ -43,6 +43,16 @@
|
|||
);
|
||||
}
|
||||
}
|
||||
@media (max-width: 725px) and (prefers-color-scheme: dark) {
|
||||
body {
|
||||
background: #2b2a33;
|
||||
}
|
||||
}
|
||||
@media (max-width: 725px) {
|
||||
body {
|
||||
background: #f5f5f5;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
{% endif %}
|
||||
</head>
|
||||
|
@ -92,26 +102,46 @@
|
|||
Preview journal OR Preview group chat
|
||||
</a>
|
||||
</div -->
|
||||
{% if count or jid_kind in ('mix', 'muc') %}
|
||||
{% if count or jid_kind in ('conference', 'mix', 'muc') %}
|
||||
<div id="count">
|
||||
<a href="{{view_href}}">
|
||||
{% if count %}
|
||||
{{count}} {{instance}}
|
||||
{% elif jid_kind in ('mix', 'muc') %}
|
||||
{% elif jid_kind in ('conference', 'mix', 'muc') %}
|
||||
Preview
|
||||
{% endif %}
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
<!-- div>
|
||||
<a href="https://xmpp.org">
|
||||
<img id="logo-bottom" src="/img/logo-wordmark-vertical.svg" />
|
||||
</a>
|
||||
</div -->
|
||||
<!-- div id="note">
|
||||
The Universal Messaging Standard
|
||||
</div -->
|
||||
</div>
|
||||
<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 -->
|
||||
</div>
|
||||
{% if message %}
|
||||
<div id="message">{{message}}</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue