{% extends 'base.html' %} {% block content %}
| {{ _('Default') }} | {{ _('Browser') }} | {{ _('Capabilities') }} | |
|---|---|---|---|
| {# Only ready-to-use engines can be the default (base-only engines aren't usable directly) #} {% if f.ready_to_use %} {% endif %} | {{ f.description }} {% if not f.ready_to_use %}{{ _('needs setup') }}{% endif %} {% if f.ready_to_use and f.name == default_browser_id %}{{ _('Default') }}{% endif %} | {% for cap, on in f.capabilities.items() %} {% if on %}{{ cap.replace('supports_', '')|replace('_', ' ') }}{% endif %} {% endfor %} {% if not f.is_browser %}{{ _('plain text, no JavaScript') }}{% endif %} | {# When browser config is locked, only setting the default is allowed - hide edit/add. #} {% if not browser_config_locked() %} {# Engines with configurable behaviour can be edited (browser fields, or HTTP options). #} {% if f.ready_to_use and f.configurable %} {{ _('Edit') }} {% endif %} {# "Add variation" for any configurable engine - browsers or the plain client. #} {% if f.configurable %} + {{ _('Add variation') }} {% endif %} {% endif %} |
| {{ v.get('label') }} {% if v.id == default_browser_id %}{{ _('Default') }}{% endif %} | {% if bc.get('browser_type') %}{{ bc.browser_type }}{% endif %} {% if bc.get('viewport_width') %}{{ bc.viewport_width }}×{{ bc.viewport_height or '?' }}{% endif %} {% if bc.get('locale') %}{{ bc.locale }}{% endif %} {% if bc.get('timezone_id') %}{{ bc.timezone_id }}{% endif %} {% if bc.get('block_resource_types') %}{{ _('no') }} {{ bc.block_resource_types|join(', ') }}{% endif %} | {% if not browser_config_locked() %} {{ _('Edit') }} {% endif %} |
{{ _("No interactive browser is available.") }}