|
6 | 6 | <MudItem xs="12" sm="8" Class="d-flex align-center"> |
7 | 7 |
|
8 | 8 | <MudStepperExtended @ref="_stepper" |
9 | | - Class="mud-width-full" |
10 | | - ContentStyle="min-height: 400px" |
11 | | - Linear="_linear" |
12 | | - Vertical="_vertical" |
13 | | - PreventStepChangeAsync="CheckChange" |
14 | | - BeforeFinishedAsync="BeforeFinishedAsync" |
15 | | - OnFinished="OnFinished" |
16 | | - Variant="Variant.Filled" |
17 | | - Color="Color.Secondary" |
18 | | - MobileView="_mobileView" |
19 | | - Loading="_loading" |
20 | | - HeaderTextView="HeaderTextView.All"> |
| 9 | + Class="mud-width-full" ContentStyle="min-height: 400px" |
| 10 | + Linear="_linear" Vertical="_vertical" |
| 11 | + PreventStepChangeAsync="CheckChange" BeforeFinishedAsync="BeforeFinishedAsync" OnFinished="OnFinished" |
| 12 | + Variant="Variant.Filled" Color="Color.Secondary" |
| 13 | + MobileView="_mobileView" Loading="_loading" HeaderTextView="HeaderTextView.All" StepperActionsJustify="_stepperActionsJustify"> |
21 | 14 |
|
22 | 15 | <ChildContent> |
23 | | - |
| 16 | + <MudStepExtended Icon="@Icons.Material.Filled.DoneAll" Title="Start Your Reservation" IsIntroStep="true"> |
| 17 | + <div class="d-flex flex-column align-center justify-center mud-height-full"> |
| 18 | + <MudIcon Icon="@Icons.Material.Filled.Book" |
| 19 | + Size="Size.Large" |
| 20 | + Color="Color.Secondary" /> |
| 21 | + <MudText Typo="Typo.h6" Class="mt-2">This is your reservation wizard.</MudText> |
| 22 | + <MudText Typo="Typo.h6" Class="mt-2">Press start when you are ready.</MudText> |
| 23 | + </div> |
| 24 | + </MudStepExtended> |
24 | 25 | <MudStepExtended Icon="@Icons.Material.Filled.Approval" |
25 | 26 | Title="Customer Info" |
26 | 27 | StatusChanged="OnStatusChanged" |
|
127 | 128 | Variant="Variant.Outlined" |
128 | 129 | Margin="Margin.Dense" |
129 | 130 | Immediate="true" /> |
130 | | - |
| 131 | + <MudSelect @bind-Value="_stepperActionsJustify" Variant="Variant.Outlined" Label="Action Buttons Justify" Margin="Margin.Dense" Dense="true"> |
| 132 | + @foreach (StepperActionsJustify item in Enum.GetValues<StepperActionsJustify>()) |
| 133 | + { |
| 134 | + <MudSelectItem Value="item">@item.ToDescriptionString()</MudSelectItem> |
| 135 | + } |
| 136 | + </MudSelect> |
131 | 137 | <MudCheckBox @bind-Value="_vertical" Label="Vertical" /> |
132 | 138 | <MudCheckBox @bind-Value="_linear" Label="Linear" /> |
133 | 139 | <MudSwitchM3 @bind-Value="_mobileView" Label="Mobile View" Color="Color.Secondary" /> |
|
153 | 159 | int _infoStepOrder; |
154 | 160 | int _optionsStepOrder; |
155 | 161 | int _paymentStepOrder; |
| 162 | + StepperActionsJustify _stepperActionsJustify = StepperActionsJustify.SpaceBetween; |
156 | 163 |
|
157 | 164 | private void OnStatusChanged(StepStatus status) |
158 | 165 | { |
|
0 commit comments