forked from TitaniumTigers4829/4829TigerScout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
128 lines (114 loc) · 4.87 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="webtools/styles.css">
<link rel="icon" href="app/assets/adaptive-icon.png"> <!-- !! UPDATE WITH ACTUAL ICON !! -->
<title>TigerScout Webtools</title>
</head>
<body>
<script type="module" src="./webtools/dist/bundle.js"></script>
<div class="columnContainer">
<h1 class="title selfCenter" style="margin-bottom: -1.4vh;">TigerScout Webtools</h1>
<!-- Error header -->
<div class="errorContainer itemsCenter" id="QRerror">
<p>Error</p>
</div>
<!-- QR Code Generator -->
<div class="columnContainer sectionBackground">
<h1 class="subtitle selfCenter">QR Code Generator</h1>
<div class="sectionContainer">
<!-- Enter settings -->
<div style="flex-grow: 1;" class="columnContainer itemsCenter">
<div class="rowContainer itemsCenter">
<p class="inputLabel">Bucket Name</p>
<input
id="QRbucketName"
class="textInput"
spellcheck="false"
maxlength="32"
>
</div>
<div class="rowContainer">
<p class="inputLabel">Cloud Config</p>
<textarea id="QRcloudConfig" class="textInput" rows="8" spellcheck="false"></textarea>
</div>
<div class="rowContainer">
<p class="inputLabel">Subpath</p>
<input
id="QRsubpath"
class="textInput"
spellcheck="false"
maxlength="32"
>
</div>
<div class="rowContainer">
<p class="inputLabel">Editor Permissions?</p>
<input
id="QReditorPermissions"
class="checkbox"
type="checkbox"
checked="true"
>
</div>
<div class="rowContainer">
<p class="inputLabel">Password</p>
<input
id="QRpassword"
class="textInput"
spellcheck="false"
maxlength="32"
>
</div>
<br><br><br>
<button onclick="window.generateQRFromData();">Create QR Code</button>
<br><br>
</div>
<div class="verticalSpacer"></div>
<!-- Show generated code -->
<div style="flex-grow: 0.7;" class="columnContainer itemsCenter">
<canvas id="QRcanvas"></canvas>
<br>
<a style="display:none" href="" download="qrconnect.png" id="QRdownload">Download</a>
<p class="miniTitle">Text Code:</p>
<p class="textCode expandHorizontal" id="QRtext" ></p>
</div>
</div>
</div>
<br><br>
<!-- Error header -->
<div class="errorContainer itemsCenter" id="XLSXerror">
<p>Error</p>
</div>
<!-- CSV data downloader -->
<div class="columnContainer sectionBackground">
<h1 class="subtitle selfCenter">Spreadsheet Downloader</h1>
<div class="sectionContainer">
<!-- Settings -->
<div style="flex-grow: 1;" class="columnContainer itemsCenter">
<div class="rowContainer">
<p class="inputLabel">Cloud Config</p>
<textarea id="XLSXcloudConfig" class="textInput" rows="8" spellcheck="false"></textarea>
</div>
<div class="rowContainer">
<p class="inputLabel">Subpath</p>
<input
id="XLSXsubpath"
class="textInput"
spellcheck="false"
maxlength="32"
>
</div>
<br><br>
<button id="XLSXdownload" onclick="downloadDataToXLSX()">Download Spreadsheet</button>
<br><br>
</div>
</div>
</div>
</div>
<br><br>
</div>
</body>
</html>