-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
92 lines (87 loc) · 3.27 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="src/reset.css" />
<link rel="stylesheet" href="src/style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&display=swap"
rel="stylesheet"
/>
<title>Facsimile - AUTOMATON</title>
</head>
<body>
<div class="header">
<h1>Facsimile</h1>
<p class="subheading">an AUTOMATON tool</p>
<a
href="https://github.com/noah-art3mis/facsimile"
target="_blank"
rel="noopener noreferrer"
>source & README</a
>
<br />
</div>
<div class="dashboard">
<div class="dashboard-item">
<div class="inline-input">
<label for="fileInput">Select File:</label>
<input type="file" id="fileInput" accept=".json" required />
</div>
<!--
<div class="dashboard-item">
<label for="current-text">Select book?</label>
<input
type="text"
id="current-text"
placeholder="Select book"
/>
</div> -->
<div class="inline-input">
<label for="color-text">Text Color</label>
<input
type="text"
id="color-text"
placeholder="#C4B9B3"
pattern="#[0-9a-f]{6}"
maxlength="7"
minlength="7"
required
title="please input one hex color (e.g. #C4B9B3)"
size="7"
/>
</div>
<div class="inline-input">
<label for="color-bg">Background Colors</label>
<input
type="text"
id="color-bg"
placeholder="#434343,#657189,#C4B9B3"
pattern="#[0-9a-f]{6}(,#[0-9a-f]{6})*"
required
title="invalid input"
/>
</div>
</div>
<div class="dashboard-item container">
<button type="button" id="btn-compile">Compile</button>
<button type="button" id="btn-download" disabled>
Download
</button>
</div>
<div class="dashboard-item">
<div id="page-counter">
<p>
<span id="pages-current">?</span> /
<span id="pages-total">?</span>
</p>
</div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>