Ready to beta test

This commit is contained in:
2022-08-26 15:40:05 -07:00
parent 121c0c4d0c
commit b3e643c221
90 changed files with 5023 additions and 20 deletions

View File

@ -0,0 +1,16 @@
@model string
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@if (!string.IsNullOrEmpty(Model) && File.Exists(Model))
{
string nowTicks = DateTime.Now.Ticks.ToString();
string fileName = System.IO.Path.GetFileNameWithoutExtension(Model);
if (fileName.Length != nowTicks.Length || !long.TryParse(fileName, out long ticks))
{
<option value="@(Model)">@(fileName)</option>
}
else
{
<option value="@(Model)">@(new DateTime(ticks).ToString("MM/dd/yyyy hh:mm tt"))</option>
}
}

View File

@ -0,0 +1,7 @@
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace Mesa_Backlog.Pages.Shared;
public class FileOption : PageModel
{
}

View File

@ -0,0 +1,51 @@
@model List<Mesa_Backlog.ViewModels.WorkItem>
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
<table class="table">
<thead>
<tr>
<th>Req<!--Id || Discussion[2]--></th>
<th>Submitted<!--Created Date--></th>
<th>Requestor<!--Assigned To Display Name--></th>
<th>Assigned To<!--Tags--></th>
<th>,<!--Title--></th>
<th>System(s)<!--Area Path--></th>
<th>Priority<!--Priority--></th>
<th>Status<!--Iteration Path--></th>
<th>Definition<!--Description--></th>
<th>Updates<!--Discussion--></th>
<th>Est Effort (days)<!--Effort--></th>
<th>Commit Date<!--TargetDate--></th>
<th>Re-Commit Date<!--&nbsp;--></th>
<th>UAT as of<!--ResolvedDate--></th>
<th>CMP Date<!--ClosedDate--></th>
<th>&nbsp;<!--State--></th>
</tr>
</thead>
<tbody>
@if(Model is not null)
{
@foreach (var workItem in Model)
{
<tr class="@workItem.Priority" id="@(workItem.Id)">
<td><a href="@(workItem.HypertextReference)" target="_blank">@workItem.Req</a></td>
<td>@workItem.Submitted</td>
<td>@workItem.Requestor</td>
<td>@workItem.AssignedTo</td>
<td><a href="@(workItem.HypertextReference)" target="_blank">@workItem.Title</a></td>
<td>@workItem.Systems</td>
<td><a href="@(workItem.HypertextReference)" target="_blank">@workItem.Priority</a></td>
<td><a href="@(workItem.HypertextReference)" target="_blank">@workItem.Status</a></td>
<td>@Html.Raw(workItem.Definition)</td>
<td>@Html.Raw(workItem.Updates)</td>
<td>@workItem.EstEffortDays</td>
<td>@workItem.CommitDate</td>
<td>&nbsp;</td>
<td>@workItem.UATAsOf</td>
<td>@workItem.CMPDate</td>
<td>@workItem.State</td>
</tr>
}
}
</tbody>
</table>

View File

@ -0,0 +1,7 @@
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace Mesa_Backlog.Pages.Shared;
public class WorkItemsTable : PageModel
{
}