Packages
ex_debug_toolbar
0.2.1
A debug web toolbar for Phoenix projects to display all sorts of information about request
Current section
Files
Jump to
Current section
Files
web/templates/toolbar/show/_conn.html.eex
<span class="toolbar-item" data-toggle="panel">
<i class="glyphicon glyphicon-cog" aria-hidden="true"></i>
<span class="label label-success"><%= @request_conn.status %></span>
<span class="label label-default"><%= controller_action(@request_conn) %></span>
</span>
<div class="panel panel-default navbar-fixed-bottom">
<div class="panel-heading">
<h3 class="panel-title">Conn details</h3>
</div>
<div class="panel-body">
<div class="row">
<div class="col-lg-12">
<table class="table table-hover table-condensed table-bordered">
<caption> Connection parameters </caption>
<thead>
<th> Parameter </th>
<th> Value </th>
</thead>
<tbody>
<%= for {key, value} <- conn_details(@request_conn) do %>
<tr>
<td class="col-lg-2 text-muted"><%= key %></td>
<td class="col-lg-10 text-info"><%= value %></td>
</tr>
<% end %>
</tbody>
</table>
</div>
</div>
</div>
</div>