diff --git a/cara/apps/calculator/static/css/report.css b/cara/apps/calculator/static/css/report.css index f0e07d90..fb0ff142 100644 --- a/cara/apps/calculator/static/css/report.css +++ b/cara/apps/calculator/static/css/report.css @@ -144,6 +144,9 @@ p.notes { #button_alternative_full_exposure, #button_alternative_hide_high_concentration { display: none!important; } + #export-csv { + display: none; + } } diff --git a/cara/apps/calculator/static/js/report.js b/cara/apps/calculator/static/js/report.js index a876f405..23e9b1aa 100644 --- a/cara/apps/calculator/static/js/report.js +++ b/cara/apps/calculator/static/js/report.js @@ -863,13 +863,12 @@ function copy_clipboard(shareable_link) { } function export_csv() { - ``` - This function generates a CSV file according to the user's input. - It is composed of a list of lists. - The first item of the main list corresponds to the columns' name. - The remaining items correspond to each of the file row, i.e. the - respective data from the selected inputs. - ``` + // This function generates a CSV file according to the user's input. + // It is composed of a list of lists. + // The first item of the main list corresponds to the columns' name. + // The remaining items correspond to each of the file row, i.e. the + // respective data from the selected inputs. + let final_export = []; // Verify which items are checked diff --git a/cara/apps/static/css/style.css b/cara/apps/static/css/style.css index 28d28bb4..f619877f 100644 --- a/cara/apps/static/css/style.css +++ b/cara/apps/static/css/style.css @@ -296,7 +296,7 @@ footer img { #report_version { font-size: .5rem; } - #download-pdf, #pdf_qrcode_aref { + #download-pdf, #pdf_qrcode_aref, #export-csv { display: none; } #scale_warning{ diff --git a/cara/apps/templates/base/calculator.report.html.j2 b/cara/apps/templates/base/calculator.report.html.j2 index 6d45a4b7..06069c67 100644 --- a/cara/apps/templates/base/calculator.report.html.j2 +++ b/cara/apps/templates/base/calculator.report.html.j2 @@ -30,12 +30,12 @@
Created {{ creation_date }} using CARA calculator version v{{ form.calculator_version }}
- + + - - +