{% import 'macros/form.html' as form %} {% set preset_labels = { 'strict': _('Strict: static HTML, no scripts'), 'interactive': _('Interactive: scripts, popups and downloads, no storage'), 'external': _('External: a trusted third-party site, no sandbox (runs as Interactive for now)'), 'data-schematic': _('Data Schematic: qsv Data Schematics'), } %} {# TRANSLATORS: how the embedded page's height is set; "Auto" means the page reports its own height. #} {% set height_labels = { 'auto': _('Auto'), 'fixed': _('Fixed (px)'), 'viewport': _('Share of the window height, in percent'), 'aspect': _('Aspect ratio (e.g. 16/9)'), } %} {# TRANSLATORS: names of security presets, as in "the External preset". #} {% set preset_names = { 'strict': _('Strict'), 'interactive': _('Interactive'), 'external': _('External'), 'data-schematic': _('Data Schematic'), } %} {% asset 'webpageviewplus/webpageviewplus-js' %} {{ form.input('page_url', id='field-page_url', label=_('Web Page url'), placeholder=_('eg. http://example.com (if blank uses resource url)'), value=data.page_url, error=errors.page_url, classes=['control-full', 'control-large']) }} {# Well-known services (YouTube, Datawrapper...): offers the embed address and the settings the embed needs. Filled in by the script. #}
{% if frameability_check %} {% endif %}{# TRANSLATORS: view counts as "label: number" pairs, so no plural forms are needed. #} {{ _('Last 30 days. Shown: {impressions}. Seen: {seen}. Loaded: {loaded}. Used: {engaged}. Failed: {failed}.').format(**t) }}
{% endif %} {% endif %}