summaryrefslogtreecommitdiffstats
path: root/ui/html/pages/operations_list.tmpl.html
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-04-18 11:06:32 +0100
committerMatthew Lemon <y@yulqen.org>2024-04-18 11:06:32 +0100
commit20560419614e22fbb58567cdb0b88b54caf679f4 (patch)
tree163df44f07907d865b363db3bc198287ebd3d25f /ui/html/pages/operations_list.tmpl.html
parent435742cede199e3c85b5e2eb5a42ccbee4906a05 (diff)
Adds code from ded-go-core - no database
D2S test app code removed (nginx error). Adds all go code from `ded-go-core` using the basic Gov.UK UI for a test page for DED.
Diffstat (limited to 'ui/html/pages/operations_list.tmpl.html')
-rw-r--r--ui/html/pages/operations_list.tmpl.html59
1 files changed, 59 insertions, 0 deletions
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 }}
+