Fix formatting mistakes

This commit is contained in:
Preston Doman 2019-02-06 15:44:15 -08:00
parent 10c2a3e150
commit fc2d2e9e9d
4 changed files with 7 additions and 7 deletions

View file

@ -35,7 +35,7 @@
</ul> </ul>
</div> </div>
</nav> </nav>
<div class="container pt-5"> <div class="container pt-3">
<p>Welcome to Reimbursinator</p> <p>Welcome to Reimbursinator</p>
</div> </div>
<script src="js/logout.js"></script> <script src="js/logout.js"></script>

View file

@ -46,7 +46,7 @@ function postToRegistrationEndpoint(event) {
localStorage.setItem("token", token); localStorage.setItem("token", token);
window.location.replace("home.html"); window.location.replace("home.html");
} else { } else {
console.error("LOGIN FAILURE!"); console.error("REGISTRATION FAILURE!");
console.error("Server status: " + this.status); console.error("Server status: " + this.status);
console.error("Server response:\n" + this.response); console.error("Server response:\n" + this.response);
} }

View file

@ -24,12 +24,12 @@
<div class="card-body"> <div class="card-body">
<form class="form" autocomplete="off"> <form class="form" autocomplete="off">
<div class="form-group"> <div class="form-group">
<label for="formGroupPassword">Email:</label> <label for="email">Email:</label>
<input class="form-control" id="formGroupPassword" type="email" name="email"> <input class="form-control" id="email" type="email" name="email" required>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="formGroupPassword">Password:</label> <label for="password">Password:</label>
<input class="form-control" id="formGroupPassword" type="password" name="password" required> <input class="form-control" id="password" type="password" name="password" required>
</div> </div>
<p id="errorLogin" style="color:red"></p> <p id="errorLogin" style="color:red"></p>
<button type="submit" class="btn btn-primary pull-right">Submit</button> <button type="submit" class="btn btn-primary pull-right">Submit</button>

View file

@ -35,7 +35,7 @@
</ul> </ul>
</div> </div>
</nav> </nav>
<div class="container pt-5"> <div class="container pt-3">
<p>Create a new report</p> <p>Create a new report</p>
</div> </div>
<script src="js/logout.js"></script> <script src="js/logout.js"></script>