-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ccef9df
commit 43d57f1
Showing
123 changed files
with
82,649 additions
and
0 deletions.
There are no files selected for viewing
464 changes: 464 additions & 0 deletions
464
app/views/23/court-cases/add-a-court-appearance/add-sentence-information.html
Large diffs are not rendered by default.
Oops, something went wrong.
79 changes: 79 additions & 0 deletions
79
app/views/23/court-cases/add-a-court-appearance/additional-documents.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
{% extends "../template.html" %} | ||
{% block content %} | ||
<div class="govuk-grid-row govuk-!-margin-top-4"> | ||
<div class="govuk-grid-column-two-thirds"> | ||
<form class="form" action="/{{data.prototypeVersion}}/additional-documents" method="post"> | ||
<div class="govuk-form-group"> | ||
<fieldset class="govuk-fieldset"> | ||
<legend class="govuk-fieldset__legend govuk-fieldset__legend--l"> | ||
<h1 class="govuk-fieldset__heading"> | ||
<span class="govuk-caption-l">Upload court documents</span> | ||
Do you need to upload additional documents? | ||
|
||
</h1> | ||
</legend> | ||
<div class="govuk-hint">Such as an indictment, trial record sheet or court register</div> | ||
<div class="govuk-radios" data-module="govuk-radios"> | ||
<div class="govuk-radios__item"> | ||
<input class="govuk-radios__input" id="additional-documents" name="appearance[additional-documents]" type="radio" value="yes" data-aria-controls="conditional-additional-documents"> | ||
<label class="govuk-label govuk-radios__label" for="additional-documents"> | ||
Yes | ||
</label> | ||
</div> | ||
<div class="govuk-radios__conditional govuk-radios__conditional--hidden" id="conditional-additional-documents"> | ||
<div class="govuk-form-group"> | ||
<div id="document-hint" class="govuk-hint"> | ||
Select all that apply | ||
</div> | ||
<div class="govuk-checkboxes" data-module="govuk-checkboxes"> | ||
<div class="govuk-checkboxes__item"> | ||
<input class="govuk-checkboxes__input" id="documents" name="appearance[additional-documents-list]" type="checkbox" value="Indictment"> | ||
<label class="govuk-label govuk-checkboxes__label" for="documents"> | ||
Indictment | ||
</label> | ||
</div> | ||
<div class="govuk-checkboxes__item"> | ||
<input class="govuk-checkboxes__input" id="documents-2" name="appearance[additional-documents-list]" type="checkbox" value="Trial record sheet"> | ||
<label class="govuk-label govuk-checkboxes__label" for="documents-2"> | ||
Trial record sheet | ||
</label> | ||
</div> | ||
<div class="govuk-checkboxes__item"> | ||
<input class="govuk-checkboxes__input" id="documents-3" name="appearance[additional-documents-list]" type="checkbox" value="Court register"> | ||
<label class="govuk-label govuk-checkboxes__label" for="documents-3"> | ||
Court register | ||
</label> | ||
</div> | ||
<div class="govuk-checkboxes__item"> | ||
<input class="govuk-checkboxes__input" id="documents-4" name="appearance[additional-documents-list]" type="checkbox" value="other"> | ||
<label class="govuk-label govuk-checkboxes__label" for="documents-3"> | ||
Other | ||
</label> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="govuk-radios__item"> | ||
<input class="govuk-radios__input" id="additional-documents-2" name="appearance[additional-documents]" type="radio" value="no"> | ||
<label class="govuk-label govuk-radios__label" for="additional-documents-2"> | ||
No | ||
</label> | ||
</div> | ||
</fieldset> | ||
</div> | ||
<div class="govuk-button-group"> | ||
<button type="submit" class="govuk-button" data-module="govuk-button"> | ||
Save and continue | ||
</button> | ||
<a class="govuk-button govuk-button--secondary" data-module="govuk-button" href="/{{data.prototypeVersion}}/save-court-case"> | ||
Save as draft | ||
</a> | ||
</div> | ||
</form> | ||
</div> | ||
<div class="govuk-grid-column-one-third"> | ||
{% set showOffences = true %} | ||
{% include "includes/templates/appearance-info.njk" %} | ||
</div> | ||
</div> | ||
{% endblock %} |
63 changes: 63 additions & 0 deletions
63
app/views/23/court-cases/add-a-court-appearance/alternative-sentence-length.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
{% extends "../template.html" %} | ||
{% block content %} | ||
<!-- What is the confirmed date --> | ||
<div class="govuk-grid-row govuk-!-margin-top-4"> | ||
<div class="govuk-grid-column-two-thirds"> | ||
<form class="form" action="check-answers" method="post"> | ||
<fieldset class="govuk-fieldset" role="group" aria-describedby="passport-issued-hint"> | ||
<legend class="govuk-fieldset__legend govuk-fieldset__legend--l"> | ||
<h1 class="govuk-fieldset__heading"> | ||
<span class="govuk-caption-l">Add an appearance</span> | ||
Enter the overall sentence length | ||
</h1> | ||
</legend> | ||
<div class="govuk-!-margin-top-2"> | ||
<div class="govuk-form-group"> | ||
<input class="govuk-input govuk-input--width-2 govuk-!-margin-right-2" id="sentence-length-1" name="sentence-length-{{ data.sentence[sentence-length-period-1] }}" type="text" inputmode="numeric"> | ||
<select class="govuk-select alternative-sentence-length-select" id="sentence-length-period-1" name="sentence[sentence-length-period-1]"> | ||
<option value="years" selected>years</option> | ||
<option value="months">months</option> | ||
<option value="weeks">weeks</option> | ||
<option value="days">days</option> | ||
</select> | ||
</div> | ||
<div class="govuk-form-group"> | ||
<input class="govuk-input govuk-input--width-2 govuk-!-margin-right-2" id="sentence-length-2" name="sentence[sentence-length-{{ data.sentence[sentence-length-period-2] }}]" type="text" inputmode="numeric"> | ||
<select class="govuk-select alternative-sentence-length-select" id="sentence-length-period-2" name="sentence[sentence-length-period-2]"> | ||
<option value="years">years</option> | ||
<option value="months" selected>months</option> | ||
<option value="weeks">weeks</option> | ||
<option value="days">days</option> | ||
</select> | ||
</div> | ||
<div class="govuk-form-group"> | ||
<input class="govuk-input govuk-input--width-2 govuk-!-margin-right-2" id="sentence-length-3" name="sentence[sentence-length-{{ data.sentence[sentence-length-period-3] }}]" type="text" inputmode="numeric"> | ||
<select class="govuk-select alternative-sentence-length-select" id="sentence-length-period-3" name="sentence[sentence-length-period-3]"> | ||
<option value="years">years</option> | ||
<option value="months">months</option> | ||
<option value="weeks" selected>weeks</option> | ||
<option value="days">days</option> | ||
</select> | ||
</div> | ||
<div class="govuk-form-group"> | ||
<input class="govuk-input govuk-input--width-2 govuk-!-margin-right-2" id="sentence-length-4" name="sentence[sentence-length-{{ data.sentence[sentence-length-period-4] }}]" type="text" inputmode="numeric"> | ||
<select class="govuk-select alternative-sentence-length-select" id="sentence-length-period-4" name="sentence[sentence-length-period-4]"> | ||
<option value="years">years</option> | ||
<option value="months">months</option> | ||
<option value="weeks">weeks</option> | ||
<option value="days" selected>days</option> | ||
</select> | ||
</div> | ||
</div> | ||
</fieldset> | ||
<button class="govuk-button" data-module="govuk-button"> | ||
Continue | ||
</button> | ||
</form> | ||
</div> | ||
<div class="govuk-grid-column-one-third"> | ||
{% set showOffences = true %} | ||
{% include "includes/templates/appearance-info.njk" %} | ||
</div> | ||
</div> | ||
{% endblock %} |
78 changes: 78 additions & 0 deletions
78
app/views/23/court-cases/add-a-court-appearance/change-offences.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
{% extends "../template.html" %} | ||
{% block content %} | ||
<div class="govuk-grid-row govuk-!-margin-top-4"> | ||
<div class="govuk-grid-column-two-thirds"> | ||
{% if data.changeMade == 1 %} | ||
<div class="moj-banner moj-banner--success" role="region" aria-label="Success"> | ||
<svg class="moj-banner__icon" fill="currentColor" role="presentation" focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" height="25" width="25"> | ||
<path d="M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z" /> | ||
</svg> | ||
<div class="moj-banner__message">Changes successfully made</div> | ||
</div> | ||
{% endif %} | ||
{% if data.offenceDeleted == 1 %} | ||
<div class="moj-banner moj-banner--success" role="region" aria-label="Success"> | ||
<svg class="moj-banner__icon" fill="currentColor" role="presentation" focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" height="25" width="25"> | ||
<path d="M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z" /> | ||
</svg> | ||
<div class="moj-banner__message">Offence deleted</div> | ||
</div> | ||
{% endif %} | ||
{% if data.offenceAdded == 1 %} | ||
<div class="moj-banner moj-banner--success" role="region" aria-label="Success"> | ||
<svg class="moj-banner__icon" fill="currentColor" role="presentation" focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" height="25" width="25"> | ||
<path d="M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z" /> | ||
</svg> | ||
<div class="moj-banner__message">New offence added</div> | ||
</div> | ||
{% endif %} | ||
<h1 class="govuk-heading-l"> | ||
<span class="govuk-caption-l">Add an appearance to court case {{ data.courtCaseIndex | int + 1 }}</span> | ||
Edit the offence details for this appearance</h1> | ||
<h2 class="govuk-heading-m govuk-!-margin-bottom-6">Offences ({{ data.appearance.offences | length }})</h2> | ||
{% for offence in data.appearance.offences %} | ||
<div class="offence-card"> | ||
<div class="offence-card-offence-details"> | ||
<h4 class="govuk-heading-s">{{ offence['offence-name'] }}</h4> | ||
<dl class="govuk-summary-list govuk-summary-list--no-border"> | ||
<div class="govuk-summary-list__row"> | ||
<dt class="govuk-summary-list__key"> | ||
Commited on | ||
</dt> | ||
<dd class="govuk-summary-list__value"> | ||
{{ offence['offence-start-date-day'] }}/{{ offence['offence-start-date-month'] }}/{{ offence['offence-start-date-year'] }} | ||
</dd> | ||
</div> | ||
<div class="govuk-summary-list__row"> | ||
<dt class="govuk-summary-list__key"> | ||
Outcome | ||
</dt> | ||
<dd class="govuk-summary-list__value"> | ||
{{ offence['outcome'] }} | ||
</dd> | ||
</div> | ||
</dl> | ||
</div> | ||
<div class="offence-card-actions"> | ||
<ul class="offence-card-actions-list"> | ||
<li class="offence-card-action-link"><a href="/v8/update-offence?index={{loop.index0}}&route=repeat-remand">Edit</a></li> | ||
<li class="offence-card-action-link"> | ||
<a href="/v8/confirm-delete?index={{loop.index0}}&route=repeat-remand">Delete</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
{% endfor %} | ||
<form class="form govuk-!-margin-top-7" action="next-court-date-select"> | ||
<p><a class="govuk-link--no-visited-state" href="/{{data.prototypeVersion}}/add-an-offence-to-appearance?route=repeat-remand">Add another offence</a></p> | ||
<div class="govuk-button-group"> | ||
<!-- <button class="govuk-button govuk-button--secondary" data-module="govuk-button" formaction="" formmethod="post"> | ||
Add another | ||
</button> --> | ||
<button class="govuk-button" data-module="govuk-button"> | ||
Finish and continue | ||
</button> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
{% endblock %} |
Oops, something went wrong.