From: Roland Häder Date: Thu, 6 Jul 2023 10:49:07 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f8702e6e85845573eb0c26d151624aec0a319435;p=fba.git Continued: - added missing cases for header (h1) and browser title bar - fixed module name --- diff --git a/fba/http/federation.py b/fba/http/federation.py index 845d46a..8a0a225 100644 --- a/fba/http/federation.py +++ b/fba/http/federation.py @@ -451,7 +451,7 @@ def fetch_generator_from_path(domain: str, path: str = "/") -> str: components = urlparse(response.url) - log.debug("components[]='%s'", type(components)) + logger.debug("components[]='%s'", type(components)) if not instances.is_registered(components.netloc): logger.info("components.netloc='%s' is not registered, adding ...", components.netloc) fetch_instances(components.netloc, domain, None, "fetch_generator") diff --git a/templates/views/list.html b/templates/views/list.html index 27ece0c..a385297 100644 --- a/templates/views/list.html +++ b/templates/views/list.html @@ -1,10 +1,14 @@ {% extends "base.html" %} -{% block title %}{% if mode == 'detection_mode' %} - Detection mode {{value}}{% endif %}{% endblock %} +{% block title %}{% if mode == 'detection_mode' %} - Detection mode {{value}}{% elif mode == 'software' %} - Used software {{value}}{% elif mode == 'command' %} - Command {{value}}{% endif %}{% endblock %} {% block header %} {% if mode == 'detection_mode' %}

Instances detected by method {{value}}

+ {% elif mode == 'software' %} +

Instances using software {{value}}

+ {% elif mode == 'command' %} +

Instances found by command {{value}}

{% endif %} {% endblock %}