scinote-web/app/views/reports/report.pdf.erb

35 lines
1.3 KiB
Plaintext
Raw Normal View History

2016-02-12 23:52:43 +08:00
<!doctype html>
<html>
<head>
<meta charset='utf-8' />
<%= wicked_pdf_stylesheet_link_tag "application" %>
<%= wicked_pdf_stylesheet_link_tag "reports_pdf" %>
2016-07-21 19:11:15 +08:00
<%= bootstrap_cdn_link_tag %>
2020-07-14 15:44:03 +08:00
<%= font_awesome_cdn_link_tag %>
<%= wicked_pdf_javascript_include_tag "jquery" %>
<%= wicked_pdf_javascript_include_tag "handsontable.full" %>
<!-- Libraries for formulas -->
<%= wicked_pdf_javascript_include_tag "lodash" %>
<%= wicked_pdf_javascript_include_tag "numeral" %>
<%= wicked_pdf_javascript_include_tag "numeric" %>
<%= wicked_pdf_javascript_include_tag "md5" %>
<%= wicked_pdf_javascript_include_tag "jstat" %>
<%= wicked_pdf_javascript_include_tag "formula" %>
<%= wicked_pdf_javascript_include_tag "parser" %>
<%= wicked_pdf_javascript_include_tag "ruleJS" %>
<%= wicked_pdf_javascript_include_tag "big.min" %>
<%= wicked_pdf_javascript_include_tag "handsontable.formula" %>
<%= wicked_pdf_stylesheet_link_tag "handsontable.formula" %>
2016-02-12 23:52:43 +08:00
</head>
<body class="print-report-body">
<div class="print-report">
<% report.root_elements.each do |el| %>
<%= render_report_element(el, local_assigns) %>
<%= render_new_element(false) %>
<% end %>
2016-02-12 23:52:43 +08:00
</div>
<%= wicked_pdf_javascript_include_tag "reports/content" %>
2016-02-12 23:52:43 +08:00
</body>
</html>