Packages

This is a CMS written in Elixir. Aims to be the great open-source ecommerce and/or startup solution for those who are searching for a performance and stability on top of modern technologies like React and Elixir.

Current section

Files

Jump to
lyn web templates authorization index.html.eex
Raw

web/templates/authorization/index.html.eex

<%= case @authorizations do %>
<% [] -> %>
<p>No authorization found</p>
<% auths -> %>
<table class='table table-hover'>
<thead>
<th>Provider</th>
<th>UID</th>
<th>Expires</th>
<th>Inserted</th>
<th>Token</th>
</thead>
<%= for auth <- auths do %>
<tr>
<td><%= auth.provider %></td>
<td><%= auth.uid %></td>
<td><%= auth.expires_at %></td>
<td><%= auth.inserted_at %></td>
<td><%= String.slice(auth.token, 0..20) %>…</td>
</tr>
<% end %>
</table>
<% end %>