web cert template rendering - adjust signature image sizing
This commit is contained in:
@@ -172,7 +172,7 @@ function ($, _, Backbone, gettext,
|
||||
event.preventDefault();
|
||||
var upload = new FileUploadModel({
|
||||
title: gettext("Upload signature image."),
|
||||
message: gettext("Image must be 450px X 150px transparent PNG."),
|
||||
message: gettext("Image must be in PNG format."),
|
||||
mimeTypes: ['image/png']
|
||||
});
|
||||
var self = this;
|
||||
|
||||
@@ -532,6 +532,10 @@
|
||||
.signatory-image {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.signature-image {
|
||||
max-width: 450px;
|
||||
}
|
||||
}
|
||||
|
||||
.signatory-panel-body label {
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
<div class="signature-upload-wrapper">
|
||||
<div class="signature-upload-input-wrapper">
|
||||
<input id="signatory-signature-<%= signatory_number %>" class="collection-name-input input-text signatory-signature-input" name="signatory-signature-url" type="text" placeholder="<%= gettext("Path to Signature Image") %>" value="<%= signature_image_path %>" aria-describedby="signatory-signature-<%= signatory_number %>-tip" readonly />
|
||||
<span id="signatory-signature-<%= signatory_number %>-tip" class="tip tip-stacked"><%= gettext("Image must be 450px X 150px transparent PNG") %></span>
|
||||
<span id="signatory-signature-<%= signatory_number %>-tip" class="tip tip-stacked"><%= gettext("Image must be in PNG format") %></span>
|
||||
</div>
|
||||
<button type="button" class="action action-upload-signature">Upload Signature Image</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user