Packages

Inspecto (Inspect + Ecto) is a utility that helps inspect and summarize your Ecto schemas for documentation or other tools that require convenient reflection.

Current section

Files

Jump to
inspecto priv resources table_wrapper.eex
Raw

priv/resources/table_wrapper.eex

<style>
table.inspecto_schema th {
padding: 10px;
}
table.inspecto_schema tr:nth-child(odd) {
background:#7a7a7a;
}
table.inspecto_schema tr:nth-child(even) {
background:#5c5c5c;
}
</style>
<div>
<%= for s <- schemas do %>
<%= table(s, heading_level) %>
<% end %>
</div>