NIHVIVO-2571: updated templates to use new size and dimension variables; minor css width change to support this
This commit is contained in:
parent
4fca7d702e
commit
23c6f1d474
3 changed files with 5 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
#photoUploadForm {
|
#photoUploadForm {
|
||||||
width: 280px;
|
width: 400px;
|
||||||
float: left;
|
float: left;
|
||||||
padding-left: 25px;
|
padding-left: 25px;
|
||||||
margin-left: 1.2em;
|
margin-left: 1.2em;
|
||||||
|
|
|
@ -26,6 +26,8 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/uploadImages.cs
|
||||||
<label>Upload a photo <span> (JPEG, GIF or PNG)</span></label>
|
<label>Upload a photo <span> (JPEG, GIF or PNG)</span></label>
|
||||||
|
|
||||||
<input id="datafile" type="file" name="datafile" size="30" />
|
<input id="datafile" type="file" name="datafile" size="30" />
|
||||||
|
<p class="note">Maximum file size: ${maxFileSize} megabytes<br />
|
||||||
|
Minimum image dimensions: ${thumbnailWidth} x ${thumbnailHeight} pixels</p>
|
||||||
<input class="submit" type="submit" value="Upload photo"/>
|
<input class="submit" type="submit" value="Upload photo"/>
|
||||||
|
|
||||||
<span class="or"> or <a class="cancel" href="${cancelUrl}">Cancel</a></span>
|
<span class="or"> or <a class="cancel" href="${cancelUrl}">Cancel</a></span>
|
||||||
|
|
|
@ -27,6 +27,8 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/uploadImages.cs
|
||||||
<label>Replace Photo <span> (JPEG, GIF or PNG)</span></label>
|
<label>Replace Photo <span> (JPEG, GIF or PNG)</span></label>
|
||||||
|
|
||||||
<input type="file" name="datafile" size="30">
|
<input type="file" name="datafile" size="30">
|
||||||
|
<p class="note">Maximum file size: ${maxFileSize} megabytes<br />
|
||||||
|
Minimum image dimensions: ${thumbnailWidth}x${thumbnailHeight} pixels</p>
|
||||||
<input class="submit" type="submit" value="Upload photo">
|
<input class="submit" type="submit" value="Upload photo">
|
||||||
|
|
||||||
<span class="or"> or <a class="cancel" href="${cancelUrl}">Cancel</a></span>
|
<span class="or"> or <a class="cancel" href="${cancelUrl}">Cancel</a></span>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue