exam_service
This commit is contained in:
23
TechHelper.Client/Pages/Exam/ExamView.razor
Normal file
23
TechHelper.Client/Pages/Exam/ExamView.razor
Normal file
@@ -0,0 +1,23 @@
|
||||
@using Entities.DTO
|
||||
@using TechHelper.Client.Exam
|
||||
<MudPaper Height="@Height" Class="@Class" Style="@Style" Width="@Width">
|
||||
<MudText Class="d-flex justify-content-center" Typo="Typo.h6"> @ParsedExam.AssignmentTitle </MudText>
|
||||
<MudText Typo="Typo.body1"> @ParsedExam.Description </MudText>
|
||||
|
||||
<ExamGroupView MajorQGList="@ParsedExam.QuestionGroups.SubQuestionGroups" Elevation="1" Class="ma-0 pa-2" />
|
||||
</MudPaper>
|
||||
|
||||
|
||||
@code {
|
||||
|
||||
[Parameter]
|
||||
public ExamDto ParsedExam { get; set; } = new ExamDto();
|
||||
[Parameter]
|
||||
public string Height { get; set; } = "100%";
|
||||
[Parameter]
|
||||
public string Width { get; set; } = "100%";
|
||||
[Parameter]
|
||||
public string Class { get; set; } = "";
|
||||
[Parameter]
|
||||
public string Style { get; set; } = "";
|
||||
}
|
Reference in New Issue
Block a user