aboutsummaryrefslogtreecommitdiff
path: root/utils/rot13/index.template.html
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-11-24 12:10:40 +0100
committerCharles Cabergs <me@cacharle.xyz>2020-11-24 12:10:40 +0100
commit3ebcd66cd17741ec7dc7793f9f0121e2ee025fdf (patch)
treef85c1cecd09cb360cd5625765703dafb7e04555c /utils/rot13/index.template.html
parent9d2c650d7cadf57ecef3d5a1d39f5f98e298ec64 (diff)
downloadcacharle.xyz-3ebcd66cd17741ec7dc7793f9f0121e2ee025fdf.tar.gz
cacharle.xyz-3ebcd66cd17741ec7dc7793f9f0121e2ee025fdf.tar.bz2
cacharle.xyz-3ebcd66cd17741ec7dc7793f9f0121e2ee025fdf.zip
Fixing templating (without ejs)
Diffstat (limited to 'utils/rot13/index.template.html')
-rw-r--r--utils/rot13/index.template.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/utils/rot13/index.template.html b/utils/rot13/index.template.html
new file mode 100644
index 0000000..64fffdf
--- /dev/null
+++ b/utils/rot13/index.template.html
@@ -0,0 +1,12 @@
+<h1>rot13</h1>
+
+<p>Implementation of the <a href="https://en.wikipedia.org/wiki/ROT13">rot13</a> encryption</p>
+
+<div>Shift size: <span id="rot13-shift-output"></span></div>
+<input type="range" min=0 max=26 value=13 id="rot13-shift"/>
+
+<h3>Input</h3>
+<textarea cols=120 rows=10 id="rot13-input">rotate me!</textarea>
+
+<h3>Output</h3>
+<textarea cols=120 rows=10 id="rot13-output"></textarea>