diff --git a/site/app.py b/site/app.py index 6cbb8d5..6ff152d 100644 --- a/site/app.py +++ b/site/app.py @@ -3,7 +3,7 @@ from flask import Flask, render_template, request app = Flask(__name__) -VERSION = '1.0.1' +VERSION = '1.0.2' @app.route('/') diff --git a/site/static/app.js b/site/static/app.js index e391e23..74210bc 100644 --- a/site/static/app.js +++ b/site/static/app.js @@ -90,7 +90,7 @@ function renderTable() { } else if (f.status === 'ok') { progressHTML = '✓ ' + formatSpeed(f.speed) + ''; } else if (f.status === 'err') { - progressHTML = ''; + progressHTML = '✗ ' + escHtml(f.error || '') + ''; } else { progressHTML = ''; } @@ -102,7 +102,7 @@ function renderTable() { } else if (f.status === 'ok') { statusHTML = '✓ ' + (f.elapsed ? (f.elapsed / 1000).toFixed(1) + 'с' : '') + ''; } else if (f.status === 'err') { - statusHTML = '✗ ошибка'; + statusHTML = '✗ ' + escHtml(f.error || '') + ''; } else { statusHTML = 'ожидает'; } diff --git a/site/static/favicon.svg b/site/static/favicon.svg index 466b140..3a2969d 100644 --- a/site/static/favicon.svg +++ b/site/static/favicon.svg @@ -1,4 +1,66 @@ - - - LT - + + + + + + + + + + image/svg+xml + + + + + + + + diff --git a/site/templates/index.html b/site/templates/index.html index b0f0c8a..4c87f1c 100644 --- a/site/templates/index.html +++ b/site/templates/index.html @@ -82,7 +82,6 @@
📦 Loadtest — загрузка файлов - v{{ version }}