From 7caea17c1ff3f107621641e39d8a8b41c96862a6 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Mon, 25 Nov 2019 11:26:18 +0100 Subject: [PATCH] chg: [crawler dashboard UI] add UP/Down domains url --- .../modules/hiddenServices/Flask_hiddenServices.py | 2 +- .../hiddenServices/templates/Crawler_dashboard.html | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/var/www/modules/hiddenServices/Flask_hiddenServices.py b/var/www/modules/hiddenServices/Flask_hiddenServices.py index eab71cae..0db6bbe6 100644 --- a/var/www/modules/hiddenServices/Flask_hiddenServices.py +++ b/var/www/modules/hiddenServices/Flask_hiddenServices.py @@ -253,7 +253,7 @@ def dashboard(): statDomains_regular = get_stats_last_crawled_domains('regular', date) return render_template("Crawler_dashboard.html", crawler_metadata_onion = crawler_metadata_onion, - crawler_enabled=crawler_enabled, + crawler_enabled=crawler_enabled, date=date, crawler_metadata_regular=crawler_metadata_regular, statDomains_onion=statDomains_onion, statDomains_regular=statDomains_regular) diff --git a/var/www/modules/hiddenServices/templates/Crawler_dashboard.html b/var/www/modules/hiddenServices/templates/Crawler_dashboard.html index b746b05c..769beb7f 100644 --- a/var/www/modules/hiddenServices/templates/Crawler_dashboard.html +++ b/var/www/modules/hiddenServices/templates/Crawler_dashboard.html @@ -36,11 +36,11 @@
Onions Crawlers
- {{ statDomains_onion['domains_up'] }} UP - {{ statDomains_onion['domains_down'] }} DOWN + {{ statDomains_onion['domains_up'] }} UP + {{ statDomains_onion['domains_down'] }} DOWN
- {{ statDomains_onion['total'] }} Crawled + {{ statDomains_onion['total'] }} Crawled {{ statDomains_onion['domains_queue'] }} Queue
@@ -73,11 +73,11 @@
Regular Crawlers
- {{ statDomains_regular['domains_up'] }} UP - {{ statDomains_regular['domains_down'] }} DOWN + {{ statDomains_regular['domains_up'] }} UP + {{ statDomains_regular['domains_down'] }} DOWN
- {{ statDomains_regular['total'] }} Crawled + {{ statDomains_regular['total'] }} Crawled {{ statDomains_regular['domains_queue'] }} Queue