diff options
Diffstat (limited to 'src/popup/popup.html')
| -rw-r--r-- | src/popup/popup.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/popup/popup.html b/src/popup/popup.html new file mode 100644 index 0000000..92099a7 --- /dev/null +++ b/src/popup/popup.html @@ -0,0 +1,34 @@ +<!DOCTYPE html> +<html lang="ja"> +<head> + <meta charset="utf-8"> + <link rel="stylesheet" href="popup.css"> +</head> +<body> + <main> + <h1>Ollama Translations</h1> + + <section class="row"> + <label class="toggle-label" for="enabled-toggle">翻訳機能</label> + <input type="checkbox" id="enabled-toggle" role="switch"> + </section> + + <section class="row"> + <label for="model-select">モデル</label> + <div class="model-row"> + <select id="model-select"></select> + <button id="reload-models" type="button" title="モデル一覧を再取得">↻</button> + </div> + <p id="model-status" class="status" hidden></p> + </section> + + <section class="row"> + <label for="language-select">翻訳先言語</label> + <select id="language-select"></select> + </section> + + <button id="open-options" type="button">詳細設定を開く</button> + </main> + <script src="popup.js"></script> +</body> +</html>
\ No newline at end of file |
