parent
2449c27f4e
commit
91a6b54ed3
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,16 +1,53 @@
|
|||||||
@page "/tickets/add"
|
@page "/tickets/add"
|
||||||
|
|
||||||
<h3>Add Ticket</h3>
|
<AuthorizeView>
|
||||||
|
<Authorized>
|
||||||
|
<h3>Add Ticket</h3>
|
||||||
|
|
||||||
@*<EditForm Model="@TicketModel" OnValidSubmit="@HandleValidSubmit">
|
<EditForm Model="@ticketModel" OnValidSubmit="@HandleValidSubmit">
|
||||||
<DataAnnotationsValidator />
|
<DataAnnotationsValidator />
|
||||||
<ValidationSummary />
|
<ValidationSummary />
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<label for="username">
|
||||||
|
Username:
|
||||||
|
<InputText id="username" @bind-Value="ticketModel.Username" />
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label for="first-name">
|
||||||
|
First name:
|
||||||
|
<InputText id="first-name" @bind-Value="ticketModel.Nom" />
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label for="last-name">
|
||||||
|
Last name:
|
||||||
|
<InputText id="last-name" @bind-Value="ticketModel.Prenom" />
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label for="oui">
|
||||||
|
Context:
|
||||||
|
<InputText id="oui" @bind-Value="ticketModel.Contexte" />
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label for="description">
|
||||||
|
Description:
|
||||||
|
<InputText id="description" @bind-Value="ticketModel.Description" />
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
|
||||||
<p>
|
@* <p>
|
||||||
<label>
|
<label for="Urgence">
|
||||||
<InputCheckbox @bind-Value="ticketModel.Urgence" Value="boolean"/>
|
Description:
|
||||||
</label>
|
<InputCheckbox id="Urgence" @bind-Value="ticketModel.Urgence" />
|
||||||
</p>
|
</label>
|
||||||
|
</p> *@
|
||||||
|
|
||||||
<button type="submit">Submit</button>
|
<button type="submit">Submit</button>
|
||||||
</EditForm>*@
|
</EditForm>
|
||||||
|
|
||||||
|
</Authorized>
|
||||||
|
</AuthorizeView>
|
@ -1,26 +0,0 @@
|
|||||||
@page "/tokens"
|
|
||||||
@using HeartTrack.Models
|
|
||||||
|
|
||||||
<PageTitle>Tokens</PageTitle>
|
|
||||||
|
|
||||||
<h1>@Localizer["Title"]</h1>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
@Localizer["Description"]
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<DataGrid TItem="User"
|
|
||||||
Data="@users"
|
|
||||||
ReadData="@OnReadData"
|
|
||||||
TotalItems="@totalUser"
|
|
||||||
PageSize="10"
|
|
||||||
ShowPager
|
|
||||||
Responsive>
|
|
||||||
<DataGridColumn TItem="User" Field="@nameof(User.Id)" Caption="Id" />
|
|
||||||
<DataGridColumn TItem="User" Field="@nameof(User.Username)" Caption="@Localizer["Username"]" />
|
|
||||||
<DataGridColumn TItem="User" Field="@nameof(User.Nom)" Caption="@Localizer["FirstN"]" />
|
|
||||||
<DataGridColumn TItem="User" Field="@nameof(User.Prenom)" Caption="@Localizer["LastN"]" />
|
|
||||||
<DataGridColumn TItem="User" Field="@nameof(User.Password)" Caption="@Localizer["Password"]" />
|
|
||||||
</DataGrid>
|
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -1 +1 @@
|
|||||||
5a687aac22c0782076c5bfe0a6928ecd6e1ff431e08fce9b31ef12d9f3e7872b
|
cea5cf4b8f540da473991ac2e3822ec5c2239419f8197bfd319d9acd5c853758
|
||||||
|
@ -1 +1 @@
|
|||||||
745ea91892ff6a7a3b964f04dfaa384d73fe1ef6a90b3230451e2306bbffd4b3
|
e13dc85ac8575b541fad41b72bab609ff265de63b65bc0f33d2a8b0bbf51a86e
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue