1
0

44 Commits

Author SHA1 Message Date
c4641da821 Add link to gitea repository in nav menu. 2025-03-26 18:52:53 +01:00
6f016cd2b7 Add checkbox and date completed columns to to-do list. 2025-03-26 18:48:07 +01:00
54bd002293 Data bind item name of to-do list item to input field. 2025-03-26 18:30:52 +01:00
dde2d3c20d Add button to add a new task to the to-do list. 2025-03-26 18:25:54 +01:00
1fbdcdcd7c Display to-do list statically on To-do page. 2025-03-26 17:41:49 +01:00
88fb5425b4 Add TodoItem model and repository. 2025-03-26 17:35:28 +01:00
341e2da53e Add To-do list page. 2025-03-26 17:09:51 +01:00
7159c8ffed Replace foreach loop with Virtualize component.
Improves performance greatly when lots of li elements are to be created. Note that every li should have the same height in pixels in order for the Virtualize component to work properly.
2025-03-26 00:09:03 +01:00
ea04b947e8 Add key to li elements for servers.
This improves performance. If a new server was to be added interactively, then ALL li elements would update. With this key, only the new li element will be added.
2025-03-25 23:57:26 +01:00
b02d6d2bb9 Apply two-way data binding for search bar. 2025-03-25 23:43:06 +01:00
1ebbced64b Move button to add server under search bar. 2025-03-25 23:42:42 +01:00
c8cd3d07b5 Add search bar to filter server names. 2025-03-25 23:24:35 +01:00
1577933bb4 Create active view for city cards. 2025-03-25 22:41:32 +01:00
a22d8d7ffd Remove loose server component from servers page. 2025-03-25 22:41:09 +01:00
838fc29b51 Filter servers by city by adding functionality to buttons under city cards. 2025-03-25 21:43:49 +01:00
1d7bb19c40 Apply global server side rendering, but exclude certain routable components. (.NET 9 feature) 2025-03-25 15:01:37 +01:00
b23f7bac27 Add additional logging information. 2025-03-25 15:00:28 +01:00
1110a709fb Migrate project from .NET 8.0 to target .NET 9.0 instead. 2025-03-25 14:23:56 +01:00
23300842c9 Add comment regarding render mode on Routes component in App.razor file. 2025-03-25 12:27:52 +01:00
64c2be5028 Replace EditForm for turn on/off button with server interactivity. 2025-03-25 12:15:17 +01:00
432a8e8f84 Use Enhanced form to make turn on/off button more interactive.
Without refreshing the page.
2025-03-25 11:35:28 +01:00
3c85a8feda Add turn on/off button for a server component.
But notice that the page gets refreshed.
2025-03-25 11:31:39 +01:00
a0e034e740 Add functionality to delete servers. 2025-03-24 18:32:53 +01:00
48638eeae2 Change links for add and edit to look like primary buttons. 2025-03-24 18:32:34 +01:00
4d77319f48 Add a routable component to add a new server. 2025-03-24 18:16:00 +01:00
8139388ff9 Add comment explaining exception on NavigationManager. 2025-03-24 18:15:44 +01:00
6090fea796 Automatically navigate back to servers page after submitting form for editing server.
With dependancy injection of the NavigationManager.
2025-03-24 17:49:30 +01:00
353df277e5 Update EditForm for server edit with data annotations. 2025-03-24 17:33:39 +01:00
580ababb2a Update EditForm for server to include sumbit handler and id. 2025-03-24 17:23:11 +01:00
ee8c939710 Create EditForm on Edit Server page. 2025-03-24 16:13:25 +01:00
3b14454205 Add root parameter to the URL for editing a server. 2025-03-24 15:56:29 +01:00
bb72836773 Add nav menu link to servers page with a different icon. 2025-03-24 12:11:42 +01:00
8814169c67 Ignore static images in gitignore file. 2025-03-24 11:56:55 +01:00
51564f5582 Add Edit server component and edit link to server page. 2025-03-24 11:51:33 +01:00
3947374e35 Show cards with city images. 2025-03-24 11:47:04 +01:00
0d5b5cdf0a Add buttons with city names on servers page. 2025-03-24 10:32:13 +01:00
64d4389c9a Add GetCities function to ServersRepository class. 2025-03-24 10:31:49 +01:00
2151da4ef5 Create list of server components on server page. 2025-03-24 10:13:27 +01:00
0f1c727f3d Fix GetServers function header 2025-03-24 10:12:46 +01:00
26225eb210 Rename server cities. 2025-03-24 10:12:38 +01:00
b1ed6188fb Add Server model and a data repository. 2025-03-23 23:36:43 +01:00
4e9d8a3d66 Add ServerComponent component. 2025-03-23 21:23:18 +01:00
1bd9420c94 Add servers page routable component. 2025-03-23 12:38:45 +01:00
a293b4ebf1 Creating new blazor project. 2025-03-23 12:38:17 +01:00