Change label size for build status

This commit is contained in:
Oliver Walters 2019-05-18 09:44:16 +10:00
parent 0ce5240361
commit 34d1ef7d8d
2 changed files with 12 additions and 4 deletions

View File

@ -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%;

View File

@ -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>