qa: Add pointer on clickable rows

This commit is contained in:
nemunaire 2024-09-18 11:38:25 +02:00
parent 4c3b07db1e
commit 051d62a5fa
4 changed files with 4 additions and 4 deletions

View File

@ -43,7 +43,7 @@
<tbody> <tbody>
{#each exercices as exercice (exercice.id)} {#each exercices as exercice (exercice.id)}
{#if exercice.title.indexOf(query) >= 0} {#if exercice.title.indexOf(query) >= 0}
<tr on:click={() => show(exercice.id)}> <tr on:click={() => show(exercice.id)} style="cursor: pointer">
{#each fieldsExercices as field} {#each fieldsExercices as field}
<td> <td>
{@html exercice[field]} {@html exercice[field]}

View File

@ -39,7 +39,7 @@
<tbody> <tbody>
{#each $teams as team (team.id)} {#each $teams as team (team.id)}
{#if team.name.indexOf(query) >= 0} {#if team.name.indexOf(query) >= 0}
<tr on:click={() => show(team.id)}> <tr on:click={() => show(team.id)} style="cursor: pointer">
{#each fields as field} {#each fields as field}
<td class:text-end={field == "image"}> <td class:text-end={field == "image"}>
{team[field]} {team[field]}

View File

@ -60,7 +60,7 @@
<tbody> <tbody>
{#each $themes as theme (theme.id)} {#each $themes as theme (theme.id)}
{#if theme.name.indexOf(query) >= 0 || theme.authors.indexOf(query) >= 0 || theme.intro.indexOf(query) >= 0} {#if theme.name.indexOf(query) >= 0 || theme.authors.indexOf(query) >= 0 || theme.intro.indexOf(query) >= 0}
<tr on:click={() => show(theme.id)}> <tr on:click={() => show(theme.id)} style="cursor: pointer">
{#each fields as field} {#each fields as field}
<td class:text-end={field == "image"}> <td class:text-end={field == "image"}>
{#if field == "image"} {#if field == "image"}

View File

@ -63,7 +63,7 @@
<tbody> <tbody>
{#each exercices as exercice (exercice.id)} {#each exercices as exercice (exercice.id)}
{#if exercice.title.indexOf(query) >= 0} {#if exercice.title.indexOf(query) >= 0}
<tr on:click={() => show(exercice.id)}> <tr on:click={() => show(exercice.id)} style="cursor: pointer">
{#each fieldsExercices as field} {#each fieldsExercices as field}
<td> <td>
{@html exercice[field]} {@html exercice[field]}