basic-report 0.4.3__tar.gz → 0.4.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. {basic_report-0.4.3 → basic_report-0.4.4}/PKG-INFO +1 -1
  2. {basic_report-0.4.3 → basic_report-0.4.4}/pyproject.toml +1 -1
  3. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/heatmap.py +1 -1
  4. basic_report-0.4.4/src/basic_report/templates/heatmap/button_next.html +1 -0
  5. basic_report-0.4.4/src/basic_report/templates/heatmap/button_prev.html +1 -0
  6. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/heatmap/script.html +2 -2
  7. basic_report-0.4.3/src/basic_report/templates/heatmap/button_next.html +0 -1
  8. basic_report-0.4.3/src/basic_report/templates/heatmap/button_prev.html +0 -1
  9. {basic_report-0.4.3 → basic_report-0.4.4}/LICENSE.md +0 -0
  10. {basic_report-0.4.3 → basic_report-0.4.4}/README.md +0 -0
  11. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/__init__.py +0 -0
  12. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/configs/default.yaml +0 -0
  13. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/css_and_scripts/basic_report/section_title.css +0 -0
  14. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/css_and_scripts/bootstrap/bootstrap.min.css +0 -0
  15. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/css_and_scripts/bootstrap/bootstrap.min.js +0 -0
  16. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/css_and_scripts/bootstrap/jquery-3.3.1.slim.min.js +0 -0
  17. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/css_and_scripts/bootstrap/popper.min.js +0 -0
  18. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/css_and_scripts/datatables/dataTables.bootstrap4.min.js +0 -0
  19. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/css_and_scripts/datatables/jquery.dataTables.min.js +0 -0
  20. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/css_and_scripts/heatmap/CalendarLabel.min.js +0 -0
  21. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/css_and_scripts/heatmap/Legend.min.js +0 -0
  22. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/css_and_scripts/heatmap/Tooltip.min.js +0 -0
  23. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/css_and_scripts/heatmap/cal-heatmap.css +0 -0
  24. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/css_and_scripts/heatmap/cal-heatmap.min.js +0 -0
  25. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/css_and_scripts/heatmap/d3.v7.min.js +0 -0
  26. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/css_and_scripts/heatmap/popper.min.js +0 -0
  27. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/page.py +0 -0
  28. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/report.py +0 -0
  29. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/base.html +0 -0
  30. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/css/accordion.css +0 -0
  31. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/css/colors.css +0 -0
  32. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/css/heatmap.css +0 -0
  33. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/css/navbar.css +0 -0
  34. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/css/site.css +0 -0
  35. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/css/table.css +0 -0
  36. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/css/tabs.css +0 -0
  37. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/elements/accordion.html +0 -0
  38. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/elements/cards.html +0 -0
  39. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/elements/columns.html +0 -0
  40. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/elements/dictionary.html +0 -0
  41. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/elements/download_button.html +0 -0
  42. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/elements/global_links.html +0 -0
  43. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/elements/header.html +0 -0
  44. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/elements/image.html +0 -0
  45. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/elements/list.html +0 -0
  46. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/elements/navbar_left.html +0 -0
  47. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/elements/navbar_right.html +0 -0
  48. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/elements/navbar_top.html +0 -0
  49. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/elements/report_ball_section.html +0 -0
  50. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/elements/report_header.html +0 -0
  51. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/elements/section_title.html +0 -0
  52. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/elements/sublevel.html +0 -0
  53. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/elements/table.html +0 -0
  54. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/elements/tabs.html +0 -0
  55. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/elements/text.html +0 -0
  56. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/heatmap/base.html +0 -0
  57. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/heatmap/heatmap.html +0 -0
  58. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/templates/heatmap/legend.html +0 -0
  59. {basic_report-0.4.3 → basic_report-0.4.4}/src/basic_report/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: basic-report
3
- Version: 0.4.3
3
+ Version: 0.4.4
4
4
  Summary: A lightweight Python package for generating clean, professional static HTML reports.
5
5
  Keywords: html,report,static,responsive,website
6
6
  Author: Björn Scholz
@@ -4,7 +4,7 @@ build-backend = "uv_build"
4
4
 
5
5
  [project]
6
6
  name = "basic-report"
7
- version = "0.4.3"
7
+ version = "0.4.4"
8
8
  description = "A lightweight Python package for generating clean, professional static HTML reports."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -397,7 +397,7 @@ class CalendarHeatmap:
397
397
  logger.error(msg)
398
398
  raise RuntimeError(msg)
399
399
 
400
- html = template.render()
400
+ html = template.render(misc_id=self.misc.id)
401
401
  return html
402
402
 
403
403
  def make_heatmap_div(self):
@@ -0,0 +1 @@
1
+ <button id="{{ misc_id }}-next-btn" class="btn btn-slate btn-no-focus">Next →</button>
@@ -0,0 +1 @@
1
+ <button id="{{ misc_id }}-prev-btn" class="btn btn-slate btn-no-focus">← Previous</button>
@@ -2,12 +2,12 @@
2
2
  document.addEventListener("DOMContentLoaded", function () {
3
3
 
4
4
  const cal = new CalHeatmap();
5
- document.getElementById("prev-btn").addEventListener("click", function (e) {
5
+ document.getElementById("{{ misc_id }}-prev-btn").addEventListener("click", function (e) {
6
6
  e.preventDefault();
7
7
  cal.previous();
8
8
  });
9
9
 
10
- document.getElementById("next-btn").addEventListener("click", function (e) {
10
+ document.getElementById("{{ misc_id }}-next-btn").addEventListener("click", function (e) {
11
11
  e.preventDefault();
12
12
  cal.next();
13
13
  });
@@ -1 +0,0 @@
1
- <button id="next-btn" class="btn btn-slate btn-no-focus">Next →</button>
@@ -1 +0,0 @@
1
- <button id="prev-btn" class="btn btn-slate btn-no-focus">← Previous</button>
File without changes
File without changes