This repository has been archived on 2023-05-26. You can view files and clone it, but cannot push or open issues or pull requests.
web/services.php

181 lines
7.8 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php include "inc/debut.php";
head("services.php"); ?>
<div id="services" class="grille-services">
<?php
$logoService = array(
'plume' => 'plume.png',
'peertube' => 'peertube.png',
'gitea' => 'gitea.png',
'libreqr' => 'qr.png',
'bitwarden' => 'bitwarden.png',
'nextcloud' => 'nextcloud.png',
'synapse' => 'matrix.png',
'riot' => 'riot.png',
'privatebin' => 'privatebin.png',
'jirafeau' => 'jirafeau.png',
'rssbridge' => 'rssbridge.png',
'searx' => 'searx.png',
'etherpad' => 'etherpad.png',
'diagrams' => 'diagrams.png',
'opensondage' => 'opensondage.png',
);
$urlService = array(
'plume' => 'blog',
'peertube' => 'video',
'gitea' => 'code',
'libreqr' => 'qr',
'bitwarden' => 'mdp',
'nextcloud' => 'nuage',
'synapse' => 'matrix',
'riot' => 'riot',
'privatebin' => 'texte',
'jirafeau' => 'up',
'rssbridge' => 'rss',
'searx' => 'searx',
'etherpad' => 'pad',
'diagrams' => 'draw',
'opensondage' => 'sondage',
);
$nomService = array(
'plume' => 'Plume',
'peertube' => 'PeerTube',
'gitea' => 'Gitea',
'libreqr' => 'LibreQR',
'bitwarden' => 'Bitwarden',
'nextcloud' => 'Nextcloud',
'synapse' => 'Synapse',
'riot' => 'Riot',
'privatebin' => 'PrivateBin',
'jirafeau' => 'Jirafeau',
'rssbridge' => 'RSS Bridge',
'searx' => 'Searx',
'etherpad' => 'Etherpad',
'diagrams' => 'Diagrammes',
'opensondage' => 'OpenSondage',
);
$infoThemeService = array(
'plume' => 'Thème sombre & rouge',
'peertube' => 'Thème rouge',
'gitea' => 'Thème sombre',
'libreqr' => 'Thème sombre',
'bitwarden' => NULL,
'nextcloud' => 'Thème sombre',
'synapse' => NULL,
'riot' => NULL,
'privatebin' => 'Thème sombre',
'jirafeau' => 'Thème sombre',
'rssbridge' => 'Thème sombre & rouge',
'searx' => 'Thème sombre',
'etherpad' => NULL,
'diagrams' => NULL,
'opensondage' => NULL,
);
$descService = array(
'plume' => 'Créez simplement un blog qui sera accessible via le Web, le <a href="https://fr.wikipedia.org/wiki/Fediverse">Fédiverse</a> et un flux <a href="https://fr.wikipedia.org/wiki/Atom_Syndication_Format">Atom</a>.',
'peertube' => 'Regardez ou publiez des vidéos sur le <a href="https://fr.wikipedia.org/wiki/Fediverse">Fédiverse</a> en <a href="https://fr.wikipedia.org/wiki/Pair_%C3%A0_pair">pair à pair</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.",
'bitwarden' => 'Générez, enregistrez et synchronisez des mots ou phrases de passe fortes.',
'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>), <a href="https://getcarnet.app/">Carnet</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.',
'riot' => 'Client Web pour <a href="https://fr.wikipedia.org/wiki/Matrix_(protocole)">Matrix</a>.',
'privatebin' => 'Partagez des textes, codes sources ou <a href="https://fr.wikipedia.org/wiki/Markdown">Markdown</a> rapidement.',
'jirafeau' => 'Partagez rapidement nimporte quel fichier avec nimporte qui.',
'rssbridge' => 'Exportez 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>, <a href="https://fr.wikipedia.org/wiki/Hypertext_Markup_Language">HTML</a>, Mrss ou texte.',
'searx' => '<a href="https://fr.wikipedia.org/wiki/M%C3%A9tamoteur">Métamoteur</a> anonymé : combine plusieurs moteurs de recherche sur une seule page.',
'etherpad' => 'Éditez un texte sur plusieurs appareils en même temps. Utilisable avec <a href="https://pad.antopie.org/mypads/">MyPads</a>.',
'diagrams' => 'Créez des graphiques pour représenter des idées.',
'opensondage' => 'Planifiez un rendez-vous ou prenez des décisions rapidement et simplement.'
);
$siteOfficielService = array(
'plume' => 'joinplu.me',
'peertube' => 'joinpeertube.org',
'gitea' => 'gitea.io',
'libreqr' => NULL,
'bitwarden' => 'bitwarden.com',
'nextcloud' => 'nextcloud.com/fr_FR',
'synapse' => NULL,
'riot' => 'about.riot.im',
'privatebin' => 'privatebin.info',
'jirafeau' => NULL,
'rssbridge' => NULL,
'searx' => 'asciimoo.github.io/searx',
'etherpad' => 'etherpad.org',
'diagrams' => 'www.diagrams.net',
'opensondage' => NULL,
);
$gitService = array(
'plume' => 'github.com/Plume-org/Plume',
'peertube' => 'github.com/Chocobozzz/PeerTube',
'gitea' => 'github.com/go-gitea/gitea',
'libreqr' => 'code.antopie.org/miraty/libreqr',
'bitwarden' => 'github.com/dani-garcia/bitwarden_rs',
'nextcloud' => 'github.com/nextcloud/server',
'synapse' => 'github.com/matrix-org/synapse',
'riot' => 'github.com/vector-im/riot-web',
'privatebin' => 'github.com/PrivateBin/PrivateBin',
'jirafeau' => 'gitlab.com/mojo42/Jirafeau',
'rssbridge' => 'github.com/rss-bridge/rss-bridge',
'searx' => 'github.com/asciimoo/searx',
'etherpad' => 'github.com/ether/etherpad-lite',
'diagrams' => 'github.com/jgraph/drawio',
'opensondage' => 'framagit.org/framasoft/framadate/framadate'
);
$paquetYnhService = array(
'plume' => 'github.com/YunoHost-Apps/plume_ynh',
'peertube' => 'github.com/YunoHost-Apps/peertube_ynh',
'gitea' => 'github.com/YunoHost-Apps/gitea_ynh',
'libreqr' => 'code.antopie.org/miraty/qr_ynh',
'bitwarden' => 'github.com/YunoHost-Apps/bitwarden_ynh',
'nextcloud' => 'github.com/YunoHost-Apps/nextcloud_ynh',
'synapse' => 'github.com/YunoHost-Apps/synapse_ynh',
'riot' => 'github.com/YunoHost-Apps/riot_ynh',
'privatebin' => 'github.com/YunoHost-Apps/zerobin_ynh',
'jirafeau' => 'github.com/YunoHost-Apps/jirafeau_ynh',
'rssbridge' => 'github.com/YunoHost-Apps/rss-bridge_ynh',
'searx' => 'github.com/YunoHost-Apps/searx_ynh',
'etherpad' => 'github.com/YunoHost-Apps/etherpad_mypads_ynh',
'diagrams' => 'github.com/YunoHost-Apps/diagramsnet_ynh',
'opensondage' => 'github.com/YunoHost-Apps/opensondage_ynh',
);
foreach($descService as $codeService => $descService) { ?>
<div>
<div class="zoneLien">
<a class="lienService" href="https://<?= $urlService[$codeService] ?>.antopie.org<?php if ($codeService == "synapse") { echo "/_matrix/static/"; } ?>">
<div class="logoService"><img class="elLogoServ" src="img/logos/<?= $logoService[$codeService] ?>" alt=""/></div>
<div class="titreService"><?= $nomService[$codeService] ?></div>
<div class="urlService"><?= $urlService[$codeService] ?>.antopie.org</div>
</a>
</div>
<div class="descService"><?= $descService ?></div>
<div class="themeService"><?php if (!is_null($infoThemeService[$codeService])) { ?>· <?= $infoThemeService[$codeService] ?> ·<?php } ?></div>
<div class="metasService">
<?php if (!is_null($siteOfficielService[$codeService])) {
echo '<a class="icon-home metaService" aria-label="Site officiel" title="Site officiel de ' . $nomService[$codeService] . '" href="https://' . $siteOfficielService[$codeService] . '"></a>';
} ?>
<a class="icon-git metaService" aria-label="Code source" title="Code source de <?= $nomService[$codeService] ?>" href="https://<?= $gitService[$codeService] ?>"></a>
<a class="icon-ynh metaService" aria-label="Paquet YunoHost" title="Paquet YunoHost de <?= $nomService[$codeService] ?>" href="https://<?= $paquetYnhService[$codeService] ?>"></a></div>
</div>
<?php } ?>
</div>
<?php include "inc/footer.php"; ?>