Implement Web Assets' theme system and selection, and add 'light' theme #118
@ -4,10 +4,10 @@
|
|||||||
href="https://www.blender.org/download/releases/{{ version.blender_version_min|version_without_patch|replace:".,-" }}/"
|
href="https://www.blender.org/download/releases/{{ version.blender_version_min|version_without_patch|replace:".,-" }}/"
|
||||||
title="{{ version.blender_version_min }}">Blender {{ version.blender_version_min|version_without_patch }}</a>
|
title="{{ version.blender_version_min }}">Blender {{ version.blender_version_min|version_without_patch }}</a>
|
||||||
{% if is_editable %}
|
{% if is_editable %}
|
||||||
—
|
<span class="me-2">—</span>
|
||||||
<input name="blender_version_max" class="form-control-sm"
|
<input name="blender_version_max" class="form-control"
|
||||||
value="{{version.blender_version_max|default_if_none:''}}"
|
value="{{version.blender_version_max|default_if_none:''}}"
|
||||||
placeholder="{% trans 'maximum Blender version' %}"
|
placeholder="{% trans 'max. Blender version' %}"
|
||||||
pattern="^([0-9]+\.[0-9]+\.[0-9]+)?$"
|
pattern="^([0-9]+\.[0-9]+\.[0-9]+)?$"
|
||||||
title="{% trans 'Blender version, e.g. 4.1.0' %}"
|
title="{% trans 'Blender version, e.g. 4.1.0' %}"
|
||||||
/>
|
/>
|
||||||
|
@ -76,7 +76,9 @@
|
|||||||
<div class="dl-row">
|
<div class="dl-row">
|
||||||
<div class="dl-col">
|
<div class="dl-col">
|
||||||
<dt>{% trans 'Compatibility' %}</dt>
|
<dt>{% trans 'Compatibility' %}</dt>
|
||||||
<dd>{% include "extensions/components/blender_version.html" with version=version is_editable=is_editable form=form %}</dd>
|
<dd class="align-items-center d-flex">
|
||||||
|
{% include "extensions/components/blender_version.html" with version=version is_editable=is_editable form=form %}
|
||||||
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user