summaryrefslogtreecommitdiffstats
path: root/ui/html/pages
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-04-23 11:16:38 +0100
committerMatthew Lemon <y@yulqen.org>2024-04-23 11:16:38 +0100
commit0f951dcf029d4af284467543a3afdf5bf6581a20 (patch)
treea48384210cdc168e3bd3ccff6d6d516eeed9e748 /ui/html/pages
parent8b084e9fe7a5f3a04c32daf9a24f7f2cf67300f9 (diff)
switched to Django
Diffstat (limited to 'ui/html/pages')
-rw-r--r--ui/html/pages/home.tmpl.html56
-rw-r--r--ui/html/pages/operations_list.tmpl.html59
-rw-r--r--ui/html/pages/organisations_list.tmpl.html33
-rw-r--r--ui/html/pages/persons_list.tmpl.html33
4 files changed, 0 insertions, 181 deletions
diff --git a/ui/html/pages/home.tmpl.html b/ui/html/pages/home.tmpl.html
deleted file mode 100644
index 1164108..0000000
--- a/ui/html/pages/home.tmpl.html
+++ /dev/null
@@ -1,56 +0,0 @@
-{{ define "title"}}Home{{ end }}
-
-{{ define "main" }}
-<h2 class="govuk-heading-xl">DefNucSyR Engagement Database (DED)</h2>
-
-<div class="govuk-accordion" data-module="govuk-accordion" id="accordion-default">
- <div class="govuk-accordion__section">
- <div class="govuk-accordion__section-header">
- <h2 class="govuk-accordion__section-heading">
- <span class="govuk-accordion__section-button" id="accordion-default-heading-1">
- Regulation
- </span>
- </h2>
- </div>
- <div id="accordion-default-content-1" class="govuk-accordion__section-content">
- <p class="govuk-body">Stuff here</p>
- </div>
- </div>
- <div class="govuk-accordion__section">
- <div class="govuk-accordion__section-header">
- <h2 class="govuk-accordion__section-heading">
- <span class="govuk-accordion__section-button" id="accordion-default-heading-2">
- Submarines & Propulsion Team
- </span>
- </h2>
- </div>
- <div id="accordion-default-content-2" class="govuk-accordion__section-content">
- <p class="govuk-body">Stuff here</p>
- </div>
- </div>
- <div class="govuk-accordion__section">
- <div class="govuk-accordion__section-header">
- <h2 class="govuk-accordion__section-heading">
- <span class="govuk-accordion__section-button" id="accordion-default-heading-3">
- Warhead & Transport Team
- </span>
- </h2>
- </div>
- <div id="accordion-default-content-3" class="govuk-accordion__section-content">
- <p class="govuk-body">Stuff here</p>
- </div>
- </div>
- <div class="govuk-accordion__section">
- <div class="govuk-accordion__section-header">
- <h2 class="govuk-accordion__section-heading">
- <span class="govuk-accordion__section-button" id="accordion-default-heading-4">
- How people read
- </span>
- </h2>
- </div>
- <div id="accordion-default-content-4" class="govuk-accordion__section-content">
- <p class="govuk-body">This is the content for How people read.</p>
- </div>
- </div>
-</div>
-{{ end }}
diff --git a/ui/html/pages/operations_list.tmpl.html b/ui/html/pages/operations_list.tmpl.html
deleted file mode 100644
index 2863d19..0000000
--- a/ui/html/pages/operations_list.tmpl.html
+++ /dev/null
@@ -1,59 +0,0 @@
-{{ define "title" }}Operations{{end}}
-
-
-{{ define "main" }}
-<h3>Operations <span><a href="#" class="admin-link">[Admin]</a></span></h3>
-
-<p>
-Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
-</p>
-
-
-{{if .Operations}}
-<table id="home-summary-table">
- <thead>
- <tr id="header-row">
- <th>Operation</th>
- <th>RP</th>
- <th>Lead Inspector[s]</th>
- <th>Description</th>
- <th>Organisation</th>
- <th>EPs</th>
- <th>ESs</th>
- <th>SharePoint</th>
- </tr>
- </thead>
- <tbody>
- {{range .Operations }}
- <tr>
- <td><a href="#">{{.Name}}</a></td>
- <td>Tim Gudgeon</td>
- <td>Tina McKinchey / Barbara Snelland</td>
- <td>{{.Description}}</td>
- <td>{{.OrganisationName}}</td>
- <td><a href="#">EP 2024</a></td>
- <td>
- {{if .EngagementStrategies}}
- <ul>
- {{range .EngagementStrategies}}
- <li class="table-list">
- <a href="#">{{.FormatForTable }}</a>
- </li>
- {{end}}
-
- </ul>
- {{else}}
- NA
- {{end}}
- </td>
- <td><a href="#">Link</a></td>
- </tr>
- {{end}}
- </tbody>
-</table>
-{{else}}
-<p>There are no operations.</p>
-{{end}}
-
-{{ end }}
-
diff --git a/ui/html/pages/organisations_list.tmpl.html b/ui/html/pages/organisations_list.tmpl.html
deleted file mode 100644
index 5fedb09..0000000
--- a/ui/html/pages/organisations_list.tmpl.html
+++ /dev/null
@@ -1,33 +0,0 @@
-{{ define "title" }}Organisations{{end}}
-
-{{ define "main" }}
-<h3>Organisations <span><a href="#" class="admin-link">[Admin]</a></span></h3>
-<table id="home-summary-table">
- <thead>
- <tr id="header-row">
- <th>Organisation</th>
- <th>RP</th>
- <th>Lead Inspector[s]</th>
- <th>Another attribute</th>
- <th>Another attribute</th>
- <th>SharePoint</th>
- </tr>
- </thead>
- <tbody>
- {{ if .Organisations }}
- {{range .Organisations}}
- <tr>
- <td><a href="#">{{.Name}}</a></td>
- <td>Tim Gudgeon</td>
- <td>Tina McKinchey / Barbara Snelland</td>
- <td>Bobbins</td>
- <td>Bobbins</td>
- <td><a href="#">Link</a></td>
- </tr>
- {{end}}
- {{else}}
- <p>There are no organisations yet.</p>
- {{end}}
- </tbody>
-</table>
-{{ end }}
diff --git a/ui/html/pages/persons_list.tmpl.html b/ui/html/pages/persons_list.tmpl.html
deleted file mode 100644
index 87689df..0000000
--- a/ui/html/pages/persons_list.tmpl.html
+++ /dev/null
@@ -1,33 +0,0 @@
-{{ define "title" }}Operations{{end}}
-
-
-{{ define "main" }}
-<h3>People <span><a href="#" class="admin-link">[Admin]</a></span></h3>
-
-{{if .Persons}}
- <table id="home-summary-table">
- <thead>
- <tr id="header-row">
- <th>First Name</th>
- <th>Last Name</th>
- <th>Organisation</th>
- <th>Role</th>
- </tr>
- </thead>
- <tbody>
- {{range .Persons }}
- <tr>
- <td>{{.FirstName}}</td>
- <td>{{.LastName}}</td>
- <td>{{.OrganisationName}}</td>
- <td>{{.RoleName}}</td>
- </tr>
- {{end}}
- </tbody>
- </table>
-{{else}}
-<p>There are no operations.</p>
-{{end}}
-
-{{ end }}
-