From 4ddaf450ae2be7d0dd9d75d1985c6e532ab6f49a Mon Sep 17 00:00:00 2001 From: Lotte Hofstede <lotte_hofstede@hotmail.com> Date: Thu, 12 Jan 2017 15:26:03 +0100 Subject: [PATCH] Added missing pagenotfound files --- .../pagenotfound/pagenotfound.component.html | 10 +++++++++ .../pagenotfound/pagenotfound.component.scss | 1 + .../pagenotfound/pagenotfound.component.ts | 21 +++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 src/app/pagenotfound/pagenotfound.component.html create mode 100644 src/app/pagenotfound/pagenotfound.component.scss create mode 100644 src/app/pagenotfound/pagenotfound.component.ts diff --git a/src/app/pagenotfound/pagenotfound.component.html b/src/app/pagenotfound/pagenotfound.component.html new file mode 100644 index 0000000000..cf6047e6df --- /dev/null +++ b/src/app/pagenotfound/pagenotfound.component.html @@ -0,0 +1,10 @@ +<div class="page-not-found"> + <h1>404</h1> + <h2><small>{{"404.page-not-found" | translate}}</small></h2> + <br> + <p>{{"404.help" | translate}}</p> + <br> + <p class="text-center"> + <a routerLink="/home" class="btn btn-primary">{{"404.link.home-page" | translate}}</a> + </p> +</div> \ No newline at end of file diff --git a/src/app/pagenotfound/pagenotfound.component.scss b/src/app/pagenotfound/pagenotfound.component.scss new file mode 100644 index 0000000000..da97dd7a62 --- /dev/null +++ b/src/app/pagenotfound/pagenotfound.component.scss @@ -0,0 +1 @@ +@import '../../styles/variables.scss'; diff --git a/src/app/pagenotfound/pagenotfound.component.ts b/src/app/pagenotfound/pagenotfound.component.ts new file mode 100644 index 0000000000..f0e78be45b --- /dev/null +++ b/src/app/pagenotfound/pagenotfound.component.ts @@ -0,0 +1,21 @@ +import { Component } from '@angular/core'; + + +@Component({ + selector: 'ds-pagenotfound', + styleUrls: ['./pagenotfound.component.css'], + templateUrl: './pagenotfound.component.html' +}) +export class PageNotFoundComponent { + + data: any = {}; + + constructor() { + this.universalInit(); + } + + universalInit() { + + } + +} -- GitLab