You've already forked lubo_comment_query
65 lines
4.0 KiB
PHP
65 lines
4.0 KiB
PHP
<html lang="zh">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>注册 - 录播查询</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link href="{{ mix('/css/app.css') }}" rel="stylesheet"/>
|
|
</head>
|
|
<body class="bg-gray-50 dark:bg-gray-900 min-h-screen flex flex-col text-gray-900 dark:text-gray-100">
|
|
@include("common.header")
|
|
|
|
<main class="flex-grow flex items-center justify-center px-4 sm:px-6 lg:px-8 py-12">
|
|
<div class="max-w-md w-full space-y-8 bg-white dark:bg-gray-800 p-8 rounded-xl shadow-lg border border-gray-100 dark:border-gray-700">
|
|
<div>
|
|
<h2 class="mt-2 text-center text-3xl font-extrabold text-gray-900 dark:text-white">
|
|
创建新账号
|
|
</h2>
|
|
<p class="mt-2 text-center text-sm text-gray-600 dark:text-gray-400">
|
|
已有账号?
|
|
<a href="{{ route('login') }}" class="font-medium text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-300">
|
|
直接登录
|
|
</a>
|
|
</p>
|
|
</div>
|
|
|
|
<form class="mt-8 space-y-6" action="" method="post" enctype="multipart/form-data">
|
|
@csrf
|
|
<div class="rounded-md shadow-sm -space-y-px">
|
|
<div>
|
|
<label for="name" class="sr-only">用户名</label>
|
|
<input id="name" name="name" type="text" autocomplete="username" required value="{{ old("name") }}"
|
|
class="appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-gray-600 placeholder-gray-500 text-gray-900 dark:text-white dark:bg-gray-700 rounded-t-md focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm"
|
|
placeholder="用户名">
|
|
</div>
|
|
<div>
|
|
<label for="email" class="sr-only">邮箱</label>
|
|
<input id="email" name="email" type="email" autocomplete="email" required value="{{ old("email") }}"
|
|
class="appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-gray-600 placeholder-gray-500 text-gray-900 dark:text-white dark:bg-gray-700 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm"
|
|
placeholder="邮箱">
|
|
</div>
|
|
<div>
|
|
<label for="password" class="sr-only">密码</label>
|
|
<input id="password" name="password" type="password" autocomplete="new-password" required minlength="5" value="{{ old("password") }}"
|
|
class="appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-gray-600 placeholder-gray-500 text-gray-900 dark:text-white dark:bg-gray-700 rounded-b-md focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm"
|
|
placeholder="密码 (至少5位)">
|
|
</div>
|
|
</div>
|
|
|
|
@include("common.form_error")
|
|
|
|
<div>
|
|
<button type="submit" class="group relative w-full flex justify-center py-2 px-4 border border-transparent text-sm font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
|
|
<span class="absolute left-0 inset-y-0 flex items-center pl-3">
|
|
<svg class="h-5 w-5 text-indigo-500 group-hover:text-indigo-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
|
|
<path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" />
|
|
</svg>
|
|
</span>
|
|
注册
|
|
</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</main>
|
|
@include("common.footer")
|
|
</body>
|
|
</html> |