|
|
@@ -560,7 +560,7 @@
|
|
|
<datalist id="discovery-list" ng-if="!editingExisting">
|
|
|
<option ng-repeat="(id,address) in discovery" value="{{ id }}" />
|
|
|
</datalist>
|
|
|
- <div ng-if="editingExisting" class="well well-sm text-monospace">{{currentDevice.deviceID}}</div>
|
|
|
+ <div select-on-click ng-if="editingExisting" class="well well-sm text-monospace">{{currentDevice.deviceID}}</div>
|
|
|
<p class="help-block">
|
|
|
<span translate ng-if="deviceEditor.deviceID.$valid || deviceEditor.deviceID.$pristine">The device ID to enter here can be found in the "Edit > Show ID" dialog on the other device. Spaces and dashes are optional (ignored).</span>
|
|
|
<span translate ng-show="!editingExisting && (deviceEditor.deviceID.$valid || deviceEditor.deviceID.$pristine)">When adding a new device, keep in mind that this device must be added on the other side too.</span>
|
|
|
@@ -931,7 +931,7 @@
|
|
|
|
|
|
<div class="form-group">
|
|
|
<label><span translate>API Key</span></label>
|
|
|
- <div class="well well-sm text-monospace">{{tmpGUI.apiKey || "-"}}</div>
|
|
|
+ <div select-on-click class="well well-sm text-monospace">{{tmpGUI.apiKey || "-"}}</div>
|
|
|
<button translate type="button" class="btn btn-sm btn-default" ng-click="setAPIKey(tmpGUI)">Generate</button>
|
|
|
</div>
|
|
|
</div>
|