Skip to content

Commit

Permalink
only use LF line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiAF committed Jan 29, 2024
1 parent 1e6f655 commit f67c6c1
Show file tree
Hide file tree
Showing 10 changed files with 896 additions and 893 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"files.eol": "\n"
}
4 changes: 2 additions & 2 deletions COPYING
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ notice like this when it starts in an interactive mode:
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate
The hypothetical commands `show w' and`show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".

Expand All @@ -671,4 +671,4 @@ into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
<https://www.gnu.org/licenses/why-not-lgpl.html>.
140 changes: 70 additions & 70 deletions src/front-end/account/login.ejs
Original file line number Diff line number Diff line change
@@ -1,71 +1,71 @@
<!DOCTYPE html>
<html class="<%= theme %>" lang="en">
<head>
<%-
await include('../partials/meta', {
title: "Login",
});
%>
<style>
.other {
display: grid;
gap: 0.25rem;
grid-template-columns: repeat(2, 1fr);
width: 100%;
}
</style>
</head>
<body class="dark:bg-gray-800 dark:text-gray-300">
<%-
await include('../partials/header', {
});
%>
<div class="container px-4 mx-auto">
<div class="relative py-3 sm:max-w-xl mx-auto text-center">
<% if (error) { %>
<div id="error" class="text-center">
<p class="text-lg font-semibold text-red-500"><%= error %></p>
</div>
<% } %>
<div class="relative mt-4 bg-white shadow-md sm:rounded-lg text-left dark:bg-gray-700">
<div class="h-2 rounded-t-md bg-[#7B68AA]"></div>
<div class="py-6 px-8">
<div>
<h1 class="text-2xl font-semibold">Sign in with</h1>
<div class="mt-[5px]"></div>
<hr>
<div class="mt-[5px]"></div>
<div class="other">
<% for (let i = 0; i < 1; i++) { %>
<section class="rounded-lg bg-gray-800 p-2">
<a class="flex hover:underline justify-center items-center text-center" href="/account/login/discord">
<img class="align-middle" src="https://textures.livzmc.net/socials/discord.svg" alt="Discord">
<span class="mt-[2px] ml-[10px]">Discord</span>
</a>
</section>
<% } %>
</div>
</div>
<div class="mt-[5px]"></div>
<form action="/account/login" method="post">
<label for="email" class="block font-semibold">Email<label>
<input id="email" name="user" type="text" placeholder="Email" class="border dark:border-gray-600 w-full h-5 px-3 py-5 mt-2 dark:bg-gray-800 hover:outline-none focus:outline-none focus:ring-1 focus:ring-purple-300 rounded-md">
<label for="password" class="block mt-3 font-semibold">Password<label>
<input id="password" name="password" type="password" placeholder="Password" class="border dark:border-gray-600 w-full h-5 px-3 py-5 mt-2 dark:bg-gray-800 hover:outline-none focus:outline-none focus:ring-1 focus:ring-purple-300 rounded-md">
<div class="flex justify-between mt-2">
<div>
<label for="rememberMe" class="hover:cursor-pointer">Remember Me</label>
<input id="rememberMe" name="rememberMe" type="checkbox" />
</div>
<a href="/account/forgot-password" class="text-sm hover:underline">Forgot password?</a>
</div>
<div class="flex justify-center items-center mt-2">
<button class="mt-2 text-white py-2 px-6 rounded-lg bg-[#7B68AA] hover:underline">Login</button>
</div>
</form>
</div>
</div>
</div>
</div>
</body>
<!DOCTYPE html>
<html class="<%= theme %>" lang="en">
<head>
<%-
await include('../partials/meta', {
title: "Login",
});
%>
<style>
.other {
display: grid;
gap: 0.25rem;
grid-template-columns: repeat(2, 1fr);
width: 100%;
}
</style>
</head>
<body class="dark:bg-gray-800 dark:text-gray-300">
<%-
await include('../partials/header', {
});
%>
<div class="container px-4 mx-auto">
<div class="relative py-3 sm:max-w-xl mx-auto text-center">
<% if (error) { %>
<div id="error" class="text-center">
<p class="text-lg font-semibold text-red-500"><%= error %></p>
</div>
<% } %>
<div class="relative mt-4 bg-white shadow-md sm:rounded-lg text-left dark:bg-gray-700">
<div class="h-2 rounded-t-md bg-[#7B68AA]"></div>
<div class="py-6 px-8">
<div>
<h1 class="text-2xl font-semibold">Sign in with</h1>
<div class="mt-[5px]"></div>
<hr>
<div class="mt-[5px]"></div>
<div class="other">
<% for (let i = 0; i < 1; i++) { %>
<section class="rounded-lg bg-gray-800 p-2">
<a class="flex hover:underline justify-center items-center text-center" href="/account/login/discord">
<img class="align-middle" src="https://textures.livzmc.net/socials/discord.svg" alt="Discord">
<span class="mt-[2px] ml-[10px]">Discord</span>
</a>
</section>
<% } %>
</div>
</div>
<div class="mt-[5px]"></div>
<form action="/account/login" method="post">
<label for="email" class="block font-semibold">Email<label>
<input id="email" name="user" type="text" placeholder="Email" class="border dark:border-gray-600 w-full h-5 px-3 py-5 mt-2 dark:bg-gray-800 hover:outline-none focus:outline-none focus:ring-1 focus:ring-purple-300 rounded-md">
<label for="password" class="block mt-3 font-semibold">Password<label>
<input id="password" name="password" type="password" placeholder="Password" class="border dark:border-gray-600 w-full h-5 px-3 py-5 mt-2 dark:bg-gray-800 hover:outline-none focus:outline-none focus:ring-1 focus:ring-purple-300 rounded-md">
<div class="flex justify-between mt-2">
<div>
<label for="rememberMe" class="hover:cursor-pointer">Remember Me</label>
<input id="rememberMe" name="rememberMe" type="checkbox" />
</div>
<a href="/account/forgot-password" class="text-sm hover:underline">Forgot password?</a>
</div>
<div class="flex justify-center items-center mt-2">
<button class="mt-2 text-white py-2 px-6 rounded-lg bg-[#7B68AA] hover:underline">Login</button>
</div>
</form>
</div>
</div>
</div>
</div>
</body>
</html>
Loading

0 comments on commit f67c6c1

Please sign in to comment.