Adjust header for queue index

This commit is contained in:
2020-07-11 12:43:46 -04:00
parent 66fb7c6058
commit 1760870219
+8 -6
View File
@@ -16,7 +16,7 @@
@using (Html.BeginUmbracoForm("Search", "Queue", null, new { @action = "/leaf-data/manage-queue/" }))
{
<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 />
Service description: @Model.ServerDescription
@*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> 100: <strong>@Model.TimeInProgressEstimater.EstimateTimeInProgress(100).ToRoundedReadableString()</strong>*@
</div>
<div class="col-lg-4">
<div class="col-lg-3">
@DownloadResultsInput()
@DownloadResultsOutput_ToUser()
</div>
<div class="col">
<div class="input-group">
<input name="Q.q" type="text" class="form-control" placeholder="Search for..." value="@Model.Q.q">
<span class="input-group-append">
@@ -94,8 +98,6 @@
@if (Model.Items.Any())
{
@DownloadResultsInput()
@DownloadResultsOutput_ToUser()
<div id="queue" class="table-responsive mt-3">
@grid.Table(columns:
grid.Columns(
@@ -263,14 +265,14 @@ else
@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
</a>
}
@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
</a>
}