summaryrefslogtreecommitdiffstats
path: root/ui (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Introduces much better styling of the operations tableMatthew Lemon2024-02-122-5/+42
|
* Removes the bullet from a listMatthew Lemon2024-02-121-0/+6
| | | | | This makes things much neater when the list is rendered inside a table cell.
* Method to format an EngagementStrategy for renderingMatthew Lemon2024-02-121-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.
* Some formatting for ESes in Ops tableMatthew Lemon2024-02-122-4/+15
| | | | | 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.
* Operations list shows ESs for each entityMatthew Lemon2024-02-121-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.
* Adds mock ES and EP entries in Ops tableMatthew Lemon2024-02-121-0/+4
|
* Changes table header text to normal font weight.Matthew Lemon2024-02-121-0/+1
|
* Adds lorem ipsum text to operations pageMatthew Lemon2024-02-121-0/+4
| | | | Just for padding at this stage.
* An Operations list page now renders data in tableMatthew Lemon2024-02-123-25/+13
| | | | | | | | | 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.
* wip: Cannot get the dynamic data to show up in templateMatthew Lemon2024-02-111-1/+11
|
* Adds an operations html templateMatthew Lemon2024-02-112-0/+37
| | | | | 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.
* Further tinkering with CSSMatthew Lemon2024-02-113-5/+11
|
* Started mocking out home page in HTML and CSSMatthew Lemon2024-02-112-0/+42
| | | | | | 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.
* Adds small-font cssMatthew Lemon2024-02-114-3/+933
| | | | | | | | 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.
* wip: tweak to font sizeMatthew Lemon2024-02-111-3/+3
|
* Have added Insert handler for Organisation modelMatthew Lemon2024-02-101-39/+0
| | | | | | This is a straight forward wrapper around INSERT. Also added a clientError into a new helpers.go file.
* Added nav partialMatthew Lemon2024-02-082-1/+6
| | | | | Added a partial html for the navigation bar. So far it just has a link to "Home" on it.
* Created a /organisations/list routeMatthew Lemon2024-02-084-1/+56
| | | | | | There is also some basic CSS here. Also introduced a proper structured logger.
* First proper use of templatesMatthew Lemon2024-02-082-2/+13
|
* First appearance of HTML on the home pageMatthew Lemon2024-02-081-0/+13