Rapport
Reporting solution for Elixir using EEx templates, HTML and CSS built to support printing.
Installation
If available in Hex, the package can be installed
by adding rapport to your list of dependencies in mix.exs:
def deps do
[
{:rapport, "~> 0.2.0"}
]
endBasic Usage
template = """
<section class="sheet padding-10mm">
<article><%= @hello %></article>
</section>
"""
html_report =
Rapport.new
|> Rapport.add_page(template, %{hello: "Hello world!"})
|> Rapport.generate_htmlCredits
The following people have contributed ideas, documentation, or code to Librex:
- Richard Nyström
Contributing
- Fork it
-
Create your feature branch (
git checkout -b my-new-feature) -
Commit your changes (
git commit -am 'Add some feature') -
Push to the branch (
git push origin my-new-feature) - Create new Pull Request