First step of online html export
This commit is contained in:
parent
d2165a484c
commit
5e0539d7c6
7 changed files with 264 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue