mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Change label size for build status
This commit is contained in:
parent
0ce5240361
commit
34d1ef7d8d
@ -32,6 +32,14 @@
|
|||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Extra label styles */
|
||||||
|
|
||||||
|
.label-large {
|
||||||
|
padding: 5px;
|
||||||
|
margin: 3px;
|
||||||
|
font-size: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
/* Force select2 elements in modal forms to be full width */
|
/* Force select2 elements in modal forms to be full width */
|
||||||
.select-full-width {
|
.select-full-width {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{% if build.status == build.PENDING %}
|
{% if build.status == build.PENDING %}
|
||||||
<span class='label label-info'>
|
<span class='label label-large label-info'>
|
||||||
{% elif build.status == build.ALLOCATED %}
|
{% elif build.status == build.ALLOCATED %}
|
||||||
<span class='label label-primary'>
|
<span class='label label-large label-primary'>
|
||||||
{% elif build.status == build.CANCELLED %}
|
{% elif build.status == build.CANCELLED %}
|
||||||
<span class='label label-danger'>
|
<span class='label label-large label-danger'>
|
||||||
{% elif build.status == build.COMPLETE %}
|
{% elif build.status == build.COMPLETE %}
|
||||||
<span class='label label-success'>
|
<span class='label label-large label-success'>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ build.get_status_display }}
|
{{ build.get_status_display }}
|
||||||
</span>
|
</span>
|
Loading…
Reference in New Issue
Block a user