IW4M-Admin/WebfrontCore/Views/Shared/_SearchResourceForm.cshtml

41 lines
1.7 KiB
Plaintext
Raw Normal View History

2023-01-23 17:38:16 -05:00
@model string
<div class="ml-auto d-inline-flex w-full">
2022-04-19 19:43:58 -04:00
<div class="input-group">
2023-01-23 17:38:16 -05:00
<has-permission entity="AdvancedSearch" required-permission="Read">
<div class="input-group-prepend dropdown with-arrow d-block d-md-none">
<button class="btn" type="button" data-toggle="dropdown">
<i class="oi oi-chevron-bottom"></i>
</button>
<div class="dropdown-menu w-300">
<partial name="Partials/_SearchResourceFilter" model="@(Model + "Mobile")"/>
</div>
</div>
</has-permission>
<form asp-controller="Client" asp-action="AdvancedFind" method="get" asp-route-isLegacyQuery="true"
id="basicSearchForm@(Model)" class="flex-fill">
<input name="clientName" class="form-control" type="text"
placeholder="@ViewBag.Localization["WEBFRONT_NAV_SEARCH"]" required="required"/>
</form>
<has-permission entity="AdvancedSearch" required-permission="Read">
<div class="input-group-append dropdown dropleft with-arrow d-md-block d-none">
<button class="btn" type="button" data-toggle="dropdown">
<i class="oi oi-chevron-bottom"></i>
</button>
<div class="dropdown-menu w-400">
<partial name="Partials/_SearchResourceFilter" model="@(Model + "Desktop")"/>
</div>
</div>
</has-permission>
2022-04-19 19:43:58 -04:00
<div class="input-group-append">
2023-01-23 17:38:16 -05:00
<button class="btn" form="basicSearchForm@(Model)" type="submit">
2022-04-19 19:43:58 -04:00
<i class="oi oi-magnifying-glass"></i>
</button>
</div>
2023-01-23 17:38:16 -05:00
</div>
2022-04-19 19:43:58 -04:00
<br/>
2023-01-23 17:38:16 -05:00
</div>