From cd17aa2cab8242a372409af444ba64599d2f9a5d Mon Sep 17 00:00:00 2001 From: tomasz1986 Date: Sat, 20 Feb 2021 19:26:34 +0900 Subject: [PATCH] gui: Show "Last seen" at the top when device is disconnected (ref #7166) (#7373) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move the "Last seen" field to the very top in the device information. This way, if a device has disconnected unexpectly, we can quickly check the time when it was last available. Right now, due to the very long address field, it is usually necessary to scroll down in order to view the "Last seen" field. Signed-off-by: Tomasz WilczyƄski --- gui/default/index.html | 10 +++++----- gui/default/untrusted/index.html | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/gui/default/index.html b/gui/default/index.html index 84dc0f97f..e68e83f65 100644 --- a/gui/default/index.html +++ b/gui/default/index.html @@ -708,6 +708,11 @@
+ + + + + - - - - - diff --git a/gui/default/untrusted/index.html b/gui/default/untrusted/index.html index f0dd1d4e4..e30fe7837 100644 --- a/gui/default/untrusted/index.html +++ b/gui/default/untrusted/index.html @@ -720,6 +720,11 @@
 Last seenNever{{deviceStats[deviceCfg.deviceID].lastSeen | date:"yyyy-MM-dd HH:mm:ss"}}
 Download Rate @@ -793,11 +798,6 @@  Version {{connections[deviceCfg.deviceID].clientVersion}}
 Last seenNever{{deviceStats[deviceCfg.deviceID].lastSeen | date:"yyyy-MM-dd HH:mm:ss"}}
 Folders {{deviceFolders(deviceCfg).map(folderLabel).join(", ")}}
+ + + + + - - - - -
 Last seenNever{{deviceStats[deviceCfg.deviceID].lastSeen | date:"yyyy-MM-dd HH:mm:ss"}}
 Download Rate @@ -805,11 +810,6 @@  Version {{connections[deviceCfg.deviceID].clientVersion}}
 Last seenNever{{deviceStats[deviceCfg.deviceID].lastSeen | date:"yyyy-MM-dd HH:mm:ss"}}
 Folders {{deviceFolders(deviceCfg).map(folderLabel).join(", ")}}