Merge pull request #1403 from poanetwork/ac-cleanup-items

Various UI Bug Fixes
pull/1409/head
Andrew Cravenho 6 years ago committed by GitHub
commit c1c30c4298
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 23
      apps/block_scout_web/assets/css/components/_animations.scss
  2. 6
      apps/block_scout_web/lib/block_scout_web/templates/address_contract/index.html.eex
  3. 3
      apps/block_scout_web/lib/block_scout_web/templates/layout/_footer.html.eex
  4. 35
      apps/block_scout_web/priv/gettext/default.pot
  5. 35
      apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po

@ -1,7 +1,17 @@
@keyframes fade-in {
0% {transform: scale(0.97); opacity: 0;}
50% {transform: scale(1);}
100% {transform: scale(1); opacity: 1;}
0% {
transform: scale(0.97);
opacity: 0;
}
50% {
transform: scale(1);
}
100% {
transform: scale(1);
opacity: 1;
}
}
@keyframes fade-up-blocks-chain {
@ -11,9 +21,11 @@
opacity: 0;
overflow-x: hidden;
}
50% {
opacity: 0;
}
100% {
flex-basis: 25%;
width: 25%;
@ -27,10 +39,12 @@
height: 0;
opacity: 0;
}
25% {
opacity: 0;
transform: translateY(10px) scale(0.97);
}
100% {
height: 100%;
opacity: 1;
@ -43,6 +57,7 @@
transform: scale(1);
opacity: 1;
}
100% {
opacity: 0;
transform: scale(0.75);
@ -68,7 +83,7 @@
animation: fade-up 0.6s cubic-bezier(0.455, 0.03, 0.515, 0.955);
@media (max-width: 767px) {
max-height: 234px;
max-height: 300px;
animation: fade-up--mobile 0.6s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
}

@ -36,7 +36,7 @@
<div class="d-flex justify-content-between align-items-baseline">
<h3><%= gettext "Contract source code" %></h3>
<button type="button" class="button button-secondary button-sm" id="button" data-toggle="tooltip" data-placement="top" data-clipboard-text="<%= @address.smart_contract.contract_source_code %>" aria-label="Copy Contract Source Code">
<%= gettext "Copy Code" %>
<%= gettext "Copy Source Code" %>
</button>
</div>
<div class="tile tile-muted mb-4">
@ -48,7 +48,7 @@
<div class="d-flex justify-content-between align-items-baseline">
<h3><%= gettext "Contract ABI" %></h3>
<button type="button" class="button button-secondary button-sm" id="button" data-clipboard-text="<%= format_smart_contract_abi(@address.smart_contract.abi) %>" aria-label="Copy Contract ABI">
<%= gettext "Copy Code" %>
<%= gettext "Copy ABI" %>
</button>
</div>
<div class="tile tile-muted mb-4">
@ -62,7 +62,7 @@
<div class="d-flex justify-content-between align-items-baseline">
<h3><%= gettext "Contract creation code" %></h3>
<button type="button" class="button button-secondary button-sm" id="button" data-clipboard-text="<%= @address.contract_code %>" aria-label="copy contract creation code">
<%= gettext "Copy Code" %>
<%= gettext "Copy Contract Creation Code" %>
</button>
</div>
<div class="tile tile-muted">

@ -42,6 +42,7 @@
<li><a href="<%= issue_link(@conn) %>" rel="noreferrer" class="footer-link" target="_blank"><%= gettext("Submit an Issue") %></a></li>
<li><a href="https://github.com/poanetwork/blockscout" rel="noreferrer" class="footer-link"><%= gettext("Contribute") %></a></li>
<li><a href="https://gitter.im/poanetwork/blockscout" rel="noreferrer" class="footer-link"><%= gettext("Chat") %></a></li>
<li><a href="https://forum.poa.network/c/blockscout" rel="noreferrer" class="footer-link"><%= gettext("Support") %></a></li>
</ul>
</div>
<% main_nets = main_nets() %>
@ -89,7 +90,7 @@
<% version = version() %>
<%= unless ignore_version?(version) do %>
<div class="muted text-muted">
<div>
<%= gettext("Version") %>: <%= version %>
</div>
<% end %>

@ -315,13 +315,6 @@ msgstr ""
msgid "Copy Address"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:39
#: lib/block_scout_web/templates/address_contract/index.html.eex:51
#: lib/block_scout_web/templates/address_contract/index.html.eex:65
msgid "Copy Code"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:9
#: lib/block_scout_web/templates/transaction/overview.html.eex:11
@ -1527,12 +1520,12 @@ msgid "Contribute"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/layout/_footer.html.eex:51
#: lib/block_scout_web/templates/layout/_footer.html.eex:52
msgid "Main Networks"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/layout/_footer.html.eex:78
#: lib/block_scout_web/templates/layout/_footer.html.eex:79
msgid "Other Explorers"
msgstr ""
@ -1542,11 +1535,31 @@ msgid "Submit an Issue"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/layout/_footer.html.eex:65
#: lib/block_scout_web/templates/layout/_footer.html.eex:66
msgid "Test Networks"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/layout/_footer.html.eex:93
#: lib/block_scout_web/templates/layout/_footer.html.eex:94
msgid "Version"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/layout/_footer.html.eex:45
msgid "Support"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:51
msgid "Copy ABI"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:65
msgid "Copy Contract Creation Code"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:39
msgid "Copy Source Code"
msgstr ""

@ -315,13 +315,6 @@ msgstr ""
msgid "Copy Address"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:39
#: lib/block_scout_web/templates/address_contract/index.html.eex:51
#: lib/block_scout_web/templates/address_contract/index.html.eex:65
msgid "Copy Code"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/transaction/not_found.html.eex:9
#: lib/block_scout_web/templates/transaction/overview.html.eex:11
@ -1527,12 +1520,12 @@ msgid "Contribute"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/layout/_footer.html.eex:51
#: lib/block_scout_web/templates/layout/_footer.html.eex:52
msgid "Main Networks"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/layout/_footer.html.eex:78
#: lib/block_scout_web/templates/layout/_footer.html.eex:79
msgid "Other Explorers"
msgstr ""
@ -1542,11 +1535,31 @@ msgid "Submit an Issue"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/layout/_footer.html.eex:65
#: lib/block_scout_web/templates/layout/_footer.html.eex:66
msgid "Test Networks"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/layout/_footer.html.eex:93
#: lib/block_scout_web/templates/layout/_footer.html.eex:94
msgid "Version"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/layout/_footer.html.eex:45
msgid "Support"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:51
msgid "Copy ABI"
msgstr ""
#, elixir-format, fuzzy
#: lib/block_scout_web/templates/address_contract/index.html.eex:65
msgid "Copy Contract Creation Code"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:39
msgid "Copy Source Code"
msgstr ""

Loading…
Cancel
Save