From 9d2c650d7cadf57ecef3d5a1d39f5f98e298ec64 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 9 Nov 2020 17:39:05 +0100 Subject: Trying to DRY the html with templates --- utils/rot13/index.ejs | 14 ++++++++++++++ utils/rot13/index.html | 35 ----------------------------------- utils/rot13/style.css | 7 +++++++ 3 files changed, 21 insertions(+), 35 deletions(-) create mode 100644 utils/rot13/index.ejs delete mode 100644 utils/rot13/index.html create mode 100644 utils/rot13/style.css (limited to 'utils/rot13') 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 @@ +

rot13

+ +

Implementation of the rot13 encryption

+ +
Shift size:
+ + +

Input

+ + +

Output

+ + + 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 @@ - - - - - cacharle - rot13 - - - - - - -
-

rot13

- -

Implementation of the rot13 encryption

- -
Shift size:
- - -

Input

- - -

Output

- - -
- - 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%; +} -- cgit