From d14988146b46ef57037c60619b0cdab865080972 Mon Sep 17 00:00:00 2001 From: lgpilot Date: Wed, 3 Jan 2024 21:59:54 +0100 Subject: [PATCH] created a function and a HTML structure to populate the DOM from a JSON object --- frontend/view.html | 301 ++++++++++++++++++++++++++++++++++++++------- 1 file changed, 258 insertions(+), 43 deletions(-) diff --git a/frontend/view.html b/frontend/view.html index 64f6d23..b41c536 100644 --- a/frontend/view.html +++ b/frontend/view.html @@ -37,6 +37,7 @@ } table#view_table thead th { text-align: center; + vertical-align: bottom; } table#view_table thead th:first-child { font-weight: bold; @@ -44,6 +45,14 @@ table#view_table thead th.me { font-weight: bold; } + table#view_table thead th img { + display: block; + margin: auto; + margin-bottom: 1em; + border-radius: 50%; + max-width: 4em; + max-height: 4em; + } table#view_table tbody tr { border-bottom: 1px solid #dddddd; @@ -55,6 +64,8 @@ table#view_table tbody th span { font-size: 0.8em; font-weight: normal; + display: inline-block; + margin-left: 0.33em; } table#view_table tbody tr:nth-of-type(odd) { background-color: var(--colour_lightgrey); @@ -113,68 +124,272 @@ - - + + - - - - - - - - - - - - - + - +
- - Les abeilles en test -
AliceMoi (Loulou)Bob
- Date #1 -
- πŸ‡ΈπŸ‡ͺ 2 - πŸ—Ό 1 -
- - πŸ—Ό - - - - πŸ‡ΈπŸ‡ͺ - πŸš… - - - - πŸ₯¨ - 🏠 - πŸš… - -
- - 3 group members -

- So far, this group has planned between 2022-08-01 and 2024-11-25. + So far, this group has planned between + + and + .

Take me home!

+ + + + + + + \ No newline at end of file