summaryrefslogtreecommitdiffstats
path: root/ui/html/pages
diff options
context:
space:
mode:
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, 181 insertions, 0 deletions
diff --git a/ui/html/pages/home.tmpl.html b/ui/html/pages/home.tmpl.html
new file mode 100644
index 0000000..1164108
--- /dev/null
+++ b/ui/html/pages/home.tmpl.html
@@ -0,0 +1,56 @@
+{{ 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
new file mode 100644
index 0000000..2863d19
--- /dev/null
+++ b/ui/html/pages/operations_list.tmpl.html
@@ -0,0 +1,59 @@
+{{ 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
new file mode 100644
index 0000000..5fedb09
--- /dev/null
+++ b/ui/html/pages/organisations_list.tmpl.html
@@ -0,0 +1,33 @@
+{{ 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
new file mode 100644
index 0000000..87689df
--- /dev/null
+++ b/ui/html/pages/persons_list.tmpl.html
@@ -0,0 +1,33 @@
+{{ 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 }}
+