1
0
mirror of https://github.com/ascribe/onion.git synced 2025-01-03 18:35:09 +01:00

left-align uploader buttons

This commit is contained in:
Tim Daubenschütz 2015-11-12 11:27:55 +01:00
parent e6d839f6a0
commit 5b594e9d82
2 changed files with 5 additions and 5 deletions

View File

@ -214,7 +214,6 @@ const PRRegisterPieceForm = React.createClass({
<Property <Property
name="digitalWorkKey" name="digitalWorkKey"
className="input-upload-file-button-property"> className="input-upload-file-button-property">
<span>{getLangText('Select the PDF with your work')}</span>
<InputFineuploader <InputFineuploader
fileInputElement={UploadButton} fileInputElement={UploadButton}
isReadyForFormSubmission={formSubmissionValidation.atLeastOneUploadedFile} isReadyForFormSubmission={formSubmissionValidation.atLeastOneUploadedFile}
@ -237,11 +236,11 @@ const PRRegisterPieceForm = React.createClass({
plural: getLangText('Upload the Portfolios') plural: getLangText('Upload the Portfolios')
}} }}
required/> required/>
<span>{getLangText('Select the PDF with your work')}</span>
</Property> </Property>
<Property <Property
name="thumbnailKey" name="thumbnailKey"
className="input-upload-file-button-property"> className="input-upload-file-button-property">
<span>{getLangText('Featured Cover photo')}</span>
<InputFineuploader <InputFineuploader
fileInputElement={UploadButton} fileInputElement={UploadButton}
createBlobRoutine={{ createBlobRoutine={{
@ -264,11 +263,11 @@ const PRRegisterPieceForm = React.createClass({
plural: getLangText('Upload cover photos') plural: getLangText('Upload cover photos')
}} }}
required/> required/>
<span>{getLangText('Featured Cover photo')}</span>
</Property> </Property>
<Property <Property
name="supportingMaterials" name="supportingMaterials"
className="input-upload-file-button-property"> className="input-upload-file-button-property">
<span>{getLangText('Supporting Materials (Optional)')}</span>
<InputFineuploader <InputFineuploader
fileInputElement={UploadButton} fileInputElement={UploadButton}
isReadyForFormSubmission={formSubmissionValidation.atLeastOneUploadedFile} isReadyForFormSubmission={formSubmissionValidation.atLeastOneUploadedFile}
@ -287,11 +286,11 @@ const PRRegisterPieceForm = React.createClass({
singular: getLangText('Upload'), singular: getLangText('Upload'),
plural: getLangText('Upload') plural: getLangText('Upload')
}}/> }}/>
<span>{getLangText('Supporting Materials (Optional)')}</span>
</Property> </Property>
<Property <Property
name="proofOfPayment" name="proofOfPayment"
className="input-upload-file-button-property"> className="input-upload-file-button-property">
<span>{getLangText('Proof of payment')}</span>
<InputFineuploader <InputFineuploader
fileInputElement={UploadButton} fileInputElement={UploadButton}
isReadyForFormSubmission={formSubmissionValidation.atLeastOneUploadedFile} isReadyForFormSubmission={formSubmissionValidation.atLeastOneUploadedFile}
@ -312,6 +311,7 @@ const PRRegisterPieceForm = React.createClass({
plural: getLangText('Upload Screenshots') plural: getLangText('Upload Screenshots')
}} }}
required/> required/>
<span>{getLangText('Proof of payment')}</span>
</Property> </Property>
</Form> </Form>
<Form <Form

View File

@ -228,7 +228,7 @@ $ascribe-red-error: rgb(169, 68, 66);
} }
.input-upload-file-button-property { .input-upload-file-button-property {
text-align: right; text-align: left;
.btn { .btn {
font-size: 1em; font-size: 1em;