updated screenshots to have new ui
This commit is contained in:
parent
2811173051
commit
4256de5097
6 changed files with 2 additions and 11 deletions
|
@ -78,15 +78,6 @@ fetch('/friends/list', {
|
|||
entry.appendChild(removeButton)
|
||||
entry.appendChild(nameText)
|
||||
friendListDisplay.appendChild(entry)
|
||||
//I put the Template code here but it made things slightly worse
|
||||
entry.onclick = (function(entry, nameText, peer) {return function() {
|
||||
if (nameText.length == 0){
|
||||
nameText = 'Anonymous'
|
||||
}
|
||||
document.getElementById('friendPubkey').value = peer
|
||||
document.getElementById('friendName').innerText = nameText
|
||||
overlay('friendInfo')
|
||||
};})(entry, nameText.value, peer);
|
||||
}
|
||||
// If friend delete buttons are pressed
|
||||
|
||||
|
|
|
@ -95,7 +95,7 @@
|
|||
<label class="label">Friend ID</label>
|
||||
<p class="control is-expanded">
|
||||
<input id="" class="input" type="text" name='addKey' placeholder='Public Key/ID'
|
||||
minlength="56" maxlength="56" required>
|
||||
minlength="52" maxlength="52" required>
|
||||
</p>
|
||||
</div>
|
||||
<div class="field">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue