feat: moved front inside the wepapp folder

This commit is contained in:
Laureηt 2022-05-20 15:01:43 +02:00
parent 4df062ce43
commit beb0b05bb6
No known key found for this signature in database
GPG key ID: D88C6B294FD40994
12 changed files with 100 additions and 113 deletions

View file

@ -1,101 +0,0 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Popup Login Form Design | CodingNepal</title>
<link rel="stylesheet" href="utils.css">
<link rel="stylesheet" href="title-bar.css">
<link rel="stylesheet" href="login-signup.css">
<link rel="stylesheet" href="pixels.css">
<script>
function toggleLoginSignup(l, s) {
document.getElementById("show-login").checked = l;
document.getElementById("show-signup").checked = s;
}
</script>
<script type="text/javascript" src="pixels.js"></script>
</head>
<body>
<div class="title-bar">
<div class="title">
<img src="logo.png" /> Pixels
</div>
<div class="profil">
<input type="checkbox" id="show-login" class="show">
<div onclick="toggleLoginSignup(true, false)" class="login-btn">Login</div>
<input type="checkbox" id="show-signup" class="show">
<div onclick="toggleLoginSignup(false, true)" class="signup-btn">Signup</div>
<div class="login-container">
<div onclick="toggleLoginSignup(false, false)" class="close-btn" title="close">X</div>
<div class="text">
Login
</div>
<form action="#">
<div class="data">
<label>Nickname</label>
<input type="text" required>
</div>
<div class="data">
<label>Password</label>
<input type="password" required>
</div>
<div class="forgot-pass">
<a href="#">Forgot Password?</a>
</div>
<div class="btn">
<button type="submit">login</button>
</div>
<div class="signup-login-link">
Not a member?
<div class="href" onclick="toggleLoginSignup(false, true)">Signup now</div>
</div>
</form>
</div>
<div class="signup-container">
<div onclick="toggleLoginSignup(false, false)" class="close-btn" title="close">X</div>
<div class="text">
Signup
</div>
<form action="#">
<div class="data">
<label>Nickname</label>
<input type="text" required>
</div>
<div class="data">
<label>Password</label>
<input type="password" required>
</div>
<div class="btn">
<button type="submit">signup</button>
</div>
<div class="signup-login-link">
Already a member?
<div class="href" onclick="toggleLoginSignup(true, false)">Login now</div>
</div>
</form>
</div>
</div>
</div>
<div class="pixel-container">
<table id="pixelTable">
<tr></tr>
<tr></tr>
<tr></tr>
<tr></tr>
<tr></tr>
<tr></tr>
<tr></tr>
<tr></tr>
<tr></tr>
<tr></tr>
</table>
</div>
</body>
</html>

View file

@ -1,13 +1,101 @@
<html>
<head>
<title>Web Demo</title>
</head>
<body>
<p>Say <a href="hello">Hello</a></p>
<form method="post" action="hello">
<h2>Name:</h2>
<input type="text" id="say-hello-text-input" name="name" />
<input type="submit" id="say-hello-button" value="Say Hello" />
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Popup Login Form Design | CodingNepal</title>
<link rel="stylesheet" href="utils.css">
<link rel="stylesheet" href="title-bar.css">
<link rel="stylesheet" href="login-signup.css">
<link rel="stylesheet" href="pixels.css">
<script>
function toggleLoginSignup(l, s) {
document.getElementById("show-login").checked = l;
document.getElementById("show-signup").checked = s;
}
</script>
<script type="text/javascript" src="pixels.js"></script>
</head>
<body>
<div class="title-bar">
<div class="title">
<img src="logo.png" /> Pixels
</div>
<div class="profil">
<input type="checkbox" id="show-login" class="show">
<div onclick="toggleLoginSignup(true, false)" class="login-btn">Login</div>
<input type="checkbox" id="show-signup" class="show">
<div onclick="toggleLoginSignup(false, true)" class="signup-btn">Signup</div>
<div class="login-container">
<div onclick="toggleLoginSignup(false, false)" class="close-btn" title="close">X</div>
<div class="text">
Login
</div>
<form action="#">
<div class="data">
<label>Nickname</label>
<input type="text" required>
</div>
<div class="data">
<label>Password</label>
<input type="password" required>
</div>
<div class="forgot-pass">
<a href="#">Forgot Password?</a>
</div>
<div class="btn">
<button type="submit">login</button>
</div>
<div class="signup-login-link">
Not a member?
<div class="href" onclick="toggleLoginSignup(false, true)">Signup now</div>
</div>
</form>
</body>
</div>
<div class="signup-container">
<div onclick="toggleLoginSignup(false, false)" class="close-btn" title="close">X</div>
<div class="text">
Signup
</div>
<form action="#">
<div class="data">
<label>Nickname</label>
<input type="text" required>
</div>
<div class="data">
<label>Password</label>
<input type="password" required>
</div>
<div class="btn">
<button type="submit">signup</button>
</div>
<div class="signup-login-link">
Already a member?
<div class="href" onclick="toggleLoginSignup(true, false)">Login now</div>
</div>
</form>
</div>
</div>
</div>
<div class="pixel-container">
<table id="pixelTable">
<tr></tr>
<tr></tr>
<tr></tr>
<tr></tr>
<tr></tr>
<tr></tr>
<tr></tr>
<tr></tr>
<tr></tr>
<tr></tr>
</table>
</div>
</body>
</html>

View file

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB