Adjust header for queue index
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
@using (Html.BeginUmbracoForm("Search", "Queue", null, new { @action = "/leaf-data/manage-queue/" }))
|
@using (Html.BeginUmbracoForm("Search", "Queue", null, new { @action = "/leaf-data/manage-queue/" }))
|
||||||
{
|
{
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-8 font-italic font-weight-light">
|
<div class="col font-italic font-weight-light">
|
||||||
@Model.Items.Count() results<br />
|
@Model.Items.Count() results<br />
|
||||||
Service description: @Model.ServerDescription
|
Service description: @Model.ServerDescription
|
||||||
@*Est. processing time by LeafInput size -
|
@*Est. processing time by LeafInput size -
|
||||||
@@ -24,7 +24,11 @@
|
|||||||
<i class="fa fa-file-o"></i> 10: <strong>@Model.TimeInProgressEstimater.EstimateTimeInProgress(10).ToRoundedReadableString()</strong>
|
<i class="fa fa-file-o"></i> 10: <strong>@Model.TimeInProgressEstimater.EstimateTimeInProgress(10).ToRoundedReadableString()</strong>
|
||||||
<i class="fa fa-file-o"></i> 100: <strong>@Model.TimeInProgressEstimater.EstimateTimeInProgress(100).ToRoundedReadableString()</strong>*@
|
<i class="fa fa-file-o"></i> 100: <strong>@Model.TimeInProgressEstimater.EstimateTimeInProgress(100).ToRoundedReadableString()</strong>*@
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-4">
|
<div class="col-lg-3">
|
||||||
|
@DownloadResultsInput()
|
||||||
|
@DownloadResultsOutput_ToUser()
|
||||||
|
</div>
|
||||||
|
<div class="col">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input name="Q.q" type="text" class="form-control" placeholder="Search for..." value="@Model.Q.q">
|
<input name="Q.q" type="text" class="form-control" placeholder="Search for..." value="@Model.Q.q">
|
||||||
<span class="input-group-append">
|
<span class="input-group-append">
|
||||||
@@ -94,8 +98,6 @@
|
|||||||
|
|
||||||
@if (Model.Items.Any())
|
@if (Model.Items.Any())
|
||||||
{
|
{
|
||||||
@DownloadResultsInput()
|
|
||||||
@DownloadResultsOutput_ToUser()
|
|
||||||
<div id="queue" class="table-responsive mt-3">
|
<div id="queue" class="table-responsive mt-3">
|
||||||
@grid.Table(columns:
|
@grid.Table(columns:
|
||||||
grid.Columns(
|
grid.Columns(
|
||||||
@@ -263,14 +265,14 @@ else
|
|||||||
|
|
||||||
@helper DownloadResultsInput()
|
@helper DownloadResultsInput()
|
||||||
{
|
{
|
||||||
<a href="@Url.Action("DownloadResultsInputZip", "Queue", Model.Q.GetNameValueCollection().ToRouteValueDictionary())">
|
<a class="btn btn-outline-secondary" role="button" href="@Url.Action("DownloadResultsInputZip", "Queue", Model.Q.GetNameValueCollection().ToRouteValueDictionary())">
|
||||||
<span class="fa fa-download"></span> Input
|
<span class="fa fa-download"></span> Input
|
||||||
</a>
|
</a>
|
||||||
}
|
}
|
||||||
|
|
||||||
@helper DownloadResultsOutput_ToUser()
|
@helper DownloadResultsOutput_ToUser()
|
||||||
{
|
{
|
||||||
<a href="@Url.Action("DownloadResultsOutputZip", "Queue", Model.Q.GetNameValueCollection().ToRouteValueDictionary())">
|
<a class="btn btn-outline-secondary" role="button" href="@Url.Action("DownloadResultsOutputZip", "Queue", Model.Q.GetNameValueCollection().ToRouteValueDictionary())">
|
||||||
<span class="fa fa-download"></span> Output
|
<span class="fa fa-download"></span> Output
|
||||||
</a>
|
</a>
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user