From d190b7c2f7763094e508041bcb0acea297867bbf Mon Sep 17 00:00:00 2001 From: George Lacey Date: Wed, 6 Apr 2022 13:27:32 +0100 Subject: [PATCH] Disable graphs and logging --- borgweb/borg/static/borg/js/index.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/borgweb/borg/static/borg/js/index.js b/borgweb/borg/static/borg/js/index.js index 7fbaa01..03b808a 100644 --- a/borgweb/borg/static/borg/js/index.js +++ b/borgweb/borg/static/borg/js/index.js @@ -25,19 +25,17 @@ window.addEventListener("DOMContentLoaded", function () { $.getJSON(`/repo_list.json`, function (repo_list) { repo_list.labels.forEach(function (repo_label) { - console.log("got list") $.getJSON(`/repo/${repo_label}.json`, function (repo_json) { - console.log(`got ${repo_label}`) inflateRepo(repo_json, repo_label, template, container); }) }); }) - $.getJSON("repo_daily.json", function (json) { - draw_time_graph("daily_backup_size", json.repos, json.dates, json.units); - }); - $.getJSON("repo_monthly.json", function (json) { - draw_time_graph("monthly_backup_size", json.repos, json.dates, json.units); - }); + // $.getJSON("repo_daily.json", function (json) { + // draw_time_graph("daily_backup_size", json.repos, json.dates, json.units); + // }); + // $.getJSON("repo_monthly.json", function (json) { + // draw_time_graph("monthly_backup_size", json.repos, json.dates, json.units); + // }); }, false);