Clarify upload language for .zip and .tar.gz

This commit is contained in:
Joseph Schorr 2014-04-01 22:12:51 -04:00
parent 38cb12b7c6
commit 6ff46cc450
2 changed files with 4 additions and 4 deletions

View file

@ -12,7 +12,7 @@
<div class="container" ng-show="!uploading && !building"> <div class="container" ng-show="!uploading && !building">
<div class="init-description"> <div class="init-description">
Upload a Dockerfile or a zip file containing a Dockerfile <b>in the root directory</b> Upload a <b>Dockerfile</b> or an archive (<code>.zip</code> or <code>.tar.gz</code>) containing a Dockerfile <b>in the root directory</b>
</div> </div>
<input id="file-drop" class="file-drop" type="file" file-present="internal.hasDockerfile"> <input id="file-drop" class="file-drop" type="file" file-present="internal.hasDockerfile">
</div> </div>

View file

@ -118,11 +118,11 @@
<label for="initDockerfile">Initialize from a <b>Dockerfile</b></label> <label for="initDockerfile">Initialize from a <b>Dockerfile</b></label>
</div> </div>
<!-- Zip file --> <!-- Zip/TarGz file -->
<div class="repo-option"> <div class="repo-option">
<input type="radio" id="initZipfile" name="initialize" ng-model="repo.initialize" value="zipfile"> <input type="radio" id="initZipfile" name="initialize" ng-model="repo.initialize" value="zipfile">
<i class="fa fa-archive fa-lg" style="padding: 6px; padding-left: 10px; padding-right: 8px;"></i> <i class="fa fa-archive fa-lg" style="padding: 6px; padding-left: 10px; padding-right: 8px;"></i>
<label for="initZipfile">Initialize from a ZIP file (containing a Dockerfile and other supporting files)</label> <label for="initZipfile">Initialize from a <b>Dockerfile</b> inside a <code>.zip</code> or <code>.tar.gz</code> archive</label>
</div> </div>
<!-- Github --> <!-- Github -->
@ -140,7 +140,7 @@
<div class="col-md-1"></div> <div class="col-md-1"></div>
<div class="col-md-8"> <div class="col-md-8">
<div class="section"> <div class="section">
<div class="section-title">Upload <span ng-if="repo.initialize == 'dockerfile'">Dockerfile</span><span ng-if="repo.initialize == 'zipfile'">ZIP file</span></div> <div class="section-title">Upload <span ng-if="repo.initialize == 'dockerfile'">Dockerfile</span><span ng-if="repo.initialize == 'zipfile'">Archive</span></div>
<div style="padding-top: 20px;"> <div style="padding-top: 20px;">
<div class="initialize-repo"> <div class="initialize-repo">
<div class="dockerfile-build-form" repository="createdForBuild" upload-failed="handleBuildFailed(message)" <div class="dockerfile-build-form" repository="createdForBuild" upload-failed="handleBuildFailed(message)"