mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 16:44:55 +00:00
Optimized /quantityunitconversionsresolved view
This commit is contained in:
@@ -724,7 +724,6 @@
|
|||||||
<a class="btn btn-outline-primary btn-sm m-1 mt-md-0 mb-md-0 float-right show-as-dialog-link"
|
<a class="btn btn-outline-primary btn-sm m-1 mt-md-0 mb-md-0 float-right show-as-dialog-link"
|
||||||
href="{{ $U('/quantityunitconversionsresolved?embedded&product=' . $product->id ) }}"
|
href="{{ $U('/quantityunitconversionsresolved?embedded&product=' . $product->id ) }}"
|
||||||
data-toggle="tooltip"
|
data-toggle="tooltip"
|
||||||
data-trigger="hover click"
|
|
||||||
title="{{ $__t('This shows all to this product directly or indirectly related quantity units and their derived conversion factors') }}">
|
title="{{ $__t('This shows all to this product directly or indirectly related quantity units and their derived conversion factors') }}">
|
||||||
{{ $__t('Show resolved conversions') }}
|
{{ $__t('Show resolved conversions') }}
|
||||||
</a>
|
</a>
|
||||||
|
@@ -8,21 +8,29 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="title-related-links">
|
<div class="title-related-links">
|
||||||
<h2 class="title">@yield('title')</h2>
|
<h2 class="title">
|
||||||
@if($product != null)
|
@yield('title')
|
||||||
<h2>
|
@if($product != null)
|
||||||
<span class="text-muted small">{{ $__t('Product') }} <strong>{{ $product->name }}</strong></span>
|
<span class="text-muted font-italic small">{{ $__t('Product') }} <strong>{{ $product->name }}</strong></span>
|
||||||
|
@endif
|
||||||
</h2>
|
</h2>
|
||||||
@endif
|
<div class="float-right">
|
||||||
|
<button class="btn btn-outline-dark d-md-none mt-2"
|
||||||
|
type="button"
|
||||||
|
data-toggle="collapse"
|
||||||
|
data-target="#table-filter-row">
|
||||||
|
<i class="fa-solid fa-filter"></i>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="my-2">
|
<hr class="my-2">
|
||||||
|
|
||||||
<div class="row d-md-flex"
|
<div class="row collapse d-md-flex"
|
||||||
id="table-filter-row">
|
id="table-filter-row">
|
||||||
<div class="col-6">
|
<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">
|
||||||
<span class="input-group-text"><i class="fa-solid fa-search"></i></span>
|
<span class="input-group-text"><i class="fa-solid fa-search"></i></span>
|
||||||
@@ -33,7 +41,7 @@
|
|||||||
placeholder="{{ $__t('Search') }}">
|
placeholder="{{ $__t('Search') }}">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-5">
|
<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">
|
||||||
<span class="input-group-text"><i class="fa-solid fa-filter"></i> {{ $__t('Quantity unit') }}</span>
|
<span class="input-group-text"><i class="fa-solid fa-filter"></i> {{ $__t('Quantity unit') }}</span>
|
||||||
@@ -47,8 +55,8 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-1">
|
<div class="col">
|
||||||
<div class="float-right">
|
<div class="float-right mt-1">
|
||||||
<button id="clear-filter-button"
|
<button id="clear-filter-button"
|
||||||
class="btn btn-sm btn-outline-info"
|
class="btn btn-sm btn-outline-info"
|
||||||
data-toggle="tooltip"
|
data-toggle="tooltip"
|
||||||
|
Reference in New Issue
Block a user