mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-18 11:34:05 -08:00
c3f4f2204f
* Added only healthy to Targets This adds a "Only heathly" button to supplement the "Only unhealthy" button. The two are mutually exclusive. I've also added a red/green text color to the buttons. Arguably this could be a toggle instead if folks think this is worthwhile... Happy to modify it. * Moved functions above init * Simplifed code and made prettier * Appeased codeacy * Made buttons square
43 lines
574 B
CSS
43 lines
574 B
CSS
h2.job_header {
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
}
|
|
|
|
h2.danger a {
|
|
color: rgb(242, 65, 65);
|
|
}
|
|
|
|
div#showTargets .btn {
|
|
border-radius: 0px;
|
|
}
|
|
|
|
.table-container button.targets {
|
|
padding: 0.3em;
|
|
font-size: 0.6em;
|
|
border-radius: 0;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.table-container table {
|
|
width: 100%;
|
|
}
|
|
|
|
.table-container table tr td {
|
|
height: auto;
|
|
word-wrap: break-word;
|
|
word-break: break-all;
|
|
}
|
|
|
|
td.endpoint, td.labels {
|
|
width: 25%;
|
|
}
|
|
|
|
td.state, td.last-scrape {
|
|
width: 10%;
|
|
}
|
|
|
|
td.errors {
|
|
width: 30%;
|
|
}
|