mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-30 02:50:03 -04:00
All paragraphs should have class="govuk-body", or be otherwise custom-styled. This commit adds some extra checks to our test fixture that looks for paragraphs that don’t have any styling. Our test coverage is pretty good, so this should check almost all pages, and prevent regressions. I’ve done this in such a way that it can be extended for other elements (e.g. links) in the future.
39 lines
1.5 KiB
HTML
39 lines
1.5 KiB
HTML
{% extends "content_template.html" %}
|
||
{% from "components/service-link.html" import service_link %}
|
||
|
||
{% block per_page_title %}
|
||
Upload a letter
|
||
{% endblock %}
|
||
|
||
{% block content_column_content %}
|
||
|
||
<h1 class="heading-large">Upload a letter</h1>
|
||
|
||
<p class="govuk-body">Upload a one-off letter as a PDF and we’ll print, pack and post it for you.</p>
|
||
<p class="govuk-body">You can use this feature if you send a lot of one-off letters or if our reusable letter templates do not meet your needs.</p>
|
||
|
||
<p class="govuk-body">To upload and send a letter from a PDF file:</p>
|
||
|
||
<ol class="list list-number">
|
||
<li>Go to the {{ service_link(current_service, 'main.uploads', 'uploads') }} page.</li>
|
||
<li>Select <b class="govuk-!-font-weight-bold">Upload a letter</b>.</li>
|
||
<li>Select <b class="govuk-!-font-weight-bold">Choose file</b>.</li>
|
||
</ol>
|
||
|
||
<h2 class="heading-medium" id="letter-specification">Your file must meet our letter specification</h2>
|
||
|
||
<p class="govuk-body">The content of your letter must appear inside the printable area.</p>
|
||
|
||
<p class="govuk-body">Your file must be:</p>
|
||
|
||
<ul class="list list-bullet">
|
||
<li>a PDF</li>
|
||
<li>A4 portrait size (210 × 297 mm)</li>
|
||
<li>10 pages or less (5 double-sided sheets of paper)</li>
|
||
<li>smaller than 2MB</li>
|
||
</ul>
|
||
|
||
<p class="govuk-body">To help you set up your letter, you can download our <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.letter_spec') }}">letter specification document (PDF)</a>.</p>
|
||
|
||
{% endblock %}
|