108 lines
3.4 KiB
HTML
108 lines
3.4 KiB
HTML
{% set random = range(1, 13)|random() %}
|
|
|
|
<!DOCTYPE html>
|
|
<html class="h-full" lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<meta name="description" content="Sign in to {{'SITE_NAME' | app_config}}">
|
|
<meta name="author" content="">
|
|
|
|
{% block title %}
|
|
<title>Login - {{'SITE_NAME' | app_config}}</title>
|
|
{% endblock %}
|
|
|
|
<link rel="stylesheet" href="/assets/css/main.css?v=136">
|
|
|
|
{% assets 'css' %}
|
|
<link rel="stylesheet" href="{{ ASSET_URL }}">
|
|
{% endassets %}
|
|
|
|
<style>:root{--primary:#{{'DEFAULT_COLOR' | app_config}}</style>
|
|
|
|
<link rel="preload" href="/assets/css/fa.css?v=52" as="style" onload="this.onload=null;this.rel='stylesheet'">
|
|
<noscript><link rel="stylesheet" href="/assets/css/fa.css?v=52"></noscript>
|
|
|
|
</head>
|
|
|
|
<body class="relative h-full bg-gradient-to-t from-gray-500 to-gray-400">
|
|
|
|
<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">
|
|
|
|
<div class="max-w-md w-full">
|
|
|
|
<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">
|
|
<a href="/">
|
|
<img class="-ml-4 block w-32 object-contain" src="/assets/images/logos/winter/logo-{{ random }}.png" alt="logo"/>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="max-w-2xl w-full space-y-6 px-6 py-5 bg-gray-200 rounded shadow">
|
|
|
|
<form action="/login" method="post" class="mt-md-3" id="login">
|
|
|
|
<input type="hidden" name="redirect" value="{{redirect}}">
|
|
|
|
<div class="space-y-4">
|
|
|
|
<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>
|
|
|
|
<div>
|
|
<label for="username" class="hidden">Username or Email Address</label>
|
|
<input class="form-input" id="username" aria-describedby="usernameHelp" type="text" name="username" required placeholder="Username or Email Address">
|
|
</div>
|
|
|
|
<div>
|
|
<label for="password" class="hidden">Password</label>
|
|
<input class="form-input" id="password" aria-describedby="passwordHelp" type="password" name="password" required placeholder="Password">
|
|
<small class="block mt-1">
|
|
<a href="/forgot" class="text-gray-400 hover:text-gray-500">Forgot password?</a>
|
|
</small>
|
|
</div>
|
|
|
|
<button class="btn btn-green w-full" id="login_button">Log in</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
<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>
|
|
|
|
</div>
|
|
|
|
{% include '/awards/Christmas/Snow.html' %}
|
|
|
|
</div>
|
|
|
|
<script defer src="/assets/js/christmas/snow.js?v=2"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|