diff --git a/views/systemlogs.html b/views/systemlogs.html index 2c59cdec8..738dbbccb 100644 --- a/views/systemlogs.html +++ b/views/systemlogs.html @@ -63,6 +63,30 @@ + + {% endblock body %} {% block tail %} @@ -175,6 +199,29 @@ table.column(0).search('').draw(); } }); + + $('#logs').on('click', 'tr', function() { + var data = table.row( this ).data(); + + $("#logs_message_span").html(data[3]); + let exception = data[4]; + exception = exception.replace(/'/g,""); + exception = exception.replace(/\\n\s\s\s\s/g, "\\n  "); + exception = exception.replace(/\\n\s\s/g, "\\n "); + exception = exception.replace(/\\n/g, "
"); + $("#logs_exception_span").html(exception); + if (exception.length > 1) { + $('#except_tag').show(); + $('#logs_exception_span').parent().parent().show(); + } else { + $('#except_tag').hide(); + $('#logs_exception_span').parent().parent().hide(); + } + $('#logsModal') + .modal({ + focus: false + }); + }); }) {% endblock tail %} diff --git a/views/systemreleases.html b/views/systemreleases.html index 722860056..9f2c0c3b7 100644 --- a/views/systemreleases.html +++ b/views/systemreleases.html @@ -11,7 +11,7 @@ {% endblock bcright %} {% block body %} -
+
{% endblock body %} diff --git a/views/systemstatus.html b/views/systemstatus.html index 26f30cf39..43ef3105e 100644 --- a/views/systemstatus.html +++ b/views/systemstatus.html @@ -11,7 +11,7 @@ {% endblock bcright %} {% block body %} -
+

About