Browse Source

DIV-502

pull/160/head
Justin Johnson 8 years ago
parent
commit
60c9edc998
3 changed files with 36 additions and 29 deletions
  1. +9
    -9
      edivorce/apps/core/static/js/main.js
  2. +4
    -4
      edivorce/apps/core/templates/dashboard/help_saving_pdf.html
  3. +23
    -16
      edivorce/apps/core/templates/dashboard/print_form.html

+ 9
- 9
edivorce/apps/core/static/js/main.js View File

@ -141,15 +141,15 @@ $(function () {
});
// spinner
$('a.spinner').on('click', function (e) {
e.preventDefault();
var href = $(this).attr('href');
$('div#progress-overlay').show();
$('div#progress-overlay-spinner').spin('large');
setTimeout(function(){
window.location.href = href;
}, 0);
});
// $('a.spinner').on('click', function (e) {
// e.preventDefault();
// var href = $(this).attr('href');
// $('div#progress-overlay').show();
// $('div#progress-overlay-spinner').spin('large');
// setTimeout(function(){
// window.location.href = href;
// }, 1);
// });
$('a.save-spinner').on('click', function (e) {
var href = $('a.save-spinner').attr('href');


+ 4
- 4
edivorce/apps/core/templates/dashboard/help_saving_pdf.html View File

@ -25,8 +25,8 @@
Safari) may have a built-in PDF viewer. If so, you can open the forms
directly on the web.</p>
<ol type="1">
<li>Click on the &ldquo;Print&rdquo; link to open the PDF form in your
browser window.</li>
<li>Click on the &ldquo;Review and Print&rdquo; link to open the PDF
form in your browser window.</li>
<li>Depending on your browser settings, your PDF might save the form to
your computer (see below) or it will open in a new tab or
window.</li>
@ -53,8 +53,8 @@
here</a>.
</p>
<ol type="1">
<li>Right-click on the &ldquo;Print&rdquo; link next to the name of the
document.</li>
<li>Right-click on the &ldquo;Review and Print&rdquo; link next to the
name of the document.</li>
<li>Select &ldquo;Save Target As&rdquo; or &ldquo;Save Link As&rdquo;.</li>
<li>Choose a folder to keep your forms in (for example
&ldquo;Documents&rdquo;). You may want to make a note of where you


+ 23
- 16
edivorce/apps/core/templates/dashboard/print_form.html View File

@ -45,8 +45,9 @@
</div>
</div>
<p class="review-butons">
<a href="{% url 'pdf_form' '1' %}" class="btn btn-primary spinner">
<i class="fa fa-print" aria-hidden="true"></i> Review and Print
<a href="{% url 'pdf_form' '1' %}" class="btn btn-primary spinner"
target="_blank"><i class="fa fa-print" aria-hidden="true"></i>
Review and Print
</a>
</p>
<div class="clearfix"> </div>
@ -73,8 +74,9 @@
</div>
</div>
<p class="review-butons">
<a href="{% url 'pdf_form' '35' %}" class="btn btn-primary spinner">
<i class="fa fa-print" aria-hidden="true"></i> Review and Print
<a href="{% url 'pdf_form' '35' %}" class="btn btn-primary spinner"
target="_blank"><i class="fa fa-print" aria-hidden="true"></i>
Review and Print
</a>
</p>
<div class="clearfix"> </div>
@ -97,8 +99,9 @@
</div>
</div>
<p class="review-butons">
<a href="{% url 'pdf_form' '52' %}" class="btn btn-primary spinner">
<i class="fa fa-print" aria-hidden="true"></i> Review and Print
<a href="{% url 'pdf_form' '52' %}" class="btn btn-primary spinner"
target="_blank"><i class="fa fa-print" aria-hidden="true"></i>
Review and Print
</a>
</p>
<div class="clearfix"> </div>
@ -140,8 +143,9 @@
</div>
</div>
<p class="review-butons">
<a href="{% url 'pdf_form' '36' %}" class="btn btn-primary spinner">
<i class="fa fa-print" aria-hidden="true"></i> Review and Print
<a href="{% url 'pdf_form' '36' %}" class="btn btn-primary spinner"
target="_blank"><i class="fa fa-print" aria-hidden="true"></i>
Review and Print
</a>
</p>
<div class="clearfix"> </div>
@ -181,8 +185,9 @@
</div>
</div>
<p class="review-butons">
<a href="{% url 'pdf_form' '38_we' %}" class="btn btn-primary spinner">
<i class="fa fa-print" aria-hidden="true"></i> Review and Print
<a href="{% url 'pdf_form' '38_we' %}" class="btn btn-primary spinner"
target="_blank"><i class="fa fa-print" aria-hidden="true"></i>
Review and Print
</a>
</p>
<div class="clearfix"> </div>
@ -252,8 +257,9 @@
</div>
</div>
<p class="review-butons">
<a href="{% url 'pdf_form' '38_claimant1' %}" class="btn btn-primary spinner">
<i class="fa fa-print" aria-hidden="true"></i> Review and Print
<a href="{% url 'pdf_form' '38_claimant1' %}" class="btn btn-primary spinner"
target="_blank"><i class="fa fa-print" aria-hidden="true"></i>
Review and Print
</a>
</p>
<div class="clearfix"> </div>
@ -263,8 +269,9 @@
</div>
</div>
<p class="review-butons">
<a href="{% url 'pdf_form' '38_claimant2' %}" class="btn btn-primary spinner">
<i class="fa fa-print" aria-hidden="true"></i> Review and Print
<a href="{% url 'pdf_form' '38_claimant2' %}" class="btn btn-primary spinner"
target="_blank"><i class="fa fa-print" aria-hidden="true"></i>
Review and Print
</a>
</p>
<div class="clearfix"> </div>
@ -319,8 +326,8 @@
</tr>
<tr>
<td>
The affidavit can be signed and sworn/affirmed by both of you
when at the registry.
The affidavit can be signed and sworn/affirmed by both of you
when at the registry.
</td>
<td>
<p>Either you or your spouse can sign and swear/affirm ahead of


Loading…
Cancel
Save