diff --git a/static/css/my_checks_desktop.css b/static/css/my_checks_desktop.css index fef85bde..9bd12c23 100644 --- a/static/css/my_checks_desktop.css +++ b/static/css/my_checks_desktop.css @@ -79,16 +79,16 @@ white-space: nowrap; } -.check-menu { +.show-log { visibility: hidden; } -.check-menu .icon-settings { +.show-log .icon-settings { font-size: 16px; } -.dropdown-menu > li > a.check-menu-remove { - color: #B71C1C; +tr:hover .show-log { + visibility: visible; } button.copy-link { @@ -114,9 +114,6 @@ button.copy-link:hover { -tr:hover .check-menu { - visibility: visible; -} tr:hover .copy-link { opacity: 1 diff --git a/static/js/checks.js b/static/js/checks.js index d7c0afdf..1d489d7c 100644 --- a/static/js/checks.js +++ b/static/js/checks.js @@ -13,17 +13,6 @@ $(function () { return false; }); - $(".check-menu-remove").click(function() { - var code = $(this).closest("tr.checks-row").attr("id"); - var url = "/checks/" + code + "/remove/"; - - $("#remove-check-form").attr("action", url); - $(".remove-check-name").text(this.dataset.name); - $('#remove-check-modal').modal("show"); - - return false; - }); - $(".integrations").tooltip({ container: "body", selector: "span", @@ -121,14 +110,6 @@ $(function () { }); - $(".pause-li a").click(function(e) { - var code = $(this).closest("tr.checks-row").attr("id"); - var url = "/checks/" + code + "/pause/"; - - $("#pause-form").attr("action", url).submit(); - return false; - }); - $(".show-log").click(function(e) { var code = $(this).closest("tr.checks-row").attr("id"); var url = "/checks/" + code + "/log/"; @@ -154,20 +135,6 @@ $(function () { } }); - function showUsage(el) { - var tr = $(el).closest("tr"); - - $(".ex", "#show-usage-modal").text(tr.data("url")); - $(".em", "#show-usage-modal").text(tr.data("email")); - - $("#show-usage-modal").modal("show"); - } - - $(".usage-examples").click(function(e) { - showUsage(e.target); - return false; - }); - // Auto-refresh var lastStatus = {}; var lastPing = {}; diff --git a/templates/front/log.html b/templates/front/log.html index 6cbe173a..e5652a58 100644 --- a/templates/front/log.html +++ b/templates/front/log.html @@ -18,7 +18,7 @@ -
Period | {{ check.timeout|hc_duration }} @@ -91,6 +92,12 @@ (Expected time between pings) | + {% elif check.kind == "cron" %} +Cron Expression | ++ {{ check.schedule }} + | + {% endif %}
---|---|---|---|
Grace Time | @@ -152,8 +159,7 @@ - -- | +