summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-02-12 17:07:47 +0000
committerMatthew Lemon <y@yulqen.org>2024-02-12 17:07:47 +0000
commit4195d89d3f56d463fd5eb751a580e7e57f3e82a3 (patch)
tree63053cb832e7d3079a85697f275a205e992ef904
parentc0c0f5a9fb85f83a6b820e579bbd9b0b17ab47d5 (diff)
Introduces much better styling of the operations table
-rw-r--r--ui/html/pages/operations/list.tmpl.html4
-rw-r--r--ui/static/css/main.css43
2 files changed, 42 insertions, 5 deletions
diff --git a/ui/html/pages/operations/list.tmpl.html b/ui/html/pages/operations/list.tmpl.html
index a619ea9..1bc570b 100644
--- a/ui/html/pages/operations/list.tmpl.html
+++ b/ui/html/pages/operations/list.tmpl.html
@@ -16,8 +16,8 @@ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
<th>Lead Inspector[s]</th>
<th>Description</th>
<th>Organisation</th>
- <th>Engagement Plan</th>
- <th>Engagement Strategies</th>
+ <th>EPs</th>
+ <th>ESs</th>
<th>SharePoint</th>
</tr>
</thead>
diff --git a/ui/static/css/main.css b/ui/static/css/main.css
index 8432742..1cfe90f 100644
--- a/ui/static/css/main.css
+++ b/ui/static/css/main.css
@@ -30,12 +30,47 @@ a.admin-link {
font-size: 0.65rem;
}
+table#home-summary-table {
+ margin-top: 1.2em;
+ background: white;
+ table-layout: fixed;
+ width: 100%;
+ border-collapse: collapse;
+ border: 2px solid gray;
+}
-table#home-summary-table,
-table#home-summary-table a,
-table#home-summary-table ul,
table#home-summary-table td {
background: white;
+ border: 1px solid gray;
+}
+
+table#home-summary-table a,
+table#home-summary-table ul
+{
+ background: white;
+}
+
+table#home-summary-table thead th:nth-child(1) {
+ width: 10%;
+}
+table#home-summary-table thead th:nth-child(2) {
+ width: 6%;
+}
+
+table#home-summary-table thead th:nth-child(4) {
+ width: 10%;
+}
+
+table#home-summary-table thead th:nth-child(5) {
+ width: 10%;
+}
+
+table#home-summary-table thead th:nth-child(6) {
+ width: 5%;
+}
+
+table#home-summary-table thead th:nth-child(7) {
+ width: 5%;
}
table#home-summary-table th
@@ -43,6 +78,8 @@ table#home-summary-table th
/* border: solid 2px #ccc; */
background: lightgray;
font-weight: unset;
+ letter-spacing: 1px;
+ text-align: left;
}
table#home-summary-table li