30 lines
1.5 KiB
HTML
30 lines
1.5 KiB
HTML
<!-- Modal message dialog -->
|
|
<div class="modal fade" id="dockerauthmodal">
|
|
<div class="modal-dialog">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
<h4 class="modal-title">
|
|
<span ng-transclude></span>
|
|
</h4>
|
|
</div>
|
|
<div class="modal-body token-dialog-body">
|
|
<div class="alert alert-info">The docker <u>username</u> is <b>{{ username }}</b> and the <u>password</u> is the token below. You may use any value for email.</div>
|
|
<div class="well well-sm">
|
|
<input id="token-view" class="token-view" type="text" value="{{ token }}" onClick="this.select();" readonly>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<span class="download-cfg" ng-show="isDownloadSupported()">
|
|
<i class="fa fa-download"></i>
|
|
<a href="javascript:void(0)" ng-click="downloadCfg(shownRobot)">Download .dockercfg file</a>
|
|
</span>
|
|
<div id="clipboardCopied" style="display: none">
|
|
Copied to clipboard
|
|
</div>
|
|
<button id="copyClipboard" type="button" class="btn btn-primary" data-clipboard-target="token-view">Copy to clipboard</button>
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
</div>
|
|
</div><!-- /.modal-content -->
|
|
</div><!-- /.modal-dialog -->
|
|
</div><!-- /.modal -->
|