added copy-to-clipboard directive that does not require Flash
This commit is contained in:
parent
6ed5235dfd
commit
062c1a1626
13 changed files with 186 additions and 74 deletions
|
@ -1,6 +1,7 @@
|
|||
<div class="build-logs-view-element" ng-class="useTimestamps ? 'with-timestamps' : ''">
|
||||
<span ng-show="logEntries">
|
||||
<button id="copyButton" class="btn btn-primary copy-button" data-clipboard-text="{{ buildLogsText }}">
|
||||
<button id="copyButton" class="btn btn-primary copy-button"
|
||||
clipboard-copy="#{{ ::buildLogsText }}">
|
||||
<i class="fa fa-clipboard"></i>Copy Logs
|
||||
</button>
|
||||
</span>
|
||||
|
|
Reference in a new issue