From 9caaaa49b6d32f2fc6c3d00daf5c4075dc39e333 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 89cd3eabd..c06a3ed45 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 c616cb822..623b28b84 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(", ")}}