Merge pull request #23 from danieldupriest/CenterSignUpPage2

Moving files to correct folder
This commit is contained in:
hui2018 2019-01-20 12:39:31 -08:00 committed by GitHub
commit 19a6df89db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 35 additions and 10 deletions

View file

@ -0,0 +1,13 @@
.signup
{
height: 200px;
width: 400px;
position: fixed;
left: 50%;
margin-left: -150px;
width:60%;
}
.border
{
border-color:black;
}

View file

@ -53,6 +53,6 @@
</ul>
</nav>
</div>
<script src="logout.js"></script>
<script src="js/logout.js"></script>
</body>
</html>

View file

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -10,18 +10,30 @@
<link rel="shortcut icon" href="/favicon.ico">
<title>Sign up</title>
</head>
<body>
<body style="background-color: lightgreen">
<nav class="navbar navbar-expand-sm navbar-dark bg-primary">
<a class="navbar-brand" href="index.html">Reimbursinator</a>
</nav>
<h1>Sign up page</h1>
<form id="signup">
User Name: <input type="text" id="userName" minlength="4" size="10" required="required"><br>
Password: <input type="password" id="password" minlength="4" size="10" required="required"><br>
Confirm Password: <input type="password" id="confirmPassword"><br>
<input type="submit" value="Submit" formaction="index.html">
<form class="signup">
<div class="form-group">
<h3>Sign up page</h3>
</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>
</body>
<script src="signupPage.js"></script>
</html>
<script src="js/signupPage.js"></script>
<!--Still need to check if user exist and if email exist test-->
</html>