ui: move chain delete button to right, use ✕ glyph

- C-APDU chain rows: delete button moved after the hex field (matches
  Expanded Script layout)
- Use ✕ uniformly across delete icons (was × in chain rows)

SW cache v49.
This commit is contained in:
2026-09-10 09:21:37 +03:00
parent 3ca014991a
commit c31885d40e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1223,8 +1223,8 @@ function chainRenderRow(chainId, idx, row) {
const hex = chainBuildRowHex(chainId, idx);
return '<div class="flex items-center gap-2 mb-2">' +
'<select onchange="chainUpdateCmd(\'' + chainId + '\',' + idx + ',this.value)" class="flex-shrink-0 w-52 border border-gray-300 dark:border-slate-600 text-sm rounded px-2 py-1 dark:bg-slate-800">' + cmdOpts + '</select>' +
'<button onclick="chainDeleteRow(\'' + chainId + '\',' + idx + ')" class="text-red-500 hover:text-red-700 text-lg font-bold px-1" title="Delete">&times;</button>' +
'<input id="' + chainId + '-row-' + idx + '-hex" readonly value="' + escHtml(hex) + '" class="flex-1 font-mono text-xs border border-gray-300 dark:border-slate-600 rounded px-2 py-1 bg-gray-50 dark:bg-slate-900">' +
'<button onclick="chainDeleteRow(\'' + chainId + '\',' + idx + ')" class="text-red-500 hover:text-red-700 text-lg font-bold px-1" title="Delete"></button>' +
'</div>' +
'<div class="pl-4">' + fieldsHtml + '</div>';
}
+1 -1
View File
@@ -1,4 +1,4 @@
const CACHE = 'otaman-v48';
const CACHE = 'otaman-v49';
const URLS = [
'index.html',
'help.html',