From a11556546e8ca12eff7146f52d43b9b40a7e07d7 Mon Sep 17 00:00:00 2001 From: topilski Date: Fri, 6 Sep 2019 03:29:46 -0400 Subject: [PATCH] Stream quality --- CHANGELOG | 4 ++++ app/config/public_config.py | 2 +- app/templates/provider/dashboard.html | 25 +++++++++++++++++++------ 3 files changed, 24 insertions(+), 7 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index fa86534..bd655cd 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +1.6.1 / +[Alexandr Topilski] +- Stream quality + 1.6.0 / September 4, 2019 [Alexandr Topilski] - Balancer diff --git a/app/config/public_config.py b/app/config/public_config.py index c7350b2..c4bdae9 100644 --- a/app/config/public_config.py +++ b/app/config/public_config.py @@ -4,4 +4,4 @@ PUBLIC_CONFIG = {'site': {'title': 'FastoCloud', 'keywords': 'video,cloud,iptv,s 'contact_address': 'Republic of Belarus, Minsk, Stadionnay str. 5', 'community_channel': 'https://discord.gg/cnUXsws', 'partners':[{'company': 'Tathya Technologies Pvt Ltd (OPC)', 'website': 'https://tathyatechnologies.com', 'country':'India, Bangladesh'}]}, - 'project': {'version': '1.6.0', 'version_type': 'release'}} + 'project': {'version': '1.6.1', 'version_type': 'rc'}} diff --git a/app/templates/provider/dashboard.html b/app/templates/provider/dashboard.html index 187bf2d..65a4c99 100644 --- a/app/templates/provider/dashboard.html +++ b/app/templates/provider/dashboard.html @@ -14,13 +14,13 @@ Dashboard | {{ config['PUBLIC_CONFIG'].site.title }} width: 18%; } th.stream_type { - width: 6%; + width: 5%; } th.stream_status { width: 5%; } th.stream_restarts { - width: 5%; + width: 4%; } th.stream_cpu { width: 5%; @@ -40,11 +40,14 @@ Dashboard | {{ config['PUBLIC_CONFIG'].site.title }} th.stream_live_time { width: 5%; } + th.stream_quality { + width: 5%; + } th.stream_price { width: 5%; } th.stream_actions { - width: 28%; + width: 25%; } {{super()}} @@ -292,6 +295,7 @@ Dashboard | {{ config['PUBLIC_CONFIG'].site.title }} {% trans %}Out (Mbps){% endtrans %} {% trans %}TTL (sec){% endtrans %} {% trans %}RTL (sec){% endtrans %} + {% trans %}Quality (%){% endtrans %} {% trans %}Price ($){% endtrans %} {% trans %}Actions{% endtrans %} @@ -325,6 +329,8 @@ Dashboard | {{ config['PUBLIC_CONFIG'].site.title }} {{ (rev.timestamp - rev.start_time)/1000 }} {{ (rev.timestamp - rev.loop_start_time)/1000 }} + {{ rev.quality | round(2, 'floor') }} + {{ rev.price }}