From 8f378107d86515a098113daa18ef62cb39c7b645 Mon Sep 17 00:00:00 2001 From: Justin Johnson Date: Thu, 15 Mar 2018 15:58:54 -0700 Subject: [PATCH] DIV-838 --- edivorce/apps/core/static/css/weasyprint.css | 50 ++++++-- edivorce/apps/core/templates/pdf/form1.html | 9 +- edivorce/apps/core/templates/pdf/form35.html | 116 +++++++++---------- edivorce/apps/core/templates/pdf/form52.html | 21 ++-- 4 files changed, 117 insertions(+), 79 deletions(-) diff --git a/edivorce/apps/core/static/css/weasyprint.css b/edivorce/apps/core/static/css/weasyprint.css index bfb934d1..531796b9 100644 --- a/edivorce/apps/core/static/css/weasyprint.css +++ b/edivorce/apps/core/static/css/weasyprint.css @@ -43,7 +43,7 @@ h3 { hr { border-top: 1px solid #000000; - margin: 40px 0; + margin: 40px 0 0; } i.fa { @@ -79,12 +79,17 @@ i.fa { min-height: 200px; } +.claimant-label { + float: left; +} + .form-entry_claimant { text-align: center; font-weight: bold; font-size: 18px; display: block; - margin: -22px 90px 40px; + margin-bottom: 20px; + padding: 0 150px; } .table-fixed { @@ -104,6 +109,16 @@ i.fa { page-break-inside: avoid; } +.sig-table { + table-layout: fixed; + width: auto; + margin-top: 60px; + margin-bottom: 0; +} +.sig-table tbody tr td { + padding: 0; +} + .sig-table td.underline { border-bottom: 1px solid black; } @@ -111,18 +126,22 @@ i.fa { font-size: 0.88em; } .sig-table .sig-col1 { - max-width: 30px; + width: 0.5in; } .sig-table .sig-col2 { - width: 220px; - padding-left: 0; + width: 1.25in; } .sig-table .sig-col3 { - max-width: 10px; + width: 0.25in; } .sig-table .sig-col4 { - width: 350px; + width: 3.25in; + padding-left: 0; +} + +.sig-table .sig-col5 { + width: 2in; padding-left: 0; } @@ -260,3 +279,20 @@ ol.force-break-last > li:last-child { page-break-before: always; } +.fake-checkbox { + display: inline-block; + width: 18px; + height: 18px; + margin-right: 10px; + border: solid 2px black; + margin-bottom: -4px; +} + +.sig-line-text .fake-checkbox { + margin-left: 0.5em; + margin-right: 0.5em; +} + +.checkbox-list p { + margin-bottom: 3px; +} diff --git a/edivorce/apps/core/templates/pdf/form1.html b/edivorce/apps/core/templates/pdf/form1.html index 4135329a..7661b148 100644 --- a/edivorce/apps/core/templates/pdf/form1.html +++ b/edivorce/apps/core/templates/pdf/form1.html @@ -700,7 +700,8 @@ Signature of

- Claimant 1 lawyer for Claimant 1 + Claimant 1 + lawyer for Claimant 1

@@ -724,17 +725,18 @@ Signature of

- Claimant 2 lawyer for Claimant 2 + Claimant 2 + lawyer for Claimant 2


+

Printed on {% now "F jS, Y" %} from https://justice.gov.bc.ca/divorce

If in this family law case a claim is made under the Family Law Act and one or both of the parties is represented by a lawyer, each of the lawyers must complete a certificate in the following form.

-

LAWYER'S CERTIFICATE ( Family Law Act , s. 8 (2))

@@ -819,7 +821,6 @@ - Printed on {% now "F jS, Y" %} from https://justice.gov.bc.ca/divorce diff --git a/edivorce/apps/core/templates/pdf/form35.html b/edivorce/apps/core/templates/pdf/form35.html index b02cc18b..01e217ea 100644 --- a/edivorce/apps/core/templates/pdf/form35.html +++ b/edivorce/apps/core/templates/pdf/form35.html @@ -21,7 +21,7 @@ -