mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 23:43:01 +00:00
Added missing pagenotfound files
This commit is contained in:
10
src/app/pagenotfound/pagenotfound.component.html
Normal file
10
src/app/pagenotfound/pagenotfound.component.html
Normal file
@@ -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>
|
1
src/app/pagenotfound/pagenotfound.component.scss
Normal file
1
src/app/pagenotfound/pagenotfound.component.scss
Normal file
@@ -0,0 +1 @@
|
|||||||
|
@import '../../styles/variables.scss';
|
21
src/app/pagenotfound/pagenotfound.component.ts
Normal file
21
src/app/pagenotfound/pagenotfound.component.ts
Normal file
@@ -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() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Reference in New Issue
Block a user