diff src/chat.html.luan @ 52:27758f3b2d69

add hide_ruby
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 16 Aug 2025 09:56:10 +0900
parents 4581a20b8124
children bd3f16f7b8b7
line wrap: on
line diff
--- a/src/chat.html.luan	Fri Aug 15 23:24:38 2025 +0900
+++ b/src/chat.html.luan	Sat Aug 16 09:56:10 2025 +0900
@@ -91,7 +91,13 @@
 					<label clickable><input type=checkbox name=autoplay>Autoplay</label>
 				</p>
 				<p>
-					<label clickable><input type=checkbox name=show_text>Show text</label>
+					<select name=show_text>
+						<option value=show_text>Show text</option>
+<%	if chat.has_ruby then %>
+						<option value=hide_ruby>Hide pronunciation</option>
+<%	end %>
+						<option value=hide_text>Hide text</option>
+					</select>
 				</p>
 				<p>
 					<label clickable><input type=checkbox name=is_private>Private chat</label>