44 lines
2.1 KiB
HTML
44 lines
2.1 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" ng-show="regenerating">
|
|
Regenerating Token...
|
|
<i class="fa fa-refresh fa-spin"></i>
|
|
</div>
|
|
|
|
<div class="well well-sm" ng-show="!regenerating">
|
|
<input id="token-view" class="token-view" type="text" value="{{ token }}" onClick="this.select();" readonly>
|
|
<i class="fa fa-refresh" ng-show="supportsRegenerate" ng-click="askRegenerate()"
|
|
data-title="Regenerate Token"
|
|
data-placement="left"
|
|
bs-tooltip></i>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer" ng-show="regenerating">
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
</div>
|
|
<div class="modal-footer" ng-show="!regenerating">
|
|
<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 class="clipboard-copied-message" style="display: none">
|
|
Copied
|
|
</div>
|
|
<input type="hidden" name="command-data" id="command-data" value="{{ command }}">
|
|
<button id="copyClipboard" type="button" class="btn btn-primary" data-clipboard-target="command-data">Copy Login Command</button>
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
</div>
|
|
</div><!-- /.modal-content -->
|
|
</div><!-- /.modal-dialog -->
|
|
</div><!-- /.modal -->
|