Remove source note message from UTXO list page
**Motivations:** - Supprimer le message "Source : fichier utxo_list.txt (peut ne pas être à jour). Dernière modif. : ..." de la page UTXO list **Correctifs:** - Suppression de l'élément HTML avec id="source-note" - Suppression du code JavaScript qui mettait à jour ce message - Suppression du style CSS .source-note non utilisé **Pages affectées:** - signet-dashboard/public/utxo-list.html
This commit is contained in:
parent
85c2810dad
commit
2c83bd0cdd
@ -153,12 +153,6 @@
|
|||||||
color: #666;
|
color: #666;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
.source-note {
|
|
||||||
font-size: 0.9em;
|
|
||||||
color: #666;
|
|
||||||
margin-top: 10px;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
.error {
|
.error {
|
||||||
background: #f8d7da;
|
background: #f8d7da;
|
||||||
color: #721c24;
|
color: #721c24;
|
||||||
@ -326,7 +320,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<p id="progress-percent">0 %</p>
|
<p id="progress-percent">0 %</p>
|
||||||
<p id="progress-stats" class="progress-stats">0 ligne(s) parsée(s)</p>
|
<p id="progress-stats" class="progress-stats">0 ligne(s) parsée(s)</p>
|
||||||
<p id="source-note" class="source-note">Source : fichier utxo_list.txt (peut ne pas être à jour)</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -712,11 +705,6 @@
|
|||||||
|
|
||||||
const contentLength = response.headers.get('Content-Length');
|
const contentLength = response.headers.get('Content-Length');
|
||||||
const totalBytes = contentLength ? parseInt(contentLength, 10) : 0;
|
const totalBytes = contentLength ? parseInt(contentLength, 10) : 0;
|
||||||
const lastModified = response.headers.get('Last-Modified');
|
|
||||||
if (lastModified && document.getElementById('source-note')) {
|
|
||||||
document.getElementById('source-note').textContent =
|
|
||||||
'Source : fichier utxo_list.txt (peut ne pas être à jour). Dernière modif. : ' + new Date(lastModified).toLocaleString('fr-FR');
|
|
||||||
}
|
|
||||||
|
|
||||||
const reader = response.body.getReader();
|
const reader = response.body.getReader();
|
||||||
const decoder = new TextDecoder('utf-8');
|
const decoder = new TextDecoder('utf-8');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user