From 39f368d8d1e53183bdc52432850bf1cefc78b8fc Mon Sep 17 00:00:00 2001 From: Andrew Cravenho Date: Fri, 1 Feb 2019 07:20:34 -0500 Subject: [PATCH 1/6] Add Forum support link to Footer --- .../lib/block_scout_web/templates/layout/_footer.html.eex | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/block_scout_web/lib/block_scout_web/templates/layout/_footer.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/layout/_footer.html.eex index 059e1538fd..13fc92d352 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/layout/_footer.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/layout/_footer.html.eex @@ -42,6 +42,7 @@
  • <%= gettext("Submit an Issue") %>
  • <%= gettext("Contribute") %>
  • <%= gettext("Chat") %>
  • +
  • <%= gettext("Support") %>
  • <% main_nets = main_nets() %> From 53d5d77ca5f9c9cd0d5d51ad49c8482e8799a1b8 Mon Sep 17 00:00:00 2001 From: Andrew Cravenho Date: Fri, 1 Feb 2019 07:31:31 -0500 Subject: [PATCH 2/6] Fix block reward styling on Mobile --- .../assets/css/components/_animations.scss | 25 +++++++++++++++---- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/apps/block_scout_web/assets/css/components/_animations.scss b/apps/block_scout_web/assets/css/components/_animations.scss index d673e9067a..57a20fd214 100644 --- a/apps/block_scout_web/assets/css/components/_animations.scss +++ b/apps/block_scout_web/assets/css/components/_animations.scss @@ -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); } } @@ -76,4 +91,4 @@ .shrink-out { transform-origin: bottom center; animation: shrink-out 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards; -} +} \ No newline at end of file From 6825a3c8bfe864da4bf7e3bdb17b7fcc173d0bb0 Mon Sep 17 00:00:00 2001 From: Andrew Cravenho Date: Fri, 1 Feb 2019 07:31:40 -0500 Subject: [PATCH 3/6] gettext --- apps/block_scout_web/priv/gettext/default.pot | 13 +++++++++---- .../priv/gettext/en/LC_MESSAGES/default.po | 13 +++++++++---- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/apps/block_scout_web/priv/gettext/default.pot b/apps/block_scout_web/priv/gettext/default.pot index 38e077f961..4f0af38e99 100644 --- a/apps/block_scout_web/priv/gettext/default.pot +++ b/apps/block_scout_web/priv/gettext/default.pot @@ -1527,12 +1527,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 +1542,16 @@ 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 "" diff --git a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po index b05d19985d..66a887c93c 100644 --- a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po +++ b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po @@ -1527,12 +1527,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 +1542,16 @@ 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 "" From fc61e66b9c4e5558aaca426e783e0fefdefbf9b7 Mon Sep 17 00:00:00 2001 From: Andrew Cravenho Date: Fri, 1 Feb 2019 09:38:13 -0500 Subject: [PATCH 4/6] Update Copy Code Text --- .../templates/address_contract/index.html.eex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/block_scout_web/lib/block_scout_web/templates/address_contract/index.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/address_contract/index.html.eex index 1a9bbcef3c..429e8794d7 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/address_contract/index.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/address_contract/index.html.eex @@ -36,7 +36,7 @@

    <%= gettext "Contract source code" %>

    @@ -48,7 +48,7 @@

    <%= gettext "Contract ABI" %>

    @@ -62,7 +62,7 @@

    <%= gettext "Contract creation code" %>

    From 0a4c68b076a9c9dbd33a7ccab10dba89a776efba Mon Sep 17 00:00:00 2001 From: Andrew Cravenho Date: Fri, 1 Feb 2019 09:38:20 -0500 Subject: [PATCH 5/6] gettext --- apps/block_scout_web/priv/gettext/default.pot | 22 +++++++++++++------ .../priv/gettext/en/LC_MESSAGES/default.po | 22 +++++++++++++------ 2 files changed, 30 insertions(+), 14 deletions(-) diff --git a/apps/block_scout_web/priv/gettext/default.pot b/apps/block_scout_web/priv/gettext/default.pot index 4f0af38e99..c5084ff593 100644 --- a/apps/block_scout_web/priv/gettext/default.pot +++ b/apps/block_scout_web/priv/gettext/default.pot @@ -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 @@ -1555,3 +1548,18 @@ msgstr "" #: 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 "" diff --git a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po index 66a887c93c..81525b50f9 100644 --- a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po +++ b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po @@ -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 @@ -1555,3 +1548,18 @@ msgstr "" #: 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 "" From 6e75a5a7041048a18137fcd39dcddb4ddcc2eafe Mon Sep 17 00:00:00 2001 From: Andrew Cravenho Date: Fri, 1 Feb 2019 10:04:54 -0500 Subject: [PATCH 6/6] Remove muted class from version --- .../lib/block_scout_web/templates/layout/_footer.html.eex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/block_scout_web/lib/block_scout_web/templates/layout/_footer.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/layout/_footer.html.eex index 13fc92d352..1e68fda54e 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/layout/_footer.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/layout/_footer.html.eex @@ -90,7 +90,7 @@ <% version = version() %> <%= unless ignore_version?(version) do %> -
    +
    <%= gettext("Version") %>: <%= version %>
    <% end %>