-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (35 loc) · 1.29 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Flip Text</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<!-- Description -->
<div class="title">
<p>PUZZLESCRIPT LEVEL ROTATOR</p>
</div>
<div class="description">
<p>This tool was made for rotating/flipping levels of <a href="https://www.puzzlescript.net" target="_blank">puzzlescript</a> games. <br>
It should work on other (rectangular) texts may you find some use for it.</p>
</div>
<!-- Buttons above the input -->
<div class="buttons-top">
<button id="rotateClockwise">Rotate Clockwise</button>
<button id="rotateCounterclockwise">Rotate Counterclockwise</button>
<button id="flipH">Flip Horizontally</button>
<button id="flipV">Flip Vertically</button>
<button id="transpose">Transpose</button>
</div>
<textarea id="inputText" placeholder="Paste your level here. Non rectangular inputs might have unexpected results."></textarea>
<!-- Buttons below the output -->
<div class="buttons-bottom">
<button id="copyToClipboard">Copy to Clipboard</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>