Mise à jour de la page d'accueil

This commit is contained in:
Miraty 2023-10-29 20:51:41 +01:00
parent 183f7949a2
commit 34b7764b16
21 changed files with 225 additions and 234 deletions

View File

@ -1,6 +1,6 @@
# Comment utiliser son adresse courriel Antopie
Cette page de concerne que les personnes pour lesquelles j'ai manuellement créé un compte interne. Ce service n'est pas ouvert au public.
Cette page ne concerne que les personnes pour lesquelles j'ai manuellement créé un compte interne. Ce service n'est pas ouvert au public.
## Webmail Roundcube

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

BIN
img/logos/librex.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
img/logos/librex.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 938 B

BIN
img/logos/lufi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
img/logos/lufi.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 465 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
img/logos/origine/lufi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

388
index.md
View File

@ -20,188 +20,163 @@ Le compte <a href="https://mamot.fr/@Antopie" rel="me">@Antopie@mamot.fr</a> ([R
<?php
$logoService = array(
'peertube' => 'peertube',
'gitea' => 'gitea',
'libreqr' => 'libreqr',
'vaultwarden' => 'vaultwarden',
'nextcloud' => 'nextcloud',
'synapse' => 'matrix',
'element' => 'element',
'privatebin' => 'privatebin',
'jirafeau' => 'jirafeau',
'etherpad' => 'etherpad',
'diagrams' => 'diagrams',
'opensondage' => 'opensondage',
'meta' => NULL,
'rssbridge' => 'rssbridge',
'searx' => 'searx',
'invidious' => 'invidious',
'nitter' => 'nitter',
);
$logoServiceDimensions = array(
'peertube' => array(75, 100),
'gitea' => array(100, 100),
'libreqr' => array(100, 100),
'vaultwarden' => array(100, 100),
'nextcloud' => array(150, 68),
'synapse' => array(95, 100),
'element' => array(100, 100),
'privatebin' => array(94, 100),
'jirafeau' => array(100, 100),
'etherpad' => array(59, 100),
'diagrams' => array(80, 80),
'opensondage' => array(64, 64),
'meta' => NULL,
'rssbridge' => array(150, 31),
'searx' => array(109, 100),
'invidious' => array(100, 96),
'nitter' => array(100, 122),
);
$urlService = array(
'peertube' => clearnetOrOnion('https://video.antopie.org', 'http://video.sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion'),
'gitea' => clearnetOrOnion('https://code.antopie.org', 'http://code.sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion'),
'libreqr' => clearnetOrOnion('https://qr.antopie.org', 'http://qr.sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion'),
'vaultwarden' => clearnetOrOnion('https://mdp.antopie.org', 'http://mdp.sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion'),
'nextcloud' => clearnetOrOnion('https://nuage.antopie.org', 'http://nuage.sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion'),
'synapse' => clearnetOrOnion('https://matrix.antopie.org', 'http://matrix.sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion'),
'element' => clearnetOrOnion('https://el.antopie.org', 'http://el.sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion'),
'privatebin' => clearnetOrOnion('https://texte.antopie.org', 'http://texte.sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion'),
'jirafeau' => clearnetOrOnion('https://up.antopie.org', 'http://up.sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion'),
'etherpad' => clearnetOrOnion('https://pad.antopie.org', 'http://pad.sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion'),
'diagrams' => clearnetOrOnion('https://draw.antopie.org', 'http://draw.sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion'),
'opensondage' => clearnetOrOnion('https://sondage.antopie.org', 'http://sondage.sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion'),
'meta' => clearnetOrOnion('https://meta.antopie.org', 'http://meta.sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion'),
'rssbridge' => clearnetOrOnion('https://rss.antopie.org', 'http://rss.sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion'),
'searx' => clearnetOrOnion('https://searx.antopie.org', 'http://searx.sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion'),
'invidious' => clearnetOrOnion('https://inv.antopie.org', 'http://inv.sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion'),
'nitter' => clearnetOrOnion('https://nitter.antopie.org', 'http://nitter.sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion'),
);
$domService = array(
'peertube' => '<code>' . clearnetOrOnion('video.antopie.org', 'video') . '</code>',
'gitea' => '<code>' . clearnetOrOnion('code.antopie.org', 'code') . '</code>',
'libreqr' => '<code>' . clearnetOrOnion('qr.antopie.org', 'qr') . '</code>',
'vaultwarden' => '<code>' . clearnetOrOnion('mdp.antopie.org', 'mdp') . '</code>',
'nextcloud' => '<code>' . clearnetOrOnion('nuage.antopie.org', 'nuage') . '</code>',
'synapse' => '<code>' . clearnetOrOnion('matrix.antopie.org', 'matrix') . '</code>',
'element' => '<code>' . clearnetOrOnion('el.antopie.org', 'el') . '</code>',
'privatebin' => '<code>' . clearnetOrOnion('texte.antopie.org', 'texte') . '</code>',
'jirafeau' => '<code>' . clearnetOrOnion('up.antopie.org', 'up') . '</code>',
'etherpad' => '<code>' . clearnetOrOnion('pad.antopie.org', 'pad') . '</code>',
'diagrams' => '<code>' . clearnetOrOnion('draw.antopie.org', 'draw') . '</code>',
'opensondage' => '<code>' . clearnetOrOnion('sondage.antopie.org', 'sondage') . '</code>',
'meta' => '<code>' . clearnetOrOnion('meta.antopie.org', 'meta') . '</code>',
'rssbridge' => '<code>' . clearnetOrOnion('rss.antopie.org', 'rss') . '</code>',
'searx' => '<code>' . clearnetOrOnion('searx.antopie.org', 'searx') . '</code>',
'invidious' => '<code>' . clearnetOrOnion('inv.antopie.org', 'inv') . '</code>',
'nitter' => '<code>' . clearnetOrOnion('nitter.antopie.org', 'nitter') . '</code>',
);
$nomService = array(
'peertube' => 'PeerTube',
'gitea' => 'Gitea',
'libreqr' => 'LibreQR',
'vaultwarden' => 'Vaultwarden',
'nextcloud' => 'Nextcloud',
'synapse' => 'Synapse',
'element' => 'Element',
'privatebin' => 'PrivateBin',
'jirafeau' => 'Jirafeau',
'etherpad' => 'Etherpad',
'diagrams' => 'Diagrammes',
'opensondage' => 'OpenSondage',
'meta' => 'Méta',
'rssbridge' => 'RSS Bridge',
'searx' => 'Searx',
'invidious' => 'Invidious',
'nitter' => 'Nitter',
);
$descService = array(
'peertube' => 'Regarder et publier des vidéos sur le <a href="https://fr.wikipedia.org/wiki/Fediverse">Fédiverse</a>.',
'gitea' => '<a href="https://fr.wikipedia.org/wiki/Forge_(informatique)">Forge logicielle</a> simple basée sur <a href="https://fr.wikipedia.org/wiki/Git">Git</a>.',
'libreqr' => 'Un générateur de <a href="https://fr.wikipedia.org/wiki/Code_QR">codes QR</a> fait maison.',
'vaultwarden' => 'Enregistrer des clés de passe. Compatible avec les <a href="https://bitwarden.com/download/">clients Bitwarden</a>.',
'nextcloud' => 'Synchronisation de fichiers, de contacts (<a href="https://fr.wikipedia.org/wiki/CardDAV">CardDAV</a>), dagenda (<a href="https://fr.wikipedia.org/wiki/CalDAV">CalDAV</a>), et plein dautres fonctionnalités grâce à des extensions.',
'synapse' => 'Un serveur <a href="https://fr.wikipedia.org/wiki/Matrix_(protocole)">Matrix</a>, qui est un protocole internet moderne pour la communication écrite, audio ou vidéo.',
'element' => 'Client Web pour Matrix.',
'privatebin' => 'Partager des textes, codes sources ou <a href="https://fr.wikipedia.org/wiki/Markdown">Markdown</a> rapidement.',
'jirafeau' => 'Rendre un fichier accessible par une URL Web.',
'etherpad' => 'Éditer un texte sur plusieurs appareils en même temps. Utilisable avec <a href="https://pad.antopie.org/mypads/">MyPads</a>.',
'diagrams' => 'Créer des diagrammes.',
'opensondage' => 'Planifier un rendez-vous et prendre des décisions.',
'meta' => 'Afficher diverses métadonnées techniques relatives à la transmission de la page.',
'rssbridge' => 'Exporter les données de centaines de sites aux formats <a href="https://fr.wikipedia.org/wiki/Atom_Syndication_Format">Atom</a>, <a href="https://fr.wikipedia.org/wiki/JavaScript_Object_Notation">JSON</a>, Mrss ou texte brut.',
'searx' => '<a href="https://fr.wikipedia.org/wiki/M%C3%A9tamoteur">Métamoteur</a> anonymé : combine plusieurs moteurs de recherche sur une seule page.',
'invidious' => 'Interface plus libre, légère et confidentielle pour accéder au contenu du service privateur YouTube.',
'nitter' => 'Interface plus libre, légère et confidentielle pour accéder au contenu du service privateur Twitter.',
);
$siteOfficielService = array(
'peertube' => 'joinpeertube.org',
'gitea' => 'gitea.io',
'libreqr' => NULL,
'vaultwarden' => NULL,
'nextcloud' => 'nextcloud.com',
'synapse' => NULL,
'element' => 'element.io',
'privatebin' => 'privatebin.info',
'jirafeau' => NULL,
'etherpad' => 'etherpad.org',
'diagrams' => 'www.drawio.com',
'opensondage' => NULL,
'meta' => NULL,
'rssbridge' => NULL,
'searx' => 'searx.github.io/searx',
'invidious' => NULL,
'nitter' => NULL,
);
$gitService = array(
'peertube' => 'github.com/Chocobozzz/PeerTube',
'gitea' => 'github.com/go-gitea/gitea',
'libreqr' => 'code.antopie.org/miraty/libreqr',
'vaultwarden' => 'github.com/dani-garcia/vaultwarden',
'nextcloud' => 'github.com/nextcloud/server',
'synapse' => 'github.com/matrix-org/synapse',
'element' => 'github.com/vector-im/element-web',
'privatebin' => 'github.com/PrivateBin/PrivateBin',
'jirafeau' => 'gitlab.com/mojo42/Jirafeau',
'etherpad' => 'github.com/ether/etherpad-lite',
'diagrams' => 'github.com/jgraph/drawio',
'opensondage' => 'framagit.org/framasoft/framadate/framadate',
'meta' => 'code.antopie.org/miraty/meta',
'rssbridge' => 'github.com/rss-bridge/rss-bridge',
'searx' => 'github.com/searx/searx',
'invidious' => 'github.com/iv-org/invidious',
'nitter' => 'github.com/zedeus/nitter',
);
$paquetYnhService = array(
'peertube' => 'github.com/YunoHost-Apps/peertube_ynh',
'gitea' => 'github.com/YunoHost-Apps/gitea_ynh',
'libreqr' => 'code.antopie.org/miraty/qr_ynh',
'vaultwarden' => 'github.com/YunoHost-Apps/vaultwarden_ynh',
'nextcloud' => 'github.com/YunoHost-Apps/nextcloud_ynh',
'synapse' => 'github.com/YunoHost-Apps/synapse_ynh',
'element' => 'github.com/YunoHost-Apps/element_ynh',
'privatebin' => 'github.com/YunoHost-Apps/zerobin_ynh',
'jirafeau' => 'github.com/YunoHost-Apps/jirafeau_ynh',
'etherpad' => 'github.com/YunoHost-Apps/etherpad_mypads_ynh',
'diagrams' => 'github.com/YunoHost-Apps/diagramsnet_ynh',
'opensondage' => 'github.com/YunoHost-Apps/opensondage_ynh',
'meta' => 'github.com/YunoHost-Apps/my_webapp_ynh',
'rssbridge' => 'github.com/YunoHost-Apps/rss-bridge_ynh',
'searx' => 'github.com/YunoHost-Apps/searx_ynh',
'invidious' => 'github.com/YunoHost-Apps/invidious_ynh',
'nitter' => 'github.com/YunoHost-Apps/nitter_ynh',
);
$services = [
'peertube' => [
'name' => 'PeerTube',
'desc' => 'Regarder des vidéos sur le <a href="https://fr.wikipedia.org/wiki/Fediverse">Fédiverse</a>.',
'domain' => 'video',
'site' => 'joinpeertube.org',
'code' => 'github.com/Chocobozzz/PeerTube',
'package' => 'github.com/YunoHost-Apps/peertube_ynh',
'action_emoji' => '▶️',
],
'gitea' => [
'name' => 'Gitea',
'desc' => '<a href="https://fr.wikipedia.org/wiki/Forge_(informatique)">Forge logicielle</a> simple basée sur <a href="https://fr.wikipedia.org/wiki/Git">Git</a>.',
'domain' => 'code',
'site' => 'gitea.io',
'code' => 'github.com/go-gitea/gitea',
'package' => 'github.com/YunoHost-Apps/gitea_ynh',
'action_emoji' => '🧑‍💻',
],
'libreqr' => [
'name' => 'LibreQR',
'desc' => 'Un générateur de <a href="https://fr.wikipedia.org/wiki/Code_QR">codes QR</a> fait maison.',
'domain' => 'qr',
'code' => 'code.antopie.org/miraty/libreqr',
'package' => 'code.antopie.org/miraty/qr_ynh',
'action' => 'Générer un code QR',
],
'nextcloud' => [
'name' => 'Nextcloud',
'desc' => 'Synchronisation de fichiers, de contacts (<a href="https://fr.wikipedia.org/wiki/CardDAV">CardDAV</a>), dagenda (<a href="https://fr.wikipedia.org/wiki/CalDAV">CalDAV</a>), et plein dautres fonctionnalités grâce à des extensions.',
'domain' => 'nuage',
'site' => 'nextcloud.com',
'code' => 'github.com/nextcloud/server',
'package' => 'github.com/YunoHost-Apps/nextcloud_ynh',
'action_emoji' => '☁️',
],
'synapse' => [
'name' => 'Synapse',
'desc' => 'Un serveur <a href="https://fr.wikipedia.org/wiki/Matrix_(protocole)">Matrix</a>, qui est un protocole internet moderne pour la communication écrite, audio ou vidéo.',
'domain' => 'matrix',
'code' => 'github.com/matrix-org/synapse',
'package' => 'github.com/YunoHost-Apps/synapse_ynh',
'action' => 'Plus d\'infos',
'action_emoji' => '',
],
'element' => [
'name' => 'Element',
'desc' => 'Client Web pour Matrix.',
'domain' => 'el',
'site' => 'element.io',
'code' => 'github.com/vector-im/element-web',
'package' => 'github.com/YunoHost-Apps/element_ynh',
'action_emoji' => '💬',
],
'lufi' => [
'name' => 'Lufi',
'desc' => 'Partager un fichier par une URL.',
'domain' => 'lufi',
'site' => '',
'code' => 'framagit.org/fiat-tux/hat-softwares/lufi/',
'package' => 'github.com/YunoHost-Apps/lufi_ynh',
'action' => 'Téléverser un fichier',
'action_emoji' => '⬆️',
],
'privatebin' => [
'name' => 'PrivateBin',
'desc' => 'Partager des textes, codes sources ou <a href="https://fr.wikipedia.org/wiki/Markdown">Markdown</a> rapidement.',
'domain' => 'texte',
'site' => 'privatebin.info',
'code' => 'github.com/PrivateBin/PrivateBin',
'package' => 'github.com/YunoHost-Apps/zerobin_ynh',
],
'etherpad' => [
'name' => 'Etherpad',
'desc' => 'Éditer un texte sur plusieurs appareils en même temps. Utilisable avec <a href="https://pad.antopie.org/mypads/">MyPads</a>.',
'domain' => 'pad',
'site' => 'etherpad.org',
'code' => 'github.com/ether/etherpad-lite',
'package' => 'github.com/YunoHost-Apps/etherpad_mypads_ynh',
'action' => 'Corédiger',
'action_emoji' => '📝',
],
'vaultwarden' => [
'name' => 'Vaultwarden',
'desc' => 'Enregistrer des clés de passe. Compatible avec les <a href="https://bitwarden.com/download/">clients Bitwarden</a>.',
'domain' => 'mdp',
'code' => 'github.com/dani-garcia/vaultwarden',
'package' => 'github.com/YunoHost-Apps/vaultwarden_ynh',
'action_emoji' => '🔑',
],
'diagrams' => [
'name' => 'Diagrammes',
'desc' => 'Créer des diagrammes.',
'domain' => 'draw',
'site' => 'www.drawio.com',
'code' => 'github.com/jgraph/drawio',
'package' => 'github.com/YunoHost-Apps/diagramsnet_ynh',
],
'opensondage' => [
'name' => 'OpenSondage',
'desc' => 'Planifier un rendez-vous et prendre des décisions.',
'domain' => 'sondage',
'site' => '',
'code' => 'framagit.org/framasoft/framadate/framadate',
'package' => 'github.com/YunoHost-Apps/opensondage_ynh',
'action' => 'Créer un sondage',
'action_emoji' => '📊',
],
'meta' => [
'name' => 'Méta',
'desc' => 'Afficher diverses métadonnées techniques relatives à la transmission de la page.',
'domain' => 'meta',
'code' => 'code.antopie.org/miraty/meta',
'package' => 'github.com/YunoHost-Apps/my_webapp_ynh',
'action' => 'Geeker',
'action_emoji' => '',
],
'rssbridge' => [
'name' => 'RSS Bridge',
'desc' => 'Exporter les données de centaines de sites aux formats <a href="https://fr.wikipedia.org/wiki/Atom_Syndication_Format">Atom</a>, <a href="https://fr.wikipedia.org/wiki/JavaScript_Object_Notation">JSON</a>, Mrss ou texte brut.',
'domain' => 'rss',
'code' => 'github.com/rss-bridge/rss-bridge',
'package' => 'github.com/YunoHost-Apps/rss-bridge_ynh',
],
'invidious' => [
'name' => 'Invidious',
'desc' => 'Interface plus libre, légère et confidentielle pour accéder au contenu du service privateur YouTube.',
'domain' => 'inv',
'site' => 'invidious.io',
'code' => 'github.com/iv-org/invidious',
'package' => 'github.com/YunoHost-Apps/invidious_ynh',
'action' => 'Chercher sur YouTube',
'action_emoji' => '▶️',
],
'librex' => [
'name' => 'Librex',
'desc' => 'Interface pour anonymiser et combiner les résultats de plusieurs moteurs de recherche.',
'domain' => 'librex',
'code' => 'github.com/hnhx/librex',
'package' => 'github.com/YunoHost-Apps/librex_ynh',
'action' => 'Faire une recherche',
'action_emoji' => '🔍',
],
'searx' => [
'name' => 'Searx',
'desc' => 'Comme Librex, avec plus de fonctionnalités. Le logiciel n\'étant plus maintenu, <strong>ce service pourra être fermé à partir de janvier 2024</strong>.',
'domain' => 'searx',
'site' => 'searx.github.io/searx',
'code' => 'github.com/searx/searx',
'package' => 'github.com/YunoHost-Apps/searx_ynh',
'action' => 'Faire une recherche',
'action_emoji' => '🔍',
],
];
$actionService = array(
'peertube' => 'Accéder au service',
'peertube' => '',
'gitea' => 'Coder',
'libreqr' => 'Générer un code QR',
'vaultwarden' => 'Accéder au service',
@ -217,55 +192,36 @@ $actionService = array(
'rssbridge' => 'Bridger',
'searx' => 'Rechercher',
'invidious' => 'Accéder au service',
'nitter' => 'Accéder au service',
);
$aboutService = array(
'peertube' => NULL,
'gitea' => NULL,
'libreqr' => NULL,
'vaultwarden' => NULL,
'nextcloud' => 'nextcloud.html',
'synapse' => NULL,
'element' => NULL,
'privatebin' => NULL,
'jirafeau' => NULL,
'etherpad' => NULL,
'diagrams' => NULL,
'opensondage' => NULL,
'iprefua' => NULL,
'rssbridge' => NULL,
'searx' => NULL,
'invidious' => NULL,
'nitter' => NULL,
);
foreach($descService as $codeService => $descService) { ?>
foreach($services as $service_id => $service) {
$img_path = 'img/logos/' . $service_id . '.webp';
?>
<div>
<?php if (isset($logoService[$codeService])) { ?>
<div><img class="imgService" src="img/logos/<?= $logoService[$codeService]; ?>.webp" width="<?= $logoServiceDimensions[$codeService][0]; ?>" height="<?= $logoServiceDimensions[$codeService][1]; ?>" alt=""></div>
<?php
if (file_exists($img_path)) {
$sizes = getimagesize($img_path);
?>
<div><img class="imgService" src="<?= $img_path ?>" width="<?= $sizes[0] ?>" height="<?= $sizes[1] ?>" alt=""></div>
<?php } ?>
<h3 class="titreService"><?= $nomService[$codeService]; ?></h3>
<h3 class="titreService"><?= $service['name'] ?></h3>
<small class="row">
<?php if (!is_null($siteOfficielService[$codeService])) { ?>
<a class="metaService" title="Site officiel de <?= $nomService[$codeService]; ?>" href="https://<?= $siteOfficielService[$codeService] ?>">Site</a><br>
<?php if (isset($service['site'])) { ?>
<a class="metaService" title="Site officiel de <?= $service['name'] ?>" href="https://<?= $service['site'] ?>">Site</a><br>
<?php } ?>
<a class="metaService" title="Code source de <?= $nomService[$codeService]; ?>" href="https://<?= $gitService[$codeService]; ?>">Source</a><br>
<a class="metaService" title="Paquet YunoHost de <?= $nomService[$codeService]; ?>" href="https://<?= $paquetYnhService[$codeService]; ?>">Paquet</a>
<a class="metaService" title="Code source de <?= $service['name'] ?>" href="https://<?= $service['code'] ?>">Source</a><br>
<a class="metaService" title="Paquet YunoHost de <?= $service['name'] ?>" href="https://<?= $service['package'] ?>">Paquet</a>
</small>
<div class="descService">
<?= $descService; ?>
<?= $service['desc'] ?>
</div>
<div class="domService">
<?= $domService[$codeService]; ?>
</div>
<?php if (isset($aboutService[$codeService])) { ?>
<?php if (file_exists($service_id . '.md')) { ?>
<div>
<a class="small-button" href="<?= $aboutService[$codeService] ?>">Présentation</span></a>
<a class="small-button" href="<?= $service_id ?>.html">Informations</span></a>
</div>
<?php } ?>
<div>
<a class="small-button action" href="<?= $urlService[$codeService]; ?><?php if ($codeService == 'synapse') { echo '/_matrix/static/'; } ?>"><?php echo $actionService[$codeService]; ?></a>
<a class="small-button action" href="<?= clearnetOrOnion('https://' . $service['domain'] . '.antopie.org', 'http://' . $service['domain'] . '.sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion') ?><?= ($service_id === 'synapse') ? '/_matrix/static/' : '/' ?>"><span aria-hidden="true"><?= $service['action_emoji'] ?? '➡' ?></span>&nbsp;<?= $service['action'] ?? 'Accéder au service' ?></a>
</div>
</div>

View File

@ -19,10 +19,6 @@ img[src="img/logos/searx.webp"], img[src="img/logos/peertube.webp"] {
;
}
.action::before {
content: "➡ ";
}
.metaService {
margin: 0.2rem;
margin-bottom: 0;
@ -32,19 +28,6 @@ img[src="img/logos/searx.webp"], img[src="img/logos/peertube.webp"] {
text-align: left;
}
.domService {
font-size: 0.8em;
line-height: 0.86rem;
}
.domService code, .domService em {
font-size: inherit;
}
.domService, .domService code {
overflow-wrap: anywhere;
}
.centered > section {
border: none;
padding-left: unset;