Spaces:
Running
Running
Offline readiness panel and Prepare all button
Browse files- index.html +13 -1
index.html
CHANGED
|
@@ -16,6 +16,7 @@
|
|
| 16 |
<header class="top">
|
| 17 |
<h1>Reader</h1>
|
| 18 |
<div class="top-actions">
|
|
|
|
| 19 |
<button id="btn-edit" class="ghost hidden" type="button">Edit</button>
|
| 20 |
<button id="btn-settings" class="ghost" type="button" aria-label="Settings">Settings</button>
|
| 21 |
</div>
|
|
@@ -36,7 +37,15 @@
|
|
| 36 |
<button id="btn-paste" class="ghost" type="button">Paste</button>
|
| 37 |
<button id="btn-listen" class="primary" type="button">Listen</button>
|
| 38 |
</div>
|
| 39 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
</section>
|
| 41 |
|
| 42 |
<section id="view-read" class="hidden">
|
|
@@ -51,6 +60,9 @@
|
|
| 51 |
<button id="btn-play" class="round big" type="button" aria-label="Play">▶</button>
|
| 52 |
<button id="btn-next" class="round" type="button" aria-label="Next sentence">⏭</button>
|
| 53 |
</div>
|
|
|
|
|
|
|
|
|
|
| 54 |
</footer>
|
| 55 |
|
| 56 |
<dialog id="settings">
|
|
|
|
| 16 |
<header class="top">
|
| 17 |
<h1>Reader</h1>
|
| 18 |
<div class="top-actions">
|
| 19 |
+
<span id="net" class="pill" aria-live="polite"></span>
|
| 20 |
<button id="btn-edit" class="ghost hidden" type="button">Edit</button>
|
| 21 |
<button id="btn-settings" class="ghost" type="button" aria-label="Settings">Settings</button>
|
| 22 |
</div>
|
|
|
|
| 37 |
<button id="btn-paste" class="ghost" type="button">Paste</button>
|
| 38 |
<button id="btn-listen" class="primary" type="button">Listen</button>
|
| 39 |
</div>
|
| 40 |
+
<div id="ready" class="ready">
|
| 41 |
+
<div class="ready-title" id="ready-title">Checking what's saved on this device…</div>
|
| 42 |
+
<ul class="ready-list">
|
| 43 |
+
<li id="r-app">App</li>
|
| 44 |
+
<li id="r-model">Speech model</li>
|
| 45 |
+
<li id="r-voice">Voice</li>
|
| 46 |
+
</ul>
|
| 47 |
+
<p class="note" id="ready-note">Speech is generated on this device. Your text is never uploaded.</p>
|
| 48 |
+
</div>
|
| 49 |
</section>
|
| 50 |
|
| 51 |
<section id="view-read" class="hidden">
|
|
|
|
| 60 |
<button id="btn-play" class="round big" type="button" aria-label="Play">▶</button>
|
| 61 |
<button id="btn-next" class="round" type="button" aria-label="Next sentence">⏭</button>
|
| 62 |
</div>
|
| 63 |
+
<div class="player-extra">
|
| 64 |
+
<button id="btn-prepare" class="ghost small" type="button">Prepare all audio</button>
|
| 65 |
+
</div>
|
| 66 |
</footer>
|
| 67 |
|
| 68 |
<dialog id="settings">
|