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

23 lines
914 B

<div class="git-actions-menu dropdown-relative dropdown -overflow-in-view dropdown-anchor-right">
<h3 class="title">{{text.title}}</h3>
<div class="copy-wrapper op-form-field" *ngFor="let snippet of snippets">
<label class="op-form-field--label-wrap">
<div class="op-form-field--label">{{ snippet.name }}</div>
<div class="op-form-field--input">
<input type="text" class="copy-content op-input" readonly="true" [value]="snippet.textToCopy()">
<button class="button copy-button"
type="button"
[attr.aria-label]="text.copyButtonHelpText"
(click)="onCopyButtonClick(snippet)">
<op-icon icon-classes="button--icon icon-copy"></op-icon>
</button>
<div class="copy-result-message" *ngIf="showCopyResult && snippet.id === copiedSnippetId" [textContent]="lastCopyResult"></div>
</div>
</label>
</div>
</div>