Browse Source

DIV-838

pull/160/head
Justin Johnson 7 years ago
parent
commit
8f378107d8
4 changed files with 117 additions and 79 deletions
  1. +43
    -7
      edivorce/apps/core/static/css/weasyprint.css
  2. +5
    -4
      edivorce/apps/core/templates/pdf/form1.html
  3. +57
    -59
      edivorce/apps/core/templates/pdf/form35.html
  4. +12
    -9
      edivorce/apps/core/templates/pdf/form52.html

+ 43
- 7
edivorce/apps/core/static/css/weasyprint.css View File

@ -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;
}

+ 5
- 4
edivorce/apps/core/templates/pdf/form1.html View File

@ -700,7 +700,8 @@
Signature of
</p>
<p>
<i class="fa fa-square-o" aria-hidden="true"></i> Claimant 1 <i class="fa fa-square-o" aria-hidden="true"></i> lawyer for Claimant 1
<span class="fake-checkbox"></span> Claimant 1
<span class="fake-checkbox"></span> lawyer for Claimant 1
</p>
</td>
</tr>
@ -724,17 +725,18 @@
Signature of
</p>
<p>
<i class="fa fa-square-o" aria-hidden="true"></i> Claimant 2 <i class="fa fa-square-o" aria-hidden="true"></i> lawyer for Claimant 2
<span class="fake-checkbox"></span> Claimant 2
<span class="fake-checkbox"></span> lawyer for Claimant 2
</p>
</td>
</tr>
</tbody>
</table>
<hr>
<p><small>Printed on {% now "F jS, Y" %} from https://justice.gov.bc.ca/divorce</small></p>
<p class="text-center">
<em> 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. </em>
</p>
<hr>
<p class="text-center force-break">
<strong> LAWYER'S CERTIFICATE ( <em> Family Law Act </em> , s. 8 (2)) </strong>
</p>
@ -819,7 +821,6 @@
</tbody>
</table>
<small>Printed on {% now "F jS, Y" %} from https://justice.gov.bc.ca/divorce</small>
</div>
</body>


+ 57
- 59
edivorce/apps/core/templates/pdf/form35.html View File

@ -21,7 +21,7 @@
<body>
<div class="print-wrapper">
<div class="print-wrapper f35">
<h1 class="text-center">Form F35 <br>(Rule 10-10 (2))</h1>
<p class="text-right">
@ -34,12 +34,20 @@
<em> In the Supreme Court of British Columbia </em>
</p>
<p>
Claimant 1: {% if responses.name_you %} {% include "partials/name_with_alias.html" with name=responses.name_you use_other_name=responses.any_other_name_you other_names=responses.other_name_you class_name='form-entry_claimant' %}
{% else %} <span class="form-entry not-complete">&nbsp;</span> {% endif %}
<span class="claimant-label">Claimant 1:</span>
{% if responses.name_you %}
{% include "partials/name_with_alias.html" with name=responses.name_you use_other_name=responses.any_other_name_you other_names=responses.other_name_you class_name='form-entry_claimant' %}
{% else %}
<span class="form-entry not-complete">&nbsp;</span>
{% endif %}
</p>
<p>
Claimant 2: {% if responses.name_spouse %} {% include "partials/name_with_alias.html" with name=responses.name_spouse use_other_name=responses.any_other_name_spouse other_names=responses.other_name_spouse class_name='form-entry_claimant' %}
{% else %} <span class="form-entry not-complete">&nbsp;</span> {% endif %}
<span class="claimant-label">Claimant 2:</span>
{% if responses.name_spouse %}
{% include "partials/name_with_alias.html" with name=responses.name_spouse use_other_name=responses.any_other_name_spouse other_names=responses.other_name_spouse class_name='form-entry_claimant' %}
{% else %}
<span class="form-entry not-complete">&nbsp;</span>
{% endif %}
</p>
<h2 class="text-center">
REQUISITION
@ -59,29 +67,30 @@
<strong>FILED WITH THIS REQUISITION ARE:</strong>
</p>
<p class="schIndent1">
<i class="fa fa-square-o" aria-hidden="true"></i> draft of the order sought;
</p>
<p class="schIndent1">
<i class="fa fa-square-o" aria-hidden="true"></i> proof that the case is an undefended family law case;
</p>
<p class="schIndent1">
<i class="fa fa-square-o" aria-hidden="true"></i> certificate of the registrar in Form F36;
</p>
<p class="schIndent1">
<i class="fa fa-square-o" aria-hidden="true"></i> filing fee.
</p>
<p class="schIndent1">
<i class="fa fa-square-o" aria-hidden="true"></i> proof of service of the notice of family claim or counterclaim, as the case may be.
</p>
<p class="schIndent1">
<i class="fa fa-square-o" aria-hidden="true"></i> Child Support Affidavit in Form F37.
</p>
<p class="schIndent1 force-break">
<i class="fa fa-square-o" aria-hidden="true"></i> affidavit in Form F38.
</p>
<div class="checkbox-list">
<p>
<span class="fake-checkbox"></span> draft of the order sought;
</p>
<p>
<span class="fake-checkbox"></span> proof that the case is an undefended family law case;
</p>
<p>
<span class="fake-checkbox"></span> certificate of the registrar in Form F36;
</p>
<p>
<span class="fake-checkbox"></span> filing fee.
</p>
<p>
<span class="fake-checkbox"></span> proof of service of the notice of family claim or counterclaim, as the case may be.
</p>
<p>
<span class="fake-checkbox"></span> Child Support Affidavit in Form F37.
</p>
<p>
<span class="fake-checkbox"></span> affidavit in Form F38.
</p>
</div>
<br><br><br>
<table class="table sig-table">
<tbody>
<tr>
@ -89,33 +98,28 @@
<td class="sig-col2 underline"></td>
<td class="sig-col3"></td>
<td class="sig-col4 underline"></td>
<td class="sig-col3"></td>
<td class="sig-col5 underline"></td>
</tr>
<tr>
<td class="sig-col1"></td>
<td class="sig-col2 sig-line-text">[dd/mmm/yyyy]</td>
<td class="sig-col3"></td>
<td class="sig-col4 sig-line-text">
<p>Signature of</p>
<p><i class="fa fa-square-o" aria-hidden="true"></i> filing party <i class="fa fa-square-o" aria-hidden="true"></i> lawyer for filing party(ies)</p>
<p>Signature of</p>
<p style="white-space: nowrap">
<span class="fake-checkbox"></span> filing party
<span class="fake-checkbox"></span> lawyer for filing party(ies)
</p>
</td>
</tr>
<tr>
<td class="sig-col1"></td>
<td class="sig-col2">&nbsp;</td>
<td class="sig-col3"></td>
<td class="sig-col4 underline"></td>
</tr>
<tr>
<td class="sig-col1"></td>
<td class="sig-col2"></td>
<td class="sig-col3"></td>
<td class="sig-col4 sig-line-text"> [Print name] </td>
<td class="sig-col5 sig-line-text">
<p>[Print name]<p>
</td>
</tr>
</tbody>
</table>
<br><br>
<table class="table sig-table">
<tbody>
<tr>
@ -123,36 +127,30 @@
<td class="sig-col2 underline"></td>
<td class="sig-col3"></td>
<td class="sig-col4 underline"></td>
<td class="sig-col3"></td>
<td class="sig-col5 underline"></td>
</tr>
<tr>
<td class="sig-col1"></td>
<td class="sig-col2 sig-line-text">[dd/mmm/yyyy]</td>
<td class="sig-col3"></td>
<td class="sig-col4 sig-line-text">
<p>Signature of</p>
<p><i class="fa fa-square-o" aria-hidden="true"></i> filing party <i class="fa fa-square-o" aria-hidden="true"></i> lawyer for filing party(ies)</p>
<p>Signature of</p>
<p style="white-space: nowrap">
<span class="fake-checkbox"></span> filing party
<span class="fake-checkbox"></span> lawyer for filing party(ies)
</p>
</td>
</tr>
<tr>
<td class="sig-col1"></td>
<td class="sig-col2">&nbsp;</td>
<td class="sig-col3"></td>
<td class="sig-col4 underline"></td>
</tr>
<tr>
<td class="sig-col1"></td>
<td class="sig-col2"></td>
<td class="sig-col3"></td>
<td class="sig-col4 sig-line-text"> [Print name] </td>
<td class="sig-col5 sig-line-text">
<p>[Print name]<p>
</td>
</tr>
</tbody>
</table>
<p class="text-right">
<span class="form-entry not-complete"></span>
</p>
<hr />
<small>Printed on {% now "F jS, Y" %} from https://justice.gov.bc.ca/divorce</small>
</div>
</body>
</html>
</html>

+ 12
- 9
edivorce/apps/core/templates/pdf/form52.html View File

@ -155,43 +155,46 @@
<tbody>
<tr>
<td class="sig-col4 underline">&nbsp;</td>
<td style="width:10px">&nbsp;</td>
<td class="sig-col1">&nbsp;</td>
<td class="sig-col4 underline">&nbsp;</td>
</tr>
<tr>
<td class="sig-col4 sig-line-text">
<p>Signature of</p>
<p>
<i class="fa fa-square-o" aria-hidden="true"></i> Claimant 1 <i
class="fa fa-square-o" aria-hidden="true"></i> lawyer for Claimant 1
<span class="fake-checkbox"></span> Claimant 1
<span class="fake-checkbox"></span> lawyer for Claimant 1
</p>
</td>
<td>&nbsp;</td>
<td class="sig-col1">&nbsp;</td>
<td class="sig-col4 sig-line-text">
<p>Signature of</p>
<p>
<i class="fa fa-square-o" aria-hidden="true"></i> Claimant 2 <i
class="fa fa-square-o" aria-hidden="true"></i> lawyer for Claimant 2
<span class="fake-checkbox"></span> Claimant 2
<span class="fake-checkbox"></span> lawyer for Claimant 2
</p>
</td>
</tr>
<tr><td colspan="3">&nbsp;</td></tr>
<tr>
<td class="sig-col2">&nbsp;</td>
<td class="sig-col3">&nbsp;</td>
<td class="sig-col1">&nbsp;</td>
<td class="sig-col4">By the Court.</td>
</tr>
<tr><td colspan="3">&nbsp;</td></tr>
<tr>
<td class="sig-col2">&nbsp;</td>
<td class="sig-col3">&nbsp;</td>
<td class="sig-col1">&nbsp;</td>
<td class="sig-col4 underline">&nbsp;<br><br></td>
</tr>
<tr>
<td class="sig-col2">&nbsp;</td>
<td class="sig-col3">&nbsp;</td>
<td class="sig-col1">&nbsp;</td>
<td class="sig-col4">Registrar</td>
</tr>
</tbody>
</table>
<hr>
<small>Printed on {% now "F jS, Y" %} from https://justice.gov.bc.ca/divorce</small>
</div>
</div>


Loading…
Cancel
Save