Merge branch 'feature/warehouse-e-shop-mobile' into 'master'

added mobile view for eshop

See merge request fronk/thetool!682
This commit is contained in:
Luca Haid
2024-10-29 15:30:04 +00:00
2 changed files with 4 additions and 3 deletions
@@ -10,11 +10,11 @@ class WarehouseEShopController extends TTCrud {
protected bool $createText = false; protected bool $createText = false;
protected array $columns = [ protected array $columns = [
['key' => 'title', 'text' => 'Artikel'], ['key' => 'title', 'text' => 'Artikel', 'priority' => 11],
['key' => 'category', 'text' => 'Kategorie', 'table' => false], ['key' => 'category', 'text' => 'Kategorie', 'table' => false],
['key' => 'price', 'text' => 'Preis', 'table' => ['filter' => false,'sortable' => false,'class' => 'text-right']], ['key' => 'price', 'text' => 'Preis', 'table' => ['filter' => false,'sortable' => false,'class' => 'text-right']],
['key' => 'amount', 'text' => 'Menge', 'table' => ['filter' => false,'sortable' => false,'class' => 'p-0 width-80']], ['key' => 'amount', 'text' => 'Menge', 'table' => ['filter' => false,'sortable' => false,'class' => 'p-0 width-80'], 'priority' => 9],
['key' => 'add', 'text' => 'Hinzufügen', 'table' => ['filter' => false,'sortable' => false, 'class' => 'width-120 text-center']] ['key' => 'add', 'text' => 'Hinzufügen', 'table' => ['filter' => false,'sortable' => false, 'class' => 'width-120 text-center'], 'priority' => 5000]
]; ];
protected array $infoMessages = [ protected array $infoMessages = [
@@ -260,6 +260,7 @@ td {
.expanded { .expanded {
width: 500px; /* Expanded width */ width: 500px; /* Expanded width */
max-width: 85vw;
height: 600px; /* Expanded height */ height: 600px; /* Expanded height */
z-index: 1000; z-index: 1000;
} }