summaryrefslogtreecommitdiff
path: root/packages/demobank-ui/src/pages/admin/AccountList.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/demobank-ui/src/pages/admin/AccountList.tsx')
-rw-r--r--packages/demobank-ui/src/pages/admin/AccountList.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/demobank-ui/src/pages/admin/AccountList.tsx b/packages/demobank-ui/src/pages/admin/AccountList.tsx
index 5528b5226..4e3f4afe3 100644
--- a/packages/demobank-ui/src/pages/admin/AccountList.tsx
+++ b/packages/demobank-ui/src/pages/admin/AccountList.tsx
@@ -81,6 +81,7 @@ export function AccountList({
<div class="mt-4 sm:ml-16 sm:mt-0 sm:flex-none">
<a
href={routeCreate.url({})}
+ name="create account"
type="button"
class="block rounded-md bg-indigo-600 px-3 py-2 text-center text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
>
@@ -128,6 +129,7 @@ export function AccountList({
<tr key={idx}>
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-0">
<a
+ name={`show account ${item.username}`}
href={routeShowAccount.url({
account: item.username,
})}
@@ -163,6 +165,7 @@ export function AccountList({
</td>
<td class="relative whitespace-nowrap py-4 pl-3 pr-4 text-right text-sm font-medium sm:pr-0">
<a
+ name={`update password ${item.username}`}
href={routeUpdatePasswordAccount.url({
account: item.username,
})}
@@ -175,6 +178,7 @@ export function AccountList({
<Fragment>
<a
+ name={`show cashout ${item.username}`}
href={routeShowCashoutsAccount.url({
account: item.username,
})}
@@ -187,6 +191,7 @@ export function AccountList({
: undefined}
{noBalance ? (
<a
+ name={`remove account ${item.username}`}
href={routeRemoveAccount.url({
account: item.username,
})}