- @if (totalCount > 0)
- {
-
\ No newline at end of file
diff --git a/MP.Stats/Components/DataPager.razor.cs b/MP.Stats/Components/DataPager.razor.cs
index 54b5f57f..0d6d8dcc 100644
--- a/MP.Stats/Components/DataPager.razor.cs
+++ b/MP.Stats/Components/DataPager.razor.cs
@@ -9,7 +9,7 @@ using MP.Stats.Data;
namespace MP.Stats.Components
{
- public partial class DataPager
+ public partial class DataPager : ComponentBase
{
#region Protected Fields
@@ -17,6 +17,7 @@ namespace MP.Stats.Components
protected string exportDir = $"{Directory.GetCurrentDirectory()}\\temp";
+
#endregion Protected Fields
#region Private Properties
@@ -61,7 +62,7 @@ namespace MP.Stats.Components
}
}
- // calcola un set 1..numPOages centrato sulla pagina corrente...
+ // calcola un set 1 .. numPages centrato sulla pagina corrente...
private int startPage
{
get
@@ -194,23 +195,31 @@ namespace MP.Stats.Components
showLoading = false;
}
+
#endregion Private Methods
#region Protected Methods
- protected void HandlePaginationItemClick(string page)
+ protected string cssActive(int numPage)
{
- currPage = int.Parse(page);
+ string answ = "";
+ if (numPage == currPage)
+ {
+ answ = "active";
+ }
+ return answ;
}
- #endregion Protected Methods
-
-#if false
protected override async Task OnInitializedAsync()
{
await Task.Run(() => showLoading = false);
}
-#endif
+ protected void PaginationItemClick(int page)
+ {
+ currPage = page;
+ }
+
+ #endregion Protected Methods
}
}
\ No newline at end of file
diff --git a/MP.Stats/Components/SelectionFilter.razor b/MP.Stats/Components/SelectionFilter.razor
index 0eac7e25..8bba127f 100644
--- a/MP.Stats/Components/SelectionFilter.razor
+++ b/MP.Stats/Components/SelectionFilter.razor
@@ -6,7 +6,7 @@
-
diff --git a/MP.Stats/MP.Stats.csproj b/MP.Stats/MP.Stats.csproj
index 4390cfd9..cc3f10d5 100644
--- a/MP.Stats/MP.Stats.csproj
+++ b/MP.Stats/MP.Stats.csproj
@@ -4,7 +4,7 @@
net6.0
MP.Stats
826e877c-ba70-4253-84cb-d0b1cafd4440
-
6.14.2202.2116
+
6.14.2202.2117
@@ -132,6 +132,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -155,10 +165,18 @@
+
+
+
+
+
+
+
+
diff --git a/MP.Stats/Pages/Test.razor b/MP.Stats/Pages/Test.razor
index 1cdce18e..cc04841c 100644
--- a/MP.Stats/Pages/Test.razor
+++ b/MP.Stats/Pages/Test.razor
@@ -1,8 +1,8 @@
@page "/test"
-Test
+Test
-Redraw
+ await HandleRedraw())">Redraw
diff --git a/MP.Stats/Pages/_Host.cshtml b/MP.Stats/Pages/_Host.cshtml
index 7b6d6abd..08212dcb 100644
--- a/MP.Stats/Pages/_Host.cshtml
+++ b/MP.Stats/Pages/_Host.cshtml
@@ -17,6 +17,13 @@
+
+
+
+ @*
+
+ *@
+
@@ -34,15 +41,19 @@
-
-
-
-
+ @*
+ *@
+ @**@
+ @**@
-
+ @*
-
+ *@
+
+
+
+