-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
71 lines (64 loc) · 3.31 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap-dark.min.css"
integrity="sha512sum-b69c162bfba1290c98a2cd222f6eff9df69cfc3dba1651381f4068b30da813e1687387a794e50b51058c2fda17b217153ba9599e1e19dc567389b7083093c1fd"
crossorigin="anonymous">
<title>Factorio - Text to constant combinator</title>
<script src="script.js"></script>
<script src="https://factorio.tmin10.ru/pako.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<!-- Thiis is only to measure how often this tool is used. It will motivate me to improve it -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-D02VD2V2GM"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-D02VD2V2GM');
</script>
</head>
<body>
<main role="main" class="container overflow-hidden">
<div class="page-header">
<div class="row">
<div class="col-lg-12">
<h1>Text to constant combinator</h1>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6">
<div class="form-group">
<label for="inputText" class="form-label mt-4">Input Text</label>
<textarea class="form-control" id="inputText" rows="3" spellcheck="true"
placeholder="Did you ever hear the tragedy of Darth Plagueis The Wise?..."
style="margin-top: 0px; margin-bottom: 0px; height: 10em;"></textarea>
<label for="wrapLength" class="form-label mt-4">Wrap Length</label>
<div class="row">
<div class="col-sm-10">
<input type="range" class="form-range" min="0" max ="160" step="1" value="80" id="wrapLengthRange" oninput="syncLengthBox()">
</div>
<div class="col-sm-2">
<input class="form-control form-control-sm" min="0" step="1" type="number" value="80" id="wrapLengthBox" oninput="syncLengthRange()">
</div>
</div>
<button type="button" class="btn btn-primary btn-lg" value="Convert Text"
onclick="convertText()">Convert Text</button>
</div>
</div>
<div class="col-lg-6">
<div class="form-group">
<label for="blueprintOutput" class="form-label mt-4">Blueprint Output</label>
<textarea class="form-control" id="blueprintOutput" rows="3" spellcheck="false"
placeholder="Blueprint String output..." readonly=""
style="margin-top: 0px; margin-bottom: 0px; height: 10em;"></textarea>
<button type="button" class="btn btn-primary btn-lg btn-clipboard" value="Copy Blueprint"
onclick="copyBlueprint()">Copy Blueprint</button>
</div>
</div>
</div>
</main>
</body>
</html>