style(next): use the new icon button style for the ETAPI token table buttons

This commit is contained in:
Adorian Doran 2025-01-30 23:49:25 +02:00
commit 9c847686a6

View File

@ -112,8 +112,8 @@ export default class EtapiOptions extends OptionsWidget {
.append($("<td>").text(formatDateTime(token.utcDateCreated))) .append($("<td>").text(formatDateTime(token.utcDateCreated)))
.append( .append(
$("<td>").append( $("<td>").append(
$(`<span class="bx bx-pen token-table-button" title="${t("etapi.rename_token")}"></span>`).on("click", () => this.renameToken(token.etapiTokenId, token.name)), $(`<span class="bx bx-pen token-table-button icon-action" title="${t("etapi.rename_token")}"></span>`).on("click", () => this.renameToken(token.etapiTokenId, token.name)),
$(`<span class="bx bx-trash token-table-button" title="${t("etapi.delete_token")}"></span>`).on("click", () => this.deleteToken(token.etapiTokenId, token.name)) $(`<span class="bx bx-trash token-table-button icon-action" title="${t("etapi.delete_token")}"></span>`).on("click", () => this.deleteToken(token.etapiTokenId, token.name))
) )
) )
); );