-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
138 lines (138 loc) · 4.12 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
129
130
131
132
133
134
135
136
137
138
<!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="/src/style.scss" />
<title>SpeechRecognition</title>
</head>
<body>
<section id="control">
<h1 id="status">SpeechRecognition</h1>
<button type="button" id="start">Start</button>
<div id="control__settings">
<div>
<label
>Font size(<span id="control__settings--font-size"></span
>rem):</label
>
<button
type="button"
class="control__settings--font-size-button"
data-size="-1"
>
-1
</button>
<button
type="button"
class="control__settings--font-size-button"
data-size="-0.5"
>
-0.5
</button>
<button
type="button"
class="control__settings--font-size-button"
data-size="0"
>
Base
</button>
<button
type="button"
class="control__settings--font-size-button"
data-size="0.5"
>
+0.5
</button>
<button
type="button"
class="control__settings--font-size-button"
data-size="1"
>
+1
</button>
</div>
<div>
<label>Font weight:</label>
<select id="control__settings--font-weight">
<option value="normal">Default</option>
<option value="bold">Bold</option>
</select>
</div>
<div>
<label>Font style:</label>
<select id="control__settings--font-style">
<option value="normal">Default</option>
<option value="italic">Italic</option>
</select>
</div>
<div>
<label>Text style:</label>
<select id="control__settings--text-style">
<option value="default">Default</option>
<option value="bubble">Bubble</option>
</select>
</div>
<div>
<label
>Text width(<span id="control__settings--text-width"></span
>px):</label
>
<input
id="control__settings--text-width-input"
type="range"
min="0"
max="1920"
value="250"
/>
</div>
<div>
<label>Text color:</label>
<input
id="control__settings--text-color"
type="color"
value="#ffffff"
/>
</div>
<div>
<label>Background color:</label>
<input
id="control__settings--background-color"
type="color"
value="#008000"
/>
</div>
<div>
<label>Language:</label>
<select id="control__settings--language">
<option value="id-ID">Bahasa Indonesia</option>
<option value="en-US">English (US)</option>
<option value="es-ES">Español</option>
<option value="de-DE">Deutsch</option>
<option value="fil-PH">Filipino</option>
<option value="fr-FR">Français</option>
<option value="it-IT">Italiano</option>
<option value="nb-NO">Norsk bokmål</option>
<option value="ru-RU">Pусский</option>
<option value="uk-UA">Українська</option>
<option value="ko-KR">한국어</option>
<option value="cmn-Hans-CN">普通话 (中国大陆)</option>
<option value="cmn-Hant-TW">中文 (台灣)</option>
<option value="ja-JP" selected>日本語</option>
</select>
</div>
</div>
</section>
<section id="view">
<div
id="result-text"
class="message__style--default"
style="width: 250px"
>
Press "Start" button to start...
</div>
</section>
<script src="/src/main.ts" type="module"></script>
</body>
</html>