gui CHANGE storing device fingerprint
When user confirms the device's fingerprint, do not ask again next time
the device is being connected.
diff --git a/frontend/inventory/device.ts b/frontend/inventory/device.ts
index 452aba8..00ec464 100644
--- a/frontend/inventory/device.ts
+++ b/frontend/inventory/device.ts
@@ -6,7 +6,8 @@
public port: number = 830,
public autoconnect: boolean = false,
public username: string = '',
- public password: string = ''
+ public password: string = '',
+ public fingerprint: string = '',
) {}
}
/*
diff --git a/frontend/inventory/devices.component.html b/frontend/inventory/devices.component.html
index 08f872c..c4e8fca 100644
--- a/frontend/inventory/devices.component.html
+++ b/frontend/inventory/devices.component.html
@@ -76,6 +76,7 @@
<th class="item_left"> </th>
<th>name</th>
<th>hostname : port</th>
+ <th>fingerprint</th>
<th>username</th>
<th class="item_right">autoconnect</th>
</tr>
@@ -88,6 +89,7 @@
</td>
<td>{{device.name}}</td>
<td>{{device.hostname}} : {{device.port}}</td>
+ <td>{{device.fingerprint}}</td>
<td>{{device.username}}</td>
<td class="item_right"><input type="checkbox" name="autoconnect" disabled [checked]="device.autoconnect"
title="Automatically connect the device on user login."/></td>