Skip to content

Commit

Permalink
Register
Browse files Browse the repository at this point in the history
  • Loading branch information
AjdiNNN committed Jun 3, 2023
1 parent e69c4d1 commit b5c9a2d
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 1 deletion.
48 changes: 47 additions & 1 deletion login.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,56 @@ <h1 class="h3 mb-3 fw-normal">Please sign in</h1>
</form>
<div>
<button class="btn forgot" data-bs-toggle="modal" data-bs-target="#forgot">Forgot password?</button>
<button class="btn account" data-bs-toggle="modal" data-bs-target="#register">No account?</button>
<button class="btn account" data-bs-toggle="modal" onclick="myFunction()" data-bs-target="#register">No account?</button>
</div>
&copy; 2023
</div>
<div class="register-container">
<h1 class="h3 mb-3 fw-normal">Please register</h1>
<form id = "signinForm">

<div class="form-floating">
<input type="text" class="form-control" id="floatingInput" placeholder="johndoe" name="username">
<label for="floatingInput">Username</label>
</div>
<div class="form-floating">
<input type="password" class="form-control" id="floatingLoginPassword" placeholder="Password" name="password">
<label for="floatingPassword">Password</label>
</div>
<div class="form-floating">
<input type="password" class="form-control" id="floatingLoginPassword" placeholder="Password" name="password">
<label for="floatingPassword">Password</label>
</div>
<div class="form-floating">
<input type="password" class="form-control" id="floatingLoginPassword" placeholder="Password" name="password">
<label for="floatingPassword">Password</label>
</div>
<div class="form-floating">
<input type="password" class="form-control" id="floatingLoginPassword" placeholder="Password" name="password">
<label for="floatingPassword">Password</label>
</div>
<button class="button-icon-rounded" id="submit" type="submit" name="submiter">Sign in</button>

</form>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
function myFunction()
{
if($(".register-container").is(":visible"))
{
$(".register-container").hide();
$(".login-container").show();

}
else
{
$(".register-container").show();
$(".register-container").css('display', 'flex');
$(".login-container").hide();
}
}
</script>
<script src="js/bootstrap.bundle.min.js"></script>
</body>
</html>
13 changes: 13 additions & 0 deletions styles/auth.css
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,17 @@ h1 {
flex: none;
order: 3;
flex-grow: 0;
}
.register-container {
display: none ;
flex-direction: column;
align-items: center;
padding: 20px 0px;
width: 400px;
height: auto;

/* Accent */

background: var(--accent-color);
border-radius: 20px;
}

2 comments on commit b5c9a2d

@vercel
Copy link

@vercel vercel bot commented on b5c9a2d Jun 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

auctions-ba – ./

auctions-ba.vercel.app
auctions-ba-git-main-ajdinnn.vercel.app
auctions-ba-ajdinnn.vercel.app

@vercel
Copy link

@vercel vercel bot commented on b5c9a2d Jun 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

auctions-ba-rest – ./rest

auctions-ba-rest-ajdinnn.vercel.app
auctions-ba-rest.vercel.app
auctions-ba-rest-git-main-ajdinnn.vercel.app

Please sign in to comment.