diff --git a/backend/src/appenlight/templates/tests/js_airbrake_error.jinja2 b/backend/src/appenlight/templates/tests/js_airbrake_error.jinja2 index 4be6f26..18ed9d4 100644 --- a/backend/src/appenlight/templates/tests/js_airbrake_error.jinja2 +++ b/backend/src/appenlight/templates/tests/js_airbrake_error.jinja2 @@ -1,57 +1,54 @@ -{% extends "/layout.jinja2" %} -{% from '/reports/reports_small_list_old.jinja2' import render_reports with context %} -{% block additional_layout_scripts %} - -{% endblock %} -{% block content_class %}{% endblock %} -{% set layout_disable_menu = True %} + + + + -{% block additional_styles %} + Error test + + + + +

Error test

-{% endblock %} - -{% block page_title %} -

{{_('JS')}}

-{% endblock %} -{% block content %} -{% endblock %} + + diff --git a/backend/src/appenlight/templates/tests/js_error.jinja2 b/backend/src/appenlight/templates/tests/js_error.jinja2 index 6b30e93..b14bf38 100644 --- a/backend/src/appenlight/templates/tests/js_error.jinja2 +++ b/backend/src/appenlight/templates/tests/js_error.jinja2 @@ -1,53 +1,81 @@ -{% extends "/layout.jinja2" %} -{% block dojodeps %} - deps: ["appenlight","appenlight/sections/test_error"] -{% endblock %} + + + + -{% block additional_layout_scripts %} + Error test + + {% if request.registry.settings.get('appenlight.public_api_key') %} + + {% endif %} + + +

Error test

- function subfunction() { - subsubfunction(); - } + -{% endblock %} + setTimeout(function () { + brokenCode + 666; + }, 3000); -{% block page_title %} -

{{ _('JS') }}

-{% endblock %} -{% block content %} + -{% endblock %} + + diff --git a/backend/src/appenlight/templates/tests/js_log.jinja2 b/backend/src/appenlight/templates/tests/js_log.jinja2 index 146e5c8..32a5389 100644 --- a/backend/src/appenlight/templates/tests/js_log.jinja2 +++ b/backend/src/appenlight/templates/tests/js_log.jinja2 @@ -1,33 +1,58 @@ -{% extends "/layout.jinja2" %} -{% block additional_layout_scripts %} + + + + + + Error test + + {% if request.registry.settings.get('appenlight.public_api_key') %} + + {% endif %} + + + +

Error test

-{% endblock %} - -{% block additional_styles %} -{% endblock %} - -{% block content_class %}{% endblock %} -{% set layout_disable_menu = True %} - - - -{% block page_title %} -

{{_('JS')}}

-{% endblock %} -{% block content %} - - -{% endblock %} + +