summaryrefslogtreecommitdiffstats
path: root/ui/html
diff options
context:
space:
mode:
Diffstat (limited to 'ui/html')
-rw-r--r--ui/html/base.tmpl.html14
-rw-r--r--ui/html/pages/operations/list.tmpl.html22
2 files changed, 20 insertions, 16 deletions
diff --git a/ui/html/base.tmpl.html b/ui/html/base.tmpl.html
index 58122a0..450f9c8 100644
--- a/ui/html/base.tmpl.html
+++ b/ui/html/base.tmpl.html
@@ -10,12 +10,14 @@
<title>{{ template "title" .}} - DED</title>
</head>
<body>
- <header>
- {{ template "nav" . }}
- </header>
- <main>
- {{ template "main" . }} <!-- DONT FORGET THE DOT!!! -->
- </main>
+ <div class="content">
+ <header>
+ {{ template "nav" . }}
+ </header>
+ <main>
+ {{ template "main" . }} <!-- DONT FORGET THE DOT!!! -->
+ </main>
+ </div>
</body>
</html>
{{ end }}
diff --git a/ui/html/pages/operations/list.tmpl.html b/ui/html/pages/operations/list.tmpl.html
index 1bc570b..eac3325 100644
--- a/ui/html/pages/operations/list.tmpl.html
+++ b/ui/html/pages/operations/list.tmpl.html
@@ -1,5 +1,6 @@
{{ define "title" }}Operations{{end}}
+
{{ define "main" }}
<h3>Operations <span><a href="#" class="admin-link">[Admin]</a></span></h3>
@@ -32,16 +33,16 @@ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
<td><a href="#">EP 2024</a></td>
<td>
{{if .EngagementStrategies}}
- <ul>
- {{range .EngagementStrategies}}
- <li class="table-list">
- <a href="#">{{.FormatForTable }}</a>
- </li>
- {{end}}
-
- </ul>
+ <ul>
+ {{range .EngagementStrategies}}
+ <li class="table-list">
+ <a href="#">{{.FormatForTable }}</a>
+ </li>
+ {{end}}
+
+ </ul>
{{else}}
- NA
+ NA
{{end}}
</td>
<td><a href="#">Link</a></td>
@@ -50,7 +51,8 @@ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
</tbody>
</table>
{{else}}
- <p>There are no operations.</p>
+<p>There are no operations.</p>
{{end}}
{{ end }}
+