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

29 lines
1.1 KiB

<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>
<ul class="op-tab-row">
<li
*ngFor="let tab of tabs"
class="op-tab-row--tab"
>
<a
href=""
(click)="selectTab(tab)"
[class.op-tab-row--link_selected]="tab.selected"
[textContent]="tab.label"></a>
</li>
</ul>
<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>