|
|
@ -97,8 +97,14 @@ |
|
|
|
else if (status.id == "DOWNLOADED") { |
|
|
|
else if (status.id == "DOWNLOADED") { |
|
|
|
textStatus = status.description; |
|
|
|
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; |
|
|
|
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 |
|
|
|
|
|
|
|
|
|
|
|
<div id="panel-outer"> |
|
|
|
<div id="panel-outer"> |
|
|
|
<div id="panel"> |
|
|
|
<div id="panel"> |
|
|
|
<h2>Loading</h2> |
|
|
|
<h2 id="title">Loading</h2> |
|
|
|
<p> |
|
|
|
<p id="description"> |
|
|
|
Files are being retrieved from the Qortal Data Network. |
|
|
|
Files are being retrieved from the Qortal Data Network. |
|
|
|
This page will refresh automatically when the content becomes available. |
|
|
|
This page will refresh automatically when the content becomes available. |
|
|
|
</p> |
|
|
|
</p> |
|
|
|