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;
|
||||
}
|
||||
|
||||
/* Extra label styles */
|
||||
|
||||
.label-large {
|
||||
padding: 5px;
|
||||
margin: 3px;
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
/* Force select2 elements in modal forms to be full width */
|
||||
.select-full-width {
|
||||
width: 100%;
|
||||
|
@ -1,11 +1,11 @@
|
||||
{% if build.status == build.PENDING %}
|
||||
<span class='label label-info'>
|
||||
<span class='label label-large label-info'>
|
||||
{% elif build.status == build.ALLOCATED %}
|
||||
<span class='label label-primary'>
|
||||
<span class='label label-large label-primary'>
|
||||
{% elif build.status == build.CANCELLED %}
|
||||
<span class='label label-danger'>
|
||||
<span class='label label-large label-danger'>
|
||||
{% elif build.status == build.COMPLETE %}
|
||||
<span class='label label-success'>
|
||||
<span class='label label-large label-success'>
|
||||
{% endif %}
|
||||
{{ build.get_status_display }}
|
||||
</span>
|
Loading…
Reference in New Issue
Block a user