9 Commits

Author SHA1 Message Date
epickiwi 2fc2fed5f1 Suppression lien presentation 2026-03-28 15:46:33 +01:00
epickiwi 4ba7494fd7 Merge branch 'ajout-description' 2026-03-28 15:45:40 +01:00
epickiwi 471f0e993d Fini la trixie release party 2026-03-28 15:44:48 +01:00
epickiwi bcef3d80f0 Pas de retour a la ligne dans le nav 2026-03-28 15:44:43 +01:00
epickiwi da4cf17781 Added drags and nerds 2026-03-28 11:04:51 +01:00
epickiwi 654a7165a8 Removed trixie release party 2026-03-28 11:03:39 +01:00
mirsal 87bf475e8d spaceapi: Signalement de compatibilité avec la version 14 2025-12-11 09:16:51 +00:00
mirsal 0cd5df6fb8 Merge pull request 'Support initial de space-api' (#2) from space-api into main
Reviewed-on: #2
Reviewed-by: Vincent F. <vincent@noreply.localhost>
2025-12-10 20:43:17 +01:00
mirsal 1834dec5b1 Support initial de space-api
Ce commit ajoute un support rudimentaire de space-api:
(voir https://spaceapi.io/docs/)

Il consiste en deux parties:

 * un fichier spaceapi/space.json contenant les infos du lol
 * une mise à jour de status/set-status.sh qui utilise jq pour
   répercuter les changements de l'état d'ouverture du lolcal

TODO: Ajouter nos capteurs (ce n'est pas trivial, amha, il faudra revoir
l'architecture du système pour le faire correctement)
2025-12-10 19:36:52 +00:00
9 changed files with 157 additions and 4 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+4
View File
@@ -393,6 +393,10 @@ main > aside {
text-decoration: none !important;
}
#main-nav > a {
display: inline-block;
}
/* Affiches */
.affiche {
Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

+116 -3
View File
@@ -44,7 +44,6 @@
<a property="url" href="https://listes.infini.fr/listes.labolyon.fr/subscribe/discussions">Liste de diffusion</a>
<a property="url" href="https://nerdculture.de/@labolyon">Fédiverse</a>
<a property="url" href="https://matrix.to/#/#general:chat.labolyon.fr">Salon Matrix</a>
<a property="url" href="/presentation.html">Présentation</a>
</nav>
</header>
@@ -120,7 +119,121 @@
<p>Adhésion conseillée (prix libre)</p>
</article>
<article class="event affiche affiche-debian-release-party" property="event" typeof="Event">
<article class="event affiche affiche-drags-nerds-hackathon">
<style>
@font-face {
font-family: "Press Start 2P";
src: url("./css/affiches/PressStart2P-Regular-DogiNJoF.ttf");
font-weight: normal;
}
@font-face {
font-family: velvelyne;
src: url("./css/affiches/Velvelyne-Light-C9f5yZCm.ttf") format("truetype");
}
@font-face {
font-family: velvelyne;
src: url("./css/affiches/Velvelyne-Bold-CR91h96S.ttf") format("truetype");
font-weight: bold;
}
.affiche-drags-nerds-hackathon {
background: white;
grid-row: span 2;
color: black;
padding: 0;
border-color: white;
line-height: 1.4;
font-family: monospace;
font-size: 1rem;
padding-bottom: 35px;
}
.affiche-drags-nerds-hackathon > h2 {
padding: 15px;
margin: 0;
font-family: velvelyne;
}
.affiche-drags-nerds-hackathon > p,
.affiche-drags-nerds-hackathon > ul {
padding: 5px 15px;
margin: 0;
margin-top: 7px;
margin-bottom: 7px;
padding-right: 15px;
}
.affiche-drags-nerds-hackathon > ul {
padding-left: 30px;
}
.affiche-drags-nerds-hackathon li {
margin-top: 10px;
margin-bottom: 10px;
}
.affiche-drags-nerds-hackathon li::marker {
content: "> ";
}
.affiche-drags-nerds-hackathon > img:first-of-type {
display: block;
width: 100%;
}
.affiche-drags-nerds-hackathon > p:first-of-type {
background: black;
color: white;
margin-top: 0;
margin-bottom: 15px;
padding: 20px;
padding-top: 0;
font-weight: bold;
}
.affiche-drags-nerds-hackathon a {
color: inherit;
font-weight: bold;
text-decoration: underline;
}
</style>
<img src="./images/affiches/drags-nerds-hackathon-header.png" alt="Drags & Nerds #2: Une image en noir et blanc avec le titre de l'événement et des photos détourées de drag queens.">
<p>
A tous&middot;tes les drags, tous&middot;tes les nerds et l'ensemble des personnes entre les deux.
Vous êtes invité·es à la grande soirée Drags&Nerds du 22 mai 2026 au Grrrnd Zero !
</p>
<h2>&gt; Résidence et Hackathon</h2>
<p>
Pour se rencontrer et construire ensemble, une grande Résidence/Hackathon se déroulera du <strong><time datetime="2026-04-17T10:00:00">17</time> au <time datetime="2026-04-19T19:00:00">19&nbsp;Avril&nbsp;2026</time></strong>.
<strong>Ça se passe au Laboratoire Ouvert Lyonnais</strong>, un Hackerspace queer de Lyon. 7 Place Louis Chazette 69001 Lyon.
</p>
<p>
On construira nos performances, nos costumes, nos makeups, nos mises en scène...
Tu as envie de faire du lip sync ? De jouer de ton synthé ? D'expérimenter de nouveaux sons ?
Ou juste de donner un coup de pouce à des drags pour leurs show ?
Il y a une place pour toi.
</p>
<ul>
<li>Repas végétaliens le midi</li>
<li>Outils pour souder, coudre, coder, couper, clouer et imprimer en 3D en libre service</li>
<li>Masques FFP2 pour l'autodéfense sanitaire</li>
</ul>
<p style="text-align: center;">
Inscrivez vous en envoyant un email à<br/><a href="mailto:drags-nerds@epickiwi.fr">dragsnerds@epickiwi.fr</a><br/>
Ou rendez vous sur <a href="https://drags-nerds.net/" target="_blank">dragsnerds.net</a>
</p>
</article>
<!--<article class="event affiche affiche-debian-release-party" property="event" typeof="Event">
<style>
.affiche-debian-release-party {
@@ -181,7 +294,7 @@
Rejoignez nous sur matrix:<br/>
<code>#trixiereleaseparty-lyon:club1.fr</code>
</p>
</article>
</article>-->
<!--<article class="event affiche affiche-jamfetedelamusique" property="event" typeof="Event">
<img src="./images/affiches/jamfetedelamusique.png" alt="Affiche de la jam ouverte du 21 Juin 2025 : Un motif abstrait généré de manière electronique." aria-labelledby="jam21062025-decription" />
+30
View File
@@ -0,0 +1,30 @@
{
"api_compatibility": ["14", "15"],
"space": "Laboratoire Ouvert Lyonnais",
"logo": "https://labolyon.fr/images/logo_picto.svg",
"url": "https://labolyon.fr/",
"location": {
"address": "7 Place Louis Chazette 69001 Lyon, France",
"lon": 4.8372366,
"lat": 45.7732494,
"country_code": "FR",
"timezone": "Europe/Paris"
},
"contact": {
"irc": "ircs://irc.geeknode.org:6697/labolyon",
"ml": "discussions@listes.labolyon.fr",
"mastodon": "@labolyon@nerdculture.de",
"matrix": "#general:chat.labolyon.fr"
},
"state": {
"icon": {
"closed": "https://labolyon.fr/status/status.ferm%C3%A9.png",
"open": "https://labolyon.fr/status/status.ouvert.png"
},
"open": false
},
"projects": [
"https://git.labolyon.fr/",
"https://wiki.labolyon.fr/"
]
}
+6
View File
@@ -8,10 +8,16 @@ if [ "$#" = "0" ]; then
exit 1
fi
SPACE_JSON=/var/www/html/spaceapi/space.json
if [ "$1" = "opened" ]; then
ln -sf "index.ouvert.html" "/var/www/html/status/index.html"
jq "setpath([\"state\", \"open\"]; true) | setpath([\"state\", \"lastchange\"]; $(date +%s))" < $SPACE_JSON > $SPACE_JSON.new &&
mv -f $SPACE_JSON.new $SPACE_JSON
fi
if [ "$1" = "closed" ]; then
ln -sf "index.fermé.html" "/var/www/html/status/index.html"
jq "setpath([\"state\", \"open\"]; false) | setpath([\"state\", \"lastchange\"]; $(date +%s))" < $SPACE_JSON > $SPACE_JSON.new &&
mv -f $SPACE_JSON.new $SPACE_JSON
fi