explode-self-service/public/index.html

68 lines
4.0 KiB
HTML

<!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>Explode Self Service</title>
<!-- Tailwind CSS -->
<link
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900&display=swap"
rel="stylesheet" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/tw-elements/dist/css/tw-elements.min.css" />
<script src="https://cdn.tailwindcss.com/3.3.0"></script>
<script>
tailwind.config = {
darkMode: "class",
theme: {
fontFamily: {
sans: ["Roboto", "sans-serif"],
body: ["Roboto", "sans-serif"],
mono: ["ui-monospace", "monospace"],
},
},
corePlugins: {
preflight: false,
},
};
</script>
<!-- Tailwind CSS End -->
<link rel="stylesheet" href="style.css">
</head>
<body class="container mx-auto px-4">
<div class="">
<div class="w-full m-auto md:w-3/5">
<h1 class="mb-4 text-4xl font-extrabold leading-none tracking-tight text-gray-900 md:text-5xl lg:text-6xl dark:text-white">炸药自助服务台</h1>
<h2 class="flex items-center text-3xl font-extrabold dark:text-white">注册账号<span class="bg-blue-100 text-blue-800 text-2xl font-semibold mr-2 px-2.5 py-0.5 rounded dark:bg-blue-200 dark:text-blue-800 ml-2">v1</span></h2>
<div id="register" class="section">
<div class="bg-orange-100 border-l-4 border-orange-500 text-orange-700 p-4 my-4" role="alert">
<p class="font-bold">注意</p>
<p>您的账号和密码将以明文发送给服务器,这非常的不安全!我建议您使用新的账号和密码避免账号安全问题。</p>
</div>
<form action="register" method="POST">
<div class="grid gap-6 mb-6 md:grid-cols-2">
<div>
<label for="register-username" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">账号 / Username</label>
<input class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" type="text" name="RegisterUsername" id="register-username">
</div>
<div>
<label for="register-password" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">密码 / Password</label>
<input class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" type="password" name="RegisterPassword" id="register-password">
</div>
<div class="flex items-start mb-6">
<div class="flex items-center h-5">
<input id="register-warning" type="checkbox" value="" class="w-4 h-4 border border-gray-300 rounded bg-gray-50 focus:ring-3 focus:ring-blue-300 dark:bg-gray-700 dark:border-gray-600 dark:focus:ring-blue-600 dark:ring-offset-gray-800" required>
</div>
<label for="register-warning" class="ml-2 text-sm font-medium text-gray-900 dark:text-gray-300">我知晓<a href="#" class="text-blue-600 hover:underline dark:text-blue-500">风险</a></label>
</div>
<button type="submit" class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">注册</button>
</form>
</div>
</div>
</div>
</body>
</html>