summaryrefslogtreecommitdiffstats
path: root/ui/html/pages/persons_list.tmpl.html
diff options
context:
space:
mode:
authorYulqen <246857+yulqen@users.noreply.github.com>2024-04-18 13:58:11 +0100
committerGitHub <noreply@github.com>2024-04-18 13:58:11 +0100
commit69017cc225e2754466b8444ca42cb1122208425d (patch)
tree6a7ac8d150b95c1fad9229d124a23737abc17964 /ui/html/pages/persons_list.tmpl.html
parent530f08071fc1295fabdaedf9724b8cda48780927 (diff)
parentf08ac7b887e0bae0cb67362eec90a575faec07f1 (diff)
Merge pull request #4 from defencedigital/changes
Changes
Diffstat (limited to 'ui/html/pages/persons_list.tmpl.html')
-rw-r--r--ui/html/pages/persons_list.tmpl.html33
1 files changed, 33 insertions, 0 deletions
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 }}
+