rDrama/files/templates/login.html

106 lines
3.4 KiB
HTML
Raw Normal View History

2021-12-05 16:15:02 +00:00
{% set random = range(1, 13)|random() %}
2021-10-15 14:08:27 +00:00
<!DOCTYPE html>
2021-12-05 16:18:21 +00:00
<html class="h-full" lang="en">
2021-12-05 16:17:11 +00:00
2021-10-15 14:08:27 +00:00
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
2021-12-05 16:15:39 +00:00
<meta name="description" content="Sign in to {{'SITE_NAME' | app_config}}">
2021-10-15 14:08:27 +00:00
<meta name="author" content="">
2021-12-05 16:17:11 +00:00
{% block title %}
<title>Login - {{'SITE_NAME' | app_config}}</title>
{% endblock %}
2021-12-05 16:15:02 +00:00
2021-12-13 22:16:33 +00:00
<link rel="stylesheet" href="/assets/css/main.css?v=400">
2021-12-05 16:15:02 +00:00
2021-12-13 22:16:33 +00:00
<link rel="stylesheet" href="/static/dist/main.css?v=400">
2021-12-05 16:15:02 +00:00
<style>:root{--primary:#{{'DEFAULT_COLOR' | app_config}}</style>
2021-12-12 20:14:30 +00:00
<link rel="preload" href="/assets/css/fa.css?v=200" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="/assets/css/fa.css?v=200"></noscript>
2021-12-05 16:17:11 +00:00
2021-10-15 14:08:27 +00:00
</head>
2021-12-05 16:15:02 +00:00
<body class="relative h-full bg-gradient-to-t from-gray-500 to-gray-400">
2021-10-15 14:08:27 +00:00
2021-12-05 16:15:02 +00:00
<div class="relative min-h-full flex flex-col items-center justify-center pt-28 pb-12 px-4 sm:px-6 lg:px-8">
2021-10-15 14:08:27 +00:00
2021-12-05 16:15:02 +00:00
<div class="max-w-md w-full">
2021-10-15 14:08:27 +00:00
2021-12-06 15:32:37 +00:00
<div class="max-w-3xl mx-8 p-3 flex justify-center items-center rounded-t-lg bg-gray-700 border border-gray-800 shadow-inset-t-white-10">
2021-12-06 15:35:41 +00:00
<a href="/">
<img class="-ml-4 block w-32 object-contain" src="/assets/images/logos/winter/logo-{{ random }}.png" alt="logo"/>
</a>
2021-12-05 16:15:02 +00:00
</div>
2021-10-15 14:08:27 +00:00
2021-12-06 15:33:56 +00:00
<div class="max-w-2xl w-full space-y-6 px-6 py-5 bg-gray-200 rounded shadow">
2021-10-15 14:08:27 +00:00
2021-12-05 16:15:02 +00:00
<form action="/login" method="post" class="mt-md-3" id="login">
2021-10-15 14:08:27 +00:00
2021-12-06 15:34:43 +00:00
<input type="hidden" name="redirect" value="{{redirect}}">
2021-10-15 14:08:27 +00:00
2021-12-06 15:34:43 +00:00
<div class="space-y-4">
2021-10-15 14:08:27 +00:00
2021-12-05 16:15:02 +00:00
<h2 class="text-base label text-black">
Login to rDrama
<span class="text-gray-500">or</span>
<a href="/signup{{'?redirect='+redirect if redirect else ''}}" class="text-green-600 hover:text-green-700">
Create an Account
</a>
</h2>
2021-10-15 14:08:27 +00:00
2021-12-05 16:15:02 +00:00
<div>
<label for="username" class="hidden">Username or Email Address</label>
2021-12-05 16:20:17 +00:00
<input class="form-input" id="username" aria-describedby="usernameHelp" type="text" name="username" required placeholder="Username or Email Address">
2021-12-05 16:15:02 +00:00
</div>
2021-10-15 14:08:27 +00:00
2021-12-05 16:15:02 +00:00
<div>
<label for="password" class="hidden">Password</label>
2021-12-05 16:20:17 +00:00
<input class="form-input" id="password" aria-describedby="passwordHelp" type="password" name="password" required placeholder="Password">
2021-12-05 16:20:43 +00:00
<small class="block mt-1">
<a href="/forgot" class="text-gray-400 hover:text-gray-500">Forgot password?</a>
2021-12-05 16:15:02 +00:00
</small>
</div>
2021-10-15 14:08:27 +00:00
2021-12-05 16:20:43 +00:00
<button class="btn btn-green w-full" id="login_button">Log in</button>
2021-10-15 14:08:27 +00:00
2021-12-05 16:15:02 +00:00
</div>
2021-10-15 14:08:27 +00:00
2021-12-05 16:15:02 +00:00
</form>
2021-10-15 14:08:27 +00:00
2021-12-06 15:32:37 +00:00
<ul class="pt-4 mx-auto w-full flex flex-col md:flex-row md:items-center md:justify-center md:space-x-3 md:divide-x md:divide-gray-300 text-xs leading-none border-t border-gray-300">
<li>
<a href="#" class="text-gray-400 hover:text-gray-500">
About
</a>
</li>
<li class="mt-2 md:mt-0 md:pl-3">
<a href="/rules" class="text-gray-400 hover:text-gray-500">
Community Etiquette
</a>
</li>
<li class="mt-2 md:mt-0 md:pl-3">
<span class="text-gray-400">
©2021 Copyright rdrama.net
</span>
</li>
</ul>
</div>
2021-10-15 14:08:27 +00:00
2021-12-05 16:15:02 +00:00
</div>
2021-10-15 14:08:27 +00:00
2021-12-11 17:55:27 +00:00
{% include '/awards/Christmas/Snow.html' %}
2021-10-15 14:08:27 +00:00
2021-12-05 16:15:02 +00:00
</div>
2021-10-15 14:08:27 +00:00
2021-12-12 20:14:30 +00:00
<script defer src="/assets/js/christmas/snow.js?v=200"></script>
2021-11-30 17:32:52 +00:00
2021-10-15 14:08:27 +00:00
</body>
</html>