ModalComponent in ModalDialog umbenannt
This commit is contained in:
parent
626f6a88ce
commit
e03653de58
@ -27,7 +27,7 @@
|
||||
}
|
||||
</div>
|
||||
|
||||
<ModalComponent @ref="modal">
|
||||
<ModalDialog @ref="modal">
|
||||
<Title>
|
||||
@SelectedQuiz?.Name;
|
||||
</Title>
|
||||
@ -57,10 +57,10 @@
|
||||
<input type="range" min="1" max="@QuestionCountMax" @bind="@QuestionCountValue" class="form-range" id="rngQuestionCount">
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
@* <div class="mb-3">
|
||||
<label for="txtName" class="form-label">Name</label>
|
||||
<input @bind="NewGame.Username" class="form-control" type="text" placeholder="(optional)" id="txtName" />
|
||||
</div>
|
||||
</div> *@
|
||||
}
|
||||
</Body>
|
||||
<Footer>
|
||||
@ -70,12 +70,12 @@
|
||||
}
|
||||
<button class="btn btn-primary" @onclick="CloseDialog">Abbruch</button>
|
||||
</Footer>
|
||||
</ModalComponent>
|
||||
</ModalDialog>
|
||||
|
||||
@code {
|
||||
public List<Quiz> QuizList { get; set; } = new();
|
||||
private LocalDbContext? DbContext;
|
||||
private ModalComponent modal = null!;
|
||||
private ModalDialog modal = null!;
|
||||
private GameState? NewGame;
|
||||
private GameState? LoadGame;
|
||||
private Quiz? SelectedQuiz;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user