summaryrefslogtreecommitdiffstats
path: root/ui/html/pages (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-02-12More styling - reverted from gray backgroundMatthew Lemon1-10/+12
Have moved to white background and given the whole content a padding on the left and right. Have commented out the table width styling for now as it's now required but want to leave it in there for the forseeable as I'm sure I will come back to it.
2024-02-12Introduces much better styling of the operations tableMatthew Lemon1-2/+2
2024-02-12Method to format an EngagementStrategy for renderingMatthew Lemon1-3/+3
The objective is to render a link to the ES in the Operations table. Only the start year and end year are required for it to make sense.
2024-02-12Some formatting for ESes in Ops tableMatthew Lemon1-3/+8
Added another dummy ES to Operation 1 in test data so I can test the listing inside the table - it still does not look correct though.
2024-02-12Operations list shows ESs for each entityMatthew Lemon1-2/+10
This was about two hours of learning, and getting confused - and it needs to be refactored. We need to be able to generate the list of EPs for the Operation also. At the moment this only prints the object representation. More work to be done writing a method that gives us the id and textual representation for the link in the table.
2024-02-12Adds mock ES and EP entries in Ops tableMatthew Lemon1-0/+4
2024-02-12Adds lorem ipsum text to operations pageMatthew Lemon1-0/+4
Just for padding at this stage.
2024-02-12An Operations list page now renders data in tableMatthew Lemon1-23/+12
The data is fetched from the database and uses html/template to render the rows in a list. A critical bug was not including the dot in {{ template "main" . }} in the base template. THIS MEANT THAT NO DATA PASSED TO ExecuteTemplate function rendered and took a long time to figure out.
2024-02-11wip: Cannot get the dynamic data to show up in templateMatthew Lemon1-1/+11
2024-02-11Adds an operations html templateMatthew Lemon1-0/+36
Does not contain any dynamic data at this point, i.e. does not actually list the operations from the database - just dummy data at this point.
2024-02-11Further tinkering with CSSMatthew Lemon1-4/+4
2024-02-11Started mocking out home page in HTML and CSSMatthew Lemon1-0/+30
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.
2024-02-11Adds small-font cssMatthew Lemon1-1/+1
Basing CSS styles on the look and feel of cgit, this commit actually includes the cgit css file in the tree for reference. I don't want to get too carried away with CSS at this point but this is a start.
2024-02-08Created a /organisations/list routeMatthew Lemon2-1/+7
There is also some basic CSS here. Also introduced a proper structured logger.
2024-02-08First proper use of templatesMatthew Lemon1-0/+6