diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-22 18:32:31 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-22 18:32:31 +0100 |
commit | 8a8e02a43e346b9b777c8192a7c5cbdccb928b11 (patch) | |
tree | 9ffb8992f98b1354da9b522104d8d4289cf8e8d9 /client/src/app/shared/misc/help.component.html | |
parent | 81c263c86fe2a030f09e942e118551727f145b6d (diff) | |
download | PeerTube-8a8e02a43e346b9b777c8192a7c5cbdccb928b11.tar.gz PeerTube-8a8e02a43e346b9b777c8192a7c5cbdccb928b11.tar.zst PeerTube-8a8e02a43e346b9b777c8192a7c5cbdccb928b11.zip |
Add help tooltip
Diffstat (limited to 'client/src/app/shared/misc/help.component.html')
-rw-r--r-- | client/src/app/shared/misc/help.component.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/client/src/app/shared/misc/help.component.html b/client/src/app/shared/misc/help.component.html new file mode 100644 index 000000000..956095996 --- /dev/null +++ b/client/src/app/shared/misc/help.component.html | |||
@@ -0,0 +1,15 @@ | |||
1 | <ng-template #tooltipTemplate> | ||
2 | <ng-template [ngIf]="preHtml"> | ||
3 | <p [innerHTML]="preHtml"></p> | ||
4 | <br /> | ||
5 | </ng-template> | ||
6 | |||
7 | <p [innerHTML]="mainHtml"></p> | ||
8 | |||
9 | <ng-template [ngIf]="postHtml"> | ||
10 | <br /> | ||
11 | <p [innerHTML]="postHtml"></p> | ||
12 | </ng-template> | ||
13 | </ng-template> | ||
14 | |||
15 | <button class="help-tooltip-button" containerClass="help-tooltip" [tooltipHtml]="tooltipTemplate" triggers="focus"></button> | ||