summaryrefslogtreecommitdiff
path: root/src/ollama_web/templates
diff options
context:
space:
mode:
authortanaka takashi <isazaka@gmail.com>2026-07-09 19:52:03 +0900
committertanaka takashi <isazaka@gmail.com>2026-07-09 19:52:03 +0900
commit77eef27cad9b0e5b0551d5a8ea9485779ee7dc18 (patch)
tree31adca93be2c5bb7f8b43613df2fd438a897de25 /src/ollama_web/templates
parentb4f3c99a7d458d32517077ef77b0e5676020b9a2 (diff)
停止ボタンの不具合修正(停止ボタンを押すと送信できなくなるバグを修正)
LLMがメッセージ生成途上で画面スクロールしにくい問題を修正 チャットメッセージバルーンをコピペ対応 トークン消費量をリングゲージで可視化(表示タイミングに不具合あり)
Diffstat (limited to 'src/ollama_web/templates')
-rw-r--r--src/ollama_web/templates/index.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/ollama_web/templates/index.html b/src/ollama_web/templates/index.html
index 10d9aba..54202e3 100644
--- a/src/ollama_web/templates/index.html
+++ b/src/ollama_web/templates/index.html
@@ -34,6 +34,13 @@
<button id="menu-btn" type="button" aria-label="{{ t('chat.session_list') }}">☰</button>
<h1>ollama-web</h1>
<div class="controls">
+ <div id="token-gauge" class="token-gauge" title="{{ t('chat.token_count', 'Token count') }}" aria-hidden="true" style="display:none">
+ <svg viewBox="0 0 40 40">
+ <circle class="gauge-bg" cx="20" cy="20" r="16"></circle>
+ <circle class="gauge-fg" cx="20" cy="20" r="16"></circle>
+ </svg>
+ <span class="gauge-text"></span>
+ </div>
<label for="model-select">{{ t('chat.model_label') }}</label>
<select id="model-select">
{% if models %}
@@ -195,4 +202,4 @@
<script src="{{ url_for('static', path='settings-actions.js') }}"></script>
<script src="{{ url_for('static', path='app.js') }}"></script>
</body>
-</html>
+</html> \ No newline at end of file