summaryrefslogtreecommitdiff
path: root/src/ollama_web/templates/login.html
blob: 263afe752997bd40b607b2fa160ceabeeff97c07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html lang="{{ t('html.lang') }}">
<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') }}" />
  <meta name="ollama-web-i18n" content="{{ messages | tojson | forceescape }}" />
  <script src="{{ url_for('static', path='i18n.js') }}"></script>
</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">{{ t('login.title') }}</button>
      <p id="login-error" role="alert"></p>
    </form>
  </main>
  <script src="{{ url_for('static', path='login.js') }}"></script>
</body>
</html>