diff --git a/static/css/style.css b/static/css/style.css index b087a50a..02317def 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -157,7 +157,7 @@ td.inactive .popover { margin-left: -77px; } -#checks-table > tbody > tr > th.th-frequency { +#checks-table > tbody > tr > th.th-period { padding-left: 15px; } @@ -209,11 +209,11 @@ tr:hover .check-menu { } -#frequency-slider { +#period-slider { margin: 20px 50px 80px 50px; } -#frequency-slider.noUi-connect { +#period-slider.noUi-connect { background: #5cb85c; } @@ -225,7 +225,7 @@ tr:hover .check-menu { background: #f0ad4e; } -#frequency-slider .noUi-value, #grace-slider .noUi-value { +#period-slider .noUi-value, #grace-slider .noUi-value { width: 60px; margin-left: -30px; } diff --git a/static/js/checks.js b/static/js/checks.js index 40c9612b..b3213c39 100644 --- a/static/js/checks.js +++ b/static/js/checks.js @@ -16,8 +16,8 @@ $(function () { return result; } - var frequencySlider = document.getElementById("frequency-slider"); - noUiSlider.create(frequencySlider, { + var periodSlider = document.getElementById("period-slider"); + noUiSlider.create(periodSlider, { start: [20], connect: "lower", range: { @@ -37,9 +37,9 @@ $(function () { } }); - frequencySlider.noUiSlider.on("update", function(a, b, value) { + periodSlider.noUiSlider.on("update", function(a, b, value) { var rounded = Math.round(value); - $("#frequency-slider-value").text(secsToText(rounded)); + $("#period-slider-value").text(secsToText(rounded)); $("#update-timeout-timeout").val(rounded); }); @@ -88,7 +88,7 @@ $(function () { var $this = $(this); $("#update-timeout-form").attr("action", $this.data("url")); - frequencySlider.noUiSlider.set($this.data("timeout")) + periodSlider.noUiSlider.set($this.data("timeout")) graceSlider.noUiSlider.set($this.data("grace")) $('#update-timeout-modal').modal({"show":true, "backdrop":"static"}); diff --git a/templates/emails/alert/body.html b/templates/emails/alert/body.html index 2821fcc5..68817735 100644 --- a/templates/emails/alert/body.html +++ b/templates/emails/alert/body.html @@ -41,7 +41,7 @@
- Each check has a configurable Frequency parameter, with the default value of one day. + Each check has a configurable Period parameter, with the default value of one day. For periodic tasks, this is the expected time gap between two runs.
@@ -68,7 +68,7 @@ curl {{ ping_endpoint }}{uuid-goes-here}
- Frequency + Period Expected time between pings.
diff --git a/templates/front/welcome.html b/templates/front/welcome.html index 667f76ea..b25a8666 100644 --- a/templates/front/welcome.html +++ b/templates/front/welcome.html @@ -6,7 +6,7 @@
Last ping | -Frequency | +Period | Alert in |
---|---|---|---|
1 day - + | + 1 day + (log in to change) | {{ timer_formatted }} |