mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-29 07:29:42 -08:00
a081c9436b
Main changes: - Switched to using `go-bindata` in place of `scripts/embed-static.sh`. - Support for building Prometheus without a `Makefile`. - Minor typo fix to make Prometheus build on Windows (without Makefiles). Please note that this does not mean that prometheus will work on Windows. There are still failing tests!
19 lines
567 B
JavaScript
19 lines
567 B
JavaScript
function init() {
|
|
$(".alert_header").click(function() {
|
|
var expanderIcon = $(this).find("i.icon-chevron-down");
|
|
if (expanderIcon.length != 0) {
|
|
expanderIcon.removeClass("icon-chevron-down").addClass("icon-chevron-up");
|
|
} else {
|
|
var collapserIcon = $(this).find("i.icon-chevron-up");
|
|
collapserIcon.removeClass("icon-chevron-up").addClass("icon-chevron-down");
|
|
}
|
|
$(this).next().toggle();
|
|
});
|
|
|
|
$(".silence_alert_link, .silence_children_link").click(function() {
|
|
alert("Silencing is not yet supported.");
|
|
});
|
|
}
|
|
|
|
$(init);
|