9
0
mirror of https://github.com/Lomanic/presence-button-web synced 2024-11-22 13:37:29 +00:00

👄🌕 Checkpoint

./views/index.html:933874/4921
This commit is contained in:
Glitch (hello-express) 2019-11-03 18:55:01 +00:00
parent 841a333808
commit d36587f449

View File

@ -11,14 +11,22 @@
<html lang="en"> <html lang="en">
<head> <head>
<title>Fuz presence button</title> <title>Fuz presence button</title>
<meta name="description" content="Public API for Fuz hackerspace presence button"> <meta
<link id="favicon" rel="icon" href="https://fuz.frama.site/medias/5c02ae843c25e.jpg" type="image/x-icon"> name="description"
<meta charset="utf-8"> content="Public API for Fuz hackerspace presence button"
<meta http-equiv="X-UA-Compatible" content="IE=edge"> />
<meta name="viewport" content="width=device-width, initial-scale=1"> <link
id="favicon"
rel="icon"
href="https://fuz.frama.site/medias/5c02ae843c25e.jpg"
type="image/x-icon"
/>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- import the webpage's stylesheet --> <!-- import the webpage's stylesheet -->
<link rel="stylesheet" href="/style.css"> <link rel="stylesheet" href="/style.css" />
</head> </head>
<body> <body>
<header> <header>
@ -28,9 +36,14 @@
</header> </header>
<main> <main>
<p>
<p>See documentation for this project on <a href="https://wiki.fuz.re/doku.php?id=projets:fuz:presence_button">Fuz wiki</a>:</p> See documentation for this project on
<a href="https://wiki.fuz.re/doku.php?id=projets:fuz:presence_button"
>Fuz wiki</a
>
</p>
<p>Available endpoints:</p>
<section class="dreams"> <section class="dreams">
<ul id="dreams"> <ul id="dreams">
<li><a href="/img">image API</a></li> <li><a href="/img">image API</a></li>
@ -38,20 +51,21 @@
</ul> </ul>
</section> </section>
<p> <p>
API small documentation:<br> API small documentation:<br />
<code>{"fuzIsOpen":true,"lastSeen":"2019-11-03T16:25:24.385Z"}</code><br> <code>{"fuzIsOpen":true,"lastSeen":"2019-11-03T16:25:24.385Z"}</code
Means that the last notification sent by the presence button was at 2019-11-03T16:25:24.385Z and it was saying that the Fuz was open at the time. If it's been a while since last notification (lastSeen), we can conclude the Fuz is now closed. ><br />
The JSON means that the last notification sent by the presence button
was at 2019-11-03T16:25:24.385Z and it was saying that the Fuz was open
at the time. If it's been a while since last notification (lastSeen), we
can conclude the Fuz is now closed.
</p> </p>
</main> </main>
<footer> <footer>Made with <a href="https://glitch.com">Glitch</a>!</footer>
Made with <a href="https://glitch.com">Glitch</a>!
</footer>
<!-- include the Glitch button to show what the webpage is about and <!-- include the Glitch button to show what the webpage is about and
to make it easier for folks to view source and remix --> to make it easier for folks to view source and remix -->
<div class="glitchButton" style="position:fixed;top:20px;right:20px;"></div> <div class="glitchButton" style="position:fixed;top:20px;right:20px;"></div>
<script src="https://button.glitch.me/button.js"></script> <script src="https://button.glitch.me/button.js"></script>
</body> </body>
</html> </html>