diff --git a/caimira/apps/calculator/static/js/co2_form.js b/caimira/apps/calculator/static/js/co2_form.js index d94fe6a0..48dcdfbb 100644 --- a/caimira/apps/calculator/static/js/co2_form.js +++ b/caimira/apps/calculator/static/js/co2_form.js @@ -140,20 +140,6 @@ function generateJSONStructure(endpoint, jsonData) { } } -// Method to download Excel template available on CERNBox -function downloadTemplate( - uri = "https://caimira-resources.web.cern.ch/CO2_template.xlsx", - filename = "CO2_template.xlsx" -) { - const link = document.createElement("a"); - link.download = filename; - link.href = uri; - document.body.appendChild(link); - link.click(); - document.body.removeChild(link); - delete link; -} - function insertErrorFor(referenceNode, text) { const element = $("") .addClass("error_text text-danger") diff --git a/caimira/apps/templates/base/calculator.form.html.j2 b/caimira/apps/templates/base/calculator.form.html.j2 index 798fd845..a2179502 100644 --- a/caimira/apps/templates/base/calculator.form.html.j2 +++ b/caimira/apps/templates/base/calculator.form.html.j2 @@ -324,7 +324,7 @@