OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/modules/github_integration/frontend/module/git-actions-menu/git-actions-menu.template.html

24 lines
942 B

<div class="git-actions-menu dropdown-relative dropdown -overflow-in-view dropdown-anchor-right">
<h3 class="title">
<op-icon icon-classes="button--icon icon-console-light"></op-icon>
{{text.title}}
</h3>
<op-scrollable-tabs
[tabs]="tabs"
[currentTabId]="selectedTab.id"
(tabSelected)="selectedTab = $event"
>
</op-scrollable-tabs>
<div class="copy-wrapper">
<textarea class="copy-content" [textContent]="selectedTab.textToCopy()" [style.height.em]="selectedTab.lines" readonly="true"></textarea>
<button class="button copy-button"
type="button"
[attr.aria-label]="text.copyButtonHelpText"
(click)="onCopyButtonClick()">
<op-icon icon-classes="button--icon icon-copy"></op-icon>
</button>
<div class="copy-result-message" *ngIf="showCopyResult" [textContent]="lastCopyResult"></div>
</div>
<div class="help-text" [textContent]="selectedTab.help"></div>
</div>