Skip to content

Commit

Permalink
adding subpage for cus acp
Browse files Browse the repository at this point in the history
  • Loading branch information
andreea-moj committed Feb 5, 2025
1 parent 4c12373 commit c32d6e7
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 10 deletions.
37 changes: 37 additions & 0 deletions app/views/find/mvp/int-acp-com-violence.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,44 @@ <h2 class="govuk-heading-m govuk-!-margin-top-8">Session details</h2>
<h2 class="govuk-heading-m govuk-!-margin-top-8">Location</h2>
<p class="govuk-body govuk-!-margin-top-6">Select a community location to contact the programme team or make a referral.</p>

<p style="background-color: pink;">option 1</p>
<table class="govuk-table" data-module="moj-sortable-table">
<thead class="govuk-table__head">
<tr class="govuk-table__row">
<th scope="col" class="govuk-table__header" aria-sort="ascending"><button type="button" data-index="0">Location</button></th>
<th scope="col" class="govuk-table__header" aria-sort="none"><button type="button" data-index="1">Probation Delivery Unit (PDU)</button></th>
</tr>
</thead>
<tbody class="govuk-table__body">
<tr class="govuk-table__row">
<td class="govuk-table__cell">Location 1 details</td>
<td class="govuk-table__cell">East Midlands</td>
</tr>
<tr class="govuk-table__row">
<td class="govuk-table__cell">Location 2 details</td>
<td class="govuk-table__cell">Kent, Surrey and Sussex</td>
</tr>
<tr class="govuk-table__row">
<td class="govuk-table__cell">Location 3 details</td>
<td class="govuk-table__cell">London</td>
</tr>
<tr class="govuk-table__row">
<td class="govuk-table__cell">Location 4 details</td>
<td class="govuk-table__cell">North East</td>
</tr>
<tr class="govuk-table__row">
<td class="govuk-table__cell">Location 5 details</td>
<td class="govuk-table__cell">North West</td>
</tr>
<tr class="govuk-table__row">
<td class="govuk-table__cell">Location 6 details</td>
<td class="govuk-table__cell">Yorkshire and the Humber</td>
</tr>
</tbody>
</table>

<br><br><br><br>
<p style="background-color: pink;">option 2</p>
<!--Table for community-->
<div class="govuk-accordion" data-module="govuk-accordion" id="accordion-default">
<div class="govuk-accordion__section">
Expand Down
69 changes: 69 additions & 0 deletions app/views/find/mvp/int-acp-cus-details-violence.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{% extends "layouts/main.html" %}

{% block pageTitle %}
Intervention skeleton
{% endblock %}

{% block main %}
{{ super() }}
{% endblock %}

{% block beforeContent %}
{% from "govuk/components/back-link/macro.njk" import govukBackLink %}
{{ govukBackLink({
text: "Back",
href: "javascript:history.back()"
}) }}
{% endblock %}

{% block content %}

<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<form class="form" method="post" action="#">
<div class="govuk-form-group">
<!--<span class="govuk-caption-l">Alex River (CRN: X123456)</span>-->
<h1 class="govuk-heading-l">Becoming New Me Plus: general violence offence</h1>
<h2 class="govuk-heading-m govuk-!-margin-top-8">Location name (HMP)</h2>
</div>
<h2 class="govuk-heading-m govuk-!-margin-top-8">Criteria</h2>
<dl class="govuk-summary-list">
<div class="govuk-summary-list__row">
<dt class="govuk-summary-list__key">Prison category</dt>
<dd class="govuk-summary-list__value">Category C </dd>
</div>
<div class="govuk-summary-list__row">
<dt class="govuk-summary-list__key">Address</dt>
<dd class="govuk-summary-list__value">Church Rd, Eastchurch, Sheerness, ME12 4DZ</dd>
</div>
<div class="govuk-summary-list__row">
<dt class="govuk-summary-list__key">County</dt>
<dd class="govuk-summary-list__value">Wiltshire</dd>
</div>
<div class="govuk-summary-list__row">
<dt class="govuk-summary-list__key">Email address</dt>
<dd class="govuk-summary-list__value"><a href="mailto:[email protected]" class="govuk-link">[email protected]</a></dd>
</div>
</dl>


<!-- {{ govukButton({
text: 'Continue'
}) }} -->

<div class="govuk-button-group">
<!--<a href="#" class="govuk-button">
Make a referral
</a>
<a href="#" class="govuk-button govuk-button--secondary">
Copy a link to this intervention
</a>-->
</div>

</form>
</div>
</div>

<script type="module" src="/public/javascripts/gov-uk-latest.js"></script>

{% endblock %}
15 changes: 5 additions & 10 deletions app/views/find/mvp/int-acp-cus-violence.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,35 +147,30 @@ <h2 class="govuk-heading-m govuk-!-margin-top-8">Location</h2>
</thead>
<tbody class="govuk-table__body">
<tr class="govuk-table__row">
<td class="govuk-table__cell">Aylesbury (HMP)</td>
<td class="govuk-table__cell"><a href="int-acp-cus-details-violence" class="govuk-link">Aylesbury (HMP)</a></td>
<td class="govuk-table__cell">Category C</td>
<td class="govuk-table__cell">Buckinghamshire</td>
</tr>
<tr class="govuk-table__row">
<td class="govuk-table__cell">Brinsford (HMP)</td>
<td class="govuk-table__cell"><a href="int-acp-cus-details-violence" class="govuk-link">Brinsford (HMP)</a></td>
<td class="govuk-table__cell">Category B/C</td>
<td class="govuk-table__cell">Wolverhampton</td>
</tr>
<tr class="govuk-table__row">
<td class="govuk-table__cell">Frankland (HMP)</td>
<td class="govuk-table__cell"><a href="int-acp-cus-details-violence" class="govuk-link">Frankland (HMP)</a></td>
<td class="govuk-table__cell">Category A/B</td>
<td class="govuk-table__cell">Durham</td>
</tr>
<tr class="govuk-table__row">
<td class="govuk-table__cell">Stoke Heath (HMP)</td>
<td class="govuk-table__cell"><a href="int-acp-cus-details-violence" class="govuk-link">Stoke Heath (HMP)</a></td>
<td class="govuk-table__cell">Category C</td>
<td class="govuk-table__cell">Shropshire</td>
</tr>
<tr class="govuk-table__row">
<td class="govuk-table__cell">Swinton Hall (HMP)</td>
<td class="govuk-table__cell"><a href="int-acp-cus-details-violence" class="govuk-link">Swinton Hall (HMP)</a></td>
<td class="govuk-table__cell">Category C</td>
<td class="govuk-table__cell">Staffordshire</td>
</tr>
<tr class="govuk-table__row">
<td class="govuk-table__cell">Erlestoke (HMP)</td>
<td class="govuk-table__cell">Category C</td>
<td class="govuk-table__cell">Wiltshire</td>
</tr>
</tbody>
</table>

Expand Down

0 comments on commit c32d6e7

Please sign in to comment.