Better styling for the updated build dialog. This is temporary until we redo the UI

This commit is contained in:
Joseph Schorr 2015-01-16 17:06:20 -05:00
parent 473a141835
commit ca350f9808
2 changed files with 20 additions and 1 deletions

View file

@ -4912,4 +4912,17 @@ i.slack-icon {
.dockerfile-build-form table td { .dockerfile-build-form table td {
vertical-align: top; vertical-align: top;
white-space: nowrap;
} }
.dockerfile-build-form input[type="file"] {
margin: 0px;
}
.dockerfile-build-form .help-text {
font-size: 13px;
color: #aaa;
margin-bottom: 20px;
padding-left: 22px;
}

View file

@ -13,9 +13,15 @@
<div class="container" ng-show="!uploading && !building"> <div class="container" ng-show="!uploading && !building">
<table> <table>
<tr> <tr>
<td style="vertical-align: middle;">Dockerfile or Archive (<code>.tar.gz</code> or <code>.zip</code>):</td> <td style="vertical-align: middle;">Dockerfile or <code>.tar.gz</code> or <code>.zip</code>:</td>
<td><input id="file-drop" class="file-drop" type="file" file-present="internal.hasDockerfile"> <td><input id="file-drop" class="file-drop" type="file" file-present="internal.hasDockerfile">
</tr> </tr>
<tr>
<td></td>
<td>
<div class="help-text">If an archive, the Dockerfile must be at the root</div>
</td>
</tr>
<tr> <tr>
<td>Base Image Pull Credentials:</td> <td>Base Image Pull Credentials:</td>
<td> <td>