aboutsummaryrefslogtreecommitdiff
path: root/utils/rot13/index.ejs
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-11-09 17:39:05 +0100
committerCharles Cabergs <me@cacharle.xyz>2020-11-09 17:39:05 +0100
commit9d2c650d7cadf57ecef3d5a1d39f5f98e298ec64 (patch)
treeed33badc6aa8305a5e6ea688a6a08e532c92d268 /utils/rot13/index.ejs
parentf47491b3a89ba769760bb555ea72f1416cb0cb08 (diff)
downloadcacharle.xyz-templates.tar.gz
cacharle.xyz-templates.tar.bz2
cacharle.xyz-templates.zip
Trying to DRY the html with templatestemplates
Diffstat (limited to 'utils/rot13/index.ejs')
-rw-r--r--utils/rot13/index.ejs14
1 files changed, 14 insertions, 0 deletions
diff --git a/utils/rot13/index.ejs b/utils/rot13/index.ejs
new file mode 100644
index 0000000..27b3a20
--- /dev/null
+++ b/utils/rot13/index.ejs
@@ -0,0 +1,14 @@
+<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>
+
+<script src="script.js" type="text/javascript"></script>