mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
More modal iframe dialog handling improvements
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-6 text-center">
|
||||
<div class="col text-center">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
|
||||
<hr class="my-2">
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<div class="col">
|
||||
<div class="title-related-links">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
|
@@ -8,7 +8,7 @@
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
|
@@ -34,7 +34,7 @@
|
||||
data-status-filter="duesoon"
|
||||
data-next-x-days="{{ $nextXDays }}"
|
||||
class="warning-message status-filter-message responsive-button @if($nextXDays == 0) d-none @endif"></div>
|
||||
<div class="float-right mt-1">
|
||||
<div class="float-right mt-1 @if($embedded) pr-5 @endif">
|
||||
<a class="btn btn-sm btn-outline-info d-md-none"
|
||||
data-toggle="collapse"
|
||||
href="#table-filter-row"
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<div class="col">
|
||||
<div class="title-related-links">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
|
@@ -8,7 +8,7 @@
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
|
@@ -39,7 +39,7 @@
|
||||
data-user-filter="xx{{ GROCY_USER_ID }}xx"
|
||||
class="secondary-message user-filter-message responsive-button"></div>
|
||||
@endif
|
||||
<div class="float-right mt-1">
|
||||
<div class="float-right mt-1 @if($embedded) pr-5 @endif">
|
||||
<a class="btn btn-sm btn-outline-info d-md-none"
|
||||
data-toggle="collapse"
|
||||
href="#table-filter-row"
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<div class="col-12 col-md-4 pb-3">
|
||||
<div class="title-related-links border-bottom mb-2 py-1">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<div class="col">
|
||||
<div class="title-related-links">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<div class="col">
|
||||
<div class="title-related-links">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<div class="col">
|
||||
<div class="title-related-links">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<div class="col">
|
||||
<div class="title-related-links">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<div class="col">
|
||||
<div class="title-related-links">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
|
@@ -14,7 +14,7 @@
|
||||
<span class="text-muted font-italic small">{{ $__t('Product') }} <strong>{{ $product->name }}</strong></span>
|
||||
@endif
|
||||
</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<div class="col">
|
||||
<div class="title-related-links">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
|
@@ -41,7 +41,7 @@
|
||||
<div class="@if(boolval($userSettings['recipes_show_list_side_by_side']) || $embedded) col-12 col-md-6 @else col @endif d-print-none">
|
||||
<div class="title-related-links border-bottom mb-2 py-1">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
|
@@ -29,7 +29,7 @@
|
||||
<span class="text-muted small">{!! $__t('%s total value', '<span class="locale-number locale-number-currency">' . SumArrayValue($listItems, 'last_price_total') . '</span>') !!}</span>
|
||||
</h2>
|
||||
@endif
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-primary responsive-button d-md-none mt-2 order-1 order-md-3 show-as-dialog-link"
|
||||
href="{{ $U('/shoppinglistitem/new?embedded&list=' . $selectedShoppingListId) }}">
|
||||
{{ $__t('Add item') }}
|
||||
@@ -333,15 +333,12 @@
|
||||
class="embed-responsive">
|
||||
</iframe>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<div class="modal-footer d-none">
|
||||
<span id="shopping-list-stock-add-workflow-purchase-item-count"
|
||||
class="d-none mr-auto"></span>
|
||||
<button id="shopping-list-stock-add-workflow-skip-button"
|
||||
type="button"
|
||||
class="btn btn-primary">{{ $__t('Skip') }}</button>
|
||||
<button type="button"
|
||||
class="btn btn-secondary"
|
||||
data-dismiss="modal">{{ $__t('Close') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<div class="col">
|
||||
<div class="title-related-links">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
|
@@ -12,7 +12,7 @@
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
<div class="row collapse d-md-flex"
|
||||
id="table-filter-row">
|
||||
<div class="col-12 col-md-6 col-xl-3">
|
||||
<div class="col-12 col-md-6 col-xl-3 hide-when-embedded">
|
||||
@include('components.productpicker', array(
|
||||
'products' => $products,
|
||||
'disallowAllProductWorkflows' => true,
|
||||
|
@@ -7,7 +7,7 @@
|
||||
@section('content')
|
||||
<div class="title-related-links">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
@@ -45,7 +45,7 @@
|
||||
placeholder="{{ $__t('Search') }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-md-6 col-xl-3">
|
||||
<div class="col-12 col-md-6 col-xl-3 hide-when-embedded">
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa-solid fa-filter"></i> {{ $__t('Product') }}</span>
|
||||
|
@@ -8,7 +8,7 @@
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
@@ -34,7 +34,7 @@
|
||||
placeholder="{{ $__t('Search') }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-md-6 col-xl-3">
|
||||
<div class="col-12 col-md-6 col-xl-3 hide-when-embedded">
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa-solid fa-filter"></i> {{ $__t('Product') }}</span>
|
||||
|
@@ -72,7 +72,7 @@
|
||||
<div id="info-missing-products"
|
||||
data-status-filter="belowminstockamount"
|
||||
class="normal-message status-filter-message responsive-button"></div>
|
||||
<div class="float-right mt-1">
|
||||
<div class="float-right mt-1 @if($embedded) pr-5 @endif">
|
||||
<a class="btn btn-sm btn-outline-info d-md-none"
|
||||
data-toggle="collapse"
|
||||
href="#table-filter-row"
|
||||
|
@@ -11,7 +11,7 @@
|
||||
<h2 class="title mr-2 order-0">
|
||||
@yield('title')
|
||||
</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<div class="col">
|
||||
<div class="title-related-links">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
|
@@ -34,7 +34,7 @@
|
||||
data-status-filter="duesoon"
|
||||
data-next-x-days="{{ $nextXDays }}"
|
||||
class="warning-message status-filter-message responsive-button @if($nextXDays == 0) d-none @endif"></div>
|
||||
<div class="float-right mt-1">
|
||||
<div class="float-right mt-1 @if($embedded) pr-5 @endif">
|
||||
<a class="btn btn-sm btn-outline-info d-md-none"
|
||||
data-toggle="collapse"
|
||||
href="#table-filter-row"
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<div class="col">
|
||||
<div class="title-related-links">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<div class="col">
|
||||
<div class="title-related-links">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
|
@@ -14,7 +14,7 @@
|
||||
<h2 class="mb-0 mr-auto order-3 order-md-1 width-xs-sm-100">
|
||||
<span class="text-muted small">{{ $userentity->description }}</span>
|
||||
</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<div class="col">
|
||||
<div class="title-related-links">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
<div class="float-right">
|
||||
<div class="float-right @if($embedded) pr-5 @endif">
|
||||
<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3"
|
||||
type="button"
|
||||
data-toggle="collapse"
|
||||
|
Reference in New Issue
Block a user