feat(apk): bouton de copie du code 2FA sur chaque ligne de la liste
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -919,6 +919,10 @@ function renderRows() {
|
||||
+ (e.sub ? '<span>' + esc(e.sub) + '</span>' : '') + '</div>'
|
||||
+ (e.hasUser ? '<button class="btn ico-btn" data-copy="user">'
|
||||
+ ico('user', 'Copy username') + '</button>' : '')
|
||||
// LE CODE 2FA A PORTEE DE POUCE, comme l'identifiant et le mot de
|
||||
// passe : il fallait ouvrir l'entree pour le copier.
|
||||
+ (e.hasTotp ? '<button class="btn ico-btn" data-copy="rtotp">'
|
||||
+ ico('clock', 'Copy 2FA code') + '</button>' : '')
|
||||
+ '<button class="btn ico-btn" data-copy="pwd">'
|
||||
+ (e.isNote ? ico('note', 'Copy text') : ico('key', 'Copy password'))
|
||||
+ '</button></div>';
|
||||
@@ -1001,6 +1005,7 @@ var ICONS = {
|
||||
dots: '<circle cx="12" cy="5" r="1.4"/><circle cx="12" cy="12" r="1.4"/>'
|
||||
+ '<circle cx="12" cy="19" r="1.4"/>',
|
||||
check: '<path d="M4 12.5l5.5 5.5L20 7"/>',
|
||||
clock: '<circle cx="12" cy="12" r="8.5"/><path d="M12 7.5V12l3 2"/>',
|
||||
dice: '<rect x="4" y="4" width="16" height="16" rx="3"/>'
|
||||
+ '<circle cx="9" cy="9" r="1.2"/><circle cx="15" cy="15" r="1.2"/>'
|
||||
+ '<circle cx="15" cy="9" r="1.2"/><circle cx="9" cy="15" r="1.2"/>',
|
||||
|
||||
Reference in New Issue
Block a user