Compare commits
2 Commits
7ec8411011
...
d007cac4c0
| Author | SHA1 | Date | |
|---|---|---|---|
| d007cac4c0 | |||
| 766f09c5b5 |
@ -18,7 +18,7 @@
|
|||||||
<div class="table-container bg-white shadow">
|
<div class="table-container bg-white shadow">
|
||||||
<table class="table table-interactive table-compact bg-white">
|
<table class="table table-interactive table-compact bg-white">
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="bg-white">
|
<tr class="bg-surface-500">
|
||||||
{#each columns as col}
|
{#each columns as col}
|
||||||
<th class="!px-3">{col.label}</th>
|
<th class="!px-3">{col.label}</th>
|
||||||
{/each}
|
{/each}
|
||||||
@ -28,6 +28,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
{#each data as row}
|
{#each data as row}
|
||||||
<tr
|
<tr
|
||||||
|
class="bg-surface-300"
|
||||||
onclick={async (event: Event) => {
|
onclick={async (event: Event) => {
|
||||||
if (handler) await handler(event, row.id);
|
if (handler) await handler(event, row.id);
|
||||||
}}
|
}}
|
||||||
|
|||||||
@ -100,7 +100,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="pb-2">
|
<div class="pb-2">
|
||||||
<Button width="w-full" color="surface" onclick={create_driver_handler}>
|
<Button width="w-full" color="tertiary" onclick={create_driver_handler}>
|
||||||
<b>Create New Driver</b>
|
<b>Create New Driver</b>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -72,7 +72,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="pb-2">
|
<div class="pb-2">
|
||||||
<Button width="w-full" color="surface" onclick={create_race_handler}>
|
<Button width="w-full" color="tertiary" onclick={create_race_handler}>
|
||||||
<b>Create New Race</b>
|
<b>Create New Race</b>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -123,7 +123,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="pb-2">
|
<div class="pb-2">
|
||||||
<Button width="w-full" color="surface" onclick={create_substitution_handler}>
|
<Button width="w-full" color="tertiary" onclick={create_substitution_handler}>
|
||||||
<b>Create New Substitution</b>
|
<b>Create New Substitution</b>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -59,7 +59,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="pb-2">
|
<div class="pb-2">
|
||||||
<Button width="w-full" color="surface" onclick={create_team_handler}>
|
<Button width="w-full" color="tertiary" onclick={create_team_handler}>
|
||||||
<b>Create New Team</b>
|
<b>Create New Team</b>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user