1
0

69 Commits

Author SHA1 Message Date
2da0063331 Add refresh button and automatic refreshing timer to update state.
As effect, this keeps updating the amount of people online.
2025-03-29 18:10:07 +01:00
b041d7d244 Use SetParametersAsync to only trigger OnParametersSet when necessary. 2025-03-29 16:55:57 +01:00
f2b9daac52 Initialize servers in OnAfterRender. 2025-03-29 16:45:16 +01:00
b39211b1d5 Add Dispose function to CityListComponent. 2025-03-29 16:34:07 +01:00
b9e4f44d5d Create component for to-do item. 2025-03-29 11:54:29 +01:00
5f7b63071e Create component for to-do list. 2025-03-29 11:50:00 +01:00
23d20f2f04 Allow HTML attributes on SearchBar. 2025-03-28 23:20:00 +01:00
ea9213f9c1 Add quickgrid page with paginator. 2025-03-28 21:45:43 +01:00
820682a8ba Install Nuget package: ASP.NET Core QuickGrid 9.0.3 version.
https://www.nuget.org/packages/Microsoft.AspNetCore.Components.QuickGrid
2025-03-28 21:13:48 +01:00
2c8b50e8c5 Replace ul with table for server items. 2025-03-28 21:07:32 +01:00
e4ac3ab0d9 Create templated generic Repeater component for server list items.
This also is usefull to reduce the amount of null checking if-statements.
2025-03-28 20:56:05 +01:00
6b3b08b07a Create templated generic component for Fields for EditServer page. 2025-03-28 20:39:30 +01:00
9396e98eea Unstyle bullet list for server components. 2025-03-28 12:21:42 +01:00
f24cc284f7 Use Cascading Parameter to provide server component with selected city parameter to set a background color. 2025-03-28 12:20:07 +01:00
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