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