diff --git a/src/app/components/header/header-buttons/header-buttons.component.html b/src/app/components/header/header-buttons/header-buttons.component.html
index f3a95dee3..fefa6ff1c 100644
--- a/src/app/components/header/header-buttons/header-buttons.component.html
+++ b/src/app/components/header/header-buttons/header-buttons.component.html
@@ -57,10 +57,13 @@
diff --git a/src/app/components/header/header-buttons/header-buttons.component.scss b/src/app/components/header/header-buttons/header-buttons.component.scss
index af379597e..4455c0c8d 100644
--- a/src/app/components/header/header-buttons/header-buttons.component.scss
+++ b/src/app/components/header/header-buttons/header-buttons.component.scss
@@ -20,5 +20,5 @@
display: flex;
flex-direction: column;
height: 100%;
-}
+}
diff --git a/src/app/components/header/header-buttons/header-buttons.module.ts b/src/app/components/header/header-buttons/header-buttons.module.ts
index 371b3188c..e314fda7d 100644
--- a/src/app/components/header/header-buttons/header-buttons.module.ts
+++ b/src/app/components/header/header-buttons/header-buttons.module.ts
@@ -17,6 +17,7 @@ import { CustomizeEnvComponent } from './customize-env/customize-env.component';
import { OnlynumberDirective } from '@directives/onlynumber.directive';
import { SharedModule } from '@shared';
import { LanguageSelectorModule } from "@components/shared/selectors/language-selector/language-selector.module";
+import {DocsModalModule} from '@components/shared/docs-modal';
@NgModule({
declarations: [
@@ -25,20 +26,21 @@ import { LanguageSelectorModule } from "@components/shared/selectors/language-se
CustomizeEnvComponent,
OnlynumberDirective
],
- imports: [
- CommonModule,
- FormsModule,
- MatBadgeModule,
- MatMenuModule,
- MatInputModule,
- MatDialogModule,
- MatSharedModule,
- MatSelectModule,
- DatasetSelectorModule,
- MatFormFieldModule,
- SharedModule,
- LanguageSelectorModule,
- ],
+ imports: [
+ CommonModule,
+ FormsModule,
+ MatBadgeModule,
+ MatMenuModule,
+ MatInputModule,
+ MatDialogModule,
+ MatSharedModule,
+ MatSelectModule,
+ DatasetSelectorModule,
+ MatFormFieldModule,
+ SharedModule,
+ LanguageSelectorModule,
+ DocsModalModule,
+ ],
exports: [ HeaderButtonsComponent ]
})
export class HeaderButtonsModule { }
diff --git a/src/app/components/shared/docs-modal/docs-modal.component.html b/src/app/components/shared/docs-modal/docs-modal.component.html
index 24770f6ab..02c19a3d0 100644
--- a/src/app/components/shared/docs-modal/docs-modal.component.html
+++ b/src/app/components/shared/docs-modal/docs-modal.component.html
@@ -1,10 +1,17 @@
-
+
{{ text }}
-
+
+
+ description
+
+
+
{{ icon }}
-
+
+
+
diff --git a/src/app/components/shared/docs-modal/docs-modal.component.scss b/src/app/components/shared/docs-modal/docs-modal.component.scss
index 1db25789d..7b5db041a 100644
--- a/src/app/components/shared/docs-modal/docs-modal.component.scss
+++ b/src/app/components/shared/docs-modal/docs-modal.component.scss
@@ -14,4 +14,14 @@
color: themed('blue-link');
}
text-decoration: underline;
+
+}
+
+.large-icon {
+ @include md-icon-size(30px);
+ min-height: 30px;
+ margin-right: 0;
+ @include themify($themes) {
+ color: themed('dark-primary-text');
+ }
}
diff --git a/src/app/components/shared/docs-modal/docs-modal.component.ts b/src/app/components/shared/docs-modal/docs-modal.component.ts
index 5b53f4821..697dec0b3 100644
--- a/src/app/components/shared/docs-modal/docs-modal.component.ts
+++ b/src/app/components/shared/docs-modal/docs-modal.component.ts
@@ -39,7 +39,9 @@ export class DocsModalComponent implements OnInit, OnDestroy {
@Input() url: string;
@Input() text: string;
@Input() icon: string = 'read_more';
+ @Input() description: string;
@Input() tooltip: string;
+
public docURL: string;
public safeDocURL: any;