mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-22 07:53:38 +01:00
Minor visual improvement
This commit is contained in:
parent
48c7514fa5
commit
1d412678ff
@ -22,7 +22,7 @@
|
|||||||
<div class='status-over-time flex flex-row'>
|
<div class='status-over-time flex flex-row'>
|
||||||
<slot v-if="data.results && data.results.length">
|
<slot v-if="data.results && data.results.length">
|
||||||
<slot v-if="data.results.length < maximumNumberOfResults">
|
<slot v-if="data.results.length < maximumNumberOfResults">
|
||||||
<span v-for="filler in maximumNumberOfResults - data.results.length" :key="filler" class="status rounded border border-dashed border-gray-500"> </span>
|
<span v-for="filler in maximumNumberOfResults - data.results.length" :key="filler" class="status rounded border border-dashed border-gray-400"> </span>
|
||||||
</slot>
|
</slot>
|
||||||
<slot v-for="result in data.results" :key="result">
|
<slot v-for="result in data.results" :key="result">
|
||||||
<span v-if="result.success" class="status status-success rounded bg-success" @mouseenter="showTooltip(result, $event)" @mouseleave="showTooltip(null, $event)"></span>
|
<span v-if="result.success" class="status status-success rounded bg-success" @mouseenter="showTooltip(result, $event)" @mouseleave="showTooltip(null, $event)"></span>
|
||||||
@ -30,7 +30,7 @@
|
|||||||
</slot>
|
</slot>
|
||||||
</slot>
|
</slot>
|
||||||
<slot v-else>
|
<slot v-else>
|
||||||
<span v-for="filler in maximumNumberOfResults" :key="filler" class="status rounded border border-dashed"> </span>
|
<span v-for="filler in maximumNumberOfResults" :key="filler" class="status rounded border border-dashed border-gray-400"> </span>
|
||||||
</slot>
|
</slot>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user