aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/misc/help.component.html
blob: bacbe9cdbb5950941740e164737f01ce4f7304f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<ng-template #tooltipTemplate>
  <ng-template [ngIf]="preHtml">
    <p [innerHTML]="preHtml"></p>
    <br />
  </ng-template>

  <p [innerHTML]="mainHtml"></p>

  <ng-template [ngIf]="postHtml">
    <br />
    <p [innerHTML]="postHtml"></p>
  </ng-template>
</ng-template>

<button
  class="help-tooltip-button" containerClass="help-tooltip" title="Click to get help"
  #tooltipDirective="bs-tooltip" [tooltip]="tooltipTemplate" triggers="click"
></button>