mirror of
https://github.com/ToxicCrack/PrintABrick.git
synced 2025-05-19 05:30:08 -07:00
Fix template validity
This commit is contained in:
parent
a7f11179c9
commit
50248d4d69
@ -1,14 +1,15 @@
|
||||
.part {
|
||||
.content {
|
||||
padding: 7px !important;
|
||||
padding: 0.5em !important;
|
||||
overflow: hidden;
|
||||
|
||||
.header {
|
||||
font-size: 12px !important;
|
||||
font-size: 1em !important;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.description {
|
||||
font-size: 11px;
|
||||
font-size: 0.9em;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
|
@ -8,7 +8,11 @@
|
||||
|
||||
.set {
|
||||
.content .header {
|
||||
font-size: 14px !important;
|
||||
margin-bottom: 3px;
|
||||
font-size: 1em !important;
|
||||
margin-bottom: 0.1em;
|
||||
}
|
||||
.content {
|
||||
padding: 0.5em !important;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
@ -6,7 +6,7 @@
|
||||
{% set placeholder = asset("resources/images/transparent_min.png") %}
|
||||
{% endif %}
|
||||
|
||||
<img src="{{ placeholder }}" data-src="{{ asset(color~'/'~number~'.png') | imagine_filter(filter) }}">
|
||||
<img src="{{ placeholder }}" data-src="{{ asset(color~'/'~number~'.png') | imagine_filter(filter) }}" alt="{{ number }} - image">
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
{% set placeholder = asset("resources/images/transparent_min.png") %}
|
||||
{% endif %}
|
||||
|
||||
<img src="{{ placeholder }}" data-src="{{ asset(number~'.jpg')|imagine_filter(filter) }}">
|
||||
<img src="{{ placeholder }}" data-src="{{ asset(number~'.jpg')|imagine_filter(filter) }}" alt="{{ number }} - image">
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
||||
@ -71,7 +71,7 @@
|
||||
{{ set.name }}
|
||||
</h3>
|
||||
<div class="meta">
|
||||
<span class="left floated">{{ set.id }}</span>
|
||||
<span title="{{ set.id }}" class="left truncate">{{ set.id }}</span>
|
||||
<br>
|
||||
{% if set.theme is not null %}
|
||||
<span title="{{ set.theme.fullName }}" class="left floated truncate"><small>{{ set.theme.fullName }}</small></span>
|
||||
|
@ -1,12 +1,12 @@
|
||||
{% if options['class'] == 'asc' %}
|
||||
{% set icon = '<i class="icon sort content ascending"></i>' %}
|
||||
{% set class = 'item active' %}
|
||||
{% set options = (options)|merge({'class':'item active'}) %}
|
||||
{% elseif options['class'] == 'desc' %}
|
||||
{% set icon = '<i class="icon sort content descending"></i>' %}
|
||||
{% set class = 'item active' %}
|
||||
{% set icon = '<i class="icon sort content descending"></i>' %}
|
||||
{% set options = (options)|merge({'class':'item active'}) %}
|
||||
{% else %}
|
||||
{% set icon = null %}
|
||||
{% set class = 'item' %}
|
||||
{% set options = (options)|merge({'class':'item'}) %}
|
||||
{% endif %}
|
||||
|
||||
<a class="{{ class }}" {% for attr, value in options %} {{ attr }}="{{ value }}"{% endfor %}>{{ icon|raw }} {{ title }}</a>
|
||||
<a {% for attr, value in options %} {{ attr }}="{{ value }}"{% endfor %}>{{ icon|raw }} {{ title }}</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user