diff options
Diffstat (limited to '')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/core/navigation/dashboard-help/dashboard-help.component.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/dashboard-help/dashboard-help.component.html b/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/dashboard-help/dashboard-help.component.html new file mode 100644 index 000000000..274ec71df --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/dashboard-help/dashboard-help.component.html @@ -0,0 +1,25 @@ +<div ngbDropdown + placement="bottom-right"> + <a ngbDropdownToggle + i18n-title + title="Help"> + <i [ngClass]="[icons.questionCircle]"></i> + <span i18n + class="d-md-none">Help</span> + </a> + <div ngbDropdownMenu> + <a ngbDropdownItem + [ngClass]="{'disabled': !docsUrl}" + class="text-capitalize" + href="{{ docsUrl }}" + target="_blank" + i18n>documentation</a> + <a ngbDropdownItem + routerLink="/api-docs" + target="_blank" + i18n>API</a> + <button ngbDropdownItem + (click)="openAboutModal()" + i18n>About</button> + </div> +</div> |