1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 01:25:17 +01:00

Merged in AD-1181-add-download-button-for-contract (pull request #105)

add download button to loan form
This commit is contained in:
TimDaubenschuetz 2015-10-16 12:10:49 +02:00
commit 127145e333
2 changed files with 5 additions and 2 deletions

View File

@ -130,6 +130,9 @@ let LoanForm = React.createClass({
src={contract.blob.url_safe}
alt="pdf"
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> {getLangText('Download contract')}
</a>
{/* We still need to send the server information that we're accepting */}
<InputCheckbox
style={{'display': 'none'}}

View File

@ -21,7 +21,6 @@
.notification-contract-pdf, .notification-contract-footer {
width: 100%;
max-width: 750px;
margin: 0 auto;
}
.notification-contract-pdf {
@ -29,7 +28,8 @@
border: 1px solid #cccccc;
width: 100%;
height: 60vh;
margin-bottom: 0;
margin-top: .5em;
margin-bottom: 1em;
.loan-form {
margin-top: .5em;