mirror of
https://github.com/grocy/grocy.git
synced 2025-04-30 01:55:47 +00:00
Minor style refinements
This commit is contained in:
parent
262f3df3ab
commit
bbd5f5e7ae
@ -553,7 +553,7 @@ canvas.drawingBuffer {
|
|||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 992px) {
|
@media (max-width: 768px) {
|
||||||
|
|
||||||
#table-filter-row div:not(:first-of-type) {
|
#table-filter-row div:not(:first-of-type) {
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
|
@ -8,17 +8,6 @@
|
|||||||
$('#qu-conversions-resolved-table tbody').removeClass("d-none");
|
$('#qu-conversions-resolved-table tbody').removeClass("d-none");
|
||||||
quConversionsResolvedTable.columns.adjust().draw();
|
quConversionsResolvedTable.columns.adjust().draw();
|
||||||
|
|
||||||
$("#search").on("keyup", Delay(function()
|
|
||||||
{
|
|
||||||
var value = $(this).val();
|
|
||||||
if (value === "all")
|
|
||||||
{
|
|
||||||
value = "";
|
|
||||||
}
|
|
||||||
|
|
||||||
quConversionsResolvedTable.search(value).draw();
|
|
||||||
}, 500));
|
|
||||||
|
|
||||||
$("#quantity-unit-filter").on("change", function()
|
$("#quantity-unit-filter").on("change", function()
|
||||||
{
|
{
|
||||||
var value = $("#quantity-unit-filter option:selected").text();
|
var value = $("#quantity-unit-filter option:selected").text();
|
||||||
@ -32,7 +21,6 @@ $("#quantity-unit-filter").on("change", function()
|
|||||||
|
|
||||||
$("#clear-filter-button").on("click", function()
|
$("#clear-filter-button").on("click", function()
|
||||||
{
|
{
|
||||||
$("#search").val("");
|
|
||||||
$("#quantity-unit-filter").val("all");
|
$("#quantity-unit-filter").val("all");
|
||||||
quConversionsResolvedTable.column([quConversionsResolvedTable.colReorder.transpose(1), quConversionsResolvedTable.colReorder.transpose(2)]).search("").draw();
|
quConversionsResolvedTable.column([quConversionsResolvedTable.colReorder.transpose(1), quConversionsResolvedTable.colReorder.transpose(2)]).search("").draw();
|
||||||
quConversionsResolvedTable.search("").draw();
|
quConversionsResolvedTable.search("").draw();
|
||||||
|
@ -30,17 +30,6 @@
|
|||||||
|
|
||||||
<div class="row collapse d-md-flex"
|
<div class="row collapse d-md-flex"
|
||||||
id="table-filter-row">
|
id="table-filter-row">
|
||||||
<div class="col-12 col-md-6 col-xl-2">
|
|
||||||
<div class="input-group">
|
|
||||||
<div class="input-group-prepend">
|
|
||||||
<span class="input-group-text"><i class="fa-solid fa-search"></i></span>
|
|
||||||
</div>
|
|
||||||
<input type="text"
|
|
||||||
id="search"
|
|
||||||
class="form-control"
|
|
||||||
placeholder="{{ $__t('Search') }}">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col-12 col-md-6 col-xl-2">
|
<div class="col-12 col-md-6 col-xl-2">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<div class="input-group-prepend">
|
<div class="input-group-prepend">
|
||||||
|
@ -89,7 +89,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
<div class="col-12 col-md-6 col-xl-2 mt-1">
|
<div class="col-12 col-md-6 col-xl-2 @if(!$embedded) mt-1 @endif">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<div class="input-group-prepend">
|
<div class="input-group-prepend">
|
||||||
<span class="input-group-text"><i class="fa-solid fa-filter"></i> {{ $__t('User') }}</span>
|
<span class="input-group-text"><i class="fa-solid fa-filter"></i> {{ $__t('User') }}</span>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user