laserproxy: extend deadline to 60min & random changes
Change-Id: I2601d2da8da567d8dd6beecc630de911d5d161c3
diff --git a/hswaw/laserproxy/tpl/index.html b/hswaw/laserproxy/tpl/index.html
index 2bd93e7..c9fab16 100644
--- a/hswaw/laserproxy/tpl/index.html
+++ b/hswaw/laserproxy/tpl/index.html
@@ -2,10 +2,10 @@
<html lang="en">
<head>
<meta charset="utf-8">
- <title>laserproxy</title>
+ <title>HSWAW Lasercutter</title>
</head>
<body>
- <h1>warsaw hackerspace SOKÓŁ proxy</h1>
+ <h1>Warsaw Hackerspace Sokół Lasercutter Proxy</h1>
{{ if eq .CurrentAddress "" }}
<p>
Currently <b>not</b> in use by anyone. Wanna lase something?
@@ -15,7 +15,7 @@
</form>
{{ else if .You }}
<p>
- Currently in use by <b>you</b> ({{ .CurrentNote }}, {{ .CurrentAddress }}). <b>Expires in {{ .CurrentDeadline }}.</b> This deadline will automatically extend as long as the laser is actively used.
+ Currently in use by <b>you</b> ({{ .CurrentName }}, {{ .CurrentAddress }}). <b>Expires in {{ .CurrentDeadline }}.</b> This deadline will automatically extend as long as the laser is actively used.
</p>
<p>
To cut something, use LightBurn, and point it as <b>10.8.1.2</b> (as a 'Ruida' Ethernet/LAN controller).
@@ -25,15 +25,16 @@
</form>
{{ else }}
<p>
- Currently in use by '{{ .CurrentNote }}' ({{ .CurrentAddress }}). <b>Expires in {{ .CurrentDeadline }}</b>.
+ Currently in use by '{{ .CurrentName }}' ({{ .CurrentAddress }}). <b>Expires automatically in {{ .CurrentDeadline }}</b>.
</p>
<form action="/force" method="POST">
- I need to use the laser now and I can't ask the current user ({{ .CurrentNote }}) to release the lock. <input type="submit" value="I want to forcefully release the lock" />, and am aware of the possible consequences of that.
+ I want to use the laser now, and I'm sure {{ .CurrentName }} is not using it. <input type="submit" value="I want to forcefully release the lock" />, and am aware that doing this will bring wrath onto me if someone <em>is</em> using the laser.
</form>
{{ end }}
<p>
<b>Confused by this?</b> See our <a href="https://wiki.hackerspace.pl/infra:tools:lasercutter">wiki entry about how to use the laser</a>.
</p>
+ <p><small><a href="https://cs.hackerspace.pl/hscloud/-/tree/hswaw/laserproxy">source code</a></small></p>
<script>
let element = document.querySelector("#persist");