New delete/detail buttons
This commit is contained in:
parent
ce6b28fb70
commit
7674cb1bc8
|
@ -63,11 +63,18 @@
|
||||||
</td>
|
</td>
|
||||||
<td class="px-6 py-4 whitespace-nowrap text-sm"> {url.visits} </td>
|
<td class="px-6 py-4 whitespace-nowrap text-sm"> {url.visits} </td>
|
||||||
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
|
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
|
||||||
<button
|
<button
|
||||||
on:click={deleteUrl(url.shortcode)}
|
on:click={deleteUrl(url.shortcode)}
|
||||||
class="text-indigo-600 dark:text-red-600 hover:text-indigo-900 dark:hover:text-red-900"
|
class="px-4 py-2 font-medium tracking-wide text-white capitalize transition-colors duration-200 transform bg-red-600 rounded-md hover:bg-red-700 focus:outline-none focus:bg-red-700"
|
||||||
>Delete</button
|
|
||||||
>
|
>
|
||||||
|
Delete
|
||||||
|
</button>
|
||||||
|
<button
|
||||||
|
on:click={deleteUrl(url.shortcode)}
|
||||||
|
class="px-4 py-2 font-medium tracking-wide text-white capitalize transition-colors duration-200 transform bg-blue-600 rounded-md hover:bg-blue-700 focus:outline-none focus:bg-blue-700"
|
||||||
|
>
|
||||||
|
Details
|
||||||
|
</button>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{/each}
|
{/each}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user