First step of online html export
Some checks failed
/ Run tests (push) Successful in 1m37s
/ Build, push and deploy image (push) Successful in 1m25s
/ Run system tests (push) Has been cancelled

This commit is contained in:
david 2024-11-11 20:19:52 +01:00
parent d2165a484c
commit 5e0539d7c6
7 changed files with 264 additions and 16 deletions

View file

@ -37,22 +37,25 @@ h1
- else
'Gehen Sie weiter, hier gibt es nichts zu sehen.
.action-row
= link_to report_path(@report, format: :pdf), class: "btn btn-secondary", target: "_blank" do
i.bi.bi-filetype-pdf
| PDF
= link_to report_path(@report, format: :docx), class: "btn btn-secondary", target: "_blank" do
i.bi.bi-filetype-docx
| DOCX
= link_to report_path(@report, format: :xlsx), class: "btn btn-secondary", target: "_blank" do
i.bi.bi-filetype-xlsx
| XLSX
= link_to report_path(@report, format: :rtf), class: "btn btn-secondary", target: "_blank" do
i.bi.bi-file-richtext
| RTF
= link_to report_path(@report, format: :xml), class: "btn btn-secondary", target: "_blank" do
= link_to(report_export_path(@report), class: "btn btn-secondary", target: :_blank) do
i.bi.bi-filetype-html
| HTML
= link_to report_path(@report, format: :odt), class: "btn btn-secondary", target: "_blank" do
| Online HTML
/ = link_to report_path(@report, format: :pdf), class: "btn btn-secondary", target: "_blank" do
/ i.bi.bi-filetype-pdf
/ | PDF
/ = link_to report_path(@report, format: :docx), class: "btn btn-secondary", target: "_blank" do
/ i.bi.bi-filetype-docx
/ | DOCX
/ = link_to report_path(@report, format: :xlsx), class: "btn btn-secondary", target: "_blank" do
/ i.bi.bi-filetype-xlsx
/ | XLSX
/ = link_to report_path(@report, format: :rtf), class: "btn btn-secondary", target: "_blank" do
/ i.bi.bi-file-richtext
/ | RTF
/ = link_to report_path(@report, format: :xml), class: "btn btn-secondary", target: "_blank" do
/ i.bi.bi-filetype-html
/ | HTML
/ = link_to report_path(@report, format: :odt), class: "btn btn-secondary", target: "_blank" do
i.bi.bi-file-richtext
| ODT
.action-row