mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-09-25 12:26:05 +08:00
c4d06d877e
Prior to this PR the HTML head was being included twice on the password auth page. One from root.html and another from the error page, so we decoupled those.
37 lines
1.2 KiB
Elixir
37 lines
1.2 KiB
Elixir
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
<title><%= @status %> - Livebook</title>
|
|
<link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/>
|
|
</head>
|
|
<body>
|
|
<div class="h-screen flex items-center justify-center bg-gray-900">
|
|
<div class="flex flex-col space-y-4 items-center">
|
|
<a href="/">
|
|
<img src="/logo.png" height="128" width="128" alt="livebook" />
|
|
</a>
|
|
<div class="text-2xl text-gray-50">
|
|
Authentication required
|
|
</div>
|
|
|
|
<div class="max-w-2xl text-center text-gray-300">
|
|
Please check out the console for authentication URL
|
|
or type the token directly here.
|
|
</div>
|
|
|
|
<div class="text-2xl text-gray-50 w-full pt-2">
|
|
<form method="get" class="flex flex-col space-y-4 items-center">
|
|
<input type="text" name="token" class="input" placeholder="Token" />
|
|
<button type="submit" class="button button-blue">
|
|
Authenticate
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|