Added RaidTemplates and TimerService to create weekly raids
This commit is contained in:
parent
c215ed058f
commit
ab6602710d
13 changed files with 270 additions and 53 deletions
|
@ -193,7 +193,7 @@
|
|||
return;
|
||||
}
|
||||
|
||||
_raid.TimeZone = await TimeZoneService.GetUserTimeZone();
|
||||
//_raid.TimeZone = await TimeZoneService.GetUserTimeZone();
|
||||
|
||||
_raid.StartTimeUTC = await TimeZoneService.GetUTCDateTime(_raidDate.Date + _startTime.TimeOfDay);
|
||||
if(_startTime.TimeOfDay > _endTime.TimeOfDay)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
@using Lieb.Models.GuildWars2.Raid
|
||||
|
||||
<div>
|
||||
<table class="roleTable">
|
||||
<table class="table">
|
||||
<tbody>
|
||||
@foreach (var role in _raid.Roles)
|
||||
{
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
@{string signUpStatus = string.Empty;}
|
||||
@if (signUp.SignUpType != SignUpType.SignedUp) signUpStatus = $" - {signUp.SignUpType}";
|
||||
|
||||
@if (isUser)
|
||||
@if (isUser && _user.GuildWars2Accounts.Count > 1)
|
||||
{
|
||||
<td>@signUp.LiebUser.Name
|
||||
<select value=@signUp.GuildWars2AccountId @onchange="args => ChangeAccount(_user, args)">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue