summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-02-11 10:20:14 +0000
committerMatthew Lemon <y@yulqen.org>2024-02-11 10:20:14 +0000
commit2b3b309e974c6abba34cb1a419e78761d86b8a35 (patch)
tree873beb740e3594a3f4ffa6b7f5e93a1c68370b9b
parent8ac695cf14f0bb4b718de6d4bcbf3c8623079fe2 (diff)
Started mocking out home page in HTML and CSS
Adding initial styles; currently working on a big summary table for the front page, that is going to provide the main entry point to all the relevant business data.
-rw-r--r--ui/html/pages/organisations/list.tmpl.html30
-rw-r--r--ui/static/css/main.css12
2 files changed, 42 insertions, 0 deletions
diff --git a/ui/html/pages/organisations/list.tmpl.html b/ui/html/pages/organisations/list.tmpl.html
index 7185893..eb435b7 100644
--- a/ui/html/pages/organisations/list.tmpl.html
+++ b/ui/html/pages/organisations/list.tmpl.html
@@ -3,4 +3,34 @@
{{ define "main" }}
<h3>Organisations</h3>
<p>There is nothing to see here yet.</p>
+<table id="home-summary-table">
+ <thead>
+ <tr id="header-row">
+ <th>Organisation</th>
+ <th>RP</th>
+ <th>Another attribute</th>
+ <th>Another attribute</th>
+ <th>Another attribute</th>
+ <th>SharePoint</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><a href="#">First organisation</a></td>
+ <td>Tim Gudgeon</td>
+ <td>Bobbins</td>
+ <td>Bobbins</td>
+ <td>Bobbins</td>
+ <td><a href="#">Link</a></td>
+ </tr>
+ <tr>
+ <td>Second organisation</td>
+ <td>Seth Pring</td>
+ <td>Bobbins</td>
+ <td>Bobbins</td>
+ <td>Bobbins</td>
+ <td><a href="#">Link</a></td>
+ </tr>
+ </tbody>
+</table>
{{ end }}
diff --git a/ui/static/css/main.css b/ui/static/css/main.css
index 83af795..9ad0c83 100644
--- a/ui/static/css/main.css
+++ b/ui/static/css/main.css
@@ -20,3 +20,15 @@ a {
a:hover {
text-decoration: underline;
}
+
+table#home-summary-table,
+table#home-summary-table a,
+table#home-summary-table td {
+ background: white;
+}
+
+table#home-summary-table th {
+ /* border: solid 2px #ccc; */
+ background: lightgray;
+}
+