UI tweak for the special case when the account has no tags.

This commit is contained in:
Pēteris Caune 2017-11-10 22:03:33 +02:00
parent 1b7d4f6f3e
commit 780796dc2a
2 changed files with 6 additions and 11 deletions

View File

@ -30,10 +30,13 @@
}
.table td.overall-status {
padding-top: 32px;
border-top: 0;
}
.table td.have-tags {
padding-top: 32px;
}
#badges-json {
display: none;
}

View File

@ -29,7 +29,6 @@
URLs. If you wish, you can add them to your READMEs,
dashboards or status pages.
</p>
{% if urls %}
<div id="b-format" class="btn-group" data-toggle="buttons">
<label id="show-svg" class="btn btn-default active">
@ -52,7 +51,7 @@
</tr>
{% endfor %}
<tr>
<td class="overall-status" colspan="2">Overall status:</td>
<td class="overall-status {% if urls %}have-tags{% endif %}" colspan="2">Overall status:</td>
</tr>
<tr>
<td>
@ -74,7 +73,7 @@
</tr>
{% endfor %}
<tr>
<td class="overall-status" colspan="2">Overall status:</td>
<td class="overall-status {% if urls %}have-tags{% endif %}"" colspan="2">Overall status:</td>
</tr>
<tr>
<td class="json-response" data-url="{{ master.json }}">
@ -83,13 +82,6 @@
</td>
</tr>
</table>
{% else %}
<p>
To get started with status badges, add some tags to
your checks!
</p>
{% endif %}
</div>
</div>
</div>