summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorIrma Lahtinen <ilahtine@local>2023-12-12 01:19:38 +0200
committerIrma Lahtinen <ilahtine@local>2023-12-12 01:19:38 +0200
commit3b8173e94b9228b0761e45174190b237b41d1db8 (patch)
treef94bc6edf214ae3557b1a5d3c22132e64098778e /templates
parent11ee6577a359862875936fd24b41d141b30ad0cf (diff)
Adding "link to clipboard" functionality and forcing questions to consist printable characters.
Diffstat (limited to 'templates')
-rw-r--r--templates/analyse.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/analyse.html b/templates/analyse.html
index 6dcc1be..bdb8fb1 100644
--- a/templates/analyse.html
+++ b/templates/analyse.html
@@ -103,10 +103,10 @@ Vaihda kyselyn koodia:
</form>
{% if code %}
-Linkki tähän kyselyyn:
-<a href="http://anal.fi:5000/kys/{{ code }}">
- http://127.0.0.1:5000/kys/{{ code }}
-</a>
+Kopioi linkki tähän kyselyyn:
+<button id="kysLink">http://127.0.0.1:5000/kys/{{ code }}</button>
+<script src="kys-link-info.js"></script>
+
{% endif %}
{% endif %}