diff --git a/src/main/resources/loading/index.html b/src/main/resources/loading/index.html index 8e992049..4ed16b53 100644 --- a/src/main/resources/loading/index.html +++ b/src/main/resources/loading/index.html @@ -97,8 +97,14 @@ else if (status.id == "DOWNLOADED") { textStatus = status.description; } + else if (status.id == "NOT_PUBLISHED") { + document.getElementById("title").innerHTML = "File not found"; + document.getElementById("description").innerHTML = ""; + document.getElementById("c").style.opacity = "0.5"; + textStatus = status.description; + } - if (status.localChunkCount != null && status.totalChunkCount != null) { + if (status.localChunkCount != null && status.totalChunkCount != null && status.totalChunkCount > 0) { textProgress = "Files downloaded: " + status.localChunkCount + " / " + status.totalChunkCount; } @@ -276,8 +282,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
-

Loading

-

+

Loading

+

Files are being retrieved from the Qortal Data Network. This page will refresh automatically when the content becomes available.