CSS : Improve appearance for narrower displays;

Python : Add branding and correct cached data;
TOML   : Add keys for branding and add default values;
XHTML  : Modify HTML code for branding.
This commit is contained in:
Schimon Jehudah, Adv. 2024-10-16 13:24:11 +03:00
parent 11c832a2bf
commit 714103a331
9 changed files with 127 additions and 69 deletions

View file

@ -6,14 +6,14 @@
<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>
<title>{{brand_name}}: {{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:site_name" content="{{brand_name}}" />
<meta property="og:title" content="{{title}}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{{url}}" />
@ -59,7 +59,7 @@
<body>
<div id="overlay">
<div id="bar">
<a href="https://xmpp.org">
<a href="{{brand_site}}">
<img id="logo" src="/img/logo-wordmark-horizontal.svg" />
</a>
<a id="download" href="https://xmpp.org/software/">
@ -115,7 +115,7 @@
{% endif %}
</div>
<div id="notice">
If you already have an <strong>XMPP Client</strong> you can
If you already have <strong>{% if chat_client %}{{chat_client}}{% else %}an XMPP Client{% endif %}</strong> you can
<br/>
{% if jid_kind in ('conference', 'mix', 'muc') %}
join to