First Pass at LeafDataQuery for Queue
This commit is contained in:
@@ -9,30 +9,71 @@
|
||||
var grid = new WebGrid(Model.Items, rowsPerPage: 45);
|
||||
}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-8">
|
||||
Service description: @Model.ServerDescription<br/>
|
||||
@*Est. processing time by LeafInput size -
|
||||
@using (Html.BeginUmbracoForm<QueueController>("Search", FormMethod.Post))
|
||||
{
|
||||
<div class="row">
|
||||
<div class="col-lg-8">
|
||||
Service description: @Model.ServerDescription<br/>
|
||||
@*Est. processing time by LeafInput size -
|
||||
<i class="fa fa-file-o"></i> 1: <strong>@Model.TimeInProgressEstimater.EstimateTimeInProgress(1).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>*@
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
@using (Html.BeginUmbracoForm<QueueController>("Search", FormMethod.Post))
|
||||
{
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<div class="input-group">
|
||||
<input name="query" type="text" class="form-control" placeholder="Search for..." value="@Model.Query">
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-outline-secondary" type="button">Search</button>
|
||||
<input name="Query.Query" type="text" class="form-control" placeholder="Search for..." value="@Model.Query.Query">
|
||||
<span class="input-group-append">
|
||||
<button class="btn btn-outline-secondary" type="submit">Search</button>
|
||||
<button class="btn btn-outline-secondary dropdown-toggle dropdown-toggle-split" type="button"
|
||||
data-toggle="collapse" data-target="#additionalSearch" aria-haspopup="true" aria-expanded="false"
|
||||
title="Additional Search Options">
|
||||
</button>
|
||||
</span>
|
||||
</div><!-- /input-group -->
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row collapse ml-1 mr-1" id="additionalSearch">
|
||||
|
||||
<div class="col-lg-8 offset-lg-4 card card-body">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
@Html.EditorFor(m => m.Query.SiteId)
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
@Html.EditorFor(m => m.Query.SpeciesName)
|
||||
</div>
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-sm-7">
|
||||
@Html.EditorFor(m => m.Query.Latitude, new {size = "small", append = "°"})
|
||||
</div>
|
||||
<div class="col-sm-5">
|
||||
@Html.EditorFor(m => m.Query.LatitudeRange, new {size = "small", prepend = "±", append = "°"})
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-sm-7">
|
||||
@Html.EditorFor(m => m.Query.Longitude, new {size = "small", append = "°"})
|
||||
</div>
|
||||
<div class="col-sm-5">
|
||||
@Html.EditorFor(m => m.Query.LongitudeRange, new {size = "small", prepend = "±", append = "°"})
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
||||
|
||||
@if (Model.Items.Any())
|
||||
{
|
||||
<div id="queue" class="table-responsive">
|
||||
<div id="queue" class="table-responsive mt-3">
|
||||
@grid.Table(columns:
|
||||
grid.Columns(
|
||||
grid.Column("Identifier", "Identifier"),
|
||||
|
||||
Reference in New Issue
Block a user