Ready to beta test
This commit is contained in:
16
blazorserver/Pages/Shared/FileOption.cshtml
Normal file
16
blazorserver/Pages/Shared/FileOption.cshtml
Normal 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>
|
||||
}
|
||||
}
|
7
blazorserver/Pages/Shared/FileOption.cshtml.cs
Normal file
7
blazorserver/Pages/Shared/FileOption.cshtml.cs
Normal file
@ -0,0 +1,7 @@
|
||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||
|
||||
namespace Mesa_Backlog.Pages.Shared;
|
||||
|
||||
public class FileOption : PageModel
|
||||
{
|
||||
}
|
51
blazorserver/Pages/Shared/WorkItemsTable.cshtml
Normal file
51
blazorserver/Pages/Shared/WorkItemsTable.cshtml
Normal 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<!-- --></th>
|
||||
<th>UAT as of<!--ResolvedDate--></th>
|
||||
<th>CMP Date<!--ClosedDate--></th>
|
||||
<th> <!--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> </td>
|
||||
<td>@workItem.UATAsOf</td>
|
||||
<td>@workItem.CMPDate</td>
|
||||
<td>@workItem.State</td>
|
||||
</tr>
|
||||
}
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
7
blazorserver/Pages/Shared/WorkItemsTable.cshtml.cs
Normal file
7
blazorserver/Pages/Shared/WorkItemsTable.cshtml.cs
Normal file
@ -0,0 +1,7 @@
|
||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||
|
||||
namespace Mesa_Backlog.Pages.Shared;
|
||||
|
||||
public class WorkItemsTable : PageModel
|
||||
{
|
||||
}
|
Reference in New Issue
Block a user