diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-11-24 12:14:42 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-11-24 12:14:42 +0100 |
| commit | 74d23da9c88e4ec904320d017f81704a78c72e81 (patch) | |
| tree | 801b5075e72f1a362676d592fabc17a62ec4e34e /utils/rot13 | |
| parent | 992441c88e0b4a75fe4aed0878b5a2c9f4a5180f (diff) | |
| parent | 3ebcd66cd17741ec7dc7793f9f0121e2ee025fdf (diff) | |
| download | cacharle.xyz-74d23da9c88e4ec904320d017f81704a78c72e81.tar.gz cacharle.xyz-74d23da9c88e4ec904320d017f81704a78c72e81.tar.bz2 cacharle.xyz-74d23da9c88e4ec904320d017f81704a78c72e81.zip | |
Merge branch 'templates'
Diffstat (limited to 'utils/rot13')
| -rw-r--r-- | utils/rot13/index.html | 35 | ||||
| -rw-r--r-- | utils/rot13/index.template.html | 12 | ||||
| -rw-r--r-- | utils/rot13/style.css | 7 |
3 files changed, 19 insertions, 35 deletions
diff --git a/utils/rot13/index.html b/utils/rot13/index.html deleted file mode 100644 index 525e14f..0000000 --- a/utils/rot13/index.html +++ /dev/null @@ -1,35 +0,0 @@ -<!DOCTYPE html> - -<html> - <head> - <title>cacharle - rot13</title> - <link rel="stylesheet" type="text/css" href="../../style.css"/> - <meta charset="utf-8"/> - <link rel="icon" type="image/png" href="../../favicon.png" /> - <style> - textarea { - resize: none; - } - input { - width: 50%; - } - </style> - </head> - - <body><div id="page-wrapper"> - <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> - - </div></body> - <script src="script.js" type="text/javascript"></script> -</html> 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> diff --git a/utils/rot13/style.css b/utils/rot13/style.css new file mode 100644 index 0000000..c8046b9 --- /dev/null +++ b/utils/rot13/style.css @@ -0,0 +1,7 @@ +textarea { + resize: none; +} + +input { + width: 50%; +} |
