Put a message if the download link won't appear

This commit is contained in:
Joseph Schorr 2015-02-24 16:51:03 -05:00
parent 45bb05894b
commit afe6be0daf
2 changed files with 8 additions and 0 deletions

View file

@ -496,6 +496,11 @@ i.toggle-icon:hover {
width: 100%; width: 100%;
} }
.docker-auth-dialog .download-cfg.not-supported {
font-size: 14px;
color: #ccc;
}
.docker-auth-dialog .download-cfg { .docker-auth-dialog .download-cfg {
float: left; float: left;
padding-top: 6px; padding-top: 6px;

View file

@ -32,6 +32,9 @@
<i class="fa fa-download"></i> <i class="fa fa-download"></i>
<a href="javascript:void(0)" ng-click="downloadCfg(shownRobot)">Download .dockercfg file</a> <a href="javascript:void(0)" ng-click="downloadCfg(shownRobot)">Download .dockercfg file</a>
</span> </span>
<span class="download-cfg not-supported" ng-show="!isDownloadSupported()">
.dockercfg download not supported in this browser
</span>
<div class="clipboard-copied-message" style="display: none"> <div class="clipboard-copied-message" style="display: none">
Copied Copied
</div> </div>