remove outer table

pull/2399/head
Ayrat Badykov 5 years ago
parent e3ca0e2b46
commit 5c6de06892
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 74
      apps/block_scout_web/lib/block_scout_web/templates/address_logs/_logs.html.eex

@ -39,43 +39,45 @@
<td colspan="3"><code><%= text %></code></td> <td colspan="3"><code><%= text %></code></td>
</tr> </tr>
</table> </table>
<table style="color: black;" summary="<%= gettext "Log Data" %>" class="table thead-light table-bordered table-responsive"> <div class="table-bordered table-responsive text-center">
<tr> <table style="color: black;" summary="<%= gettext "Log Data" %>" class="table thead-light table-bordered">
<th scope="col"></th>
<th scope="col"><%= gettext "Name" %></th>
<th scope="col"><%= gettext "Type" %></th>
<th scope="col"><%= gettext "Indexed?" %></th>
<th scope="col"><%= gettext "Data" %></th>
<tr>
<%= for {name, type, indexed?, value} <- mapping do %>
<tr> <tr>
<th scope="row"> <th scope="col"></th>
<%= case BlockScoutWeb.ABIEncodedValueView.copy_text(type, value) do %> <th scope="col"><%= gettext "Name" %></th>
<% :error -> %> <th scope="col"><%= gettext "Type" %></th>
<%= nil %> <th scope="col"><%= gettext "Indexed?" %></th>
<% copy_text -> %> <th scope="col"><%= gettext "Data" %></th>
<span <tr>
aria-label='<%= gettext "Copy Value" %>' <%= for {name, type, indexed?, value} <- mapping do %>
class="btn-copy-ico" <tr>
data-clipboard-text="<%= copy_text %>" <th scope="row">
data-placement="top" <%= case BlockScoutWeb.ABIEncodedValueView.copy_text(type, value) do %>
data-toggle="tooltip" <% :error -> %>
> <%= nil %>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32.5 32.5" width="32" height="32"> <% copy_text -> %>
<path fill-rule="evenodd" d="M23.5 20.5a1 1 0 0 1-1-1v-9h-9a1 1 0 0 1 0-2h10a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1zm-3-7v10a1 1 0 0 1-1 1h-10a1 1 0 0 1-1-1v-10a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1zm-2 1h-8v8h8v-8z"/> <span
</svg> aria-label='<%= gettext "Copy Value" %>'
</span> class="btn-copy-ico"
<% end %> data-clipboard-text="<%= copy_text %>"
</th> data-placement="top"
<td><%= name %></td> data-toggle="tooltip"
<td><%= type %></td> >
<td><%= indexed? %></td> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32.5 32.5" width="32" height="32">
<td> <path fill-rule="evenodd" d="M23.5 20.5a1 1 0 0 1-1-1v-9h-9a1 1 0 0 1 0-2h10a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1zm-3-7v10a1 1 0 0 1-1 1h-10a1 1 0 0 1-1-1v-10a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1zm-2 1h-8v8h8v-8z"/>
<pre class="transaction-input-text tile"><code><%= BlockScoutWeb.ABIEncodedValueView.value_html(type, value) %></code></pre> </svg>
</td> </span>
</tr> <% end %>
<% end %> </th>
</table> <td><%= name %></td>
<td><%= type %></td>
<td><%= indexed? %></td>
<td>
<pre class="transaction-input-text tile"><code><%= BlockScoutWeb.ABIEncodedValueView.value_html(type, value) %></code></pre>
</td>
</tr>
<% end %>
</table>
</div>
<% _ -> %> <% _ -> %>
<%= nil %> <%= nil %>
<% end %> <% end %>

Loading…
Cancel
Save