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>
</div>
</nav>
<div class="container pt-5">
<div class="container pt-3">
<p>Welcome to Reimbursinator</p>
</div>
<script src="js/logout.js"></script>

View file

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

View file

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

View file

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