diff --git a/mycodo/mycodo_flask/routes_page.py b/mycodo/mycodo_flask/routes_page.py index 13b6894b7..af3963b11 100644 --- a/mycodo/mycodo_flask/routes_page.py +++ b/mycodo/mycodo_flask/routes_page.py @@ -25,8 +25,9 @@ DEPENDENCY_LOG_FILE, DOCKER_CONTAINER, FRONTEND_PID_FILE, HTTP_ACCESS_LOG_FILE, HTTP_ERROR_LOG_FILE, IMPORT_LOG_FILE, - KEEPUP_LOG_FILE, LOGIN_LOG_FILE, MYCODO_VERSION, - RESTORE_LOG_FILE, THEMES_DARK, UPGRADE_LOG_FILE) + KEEPUP_LOG_FILE, LOGIN_LOG_FILE, MYCODO_DB_PATH, + MYCODO_VERSION, RESTORE_LOG_FILE, THEMES_DARK, + UPGRADE_LOG_FILE) from mycodo.config_devices_units import MEASUREMENTS from mycodo.databases.models import (PID, AlembicVersion, Camera, Conversion, CustomController, DeviceMeasurements, @@ -730,6 +731,7 @@ def page_info(): gpio_readall=gpio_output, database_version=database_version, correct_database_version=correct_database_version, + database_url=MYCODO_DB_PATH, df=df_output, dmesg_output=dmesg_output, free=free_output, diff --git a/mycodo/mycodo_flask/templates/pages/info.html b/mycodo/mycodo_flask/templates/pages/info.html index a11fb111e..d2c5daee7 100644 --- a/mycodo/mycodo_flask/templates/pages/info.html +++ b/mycodo/mycodo_flask/templates/pages/info.html @@ -3,7 +3,19 @@ {% set help_page = ["https://kizniche.github.io/Mycodo/System-Information/", _('System Information')] %} {% block title %} - {{_('System Information')}}{% endblock %} - +{% block head %} + +{% endblock %} {% block body %}
@@ -17,6 +29,7 @@ {%- if database_version == correct_database_version -%}{{database_version}} {%- else -%}{{database_version}} (Incorrect Version. Should be {{correct_database_version}}) {%- endif -%} +
{{_('Database URL')}}: {{database_url}}
{{_('Daemon Status')}}:  {%- if daemon_status == "alive" %}{{_('Running')}} {%- else %}{{_('Not Running')}}