Apply hover style for lists and min height for dashboard configuration.
This commit is contained in:
@@ -5,8 +5,7 @@
|
||||
<div class="w-full text-center">{{ __('dashboard.No data') }}</div>
|
||||
@endif
|
||||
@foreach($unpaid_incoming as $incoming)
|
||||
<a href="{{ route('incoming.edit', $incoming->id) }}"
|
||||
class="flex max-w even:bg-gray-100 odd:bg-white">
|
||||
<a href="{{ route('incoming.edit', $incoming->id) }}" class="flex max-w even:bg-gray-100 odd:bg-white hover:bg-gray-400">
|
||||
<div class="w-1/6">{{ $incoming->invoice_number }}</div>
|
||||
<div class="w-1/2">{{ $incoming->supplier->name }}</div>
|
||||
<div class="w-1/6 text-right">{{ \Illuminate\Support\Number::currency($incoming->gross) }}</div>
|
||||
|
||||
@@ -5,8 +5,7 @@
|
||||
<div class="w-full text-center">{{ __('dashboard.No data') }}</div>
|
||||
@endif
|
||||
@foreach($customers as $customer)
|
||||
<a href="{{ route('customer.edit', $customer->id) }}"
|
||||
class="flex max-w even:bg-gray-100 odd:bg-white">
|
||||
<a href="{{ route('customer.edit', $customer->id) }}" class="flex max-w even:bg-gray-100 odd:bg-white hover:bg-gray-400">
|
||||
<div class="w-1/2">{{ $customer->name }}</div>
|
||||
<div class="w-1/2">{{ $customer->email }}</div>
|
||||
</a>
|
||||
|
||||
@@ -5,8 +5,7 @@
|
||||
<div class="w-full text-center">{{ __('dashboard.No data') }}</div>
|
||||
@endif
|
||||
@foreach($sent_invoices as $invoice)
|
||||
<a href="{{ route('payment.create') }}"
|
||||
class="flex max-w even:bg-gray-100 odd:bg-white">
|
||||
<a href="{{ route('payment.create') }}" class="flex max-w even:bg-gray-100 odd:bg-white hover:bg-gray-400">
|
||||
<div class="w-1/4">{{ $invoice->number }}</div>
|
||||
<div class="w-1/4">{{ $invoice->customer->name }}</div>
|
||||
<div class="w-1/4 text-right">{{ \Illuminate\Support\Number::currency($invoice->sum) }}</div>
|
||||
|
||||
@@ -5,8 +5,7 @@
|
||||
<div class="w-full text-center">{{ __('dashboard.No data') }}</div>
|
||||
@endif
|
||||
@foreach($created_invoices as $invoice)
|
||||
<a href="{{ route('invoice.edit', $invoice->id) }}"
|
||||
class="flex max-w even:bg-gray-100 odd:bg-white">
|
||||
<a href="{{ route('invoice.edit', $invoice->id) }}" class="flex max-w even:bg-gray-100 odd:bg-white hover:bg-gray-400">
|
||||
<div class="w-1/2">{{ $invoice->number }}</div>
|
||||
<div class="w-1/2">{{ $invoice->customer->name }}</div>
|
||||
</a>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
<!-- Selection of available dashboard tiles -->
|
||||
<div id="settings"
|
||||
class="hidden absolute bg-white dark:bg-gray-800 overflow-hidden shadow-sm sm:rounded-lg w-full h-full z-10">
|
||||
class="hidden absolute bg-white dark:bg-gray-800 overflow-hidden shadow-sm sm:rounded-lg w-full h-full min-h-fit z-10">
|
||||
<div class="p-6 text-gray-900 dark:text-gray-100">
|
||||
<h2 class="mb-4 text-lg text-center font-medium text-gray-900 dark:text-gray-100">{{ __('dashboard.Available') }}</h2>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
<!-- Configuration of available dashboard tiles -->
|
||||
<div id="configuration"
|
||||
class="hidden absolute bg-white dark:bg-gray-800 overflow-hidden shadow-sm sm:rounded-lg w-full h-full z-10">
|
||||
class="hidden absolute bg-white dark:bg-gray-800 overflow-hidden shadow-sm sm:rounded-lg w-full h-full z-10">
|
||||
<div class="p-6 text-gray-900 dark:text-gray-100">
|
||||
<h2 class="mb-4 text-lg text-center font-medium text-gray-900 dark:text-gray-100">{{ __('dashboard.Configuration') }}</h2>
|
||||
<form class="w-1/2" @submit.prevent="">
|
||||
@@ -70,8 +70,9 @@
|
||||
x-model="config_tile.settings"/>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="flex flex-row gap-8 mt-8">
|
||||
<x-primary-button x-on:click="submit();" class="">{{ __('form.Save') }}</x-primary-button>
|
||||
<x-primary-button x-on:click="document.getElementById('configuration').classList.toggle('hidden');" class="">{{ __('form.Cancel') }}</x-primary-button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
</summary>
|
||||
|
||||
<template x-for="invoice in invoices">
|
||||
<details class="even:bg-gray-100 odd:bg-white">
|
||||
<details class="even:bg-gray-100 odd:bg-white hover:bg-gray-400">
|
||||
<summary class="cursor-pointer flex flex-row w-full" @click="window.location.href='/incoming/' + invoice.id + '/edit';">
|
||||
<div class="w-1/6" x-text="invoice.invoice_number"></div>
|
||||
<div class="w-1/3" x-text="invoice.supplier.name"></div>
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
</summary>
|
||||
|
||||
<template x-for="invoice in invoices">
|
||||
<details class="even:bg-gray-100 odd:bg-white">
|
||||
<details class="even:bg-gray-100 odd:bg-white hover:bg-gray-400">
|
||||
<summary class="cursor-pointer flex flex-row w-full" @click="window.location.href='/invoice/' + invoice.id;">
|
||||
<div class="w-1/6" x-text="invoice.number"></div>
|
||||
<div class="w-1/3" x-text="invoice.customer.name"></div>
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
</summary>
|
||||
|
||||
<template x-for="payment in payments">
|
||||
<details class="even:bg-gray-100 odd:bg-white">
|
||||
<details class="even:bg-gray-100 odd:bg-white hover:bg-gray-400">
|
||||
<summary class="cursor-pointer flex flex-row w-full" @click="window.location.href='/payment/' + payment.id + '/edit';">
|
||||
<div class="w-1/4" x-text="payment.invoice.number"></div>
|
||||
<div class="w-1/4" x-text="payment.localized_state"></div>
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
</summary>
|
||||
|
||||
@foreach($project->invoices as $invoice)
|
||||
<details class="even:bg-gray-100 odd:bg-white">
|
||||
<details class="even:bg-gray-100 odd:bg-white hover:bg-gray-400">
|
||||
<summary class="cursor-pointer flex flex-row w-full"
|
||||
@click="window.location.href='/invoice/' + invoice.id;">
|
||||
<div class="w-1/6">{{ $invoice->number }}</div>
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
</div>
|
||||
|
||||
<template x-for="tax in taxrates">
|
||||
<a class="cursor-pointer grid grid-cols-3 even:bg-gray-100 odd:bg-white" x-data="{url: '/taxrate/' + tax.id + '/edit'}" x-bind:href="url">
|
||||
<a class="cursor-pointer grid grid-cols-3 even:bg-gray-100 odd:bg-white hover:bg-gray-400" x-data="{url: '/taxrate/' + tax.id + '/edit'}" x-bind:href="url">
|
||||
<div x-text="tax.name"></div>
|
||||
<div x-text="tax.rate_percentage"></div>
|
||||
<div x-text="tax.active ? '{{ __('common.Yes') }}' : '{{ __('common.No') }}'"></div>
|
||||
|
||||
Reference in New Issue
Block a user