ch prefix
This commit is contained in:
@@ -109,7 +109,7 @@
|
||||
tr.innerHTML =
|
||||
schema.columns.map((column) => cellHtml(column, row)).join("") +
|
||||
`<td class="text-right whitespace-nowrap">
|
||||
<a class="btn btn-ghost btn-xs" href="/admin/${slug}/${row.Id}/edit" aria-label="Edit item ${row.Id}">Edit</a>
|
||||
<a class="btn btn-ghost btn-xs" href="/M0n1t0r/${slug}/${row.Id}/edit" aria-label="Edit item ${row.Id}">Edit</a>
|
||||
<button type="button" class="btn btn-ghost btn-xs text-error" data-delete aria-label="Delete item ${row.Id}">Delete</button>
|
||||
</td>`;
|
||||
|
||||
@@ -226,7 +226,7 @@
|
||||
renderState(
|
||||
`<div class="py-10 text-center text-base-content/60">
|
||||
<p class="mb-3">Nothing here yet${state.search ? " for “" + UI.escapeHtml(state.search) + "”" : ""}.</p>
|
||||
<a href="/admin/${slug}/new" class="btn btn-primary btn-sm">Create the first one</a>
|
||||
<a href="/M0n1t0r/${slug}/new" class="btn btn-primary btn-sm">Create the first one</a>
|
||||
</div>`
|
||||
);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user