whitespace changes for pages 404

This commit is contained in:
Tom Bloor 2017-09-19 11:04:59 +01:00
parent 78af694c04
commit 49be004bbc
2 changed files with 8 additions and 9 deletions

View file

@ -7,9 +7,9 @@
<h4 class="pt-3">Oops! You're lost.</h4> <h4 class="pt-3">Oops! You're lost.</h4>
<p class="text-muted">The page you are looking for was not found.</p> <p class="text-muted">The page you are looking for was not found.</p>
</div> </div>
<span class="input-group-btn"> <span class="input-group-btn">
<button class="btn btn-primary btn-lg" type="button"(click)="goBack()">Go Back</button> <button class="btn btn-primary btn-lg" type="button"(click)="goBack()">Go Back</button>
</span> </span>
</div> </div>
</div> </div>
</div> </div>

View file

@ -7,11 +7,10 @@ import { Location } from '@angular/common';
export class P404Component { export class P404Component {
constructor( constructor(
private location: Location private location: Location,
) { ) { }
}
goBack(): void { goBack(): void {
this.location.back(); this.location.back();
} }
} }