Merge pull request #34 from danieldupriest/BootstrapSignupForm

Bootstrap signup form
This commit is contained in:
Logan Miller 2019-01-22 18:17:02 -08:00 committed by GitHub
commit 05f612ab06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 40 additions and 32 deletions

View file

@ -21,7 +21,7 @@
<li class="nav-item">
<a class="nav-link log-out-link" href="#">
<i class="fas fa-sign-out-alt"></i>
Log out
Log Out
</a>
</li>
</ul>

View file

@ -21,13 +21,13 @@
<li class="nav-item">
<a class="nav-link" href="login.html">
<i class="fas fa-sign-in-alt"></i>
Log in
Log In
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="signup.html">
<i class="fas fa-user-plus"></i>
Sign up
Sign Up
</a>
</li>
</ul>
@ -37,14 +37,6 @@
<div class="jumbotron">
<h1>Reimbursinator</h1>
</div>
<ul class="nav nav-tabs">
<li class="nav-item">
<a class="nav-link active" href="signup.html">Sign up</a>
</li>
<li class="nav-item">
<a class="nav-link" href="login.html">Log in</a>
</li>
</ul>
</div>
</body>
</html>

View file

@ -19,7 +19,7 @@
<div class="col-sm-6 mx-auto">
<div class="card bg-light text-dark">
<div class="card-header">
<h3>Please log in</h3>
<h3>Please Log In</h3>
</div>
<div class="card-body">
<form class="form" autocomplete="off">
@ -35,7 +35,7 @@
</form>
</div>
<div class="card-footer">
Not registered? <a href="signup.html">Sign up</a>
Not registered? <a href="signup.html">Sign Up</a>
</div>
</div>
</div>

View file

@ -10,29 +10,45 @@
<link rel="shortcut icon" href="img/favicon.ico">
<title>Sign up</title>
</head>
<body style="background-color: lightgreen">
<body>
<nav class="navbar navbar-expand-sm navbar-dark bg-primary">
<a class="navbar-brand" href="index.html">Reimbursinator</a>
</nav>
<form class="signup">
<div class="form-group">
<h3>Sign up page</h3>
<div class="container pt-5">
<div class="row">
<div class="col-sm-6 mx-auto">
<div class="card bg-light text-dark">
<div class="card-header">
<h3>Please Sign Up</h3>
</div>
<div class="card-body">
<form class="form signup" autocomplete="off" action="index.html">
<div class="form-group">
<label for="userName">Username:</label>
<input class="form-control" id="userName" type="text" name="username" minlength="4" size="10" required autofocus>
</div>
<div class="form-group">
<label for="email">Email:</label>
<input class="form-control" type="email" id="email" required>
</div>
<div class="form-group">
<label for="password">Password:</label>
<input class="form-control" type="password" id="password" minlength="4" size="10" required>
</div>
<div class="form-group">
<label for="confirmPassword">Confirm Password:</label>
<input class="form-control" type="password" id="confirmPassword" required>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</div>
<div class="card-footer">
Already registered? <a href="login.html">Log In</a>
</div>
</div>
</div>
</div>
<div class="form-group">
User Name: <input type="text" id="userName" minlength="4" size="10" required="required" class="border"><br>
</div>
<div class="form-group">
Email: <input type="email" id="email" required="required" class="border"><br>
</div>
<div class="form-group">
Password: <input type="password" id="password" minlength="4" size="10" required="required" class="border"><br>
</div>
<div class="form-group">
Confirm Password: <input type="password" id="confirmPassword" class="border"><br>
</div>
<input type="submit" value="Submit" formaction="index.html" class="border">
<a class="nav-link" href="index.html">Return to main menu</a>
</form>
</div>
</body>
<script src="js/signupPage.js"></script>
<!--Still need to check if user exist and if email exist test-->