diff options
| author | tanaka takashi <isazaka@gmail.com> | 2026-06-24 22:47:13 +0900 |
|---|---|---|
| committer | tanaka takashi <isazaka@gmail.com> | 2026-06-24 22:47:13 +0900 |
| commit | e4d421c782a181f421e2987f75b4610845e3ef55 (patch) | |
| tree | e61b848b32dc046977751346d4346c4debc7c4f8 /src/ollama_web/templates/login.html | |
| parent | a1d744387659f7fe29559017ae03dc76e8532bb1 (diff) | |
Harden web UI security
Diffstat (limited to 'src/ollama_web/templates/login.html')
| -rw-r--r-- | src/ollama_web/templates/login.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/ollama_web/templates/login.html b/src/ollama_web/templates/login.html new file mode 100644 index 0000000..af88b52 --- /dev/null +++ b/src/ollama_web/templates/login.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<html lang="ja"> +<head> + <meta charset="UTF-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>ollama-web login</title> + <link rel="stylesheet" href="{{ url_for('static', path='style.css') }}" /> +</head> +<body class="login-page"> + <main class="login-shell"> + <form id="login-form" class="login-form"> + <h1>ollama-web</h1> + <label for="pin-input">PIN</label> + <input id="pin-input" name="pin" type="password" autocomplete="current-password" autofocus /> + <button type="submit">ログイン</button> + <p id="login-error" role="alert"></p> + </form> + </main> + <script src="{{ url_for('static', path='login.js') }}"></script> +</body> +</html> |
