Fix formatting mistakes
This commit is contained in:
parent
10c2a3e150
commit
fc2d2e9e9d
4 changed files with 7 additions and 7 deletions
|
@ -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>
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue