mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 18:35:09 +01:00
add download button to loan form
This commit is contained in:
parent
e804722c71
commit
32d317cdef
@ -130,6 +130,9 @@ let LoanForm = React.createClass({
|
|||||||
src={contract.blob.url_safe}
|
src={contract.blob.url_safe}
|
||||||
alt="pdf"
|
alt="pdf"
|
||||||
pluginspage="http://www.adobe.com/products/acrobat/readstep2.html"/>
|
pluginspage="http://www.adobe.com/products/acrobat/readstep2.html"/>
|
||||||
|
<a href={contract.blob.url_safe} target="_blank">
|
||||||
|
<span className="glyphicon glyphicon-download" aria-hidden="true"></span> Download contract
|
||||||
|
</a>
|
||||||
{/* We still need to send the server information that we're accepting */}
|
{/* We still need to send the server information that we're accepting */}
|
||||||
<InputCheckbox
|
<InputCheckbox
|
||||||
style={{'display': 'none'}}
|
style={{'display': 'none'}}
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
|
|
||||||
.notification-contract-pdf, .notification-contract-footer {
|
.notification-contract-pdf, .notification-contract-footer {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 750px;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
.notification-contract-pdf {
|
.notification-contract-pdf {
|
||||||
@ -29,7 +28,8 @@
|
|||||||
border: 1px solid #cccccc;
|
border: 1px solid #cccccc;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 60vh;
|
height: 60vh;
|
||||||
margin-bottom: 0;
|
margin-top: .5em;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
|
||||||
.loan-form {
|
.loan-form {
|
||||||
margin-top: .5em;
|
margin-top: .5em;
|
||||||
|
Loading…
Reference in New Issue
Block a user