forked from DSpace/dspace-angular
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Zanele
authored and
Zanele
committed
Sep 27, 2022
1 parent
6c41294
commit 9cf4e0f
Showing
14 changed files
with
3,289 additions
and
3,236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<div > | ||
<iframe src="assets/pdf/helpGuide.pdf" type="application/pdf" width="100%" height="100%" style="overflow: auto;"> | ||
</iframe> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
body, iframe { | ||
height:100vh; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'viewer', | ||
styleUrls: ['help-guide.component.scss'], | ||
templateUrl: './help-guide.component.html', | ||
}) | ||
export class HelpPageComponent { | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { CommonModule } from '@angular/common'; | ||
import { NgModule } from '@angular/core'; | ||
import { SharedModule } from '../shared/shared.module'; | ||
import { HelpPageComponent } from './help-guide.component'; | ||
import { HelpPageRoutingModule } from './help-guide.routing.module'; | ||
import { PdfViewerModule } from 'ng2-pdf-viewer' | ||
|
||
const DECLARATIONS = [ | ||
HelpPageComponent, | ||
]; | ||
|
||
@NgModule({ | ||
imports: [ | ||
CommonModule, | ||
SharedModule, | ||
HelpPageRoutingModule, | ||
PdfViewerModule | ||
], | ||
declarations: [ | ||
...DECLARATIONS | ||
], | ||
exports: [ | ||
...DECLARATIONS, | ||
], | ||
}) | ||
export class HelpPageModule { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { RouterModule } from '@angular/router'; | ||
import { CdkTreeModule } from '@angular/cdk/tree'; | ||
|
||
import { ThemedHelpPageComponent } from './themed-help-guide.component'; | ||
import { I18nBreadcrumbResolver } from '../core/breadcrumbs/i18n-breadcrumb.resolver'; | ||
|
||
/** | ||
* RouterModule to help navigate to the page with the community list tree | ||
*/ | ||
@NgModule({ | ||
imports: [ | ||
RouterModule.forChild([ | ||
{ | ||
path: '', | ||
component: ThemedHelpPageComponent, | ||
pathMatch: 'full', | ||
resolve: { | ||
breadcrumb: I18nBreadcrumbResolver | ||
}, | ||
data: { title: 'help.tabTitle', breadcrumbKey: 'help' } | ||
} | ||
]), | ||
CdkTreeModule, | ||
], | ||
}) | ||
export class HelpPageRoutingModule { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { Component } from '@angular/core'; | ||
import { ThemedComponent } from '../shared/theme-support/themed.component'; | ||
import { HelpPageComponent } from './help-guide.component'; | ||
|
||
@Component({ | ||
selector: 'ds-themed-help-page', | ||
styleUrls: [], | ||
templateUrl: '../shared/theme-support/themed.component.html', | ||
}) | ||
export class ThemedHelpPageComponent extends ThemedComponent<HelpPageComponent> { | ||
protected getComponentName(): string { | ||
return 'HelpPageComponent'; | ||
} | ||
|
||
protected importThemedComponent(themeName: string): Promise<any> { | ||
return import(`../../themes/${themeName}/app/help-guide/help-guide.component`); | ||
} | ||
|
||
protected importUnthemedComponent(): Promise<any> { | ||
return import(`./help-guide.component`); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.