Adding MudBlazor UI with new Nav
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
|
||||
<div class="calculatorGrid">
|
||||
<div class="gridItem" style="grid-area: timing;">
|
||||
<ButtonComponent ButtonType="ButtonType.Secondary" OnClick="OnResetClicked">Clear Build Order</ButtonComponent>
|
||||
<ButtonComponent MyButtonType="MyButtonType.Secondary" OnClick="OnResetClicked">Clear Build Order</ButtonComponent>
|
||||
<PanelComponent>
|
||||
<InfoTooltipComponent InfoText="@Locale["Tooltip Timing Info"]">
|
||||
<TimingComponent></TimingComponent>
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
</div>
|
||||
|
||||
<div class="quizButtons">
|
||||
<ButtonComponent ButtonType="ButtonType.Secondary" OnClick="OnRefreshQuiz">Refresh</ButtonComponent>
|
||||
<ButtonComponent ButtonType="ButtonType.Primary" OnClick="OnSubmitQuiz">Submit</ButtonComponent>
|
||||
<ButtonComponent MyButtonType="MyButtonType.Secondary" OnClick="OnRefreshQuiz">Refresh</ButtonComponent>
|
||||
<ButtonComponent MyButtonType="MyButtonType.Primary" OnClick="OnSubmitQuiz">Submit</ButtonComponent>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
@inject IPermissionService PermissionService
|
||||
@layout PageLayout
|
||||
|
||||
@inject IDialogService DialogService
|
||||
@inject IMyDialogService MyDialogService
|
||||
|
||||
@inherits BasePage
|
||||
@using Services.Website
|
||||
@@ -96,17 +96,17 @@
|
||||
void OnDataCollectionConfirmClicked(MouseEventArgs mouseEventArgs)
|
||||
{
|
||||
PermissionService.SetIsDataCollectionEnabled(!PermissionService.GetIsDataCollectionEnabled());
|
||||
DialogService.Hide();
|
||||
MyDialogService.Hide();
|
||||
}
|
||||
|
||||
void OnDataCollectionCancelClicked(MouseEventArgs mouseEventArgs)
|
||||
{
|
||||
DialogService.Hide();
|
||||
MyDialogService.Hide();
|
||||
}
|
||||
|
||||
if (_storageEnabled && !PermissionService.GetIsDataCollectionEnabled())
|
||||
{
|
||||
DialogService.Show(new DialogContents
|
||||
MyDialogService.Show(new DialogContents
|
||||
{
|
||||
Title = "Permission Request",
|
||||
Message = "Are you sure you want to enable data collection? This feature is implemented with Google Analytics, and your data will be used to gauge interests, find bugs, and optimize updates in IGP Fan Reference.",
|
||||
|
||||
Reference in New Issue
Block a user