* address list addresses always in uppercase

+ copy address list address to clipboard
+ show address names under the addresses in the send screen
This commit is contained in:
Taegus
2019-02-03 11:13:36 +01:00
parent 3fa90b2e48
commit 91356cfc8f
5 changed files with 49 additions and 7 deletions

View File

@@ -390,4 +390,9 @@ div.noAddressWrapper {
font-size: 1.5em;
text-decoration: underline;
margin-bottom: 10px;
}
#sendFromAddressName,
#sendToAddressName {
font-size: 95%;
}

View File

@@ -15,7 +15,7 @@
<tbody>
{{#addressData}}
<tr>
<th scope="row" class="colEdit"><button type="button" class="btn btn-etho btnSelectToAddress" data-wallet="{{address}}">Select</button></th>
<th scope="row" class="colEdit"><button type="button" class="btn btn-etho btnSelectToAddress" data-wallet="{{address}}" data-name="{{name}}"">Select</button></th>
<td>{{name}}</td>
<td><span class="textAddress">{{address}}</span></td>
</tr>

View File

@@ -10,12 +10,16 @@
{{/addressData}}
</select>
<label for="sendFromAddress">From address:</label>
<small id="sendFromAddressName" class="form-text text-muted"></small>
</div>
<div class="input-field col s6 addressInputWrapper">
<input id="sendToAddress" placeholder="recipient address" type="text">
<div class="input-field col s6">
<label for="sendToAddress" class="active">To address:</label>
<button type="button" class="btn btn-etho btnSendToolButton" id="btnAddToAddressBook"><i class="fas fa-plus"></i></button>
<button type="button" class="btn btn-etho btnSendToolButton" id="btnLookForToAddress"><i class="fas fa-search"></i></button>
<div class="addressInputWrapper">
<input id="sendToAddress" placeholder="recipient address" type="text">
<button type="button" class="btn btn-etho btnSendToolButton" id="btnAddToAddressBook"><i class="fas fa-plus"></i></button>
<button type="button" class="btn btn-etho btnSendToolButton" id="btnLookForToAddress"><i class="fas fa-search"></i></button>
</div>
<small id="sendToAddressName" class="form-text text-muted"></small>
</div>
</div>
<div class="row">