diff --git a/IGP/Database.db b/IGP/Database.db index 9498ffd..666e9cd 100644 Binary files a/IGP/Database.db and b/IGP/Database.db differ diff --git a/IGP/Pages/AnaltyicsPage.razor b/IGP/Pages/AnaltyicsPage.razor new file mode 100644 index 0000000..faabfe6 --- /dev/null +++ b/IGP/Pages/AnaltyicsPage.razor @@ -0,0 +1,21 @@ +@page "/analytics" + +@layout PageLayout + + + + + Not Implemented + + + + + TODO + + + + + + + + \ No newline at end of file diff --git a/IGP/Pages/BuildCalculator/BuildCalculatorPage.razor b/IGP/Pages/BuildCalculator/BuildCalculatorPage.razor index 242c91f..5c52efd 100644 --- a/IGP/Pages/BuildCalculator/BuildCalculatorPage.razor +++ b/IGP/Pages/BuildCalculator/BuildCalculatorPage.razor @@ -33,17 +33,17 @@ - - - - - - - - - - - + + + + + + + + + + + @@ -228,11 +228,13 @@ private void OnResetClicked() { - toastService.AddToast(new ToastModel(){ - SeverityType = SeverityType.Success, - Message = "Build order has been cleared.", - Title = "Reset"}); - + toastService.AddToast(new ToastModel + { + SeverityType = SeverityType.Success, + Message = "Build order has been cleared.", + Title = "Reset" + }); + buildOrderService.Reset(); } diff --git a/IGP/Pages/BuildCalculator/Parts/OptionsComponent.razor b/IGP/Pages/BuildCalculator/Parts/OptionsComponent.razor index 10b4009..cd9a2d6 100644 --- a/IGP/Pages/BuildCalculator/Parts/OptionsComponent.razor +++ b/IGP/Pages/BuildCalculator/Parts/OptionsComponent.razor @@ -13,16 +13,16 @@ Building Input Delay Add a input delay to constructing buildings for simulating worker movement and player micro. - + - Wait Time - Not implemented - - - + Min="0" + Value="30" + OnChange="@OnWaitTimeChanged"> + Wait Time + Not implemented + + + Add Wait @@ -33,15 +33,15 @@ { buildOrderService.BuildingInputDelay = int.Parse(changeEventArgs.Value!.ToString()!); } - + void OnWaitTimeChanged(ChangeEventArgs changeEventArgs) { - toastService.AddToast(new ToastModel(){Title = "Not Implemented", SeverityType = SeverityType.Warning, Message = "The ability to wait for X seconds in a build order hasn't been implemented yet."}); + toastService.AddToast(new ToastModel { Title = "Not Implemented", SeverityType = SeverityType.Warning, Message = "The ability to wait for X seconds in a build order hasn't been implemented yet." }); } public void OnWaitClicked() { - toastService.AddToast(new ToastModel(){Title = "Not Implemented", SeverityType = SeverityType.Warning, Message = "The ability to wait for X seconds in a build order hasn't been implemented yet."}); + toastService.AddToast(new ToastModel { Title = "Not Implemented", SeverityType = SeverityType.Warning, Message = "The ability to wait for X seconds in a build order hasn't been implemented yet." }); } protected override bool ShouldRender() @@ -59,4 +59,5 @@ jsRuntime.InvokeVoidAsync("console.timeEnd", "TimingComponent"); #endif } + } \ No newline at end of file diff --git a/IGP/Pages/BuildCalculator/Parts/TimingComponent.razor b/IGP/Pages/BuildCalculator/Parts/TimingComponent.razor index 8f8f775..0adcfc5 100644 --- a/IGP/Pages/BuildCalculator/Parts/TimingComponent.razor +++ b/IGP/Pages/BuildCalculator/Parts/TimingComponent.razor @@ -11,7 +11,9 @@ Value="@timingService.GetAttackTime()" OnChange="@OnAttackTimeChanged"> Attack Time -   T @Interval.ToTime(timingService.GetAttackTime()) + +   T @Interval.ToTime(timingService.GetAttackTime()) + Travel Time -   T @Interval.ToTime(timingService.GetTravelTime()) + +   T @Interval.ToTime(timingService.GetTravelTime()) + @@ -36,7 +40,7 @@ Message = "Attack Time has changed.", SeverityType = SeverityType.Success }); - + StateHasChanged(); } @@ -50,7 +54,7 @@ Message = "Travel Time has changed.", SeverityType = SeverityType.Success }); - + StateHasChanged(); } diff --git a/IGP/Pages/PermissionsPage.razor b/IGP/Pages/PermissionsPage.razor new file mode 100644 index 0000000..0bad687 --- /dev/null +++ b/IGP/Pages/PermissionsPage.razor @@ -0,0 +1,44 @@ +@page "/permissions" + +@layout PageLayout + + + + + Not Implemented + + + + + TODO + + + + + + + What's this page? + This page has options to enable and disable certain permissions settings. Such as Storage and Data Collection. + + + + What does this website store? + This website usages storage to track user defined default on the Storage page. + + + + Why would I enable storage? + Enable storage if you want to website to remeber past settings whenever you visit the website on the same web browser. + + + + What data does this website collect? + This website usages Google Analytics to collect data enabled on the Analytics page. + + + + Why would I enable data collection? + Enable data tracking if you want the website maintainer to know how your using the website. + + + \ No newline at end of file diff --git a/IGP/Pages/RoadMap/Parts/RoadMapComponent.razor b/IGP/Pages/RoadMap/Parts/RoadMapComponent.razor index f0d9e8b..3740308 100644 --- a/IGP/Pages/RoadMap/Parts/RoadMapComponent.razor +++ b/IGP/Pages/RoadMap/Parts/RoadMapComponent.razor @@ -1,7 +1,7 @@ 
@RoadMap.Name
@((MarkupString)RoadMap.Description)
-
+