mirror of
https://github.com/ToxicCrack/PrintABrick.git
synced 2025-05-16 20:30:09 -07:00
Fix header color
This commit is contained in:
parent
0a7718bea8
commit
4d3faad864
@ -146,4 +146,10 @@ $colors: (
|
|||||||
.text.color-#{$number} {
|
.text.color-#{$number} {
|
||||||
color: $color;
|
color: $color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.segment.color-#{$number} {
|
||||||
|
padding-left: 0.7em !important;
|
||||||
|
margin-left: -1em !important;
|
||||||
|
border-left: $color 0.3em solid !important;
|
||||||
|
}
|
||||||
}
|
}
|
@ -8,16 +8,16 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
<div class="ui segment clearing noborder vertical">
|
<div class="ui segment clearing basic vertical">
|
||||||
<a class="ui primary right floated button" href="{{ path('set_zip', {id: set.id, sorted: true }) }}" download><i class="download icon"></i> {{ 'set.download.multicolor.button' | trans}}</a>
|
<a class="ui primary right floated button" href="{{ path('set_zip', {id: set.id, sorted: true }) }}" download><i class="download icon"></i> {{ 'set.download.multicolor.button' | trans}}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if colors|length > 0 %}
|
{% if colors|length > 0 %}
|
||||||
<div class="ui segment vertical noborder">
|
<div class="ui segment vertical basic">
|
||||||
<h3 class="ui horizontal divider header">Models</h3>
|
<h2 class="ui dividing header">{{ 'set.inventory.models' | trans }}</h2>
|
||||||
{% for color in colors %}
|
{% for color in colors %}
|
||||||
<div class="ui segment vertical noborder">
|
<div class="ui segment vertical basic side color-{{ color['color'].id }}">
|
||||||
<h5 class="ui dividing header text color-{{ color['color'].id }}">
|
<h5 class="ui header">
|
||||||
{{ color['color'].name }} ({{ color['quantity'] }})
|
{{ color['color'].name }} ({{ color['quantity'] }})
|
||||||
</h5>
|
</h5>
|
||||||
<div class="ui grid doubling ten column row parts">
|
<div class="ui grid doubling ten column row parts">
|
||||||
@ -31,8 +31,8 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if missing|length > 0 %}
|
{% if missing|length > 0 %}
|
||||||
<div class="ui segment vertical noborder">
|
<div class="ui vertical segment basic">
|
||||||
<h3 class="ui horizontal divider header">Missing</h3>
|
<h2 class="ui dividing header">{{ 'set.inventory.parts' | trans }}</h2>
|
||||||
<div class="ui grid doubling ten column row parts">
|
<div class="ui grid doubling ten column row parts">
|
||||||
{% for part in missing %}
|
{% for part in missing %}
|
||||||
{{ blocks.part(part['part'],part['quantity']) }}
|
{{ blocks.part(part['part'],part['quantity']) }}
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
{% if models|length > 0 %}
|
{% if models|length > 0 %}
|
||||||
<div class="ui segment vertical basic">
|
<div class="ui segment vertical basic">
|
||||||
<h3 class="ui horizontal divider header">Models</h3>
|
<h2 class="ui dividing header">{{ 'set.inventory.models' | trans }}</h2>
|
||||||
<div class="ui grid doubling ten column row parts">
|
<div class="ui grid doubling ten column row parts">
|
||||||
{% for model in models %}
|
{% for model in models %}
|
||||||
{{ blocks.model(model['model'],model['quantity']) }}
|
{{ blocks.model(model['model'],model['quantity']) }}
|
||||||
@ -24,7 +24,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if missing|length > 0 %}
|
{% if missing|length > 0 %}
|
||||||
<div class="ui segment vertical basic">
|
<div class="ui segment vertical basic">
|
||||||
<h3 class="ui horizontal divider header">Missing</h3>
|
<h2 class="ui dividing header">{{ 'set.inventory.parts' | trans }}</h2>
|
||||||
<div class="ui grid doubling ten column row parts">
|
<div class="ui grid doubling ten column row parts">
|
||||||
{% for part in missing %}
|
{% for part in missing %}
|
||||||
{{ blocks.part(part['part'],part['quantity']) }}
|
{{ blocks.part(part['part'],part['quantity']) }}
|
||||||
|
@ -27,7 +27,7 @@ class Model
|
|||||||
/**
|
/**
|
||||||
* @var Category
|
* @var Category
|
||||||
*
|
*
|
||||||
* @ORM\ManyToOne(targetEntity="AppBundle\Entity\LDraw\Category", inversedBy="models", cascade={"persist"})
|
* @ORM\ManyToOne(targetEntity="AppBundle\Entity\LDraw\Category", inversedBy="models", fetch="EAGER", cascade={"persist"})
|
||||||
*/
|
*/
|
||||||
private $category;
|
private $category;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user