summaryrefslogtreecommitdiff
path: root/src/ollama_web/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/ollama_web/templates/index.html')
-rw-r--r--src/ollama_web/templates/index.html23
1 files changed, 22 insertions, 1 deletions
diff --git a/src/ollama_web/templates/index.html b/src/ollama_web/templates/index.html
index 2095e74..f59066d 100644
--- a/src/ollama_web/templates/index.html
+++ b/src/ollama_web/templates/index.html
@@ -19,6 +19,9 @@
<button id="new-session-btn" type="button" title="新規セッション">+</button>
</div>
<ul id="session-list"></ul>
+ <div class="sidebar-footer">
+ <button id="mcp-settings-btn" type="button">MCP設定</button>
+ </div>
</aside>
<div id="sidebar-backdrop"></div>
@@ -61,7 +64,25 @@
</div>
</form>
</div>
+
+ <div id="mcp-modal" class="modal">
+ <div class="modal-content">
+ <div class="modal-header">
+ <h2>MCPサーバー設定</h2>
+ <button id="mcp-modal-close" type="button" class="close-btn">&times;</button>
+ </div>
+ <div class="modal-body">
+ <div id="mcp-servers"></div>
+ <button id="mcp-add-btn" type="button" class="secondary">+ サーバー追加</button>
+ </div>
+ <div class="modal-footer">
+ <button id="mcp-save-btn" type="button">保存</button>
+ </div>
+ </div>
+ </div>
+
<script src="{{ url_for('static', path='tools.js') }}"></script>
+ <script src="{{ url_for('static', path='mcp.js') }}"></script>
<script src="{{ url_for('static', path='app.js') }}"></script>
</body>
-</html>
+</html> \ No newline at end of file