Merge pull request #1020 from poanetwork/943-read-contract-query-styling

Read contract query styling
pull/1019/head
Andrew Cravenho 6 years ago committed by GitHub
commit df80d0b257
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 24
      apps/block_scout_web/lib/block_scout_web/templates/smart_contract/_function_response.html.eex

@ -1,20 +1,10 @@
<div class="tile tile-muted tile-function-response monospace"> <div class="tile tile-muted tile-function-response monospace">
<pre class="pre-wrap"> <pre>
<code> [ <strong><%= @function_name %></strong> method Response ]
[ <%= @function_name %> method Response ]
<p class="text-dark"> [<%= for item <- @outputs do %>
[ <span class="function-response-item"><%= if named_argument?(item) do %><%= item["name"] %>
<%= for item <- @outputs do %> <% end %>
<span class="text-dark function-response-item"> <span class="text-muted">(<%= item["type"] %>)</span> : <%= values(item["value"]) %></span><% end %>]
<%= if named_argument?(item) do %> </pre>
<%= item["name"] %>
<% end %>
(<%= item["type"] %>) : <%= values(item["value"]) %>
</span>
<% end %>
]
</p>
</code>
</pre>
</div> </div>

Loading…
Cancel
Save