Skip to content

Commit f2be964

Browse files
remove statistics, remove hover on url and disabled buttons
1 parent 419198e commit f2be964

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

resources/js/Pages/Providers/Index.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,11 @@ const formattedName = computed({
146146
</div>
147147

148148
<div class="mb-3 mt-4 flex flex-wrap items-center justify-end md:justify-between">
149-
<button
149+
<div
150150
class="mr-1 rounded bg-gray-200 px-5 py-3 text-sm font-medium text-white shadow-md md:py-2"
151151
>
152152
{{ __('Create provider') }}
153-
</button>
153+
</div>
154154

155155
<div class="m-1 flex w-full rounded-md shadow-sm md:w-fit">
156156
<div class="relative flex grow items-stretch focus-within:z-10">

resources/js/Shared/Components/Provider.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function goToWebsite(url) {
9595
</div>
9696
</td>
9797
<td class="hidden break-all py-3.5 text-sm text-gray-500 lg:table-cell">
98-
<p v-if="provider.url" class="cursor-pointer break-all rounded text-blumilk-500 hover:bg-blumilk-25"
98+
<p v-if="provider.url" class="cursor-pointer break-all rounded text-blumilk-500"
9999
@click="goToWebsite(provider.url)"
100100
>
101101
{{ provider.url }}
@@ -110,12 +110,12 @@ function goToWebsite(url) {
110110

111111
<td class="relative table-cell justify-end border-t text-right text-xs font-medium sm:pl-3 md:pr-2">
112112
<span class="flex flex-wrap">
113-
<button
113+
<div
114114
class="mx-0.5 mb-1 flex w-fit shrink-0 items-center rounded py-1 pr-2 text-gray-200"
115115
>
116116
<PencilIcon class="h-5 w-8 text-gray-200" />
117117
{{ __('Edit') }}
118-
</button>
118+
</div>
119119

120120
<button class="mx-0.5 mb-1 flex w-fit shrink-0 items-center rounded py-1 pr-2 text-rose-500 hover:bg-rose-100"
121121
@click="showDeleteModal = true"

resources/js/Shared/Layout/AdminNavigation.vue

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ const navigation = [
1212
{ name: 'Providers', href: '/admin/providers', icon: TruckIcon },
1313
{ name: 'Countries', href: '/admin/countries', icon: FlagIcon },
1414
{ name: 'Cities', href: '/admin/cities', icon: MapPinIcon },
15-
{ name: 'Statistics', href: '/admin/statistics', icon: ChartBarIcon },
1615
]
1716
1817
const isMobileMenuOpened = ref(false)

0 commit comments

Comments
 (0)