1
0

54 Commits

Author SHA1 Message Date
21e24945fd Change input field widths using CSS isolation. 2025-03-27 22:49:26 +01:00
6c26d442f4 Display random amount of online users if a server is online. 2025-03-27 22:22:08 +01:00
8e6fd76b76 Add buttons to turn servers online or offline in servers list. 2025-03-27 22:16:15 +01:00
8a39b661cb Clear search filter on city change using a component reference. 2025-03-27 21:47:21 +01:00
b14af7616e Clear city selection using a component reference. 2025-03-27 21:36:53 +01:00
bdfc834753 Move Search bar into its own component. 2025-03-27 12:32:42 +01:00
7cf251570c Remove whitespace. 2025-03-27 12:05:37 +01:00
af8d7a7698 Move city into its own component and use EventCallback to bubble events when a city is clicked to be handled by the parents of the component. 2025-03-27 12:05:31 +01:00
60aa4f9c46 Extract server list items into the ServerComponent. 2025-03-27 10:40:54 +01:00
a6dea2bc3a Pass selected city as parameter to Server List Component. 2025-03-27 00:18:16 +01:00
9d72279631 Move server list into its own component. 2025-03-27 00:07:36 +01:00
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
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