mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
Add actions to profile page
This commit is contained in:
parent
ff0e72da83
commit
8ddb0dfe37
1 changed files with 13 additions and 0 deletions
|
@ -217,6 +217,19 @@ async function displayProfile(opts) {
|
|||
feedback += `</div>`;
|
||||
}
|
||||
|
||||
feedback += `<div class="profileDataItem profileDataItem--separator">`;
|
||||
feedback += `<div class="profileDataItem__label"></div>`;
|
||||
feedback += `<div class="profileDataItem__value">actions</div>`;
|
||||
feedback += `</div>`;
|
||||
feedback += `<div class="profileDataItem">`;
|
||||
feedback += `<div class="profileDataItem__label"></div>`;
|
||||
feedback += `<div class="profileDataItem__value"><a href="/verify/${keyData.fingerprint}">verify signature</a></div>`;
|
||||
feedback += `</div>`;
|
||||
feedback += `<div class="profileDataItem">`;
|
||||
feedback += `<div class="profileDataItem__label"></div>`;
|
||||
feedback += `<div class="profileDataItem__value"><a href="/encrypt/${keyData.fingerprint}">encrypt message</a></div>`;
|
||||
feedback += `</div>`;
|
||||
|
||||
// Display feedback
|
||||
document.body.querySelector('#profileData').innerHTML = feedback;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue