diff --git a/openxr_inventory/templates/base.jinja2.html b/openxr_inventory/templates/base.jinja2.html index edfe9d4..d3c33ca 100644 --- a/openxr_inventory/templates/base.jinja2.html +++ b/openxr_inventory/templates/base.jinja2.html @@ -53,6 +53,11 @@ + diff --git a/openxr_inventory/templates/extension_support.jinja2.html b/openxr_inventory/templates/extension_support.jinja2.html index 801fbbf..9ad1b10 100644 --- a/openxr_inventory/templates/extension_support.jinja2.html +++ b/openxr_inventory/templates/extension_support.jinja2.html @@ -41,79 +41,54 @@ padding: 5px; } +th.extname { + white-space: nowrap +} + {% endblock style %} {% block container_contents %} -
- - -
-

Extensions

- {% for col in extensions | slice(3) %} -
- -
- {% endfor %} -
- {% for extension_name in extensions %} - {% set support = extension_support[extension_name] %} - -
-

{{ extension_name }} ({{ support | length }} runtime{{ "s" if support | length != 1 }})

-

- Specification - for {{ extension_name }} -

- -
- {% endfor %} -
- -
-

Runtimes

- - -
{% for runtime in runtimes %} -
-

{{ runtime.name }}

- + {% endfor %} -
+
@@ -125,20 +100,20 @@

Runtime support matrix

{% for runtime in runtimes | sort %} {# pragmatic check if the runtime name fits in the layout or if it needs to be truncated and put the full name in tooltip #} - {% if runtime.name|length < 34 %} -
{{ runtime.name }}
+ {% if runtime.name|length <= 34 %} +
{{ runtime.name }}
{% else %} -
{{ runtime.name|truncate(34, True) }}
+
{{ runtime.name|truncate(34, True) }}
{% endif %} {% endfor %} - {% macro extension_matrix_row(extension_name) %} - + {% set support = extension_support[extension_name] %} + - {{ extension_name }} + {{ extension_name }} @@ -183,30 +158,32 @@

Runtime support matrix

{% for runtime in runtimes | sort %} - + {% endfor %} {% for vc, environment_blend_modes in view_configurations.items() %} - → {{ vc }} - - - + → {{ vc }} + + + {% for runtime in runtimes | sort %} - + {% endfor %} {% for ebm in environment_blend_modes %} - → → {{ ebm }} - - - + + → → {{ ebm }} + + + + {% for runtime in runtimes | sort %} {% if ff in form_factor_support[runtime.name] and vc in form_factor_support[runtime.name][ff] and ebm in form_factor_support[runtime.name][ff][vc] %}