Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

1.1 KB
Raw Blame
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Login</title>
    <script src="https://cdn.tailwindcss.com"></script>
  </head>
  <body class="bg-gray-100 flex items-center justify-center h-screen">
    <div class="bg-white p-8 rounded-lg shadow-md w-96">
      <h1 class="text-2xl font-bold mb-6 text-center">Login</h1>
      {% if error %}
      <p class="text-red-500 mb-4">{{ error }}</p>
      {% endif %}
      <form action="/login" method="post" class="space-y-4">
        <div>
          <label for="username" class="block mb-1">Username</label>
          <input type="text" id="username" name="username" required class="w-full px-3 py-2 border rounded-md" />
        </div>
        <div>
          <label for="password" class="block mb-1">Password</label>
          <input type="password" id="password" name="password" required class="w-full px-3 py-2 border rounded-md" />
        </div>
        <button type="submit" class="w-full bg-blue-500 text-white py-2 rounded-md hover:bg-blue-600">Login</button>
      </form>
    </div>
  </body>
</html>