Added RaidTemplate sites
This commit is contained in:
parent
e30645c505
commit
dd79b0e333
7 changed files with 499 additions and 2 deletions
|
@ -1,9 +1,11 @@
|
|||
@page "/raidedit"
|
||||
@page "/raidedit/{raidId}"
|
||||
@using Lieb.Data
|
||||
@using Lieb.Models
|
||||
@using Lieb.Models.GuildWars2.Raid
|
||||
@using System.ComponentModel.DataAnnotations
|
||||
@inject RaidService RaidService
|
||||
@inject UserService UserService
|
||||
@inject TimeZoneService TimeZoneService
|
||||
@inject NavigationManager NavigationManager
|
||||
@inject IJSRuntime JsRuntime
|
||||
|
@ -60,6 +62,34 @@
|
|||
<input type="time" @bind="_endTime" />
|
||||
</label>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<label>
|
||||
Required Role:
|
||||
<InputSelect @bind-Value="_raid.RequiredRole">
|
||||
<option value="">Not Locked</option>
|
||||
@foreach(LiebRole role in UserService.GetLiebRoles())
|
||||
{
|
||||
if (!role.IsSystemRole)
|
||||
{
|
||||
<option value="@role.RoleName">@role.RoleName</option>
|
||||
}
|
||||
}
|
||||
</InputSelect>
|
||||
</label>
|
||||
</p>
|
||||
<p>
|
||||
<label>
|
||||
Free for all date:
|
||||
<InputDate @bind-Value="_freeForAllDate" />
|
||||
</label>
|
||||
</p>
|
||||
<p>
|
||||
<label>
|
||||
Free for all time:
|
||||
<input type="time" @bind="_freeForAllTime" />
|
||||
</label>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<label>
|
||||
|
@ -67,6 +97,7 @@
|
|||
<InputText @bind-Value="_raid.Organizer" />
|
||||
</label>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<label>
|
||||
Guild:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue