mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Userobjects list page print optimizations (closes #396)
This commit is contained in:
@@ -18,6 +18,9 @@
|
|||||||
- The calendar now also contains all planned recipes from the meal plan on the corresponding day
|
- The calendar now also contains all planned recipes from the meal plan on the corresponding day
|
||||||
- Improved that dates in the iCal calendar export now include the server timezone
|
- Improved that dates in the iCal calendar export now include the server timezone
|
||||||
|
|
||||||
|
### Custom lists/fields improvements
|
||||||
|
- Optimized the custom lists page that it can be printed properly (search field etc. is hidden when printing the page)
|
||||||
|
|
||||||
### General & other improvements/fixes
|
### General & other improvements/fixes
|
||||||
- Fixed that the browser barcode scanner button was not clickable on iOS Safari & other small styles fixes/improvements for iOS Safari (thanks @DeeeeLAN)
|
- Fixed that the browser barcode scanner button was not clickable on iOS Safari & other small styles fixes/improvements for iOS Safari (thanks @DeeeeLAN)
|
||||||
- It's now also possible to set the meal plan page as the default/entry page (`config.php` setting `ENTRY_PAGE`) (thanks @lwis)
|
- It's now also possible to set the meal plan page as the default/entry page (`config.php` setting `ENTRY_PAGE`) (thanks @lwis)
|
||||||
|
@@ -9,10 +9,10 @@
|
|||||||
<div class="col">
|
<div class="col">
|
||||||
<h1>
|
<h1>
|
||||||
@yield('title')
|
@yield('title')
|
||||||
<a class="btn btn-outline-dark" href="{{ $U('/userobject/' . $userentity->name . '/new') }}">
|
<a class="btn btn-outline-dark d-print-none" href="{{ $U('/userobject/' . $userentity->name . '/new') }}">
|
||||||
<i class="fas fa-plus"></i> {{ $__t('Add') }}
|
<i class="fas fa-plus"></i> {{ $__t('Add') }}
|
||||||
</a>
|
</a>
|
||||||
<a class="btn btn-outline-secondary" href="{{ $U('/userfields?entity=' . 'userentity-' . $userentity->name) }}">
|
<a class="btn btn-outline-secondary d-print-none" href="{{ $U('/userfields?entity=' . 'userentity-' . $userentity->name) }}">
|
||||||
<i class="fas fa-sliders-h"></i> {{ $__t('Configure fields') }}
|
<i class="fas fa-sliders-h"></i> {{ $__t('Configure fields') }}
|
||||||
</a>
|
</a>
|
||||||
</h1>
|
</h1>
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row mt-3">
|
<div class="row mt-3 d-print-none">
|
||||||
<div class="col-xs-12 col-md-6 col-xl-3">
|
<div class="col-xs-12 col-md-6 col-xl-3">
|
||||||
<label for="search">{{ $__t('Search') }}</label> <i class="fas fa-search"></i>
|
<label for="search">{{ $__t('Search') }}</label> <i class="fas fa-search"></i>
|
||||||
<input type="text" class="form-control" id="search">
|
<input type="text" class="form-control" id="search">
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
<table id="userobjects-table" class="table table-sm table-striped dt-responsive">
|
<table id="userobjects-table" class="table table-sm table-striped dt-responsive">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="border-right"></th>
|
<th class="border-right d-print-none"></th>
|
||||||
|
|
||||||
@include('components.userfields_thead', array(
|
@include('components.userfields_thead', array(
|
||||||
'userfields' => $userfields
|
'userfields' => $userfields
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
<tbody class="d-none">
|
<tbody class="d-none">
|
||||||
@foreach($userobjects as $userobject)
|
@foreach($userobjects as $userobject)
|
||||||
<tr>
|
<tr>
|
||||||
<td class="fit-content border-right">
|
<td class="fit-content border-right d-print-none">
|
||||||
<a class="btn btn-info btn-sm" href="{{ $U('/userobject/' . $userentity->name . '/') }}{{ $userobject->id }}">
|
<a class="btn btn-info btn-sm" href="{{ $U('/userobject/' . $userentity->name . '/') }}{{ $userobject->id }}">
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
</a>
|
</a>
|
||||||
|
Reference in New Issue
Block a user