Merge pull request #326 from poanetwork/poa-redesign-header

Redesign Implementation Header & Footer
pull/347/head
John Stamates 7 years ago committed by GitHub
commit ff246e9491
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 74
      apps/explorer_web/assets/css/_content.scss
  2. 9
      apps/explorer_web/assets/css/_layout.scss
  3. 115
      apps/explorer_web/assets/css/_tooltip.scss
  4. 625
      apps/explorer_web/assets/css/_utilities.scss
  5. 13
      apps/explorer_web/assets/css/app.scss
  6. 3
      apps/explorer_web/assets/css/components/_chain.scss
  7. 49
      apps/explorer_web/assets/css/components/_footer.scss
  8. 122
      apps/explorer_web/assets/css/components/_header.scss
  9. 78
      apps/explorer_web/assets/css/components/_navbar.scss
  10. 1
      apps/explorer_web/assets/css/components/_panels.scss
  11. 180
      apps/explorer_web/assets/css/components/_sidebar.scss
  12. 3
      apps/explorer_web/assets/css/explorer/_all.scss
  13. 5
      apps/explorer_web/assets/css/explorer/_breakpoints.scss
  14. 7
      apps/explorer_web/assets/css/explorer/_paper.scss
  15. 17
      apps/explorer_web/assets/css/explorer/_size.scss
  16. 2
      apps/explorer_web/assets/css/theme/_fonts.scss
  17. 6
      apps/explorer_web/assets/css/theme/_poa_variables.scss
  18. 145
      apps/explorer_web/assets/css/theme/_theme_ribbon.scss
  19. 3
      apps/explorer_web/lib/explorer_web/templates/address_internal_transaction/index.html.eex
  20. 2
      apps/explorer_web/lib/explorer_web/templates/address_transaction/index.html.eex
  21. 2
      apps/explorer_web/lib/explorer_web/templates/chain/_blocks.html.eex
  22. 2
      apps/explorer_web/lib/explorer_web/templates/chain/_transactions.html.eex
  23. 18
      apps/explorer_web/lib/explorer_web/templates/layout/_footer.html.eex
  24. 61
      apps/explorer_web/lib/explorer_web/templates/layout/_ribbon.html.eex
  25. 60
      apps/explorer_web/lib/explorer_web/templates/layout/_sidebar.html.eex
  26. 68
      apps/explorer_web/lib/explorer_web/templates/layout/_topnav.html.eex
  27. 20
      apps/explorer_web/lib/explorer_web/templates/layout/app.html.eex
  28. 2
      apps/explorer_web/lib/explorer_web/templates/pending_transaction/index.html.eex
  29. 2
      apps/explorer_web/lib/explorer_web/templates/transaction/index.html.eex
  30. 82
      apps/explorer_web/priv/gettext/default.pot
  31. 82
      apps/explorer_web/priv/gettext/en/LC_MESSAGES/default.po

@ -1,74 +0,0 @@
.content-wrapper {
display: flex;
align-items: stretch;
min-height: 100vh;
}
#content {
flex-grow: 1;
display: flex;
flex-direction: column;
}
.content-container {
flex-grow: 1;
padding-top: 85px;
}
.content-header {
display: flex;
position: fixed;
width: 100%;
z-index: 1001;
}
.container {
&__section {
display: block;
padding: 0 15px;
margin: 0 10px;
}
}
@media (max-width: 768px) {
#content {
height: 100%;
}
}
@media (min-width: 768px) {
.content-header {
width: 100%;
}
.content-container {
padding-top: 155px;
}
.container {
&__section {
&--partitioned {
display: flex;
justify-content: space-between;
align-items: stretch;
}
}
&__subsection {
flex: 1;
&-chain {
margin: 10px 5px;
}
}
}
}
.has-error {
color: $red;
}

@ -0,0 +1,9 @@
.layout-container {
display: flex;
flex-direction: column;
min-height: 100vh;
main {
flex-grow: 1;
}
}

@ -1,115 +0,0 @@
// Base class
.tooltip {
position: absolute;
z-index: $zindex-tooltip;
display: block;
margin: $tooltip-margin;
// Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
// So reset our font and text properties to avoid inheriting weird values.
@include reset-text();
font-size: $tooltip-font-size;
// Allow breaking very long words so they don't overflow the tooltip's bounds
word-wrap: break-word;
opacity: 0;
&.show { opacity: $tooltip-opacity; }
.arrow {
position: absolute;
display: block;
width: $tooltip-arrow-width;
height: $tooltip-arrow-height;
&::before {
position: absolute;
content: "";
border-color: transparent;
border-style: solid;
}
}
}
.bs-tooltip-top {
padding: $tooltip-arrow-height 0;
.arrow {
bottom: 0;
&::before {
top: 0;
border-width: $tooltip-arrow-height ($tooltip-arrow-width / 2) 0;
border-top-color: $tooltip-arrow-color;
}
}
}
.bs-tooltip-right {
padding: 0 $tooltip-arrow-height;
.arrow {
left: 0;
width: $tooltip-arrow-height;
height: $tooltip-arrow-width;
&::before {
right: 0;
border-width: ($tooltip-arrow-width / 2) $tooltip-arrow-height ($tooltip-arrow-width / 2) 0;
border-right-color: $tooltip-arrow-color;
}
}
}
.bs-tooltip-bottom {
padding: $tooltip-arrow-height 0;
.arrow {
top: 0;
&::before {
bottom: 0;
border-width: 0 ($tooltip-arrow-width / 2) $tooltip-arrow-height;
border-bottom-color: $tooltip-arrow-color;
}
}
}
.bs-tooltip-left {
padding: 0 $tooltip-arrow-height;
.arrow {
right: 0;
width: $tooltip-arrow-height;
height: $tooltip-arrow-width;
&::before {
left: 0;
border-width: ($tooltip-arrow-width / 2) 0 ($tooltip-arrow-width / 2) $tooltip-arrow-height;
border-left-color: $tooltip-arrow-color;
}
}
}
.bs-tooltip-auto {
&[x-placement^="top"] {
@extend .bs-tooltip-top;
}
&[x-placement^="right"] {
@extend .bs-tooltip-right;
}
&[x-placement^="bottom"] {
@extend .bs-tooltip-bottom;
}
&[x-placement^="left"] {
@extend .bs-tooltip-left;
}
}
// Wrapper for the tooltip content
.tooltip-inner {
max-width: $tooltip-max-width;
padding: $tooltip-padding-y $tooltip-padding-x;
color: $tooltip-color;
text-align: center;
background-color: $tooltip-bg;
@include border-radius($tooltip-border-radius);
}

@ -1,625 +0,0 @@
$shove-size: 100px;
$push-size: 50px;
$push-size-lg: 75px;
$push-size-md: 35px;
$u-push-this: 25px;
$push-size-sm: 15px;
$nudge-more-size: 10px;
$nudge-size: 5px;
$padding-lg: 50px;
$padding-md: 30px;
$padding-sm: 15px;
$padding-xs-plus: 10px;
$padding-xs: 5px;
// Width ---------------------------------------------------
.u-width {
&--half {
width: 50%;
}
}
// Margin --------------------------------------------------
.u-shove {
margin: $shove-size;
@media screen and (max-width: 768px) {margin: $shove-size * 0.5;}
&-vertical {
margin-top: $shove-size;
margin-bottom: $shove-size;
@media screen and (max-width: 768px) {margin-top: $shove-size * 0.5; margin-bottom: $shove-size * 0.5;}
}
&-top {
margin-top: $shove-size !important;
@media screen and (max-width: 768px) {margin-top: $shove-size * 0.5;}
}
&-bottom {
margin-bottom: $shove-size;
@media screen and (max-width: 768px) {margin-bottom: $shove-size * 0.5;}
}
&-left {
margin-left: $shove-size;
@media screen and (max-width: 768px) {margin-left: $shove-size * 0.5;}
}
&-right {
margin-right: $shove-size;
@media screen and (max-width: 768px) {margin-right: $shove-size * 0.5;}
}
}
.u-push {
margin: $push-size;
@media screen and (max-width: 768px) {margin: $push-size * 0.5;}
&-vertical {
margin-top: $push-size;
margin-bottom: $push-size;
@media screen and (max-width: 768px) {margin-top: $push-size * 0.5; margin-bottom: $push-size * 0.5;}
}
&-top {
margin-top: $push-size !important;
@media screen and (max-width: 768px) {margin-top: $push-size * 0.5;}
}
&-bottom {
margin-bottom: $push-size;
@media screen and (max-width: 768px) {margin-bottom: $push-size * 0.5;}
}
&-left {
margin-left: $push-size !important;
@media screen and (max-width: 768px) {margin-left: $push-size * 0.5;}
}
&-right {
margin-right: $push-size;
@media screen and (max-width: 768px) {margin-right: $push-size * 0.5;}
}
}
.u-push-md {
margin: $push-size-md;
&-vertical {
margin-top: $push-size-md;
margin-bottom: $push-size-md;
}
&-top {
margin-top: $push-size-md;
}
&-bottom {
margin-bottom: $push-size-md;
}
&-left {
margin-left: $push-size-md;
}
&-right {
margin-right: $push-size-md;
}
}
.u-push-lg {
margin: $push-size-lg;
&-vertical {
margin-top: $push-size-lg;
margin-bottom: $push-size-lg;
}
&-top {
margin-top: $push-size-lg;
}
&-bottom {
margin-bottom: $push-size-lg;
@media screen and (max-width: 768px) {margin-bottom: $push-size-lg * 0.5;}
}
&-left {
margin-left: $push-size-lg;
}
&-right {
margin-right: $push-size-lg;
}
}
.u-push-sm {
margin: $push-size-sm;
&-vertical {
margin-top: $push-size-sm;
margin-bottom: $push-size-sm;
}
&-top {
margin-top: $push-size-sm !important;
}
&-bottom {
margin-bottom: $push-size-sm !important;
}
&-left {
margin-left: $push-size-sm;
}
&-right {
margin-right: $push-size-sm;
}
}
.u-nudge {
margin: $nudge-size;
&-vertical {
margin-top: $nudge-size;
margin-bottom: $nudge-size;
}
&-top {
margin-top: $nudge-size;
}
&-bottom {
margin-bottom: $nudge-size;
}
&-left {
margin-left: $nudge-size;
}
&-right {
margin-right: $nudge-size;
}
}
.u-nudge-more {
margin: $nudge-more-size;
&-vertical {
margin-top: $nudge-more-size;
margin-bottom: $nudge-more-size;
}
&-top {
margin-top: $nudge-more-size;
}
&-bottom {
margin-bottom: $nudge-more-size;
}
&-left {
margin-left: $nudge-more-size;
}
&-right {
margin-right: $nudge-more-size;
}
}
.u-push-this {
margin: $u-push-this;
&-vertical {
margin-top: $u-push-this;
margin-bottom: $u-push-this;
}
&-top {
margin-top: $u-push-this;
}
&-bottom {
margin-bottom: $u-push-this;
}
&-left {
margin-left: $u-push-this;
}
&-right {
margin-right: $u-push-this;
}
}
.u-flush {
margin: 0 !important;
&-sm {
margin: 4px 0 4px 0;
}
&-btm {
margin-bottom: 0 !important;
}
&-top {
margin-top: 0 !important;
}
}
// Padding --------------------------------------------------
.u-padding {
&-none {
padding: 0px !important;
}
&-no-left {
padding-left: 0px !important;
}
&-no-right {
padding-right: 0px !important;
}
&-no-bottom {
padding-bottom: 0px !important;
}
&-xsmall {
padding: $padding-xs;
&-vertical {
padding-top: $padding-xs;
padding-bottom: $padding-xs;
}
&-top {
padding-top: $padding-xs;
}
&-bottom {
padding-bottom: $padding-xs;
}
&-left {
padding-left: $padding-xs;
}
&-right {
padding-right: $padding-xs;
}
}
&-xs-plus {
padding: $padding-xs-plus;
&-vertical {
padding-top: $padding-xs-plus;
padding-bottom: $padding-xs-plus;
}
&-top {
padding-top: $padding-xs-plus;
}
&-bottom {
padding-bottom: $padding-xs-plus;
}
&-left {
padding-left: $padding-xs-plus;
}
&-right {
padding-right: $padding-xs-plus;
}
}
&-sm {
padding: $padding-sm;
&-vertical {
padding-top: $padding-sm;
padding-bottom: $padding-sm;
}
&-top {
padding-top: $padding-sm;
}
&-bottom {
padding-bottom: $padding-sm;
}
&-left {
padding-left: $padding-sm !important;
}
&-right {
padding-right: $padding-sm;
}
}
&-md {
padding: $padding-md;
&-vertical {
padding-top: $padding-md;
padding-bottom: $padding-md;
}
&-top {
padding-top: $padding-md;
}
&-bottom {
padding-bottom: $padding-md;
}
&-left {
padding-left: $padding-md;
}
&-right {
padding-right: $padding-md;
}
}
&-lg {
padding: $padding-lg;
&-vertical {
padding-top: $padding-lg;
padding-bottom: $padding-lg;
}
&-top {
padding-top: $padding-lg;
}
&-bottom {
padding-bottom: $padding-lg;
}
&-left {
padding-left: $padding-lg;
}
&-right {
padding-right: $padding-lg;
}
}
}
// Element Alignment --------------------------------------------
.u-clear {
clear: both;
}
%u-align {
display: flex;
flex-flow: row wrap;
justify-content: center;
}
.u-align {
@extend %u-align;
&--top {
align-self: flex-start;
}
&--center {
align-self: center;
}
&--bottom {
align-self: flex-end;
}
&--stretch {
align-self: stretch;
}
&--flex{
display: flex;
}
&__vertical {
display: flex;
flex-flow: column nowrap;
}
&__order-1 {
order: 1;
}
&__order-2 {
order: 2;
}
&__order-3 {
order: 3;
}
&__flex-grow {
flex-grow: 1;
}
}
// Border --------------------------------------------------
.u-border {
border: 1px solid $primary;
&-left {
border-left: 1px solid lighten($gray-300, 42%);
}
&-right {
border-right: 1px solid lighten($gray-300, 42%);
}
&-top {
border-top: 1px solid lighten($primary, 40%);
}
&-bottom {
border-bottom: 1px solid lighten($primary, 40%);
&-bold {
border-bottom: 2px solid lighten($gray-300, 32%);
}
}
&-no-right {
border-right: none;
}
&-no-left {
border-left: none;
}
&-no-top {
border-top: none;
}
&-no-bottom {
border-bottom: none !important;
}
&-none {
border: none !important;
}
}
// Typography --------------------------------------------------
.u-text {
&-center {
text-align: center;
}
&-right {
text-align: right;
}
&-left {
text-align: left;
}
}
.u-hide {
display: none;
}
.u-italic {
font-style: italic;
}
.u-underline {
text-decoration: underline;
}
.u-list-style {
&--none {
list-style-type: none;
padding-left: 0;
&> li {
margin-bottom: 1em;
}
}
}
.u-white-space-normal {
white-space: normal;
}
// Display -----------------------------------------------
.u-inline {
display: inline-block;
}
.u-block {
display: block;
}
.u-truncate {
height: 9em; /*line-height multiplied by the number of lines to show (6)*/
line-height: 1.5em;
overflow: hidden;
position: relative;
&:after {
content: "";
position: absolute;
bottom: 0;
right: 0;
height: 50%;
width: 100%;
background: linear-gradient(to bottom, rgba($white, 0), rgba($white, 1) 100%);
}
}
// Float -----------------------------------------------
.u-float-left {
float: left !important;
}
.u-float-right {
float: right !important;
}
.u-float-none {
float: none;
}
.u-margin-auto {
margin: 0px auto;
}
// Bootstrap Column Extension --------------------------
// Where Lauren adds some nonsense to slap some utilities
// together to add bottom margins for mobile columns.
.col-xs-1,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9,
.col-xs-10,
.col-xs-11,
.col-xs-12 {
@media (max-width: 768px) {
&--mb1 {
margin-bottom: 5px;
}
&--mb2 {
margin-bottom: 15px;
}
&--mb3 {
margin-bottom: 30px;
}
}
}

@ -1,4 +1,3 @@
@import "explorer/all";
/* Phoenix flash messages */ /* Phoenix flash messages */
.alert:empty { display: none; } .alert:empty { display: none; }
@ -29,30 +28,29 @@ $fa-font-path: "~@fortawesome/fontawesome-free/webfonts";
@import "node_modules/bootstrap/scss/utilities/sizing"; @import "node_modules/bootstrap/scss/utilities/sizing";
@import "node_modules/bootstrap/scss/utilities/display"; @import "node_modules/bootstrap/scss/utilities/display";
@import "node_modules/bootstrap/scss/utilities/flex"; @import "node_modules/bootstrap/scss/utilities/flex";
@import "node_modules/bootstrap/scss/utilities/float";
@import "node_modules/bootstrap/scss/utilities/text"; @import "node_modules/bootstrap/scss/utilities/text";
@import "node_modules/bootstrap/scss/utilities/background"; @import "node_modules/bootstrap/scss/utilities/background";
@import "node_modules/bootstrap/scss/utilities/position";
// Bootstrap Components // Bootstrap Components
@import "node_modules/bootstrap/scss/dropdown"; @import "node_modules/bootstrap/scss/dropdown";
@import "node_modules/bootstrap/scss/transitions"; @import "node_modules/bootstrap/scss/transitions";
@import "node_modules/bootstrap/scss/tables"; @import "node_modules/bootstrap/scss/tables";
@import "node_modules/bootstrap/scss/nav"; @import "node_modules/bootstrap/scss/nav";
@import "node_modules/bootstrap/scss/navbar";
@import "node_modules/bootstrap/scss/card"; @import "node_modules/bootstrap/scss/card";
@import "node_modules/bootstrap/scss/forms"; @import "node_modules/bootstrap/scss/forms";
@import "node_modules/bootstrap/scss/tooltip";
//Custom theme //Custom theme
@import "theme/theme_ribbon";
@import "theme/fonts"; @import "theme/fonts";
// Custom SCSS // Custom SCSS
@import "content";
@import "utilities";
@import "typography"; @import "typography";
@import "tooltip"; @import "tooltip";
@import "code"; @import "code";
@import "components/panels"; @import "components/panels";
@import "components/header";
@import "components/sidebar";
@import "components/nav_tabs"; @import "components/nav_tabs";
@import "components/chain"; @import "components/chain";
@import "components/dot"; @import "components/dot";
@ -63,6 +61,9 @@ $fa-font-path: "~@fortawesome/fontawesome-free/webfonts";
@import "components/button"; @import "components/button";
@import "components/table"; @import "components/table";
@import "components/qr-code"; @import "components/qr-code";
@import "components/navbar";
@import "layout";
:export { :export {
primary: $primary; primary: $primary;

@ -1,5 +1,4 @@
.chain { .chain {
@extend %paper;
justify-conntent: space-around; justify-conntent: space-around;
align-items: flex-start; align-items: flex-start;
padding: explorer-size(0) 0; padding: explorer-size(0) 0;
@ -61,7 +60,7 @@
} }
} }
@media (min-width: $explorer-breakpoint-md) { @include media-breakpoint-up(md) {
.container__stats { .container__stats {
color: $gray-500; color: $gray-500;

@ -1,16 +1,51 @@
$footer-height: 4rem;
$footer-padding: 1em;
$social-link-size: 2rem;
$footer-text-color: rgba($white, 0.7);
.footer { .footer {
font-size: 12px; font-size: 12px;
display: block; background: $primary;
bottom: 0; color: $footer-text-color;
background: $gray-100;
color:$gray-600;
text-align: center; text-align: center;
margin-top: 15px; margin-top: $footer-padding;
padding: 14px; padding: $footer-padding;
height: 50px; position: relative;
line-height: $social-link-size;
@media (max-width: 768px) { @media (max-width: 768px) {
width: 100%; width: 100%;
} }
} }
.footer-body {
position: relative;
}
.footer .social-links {
position: absolute;
right: 0;
display: flex;
flex-direction: row;
align-items: center;
& > a {
display: flex;
align-items: center;
justify-content: center;
width: $social-link-size;
height: $social-link-size;
margin: 0 $footer-padding;
color: $footer-text-color;
background-color: rgba($white, 0.25);
border-radius: 50%;
transition: all 0.1s ease;
&:hover {
background-color: $white;
color: $primary;
text-decoration: none;
}
}
}

@ -1,122 +0,0 @@
.header {
background: $gray-100;
box-shadow: 0 2px 2px 0 rgba($gray-900, 0.16),
0 0px 2px 0 rgba($gray-900, 0.12);
top: 0;
left: 0;
right: 0;
width: 100%;
&__row {
vertical-align: middle;
display: flex;
&--theme {
display: none;
}
&--search {
background-color: $secondary;
padding: 5px;
}
}
&__cell {
&--links {
display: flex;
padding: 15px 25px;
img {
height: 20px;
}
i {
font-size: 1.55em;
color: $gray-500;
}
}
&--search {
font-size: 12px;
width: 75%;
height: 45px;
margin: 3px;
&-form {
position: relative;
border: 1px solid darken($secondary, 35%);
}
&-glass {
height: 15px;
width: 15px;
position: absolute;
top: 18px;
left: 16px;
opacity: 0.5;
color: darken($secondary, 45%);
}
&-input {
width: 100%;
border: none;
background-color: transparent;
height: 45px;
padding-left: 45px;
&[placeholder] {
text-overflow: ellipsis;
}
}
}
}
}
input::-webkit-input-placeholder {
color: darken($secondary, 75%);
}
@media (max-width: 768px) {
.header {
&__row {
&--topnav {
display: none;
}
&--theme {
background-color: $primary;
padding: 5px;
}
}
&__cell {
&--search {
padding-left: 8px;
width: 95%;
height: 50px;
margin: 3px 0px;
}
}
}
}
.topnav-dropdown {
background: $gray-100;
width: 85px;
border: none;
transform: translate3d(48px, 35px, 0px) !important;
}
.topnav-dropdown-items {
padding-left: 12px;
}
.topnav-nav-link {
margin-top: 3px;
color: $gray-800;
}

@ -0,0 +1,78 @@
.navbar-logo {
height: 36px;
}
@include media-breakpoint-up(md) {
.navbar-expand-lg .navbar-nav .nav-link {
padding-left: 1.25rem;
padding-right: 1.25rem;
}
}
.navbar .nav-link {
color: $white;
}
.navbar .form-control {
background: transparent;
width: auto;
font-size: 12px;
border-left: none;
color: $white;
&:focus {
border-color: $input-border-color;
box-shadow: none;
}
@include media-breakpoint-up(xl) {
width: calc(43ch + #{$input-padding-x * 2});
}
}
.navbar .input-group-text {
background: none;
border-right: none;
}
.fa-search {
color: $white;
}
.topnav-nav-link {
position: relative;
color: $white;
&:before {
content: "";
position: absolute;
display: block;
bottom: -0.25rem;
left: 50%;
width: 0.25rem;
height: 0.25rem;
background-color: $white;
opacity: 0;
transform: translateX(-50%);
transition: bottom 0.2s ease-in, opacity 0.2s ease, width 0.2s 0.3s ease-in-out, height 0.3s 0.1s ease-in-out;
}
&:hover {
color: $white;
&:before {
bottom: 0.25rem;
width: 100%;
height: 0.1rem;
opacity: 1;
}
}
&:active {
&:before {
width: 80%;
transition: width 0.1s ease;
}
}
}

@ -1,5 +1,4 @@
.panels { .panels {
@extend %paper;
&__container { &__container {
padding: 20px; padding: 20px;

@ -1,180 +0,0 @@
/* ---------------------------------------------------
SIDEBAR STYLE
----------------------------------------------------- */
#sidebar {
width: 200px;
background: $navbar-light-color;
top: 0px;
z-index: 9999;
height: 100%;
position: fixed;
.sidebar-header {
background-color: $primary;
color: $gray-800;
height: 66px;
padding: 12px 12px 17px;
text-align: center;
box-shadow:0 2px 2px 0 rgba(38,50,56,.16), 0 0 2px 0 rgba(38,50,56,.12);
img {
width: 65%;
}
}
.social-media {
display: flex;
width: 100%;
position: absolute;
bottom: 15px;
justify-content: space-evenly;
a {
font-size: 18px;
color: $primary;
}
}
}
#sidebar .menu-items {
list-style: none;
padding: 0.5em 0;
margin: 0;
div {
color: $gray-800;
padding: 24px 2px 24px 18px;
font-size: 13px;
font-weight: normal;
background-repeat: no-repeat;
background-position: left 20px center;
transition: all 0.15s linear;
cursor: pointer;
img {
width: 33px;
height: 100%;
margin-right: 5px;
}
&:hover {
background-color: rgba(0, 0, 0, 0.1);
}
&:focus {
outline: none;
}
}
.fa-sitemap, .fa-home {
color: $gray-500;
}
}
#sidebar li {
list-style-type: none;
padding-left: 5px;
line-height: 25px;
}
a[data-toggle="collapse"] {
position: relative;
}
#sidebar--container {
width: 200px;
display: none;
}
#pageSubmenu {
margin-bottom: 5px;
}
/* ---------------------------------------------------
CONTENT STYLE
----------------------------------------------------- */
#sidebarCollapse {
display: none;
}
/* ---------------------------------------------------
MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
#sidebar--container {
display: block;
margin-left: -200px;
transform: rotateY(90deg);
height: 100vh;
position: fixed;
transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
~ #content {
position: absolute;
left: 0;
right: 0;
transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
}
}
#sidebar--container.active {
margin-left: 0;
transform: none;
outline: none;
~ #content {
left: 200px;
right: -200px;
}
}
#sidebar .menu-items div {
padding-top: 11px;
}
#sidebarCollapse {
display: block;
width: 45px;
height: 66px;
background-image: none;
background-color: $primary;
border-color: transparent !important;
box-shadow: 0 2px 2px 0 rgba(38,50,56,.16), 0 0 2px 0 rgba(38,50,56,.12);
outline: none;
}
#sidebarCollapse span {
width: 80%;
height: 2px;
margin: 0 auto;
display: block;
background: $white;
transition: all 0.8s;
}
#sidebarCollapse span:first-of-type,
#sidebarCollapse span:nth-of-type(2),
#sidebarCollapse span:last-of-type {
transform: none;
opacity: 1;
margin: 7px auto;
}
#sidebarCollapse.active span {
transform: none;
opacity: 1;
margin: 0 auto;
}
#sidebarCollapse.active span:first-of-type {
transform: rotate(45deg) translate(2px, 2px);
}
#sidebarCollapse.active span:nth-of-type(2) {
opacity: 0;
}
#sidebarCollapse.active span:last-of-type {
transform: rotate(-45deg) translate(1px, -1px);
}
}

@ -1,3 +0,0 @@
@import "breakpoints";
@import "size";
@import "paper";

@ -1,5 +0,0 @@
$explorer-breakpoint-landscape: 480px;
$explorer-breakpoint-sm: 544px;
$explorer-breakpoint-md: 768px;
$explorer-breakpoint-lg: 992px;
$explorer-breakpoint-xl: 1200px;

@ -1,7 +0,0 @@
%paper {
margin-bottom: 1rem;
border-radius: 5px;
background-color: #fff;
box-shadow: 0 2px 2px 0 rgba(0, 0,0, 0.16),
0 0px 2px 0 rgba(0, 0, 0, 0.12);
}

@ -1,17 +0,0 @@
$golden-ratio: 1.61803398875;
@function explorer-size($exponent) {
$value: $golden-ratio;
@if $exponent > 0 {
@for $i from 1 through $exponent {
$value: $value * $golden-ratio;
}
} @elseif $exponent < 0 {
@for $i from 1 through -$exponent {
$value: $value / $golden-ratio;
}
}
@return 1rem * $value;
}

@ -1,2 +1,2 @@
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono'); @import url('https://fonts.googleapis.com/css?family=Nunito');
@import url('https://fonts.googleapis.com/css?family=Roboto'); @import url('https://fonts.googleapis.com/css?family=Roboto');

@ -231,8 +231,8 @@ $transition-collapse: height .35s ease !default;
// Font, line-height, and color for body text, headings, and more. // Font, line-height, and color for body text, headings, and more.
// stylelint-disable value-keyword-case // stylelint-disable value-keyword-case
$font-family-sans-serif: Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default; $font-family-sans-serif: Nunito, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$font-family-monospace: "Roboto Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default; $font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
$font-family-base: $font-family-sans-serif !default; $font-family-base: $font-family-sans-serif !default;
// stylelint-enable value-keyword-case // stylelint-enable value-keyword-case
@ -707,7 +707,7 @@ $card-columns-margin: $card-spacer-y !default;
// Tooltips // Tooltips
$tooltip-font-size: $font-size-sm !default; $tooltip-font-size: ($font-size-sm * 0.875) !default;
$tooltip-max-width: 70ch !default; $tooltip-max-width: 70ch !default;
$tooltip-color: $white !default; $tooltip-color: $white !default;
$tooltip-bg: darken($secondary, 25%) !default; $tooltip-bg: darken($secondary, 25%) !default;

@ -1,145 +0,0 @@
.theme__ribbon {
width: 155px;
height: 160px;
position: absolute;
right: 8%;
color: white;
padding: 10px;
z-index: 9999;
perspective: 800px;
backface-visibility: hidden;
outline: 1px solid transparent;
@media (max-width: 890px) {
right: 1%;
}
@media (max-width: 768px) {
display: none;
}
&--logo {
width: 100%;
padding: 35px 15px;
}
&--social {
display: flex;
position: absolute;
bottom: 0;
margin-bottom: 2px;
justify-content: center;
width: 100%;
&-icons {
display: flex;
font-size: 15px;
padding: 8px;
color: lighten($primary, 25%);
justify-content: space-between;
}
&-divider {
width: 1px;
padding: 0px !important;
background: lighten($primary, 25%);
}
}
}
.flex {
display: flex;
justify-content: center;
position: absolute;
bottom: 5px;
left: 1px;
margin-left: 8px;
}
//Ribbon FLip Syles
.ribbon {
width: 100%;
height: 100%;
transition: all .5s;
backface-visibility: hidden;
position: absolute;
top: 0px;
left: 0px;
outline: 1px solid transparent;
}
.front {
z-index: 2;
background-color: $primary;
outline: 1px solid transparent;
box-shadow: 0 2px 2px 0 rgba(#212529, 0.16),
0 0px 2px 0 rgba(#212529, 0.12);
}
.back {
z-index: 1;
transform: rotateY(-180deg);
background-color: $primary;
outline: 1px solid transparent;
box-shadow: 0 2px 2px 0 rgba(#212529, 0.16),
0 0px 2px 0 rgba(#212529, 0.12);
& .switch-network {
font-size: 12px;
padding: 3px;
background-color: lighten($primary, 25%);
width: 115px;
}
& .switch-network-menu {
width: 115px;
}
& .switch-network-item {
padding: 3px 5px;
}
& .back-arrow {
position: absolute;
bottom: 0;
margin: 0px 0px 10px -10px;
}
}
.rotatecard, .rotatecardback{
z-index: 3;
cursor: pointer;
background: none;
border: none;
padding: 0px;
&:focus {
outline: none;
}
}
.flipped{
z-index: 1;
transform: rotateY(180deg);
backface-visibility: hidden;
outline: 1px solid transparent;
}
.backflip {
z-index: 2;
transform: rotateY(0deg);
transition: all .5s;
outline: 1px solid transparent;
}
.change-color svg {
width: 20px;
height: 20px;
path {
fill: $primary;
}
}

@ -37,8 +37,9 @@
</ul> </ul>
</div> </div>
<div class="card-body"> <div class="card-body">
<%= if Enum.count(@internal_transactions) > 0 do %> <%= if Enum.count(@internal_transactions) > 0 do %>
<div class="dropdown u-float-right u-push-sm"> <div class="dropdown float-right u-push-sm">
<button data-test="filter_dropdown" class="button button--secondary button--xsmall dropdown-toggle" type="button" <button data-test="filter_dropdown" class="button button--secondary button--xsmall dropdown-toggle" type="button"
id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Filter: <%= format_current_filter(@filter) %> Filter: <%= format_current_filter(@filter) %>

@ -38,7 +38,7 @@
</div> </div>
<div class="card-body"> <div class="card-body">
<%= if Enum.count(@transactions) > 0 do %> <%= if Enum.count(@transactions) > 0 do %>
<div class="dropdown u-float-right u-push-sm"> <div class="dropdown float-right u-push-sm">
<button data-test="filter_dropdown" class="button button--secondary button--xsmall dropdown-toggle" type="button" <button data-test="filter_dropdown" class="button button--secondary button--xsmall dropdown-toggle" type="button"
id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Filter: <%= format_current_filter(@filter) %> Filter: <%= format_current_filter(@filter) %>

@ -1,6 +1,6 @@
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<%= link(gettext("View All"), to: block_path(@conn, :index, Gettext.get_locale), class: "button button--secondary button--xsmall u-float-right") %> <%= link(gettext("View All"), to: block_path(@conn, :index, Gettext.get_locale), class: "button button--secondary button--xsmall float-right") %>
<h2 class="card-title"><%= gettext "Blocks" %></h2> <h2 class="card-title"><%= gettext "Blocks" %></h2>
<table class="table table-font table-responsive-lg"> <table class="table table-font table-responsive-lg">
<thead> <thead>

@ -1,6 +1,6 @@
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<%= link(gettext("View All"), to: transaction_path(@conn, :index, Gettext.get_locale), class: "button button--secondary button--xsmall u-float-right") %> <%= link(gettext("View All"), to: transaction_path(@conn, :index, Gettext.get_locale), class: "button button--secondary button--xsmall float-right") %>
<h2 class="card-title"><%= gettext "Transactions" %></h2> <h2 class="card-title"><%= gettext "Transactions" %></h2>
<table class="table table-font table-responsive-lg"> <table class="table table-font table-responsive-lg">
<thead> <thead>

@ -1,3 +1,21 @@
<footer class="footer"> <footer class="footer">
<div class="footer-body container">
<div class="social-links">
<a href="https://www.facebook.com/PoaNetwork/" target="_blank" data-toggle="tooltip" data-placement="top" title="<%= gettext("Facebook") %>">
<i class="fab fa-facebook-f"></i>
</a>
<a href="https://www.instagram.com/PoaNetwork/" target="_blank" data-toggle="tooltip" data-placement="top" title="<%= gettext("Instagram") %>">
<i class="fab fa-instagram"></i>
</a>
<a href="https://www.twitter.com/PoaNetwork/" target="_blank" data-toggle="tooltip" data-placement="top" title="<%= gettext("Twitter") %>">
<i class="fab fa-twitter"></i>
</a>
<a href="https://www.twitter.com/PoaNetwork/" target="_blank" data-toggle="tooltip" data-placement="top" title="<%= gettext("Telegram") %>">
<i class="fab fa-telegram-plane"></i>
</a>
</div>
<%= gettext "Copyright %{year} POA", year: 2018 %> <%= gettext "Copyright %{year} POA", year: 2018 %>
</div>
</footer> </footer>

@ -1,61 +0,0 @@
<div class="theme__ribbon">
<div class="front ribbon">
<%= link to: chain_path(@conn, :show), "data-test": "header_logo" do %>
<img class="theme__ribbon--logo" src="<%= static_path(@conn, "/images/poa_logo.svg") %>" />
<% end %>
<div class="theme__ribbon--social" align="right">
<a href="https://www.facebook.com/PoaNetwork/" target="_blank">
<div class="theme__ribbon--social-icons">
<i class="fab fa-facebook-f"></i>
</div>
</a>
<a href="https://www.instagram.com/PoaNetwork/" target="_blank">
<div class="theme__ribbon--social-icons">
<i class="fab fa-instagram"></i>
</div>
</a>
<a href="https://www.twitter.com/PoaNetwork/" target="_blank">
<div class="theme__ribbon--social-icons">
<i class="fab fa-twitter"></i>
</div>
</a>
<a href="https://www.twitter.com/PoaNetwork/" target="_blank">
<div class="theme__ribbon--social-icons">
<i class="fab fa-telegram-plane"></i>
</div>
</a>
<div class="theme__ribbon--social-icons u-padding-none">
<i class="theme__ribbon--social-divider"></i>
</div>
<button class="rotatecard header__link">
<div class="theme__ribbon--social-icons ">
<i class="fa fa-sitemap"></i>
</div>
</button>
</div>
</div>
<div class="back ribbon">
<%= link to: chain_path(@conn, :show) do %>
<img class="theme__ribbon--logo" src="<%= static_path(@conn, "/images/poa_logo.svg") %>" />
<% end %>
<div class="flex">
<div class="dropdown">
<button class="switch-network dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Switch Network
</button>
<div class="dropdown-menu switch-network-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item switch-network-item" href="https://explorer-core.poanetwork/">POA Core</a>
<a class="dropdown-item switch-network-item" href="https://explorer-sokol.poanetwork/">POA Sokol</a>
</div>
</div>
<div class="header__cell header__cell--social" align="right">
<button class="rotatecardback">
<div class="theme__ribbon--social-icons">
<i class="fa fa-arrow-left "></i>
</div>
</button>
</div>
</div>
</div>
</div>

@ -1,60 +0,0 @@
<div id="sidebar--container">
<nav id="sidebar">
<div class="sidebar-header">
<%= link to: chain_path(@conn, :show) do %>
<img class="" src="<%= static_path(@conn, "/images/poa_logo.svg") %>" />
<% end %>
</div>
<div class="menu-items" role="navigation">
<div tabindex="0" class="icon-locate">
<a href="#pageSubmenu" data-toggle="collapse" aria-expanded="false">
<i class="fa fa-sitemap fa-2x u-nudge-right u-nudge-top"></i>
<%= gettext("Switch Network ") %>
<i class="fa fa-caret-down"></i>
</a>
<ul class="collapse list-unstyled" id="pageSubmenu">
<li><a href="#">Explorer</a></li>
<li><a href="#">Sokol (Testnet)</a></li>
<li><a href="#">Mainnet</a></li>
</ul>
</div>
<%= link to: block_path(@conn, :index, Gettext.get_locale), class: "header__link" do %>
<div tabindex="0" class="icon-locate">
<i class="fas fa-home fa-2x u-nudge-right u-nudge-top"></i>
<%= gettext("Dashboard") %>
</div>
<% end %>
<%= link to: block_path(@conn, :index, Gettext.get_locale), class: "header__link" do %>
<div tabindex="0" class="icon-locate">
<img class="" src="<%= static_path(@conn, "/images/block.svg") %>" />
<%= gettext("Blocks") %>
</div>
<% end %>
<div tabindex="0" class="icon-locate">
<a href="#pageSubmenu-tx" data-toggle="collapse" aria-expanded="false">
<img class="" src="<%= static_path(@conn, "/images/transaction.svg") %>" />
<%= gettext("Transactions") %>
<i class="fa fa-caret-down"></i>
</a>
<ul class="collapse list-unstyled" id="pageSubmenu-tx">
<li><%= link(gettext("Validated"), to: transaction_path(@conn, :index, Gettext.get_locale)) %></li>
<li><%= link(gettext("Pending"), to: pending_transaction_path(@conn, :index, Gettext.get_locale)) %></li>
</ul>
</div>
</div>
<div class="social-media">
<a href="https://www.facebook.com/PoaNetwork/" target="_blank">
<i class="fab fa-facebook-f"></i>
</a>
<a href="https://www.instagram.com/PoaNetwork/" target="_blank">
<i class="fab fa-instagram"></i>
</a>
<a href="https://www.twitter.com/PoaNetwork/" target="_blank">
<i class="fab fa-twitter"></i>
</a>
<a href="https://www.twitter.com/PoaNetwork/" target="_blank">
<i class="fab fa-telegram-plane"></i>
</a>
</div>
</nav>
</div>

@ -1,36 +1,56 @@
<header class="header"> <nav class="navbar navbar-expand-lg bg-primary">
<div class="header__row header__row--search"> <div class="container">
<div class="header__cell header__cell--search"> <%= link to: chain_path(@conn, :show), class: "navbar-brand", "data-test": "header_logo" do %>
<%= form_for @conn, chain_path(@conn, :search, Gettext.get_locale), [class: "header__cell--search-form", method: :get, enforce_utf8: false], fn f -> %> <img class="navbar-logo" src="<%= static_path(@conn, "/images/poa_logo.svg") %>" />
<i class="header__cell--search-glass fa fa-search"></i>
<%= search_input f, :q, class: 'header__cell--search-input', placeholder: gettext("Search by address, transaction hash, or block number"), "data-test": "search_input" %>
<% end %> <% end %>
</div> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
</div> <span class="navbar-toggler-icon"></span>
</button>
<nav class="header__row header__row--topnav"> <div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="nav"> <ul class="navbar-nav mr-auto">
<li class="nav-item"> <li class="nav-item">
<%= link to: chain_path(@conn, :show), class: "nav-link" do %>
<i class="fas fa-home fa-2x text-muted"></i>
<% end %>
</li>
<li calss="nav-item">
<%= link to: block_path(@conn, :index, Gettext.get_locale), class: "nav-link topnav-nav-link" do %> <%= link to: block_path(@conn, :index, Gettext.get_locale), class: "nav-link topnav-nav-link" do %>
<img src="<%= static_path(@conn, "/images/block.svg") %>" />
<%= gettext("Blocks") %> <%= gettext("Blocks") %>
<% end %> <% end %>
</li> </li>
<li calss="nav-item dropdown"> <li class="nav-item">
<a class="topnav-nav-link nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <%= link to: transaction_path(@conn, :index, Gettext.get_locale), class: "nav-link topnav-nav-link" do %>
<img src="<%= static_path(@conn, "/images/transaction.svg") %>" />
<%= gettext("Transactions") %> <%= gettext("Transactions") %>
<% end %>
</li>
<li class="nav-item">
<%= link to: transaction_path(@conn, :index, Gettext.get_locale), class: "nav-link topnav-nav-link" do %>
<%= gettext("Smart Contracts") %>
<% end %>
<!-- Does not go to where it should go please commented out before pushing to master -->
</li>
<li class="nav-item">
<%= link to: transaction_path(@conn, :index, Gettext.get_locale), class: "nav-link topnav-nav-link" do %>
<%= gettext("Tokens") %>
<% end %>
<!-- Does not go to where it should go please commented out before pushing to master -->
</li>
</ul>
<%= form_for @conn, chain_path(@conn, :search, Gettext.get_locale), [class: "form-inline my-2 my-lg-0", method: :get, enforce_utf8: false], fn f -> %>
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text" id="search-icon"><i class="fas fa-search"></i></span>
</div>
<%= search_input f, :q, class: 'form-control mr-sm-2 ml-auto', placeholder: gettext("Search by address, transaction hash, or block number"), "aria-describedby": "search-icon", "aria-label": "Search", "data-test": "search_input" %>
</div>
<button class="btn btn-outline-success my-2 my-sm-0 sr-only" type="submit">Search</button>
<% end %>
<ul class="navbar-nav">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<%= gettext("Mainnet") %>
</a> </a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown"> <div class="dropdown-menu" aria-labelledby="navbarDropdown">
<%= link(gettext("Validated"), to: transaction_path(@conn, :index, Gettext.get_locale), class: "dropdown-item") %> <a class="dropdown-item" href="https://explorer-sokol.poanetwork/"><%= gettext("POA Sokol") %></a>
<%= link(gettext("Pending"), to: pending_transaction_path(@conn, :index, Gettext.get_locale), class: "dropdown-item") %> <a class="dropdown-item" href="https://explorer-core.poanetwork/"><%= gettext("POA Core") %></a>
</div> </div>
</li> </li>
</ul> </ul>
</nav> </div>
</header> </div>
</nav>

@ -9,29 +9,13 @@
</head> </head>
<body> <body>
<div class="content-wrapper"> <div class="layout-container">
<!-- Sidebar Holder -->
<%= render ExplorerWeb.LayoutView, "_sidebar.html", assigns %>
<!-- Page Content Holder -->
<div id="content">
<div class="content-header">
<nav>
<button type="button" id="sidebarCollapse" class="navbar-btn">
<span></span>
<span></span>
<span></span>
</button>
</nav>
<%= render ExplorerWeb.LayoutView, "_ribbon.html", assigns %>
<%= render ExplorerWeb.LayoutView, "_topnav.html", assigns %> <%= render ExplorerWeb.LayoutView, "_topnav.html", assigns %>
</div> <main class="mt-3">
<div class="content-container">
<main>
<p class="alert alert-info" role="alert"><%= get_flash(@conn, :info) %></p> <p class="alert alert-info" role="alert"><%= get_flash(@conn, :info) %></p>
<p class="alert alert-danger" role="alert"><%= get_flash(@conn, :error) %></p> <p class="alert alert-danger" role="alert"><%= get_flash(@conn, :error) %></p>
<%= render @view_module, @view_template, assigns %> <%= render @view_module, @view_template, assigns %>
</main> </main>
</div>
<%= render ExplorerWeb.LayoutView, "_footer.html", assigns %> <%= render ExplorerWeb.LayoutView, "_footer.html", assigns %>
</div> </div>
<script src="<%= static_path(@conn, "/js/app.js") %>"></script> <script src="<%= static_path(@conn, "/js/app.js") %>"></script>

@ -67,7 +67,7 @@
<%= if @next_page_params do %> <%= if @next_page_params do %>
<%= link( <%= link(
gettext("Older"), gettext("Older"),
class: "button button--secondary button--sm u-float-right mt-3", class: "button button--secondary button--sm float-right mt-3",
to: pending_transaction_path( to: pending_transaction_path(
@conn, @conn,
:index, :index,

@ -88,7 +88,7 @@
<%= if @next_page_params do %> <%= if @next_page_params do %>
<%= link( <%= link(
gettext("Older"), gettext("Older"),
class: "button button--secondary button--sm u-float-right mt-3", class: "button button--secondary button--sm float-right mt-3",
to: transaction_path( to: transaction_path(
@conn, @conn,
:index, :index,

@ -1,4 +1,4 @@
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:84 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:85
#: lib/explorer_web/templates/address_transaction/index.html.eex:88 #: lib/explorer_web/templates/address_transaction/index.html.eex:88
#: lib/explorer_web/templates/block/index.html.eex:18 #: lib/explorer_web/templates/block/index.html.eex:18
#: lib/explorer_web/templates/block_transaction/index.html.eex:141 #: lib/explorer_web/templates/block_transaction/index.html.eex:141
@ -9,7 +9,7 @@
msgid "Age" msgid "Age"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:83 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:84
#: lib/explorer_web/templates/address_transaction/index.html.eex:87 #: lib/explorer_web/templates/address_transaction/index.html.eex:87
#: lib/explorer_web/templates/block_transaction/index.html.eex:140 #: lib/explorer_web/templates/block_transaction/index.html.eex:140
#: lib/explorer_web/templates/chain/show.html.eex:7 #: lib/explorer_web/templates/chain/show.html.eex:7
@ -18,12 +18,11 @@ msgid "Block"
msgstr "" msgstr ""
#: lib/explorer_web/templates/chain/_blocks.html.eex:4 #: lib/explorer_web/templates/chain/_blocks.html.eex:4
#: lib/explorer_web/templates/layout/_sidebar.html.eex:30 #: lib/explorer_web/templates/layout/_topnav.html.eex:13
#: lib/explorer_web/templates/layout/_topnav.html.eex:21
msgid "Blocks" msgid "Blocks"
msgstr "" msgstr ""
#: lib/explorer_web/templates/layout/_footer.html.eex:2 #: lib/explorer_web/templates/layout/_footer.html.eex:18
msgid "Copyright %{year} POA" msgid "Copyright %{year} POA"
msgstr "" msgstr ""
@ -57,12 +56,11 @@ msgstr ""
#: lib/explorer_web/templates/block/index.html.eex:19 #: lib/explorer_web/templates/block/index.html.eex:19
#: lib/explorer_web/templates/block_transaction/index.html.eex:124 #: lib/explorer_web/templates/block_transaction/index.html.eex:124
#: lib/explorer_web/templates/chain/_transactions.html.eex:4 #: lib/explorer_web/templates/chain/_transactions.html.eex:4
#: lib/explorer_web/templates/layout/_sidebar.html.eex:36 #: lib/explorer_web/templates/layout/_topnav.html.eex:18
#: lib/explorer_web/templates/layout/_topnav.html.eex:27
msgid "Transactions" msgid "Transactions"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:87 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:88
#: lib/explorer_web/templates/address_transaction/index.html.eex:92 #: lib/explorer_web/templates/address_transaction/index.html.eex:92
#: lib/explorer_web/templates/block_transaction/index.html.eex:145 #: lib/explorer_web/templates/block_transaction/index.html.eex:145
#: lib/explorer_web/templates/chain/_transactions.html.eex:10 #: lib/explorer_web/templates/chain/_transactions.html.eex:10
@ -157,8 +155,8 @@ msgstr ""
msgid "Address" msgid "Address"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:66 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:67
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:85 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:86
#: lib/explorer_web/templates/address_transaction/index.html.eex:66 #: lib/explorer_web/templates/address_transaction/index.html.eex:66
#: lib/explorer_web/templates/address_transaction/index.html.eex:89 #: lib/explorer_web/templates/address_transaction/index.html.eex:89
#: lib/explorer_web/templates/block_transaction/index.html.eex:142 #: lib/explorer_web/templates/block_transaction/index.html.eex:142
@ -181,8 +179,8 @@ msgstr ""
msgid "Success" msgid "Success"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:54 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:55
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:86 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:87
#: lib/explorer_web/templates/address_transaction/index.html.eex:54 #: lib/explorer_web/templates/address_transaction/index.html.eex:54
#: lib/explorer_web/templates/address_transaction/index.html.eex:91 #: lib/explorer_web/templates/address_transaction/index.html.eex:91
#: lib/explorer_web/templates/block_transaction/index.html.eex:144 #: lib/explorer_web/templates/block_transaction/index.html.eex:144
@ -232,8 +230,6 @@ msgstr ""
msgid "Showing %{count} Transactions" msgid "Showing %{count} Transactions"
msgstr "" msgstr ""
#: lib/explorer_web/templates/layout/_sidebar.html.eex:41
#: lib/explorer_web/templates/layout/_topnav.html.eex:31
#: lib/explorer_web/templates/pending_transaction/index.html.eex:21 #: lib/explorer_web/templates/pending_transaction/index.html.eex:21
#: lib/explorer_web/templates/transaction/index.html.eex:21 #: lib/explorer_web/templates/transaction/index.html.eex:21
#: lib/explorer_web/views/transaction_view.ex:18 #: lib/explorer_web/views/transaction_view.ex:18
@ -325,7 +321,7 @@ msgid "Showing #%{number}"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address/overview.html.eex:24 #: lib/explorer_web/templates/address/overview.html.eex:24
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:87 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:88
#: lib/explorer_web/templates/address_transaction/index.html.eex:92 #: lib/explorer_web/templates/address_transaction/index.html.eex:92
#: lib/explorer_web/templates/chain/_transactions.html.eex:10 #: lib/explorer_web/templates/chain/_transactions.html.eex:10
#: lib/explorer_web/templates/pending_transaction/index.html.eex:39 #: lib/explorer_web/templates/pending_transaction/index.html.eex:39
@ -350,11 +346,11 @@ msgstr ""
msgid "Internal Transactions" msgid "Internal Transactions"
msgstr "" msgstr ""
#: lib/explorer_web/templates/layout/_topnav.html.eex:6 #: lib/explorer_web/templates/layout/_topnav.html.eex:39
msgid "Search by address, transaction hash, or block number" msgid "Search by address, transaction hash, or block number"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:124 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:125
#: lib/explorer_web/templates/transaction_internal_transaction/index.html.eex:64 #: lib/explorer_web/templates/transaction_internal_transaction/index.html.eex:64
msgid "There are no Internal Transactions" msgid "There are no Internal Transactions"
msgstr "" msgstr ""
@ -383,7 +379,7 @@ msgstr ""
msgid "Wei" msgid "Wei"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:48 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:49
#: lib/explorer_web/templates/address_transaction/index.html.eex:48 #: lib/explorer_web/templates/address_transaction/index.html.eex:48
#: lib/explorer_web/views/address_internal_transaction_view.ex:10 #: lib/explorer_web/views/address_internal_transaction_view.ex:10
#: lib/explorer_web/views/address_transaction_view.ex:12 #: lib/explorer_web/views/address_transaction_view.ex:12
@ -394,8 +390,6 @@ msgstr ""
msgid "Fee" msgid "Fee"
msgstr "" msgstr ""
#: lib/explorer_web/templates/layout/_sidebar.html.eex:40
#: lib/explorer_web/templates/layout/_topnav.html.eex:30
#: lib/explorer_web/templates/pending_transaction/index.html.eex:14 #: lib/explorer_web/templates/pending_transaction/index.html.eex:14
#: lib/explorer_web/templates/transaction/index.html.eex:14 #: lib/explorer_web/templates/transaction/index.html.eex:14
msgid "Validated" msgid "Validated"
@ -405,7 +399,7 @@ msgstr ""
msgid "Block Details" msgid "Block Details"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:82 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:83
msgid "Parent Tx Hash" msgid "Parent Tx Hash"
msgstr "" msgstr ""
@ -460,7 +454,7 @@ msgstr ""
msgid "TXNs" msgid "TXNs"
msgstr "" msgstr ""
#: lib/explorer_web/templates/layout/_topnav.html.eex:40 #: lib/explorer_web/templates/layout/_topnav.html.eex:29
msgid "Tokens" msgid "Tokens"
msgstr "" msgstr ""
@ -504,7 +498,7 @@ msgstr ""
msgid "There are no Transactions" msgid "There are no Transactions"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:130 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:131
#: lib/explorer_web/templates/address_transaction/index.html.eex:143 #: lib/explorer_web/templates/address_transaction/index.html.eex:143
#: lib/explorer_web/templates/block/index.html.eex:60 #: lib/explorer_web/templates/block/index.html.eex:60
#: lib/explorer_web/templates/block_transaction/index.html.eex:200 #: lib/explorer_web/templates/block_transaction/index.html.eex:200
@ -546,7 +540,47 @@ msgid "Newer"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:108 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:109
#: lib/explorer_web/templates/transaction_internal_transaction/index.html.eex:47 #: lib/explorer_web/templates/transaction_internal_transaction/index.html.eex:47
msgid "Contract Creation" msgid "Contract Creation"
msgstr "" msgstr ""
#, elixir-format
#: lib/explorer_web/templates/layout/_topnav.html.eex:23
msgid "Smart Contracts"
msgstr ""
#, elixir-format
#: lib/explorer_web/templates/layout/_topnav.html.eex:46
msgid "Mainnet"
msgstr ""
#, elixir-format
#: lib/explorer_web/templates/layout/_topnav.html.eex:50
msgid "POA Core"
msgstr ""
#, elixir-format
#: lib/explorer_web/templates/layout/_topnav.html.eex:49
msgid "POA Sokol"
msgstr ""
#, elixir-format
#: lib/explorer_web/templates/layout/_footer.html.eex:4
msgid "Facebook"
msgstr ""
#, elixir-format
#: lib/explorer_web/templates/layout/_footer.html.eex:7
msgid "Instagram"
msgstr ""
#, elixir-format
#: lib/explorer_web/templates/layout/_footer.html.eex:13
msgid "Telegram"
msgstr ""
#, elixir-format
#: lib/explorer_web/templates/layout/_footer.html.eex:10
msgid "Twitter"
msgstr ""

@ -10,7 +10,7 @@ msgid ""
msgstr "" msgstr ""
"Language: en\n" "Language: en\n"
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:84 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:85
#: lib/explorer_web/templates/address_transaction/index.html.eex:88 #: lib/explorer_web/templates/address_transaction/index.html.eex:88
#: lib/explorer_web/templates/block/index.html.eex:18 #: lib/explorer_web/templates/block/index.html.eex:18
#: lib/explorer_web/templates/block_transaction/index.html.eex:141 #: lib/explorer_web/templates/block_transaction/index.html.eex:141
@ -21,7 +21,7 @@ msgstr ""
msgid "Age" msgid "Age"
msgstr "Age" msgstr "Age"
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:83 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:84
#: lib/explorer_web/templates/address_transaction/index.html.eex:87 #: lib/explorer_web/templates/address_transaction/index.html.eex:87
#: lib/explorer_web/templates/block_transaction/index.html.eex:140 #: lib/explorer_web/templates/block_transaction/index.html.eex:140
#: lib/explorer_web/templates/chain/show.html.eex:7 #: lib/explorer_web/templates/chain/show.html.eex:7
@ -30,12 +30,11 @@ msgid "Block"
msgstr "Block" msgstr "Block"
#: lib/explorer_web/templates/chain/_blocks.html.eex:4 #: lib/explorer_web/templates/chain/_blocks.html.eex:4
#: lib/explorer_web/templates/layout/_sidebar.html.eex:30 #: lib/explorer_web/templates/layout/_topnav.html.eex:13
#: lib/explorer_web/templates/layout/_topnav.html.eex:21
msgid "Blocks" msgid "Blocks"
msgstr "Blocks" msgstr "Blocks"
#: lib/explorer_web/templates/layout/_footer.html.eex:2 #: lib/explorer_web/templates/layout/_footer.html.eex:18
msgid "Copyright %{year} POA" msgid "Copyright %{year} POA"
msgstr "%{year} POA Network Ltd. All rights reserved" msgstr "%{year} POA Network Ltd. All rights reserved"
@ -69,12 +68,11 @@ msgstr "POA Network Explorer"
#: lib/explorer_web/templates/block/index.html.eex:19 #: lib/explorer_web/templates/block/index.html.eex:19
#: lib/explorer_web/templates/block_transaction/index.html.eex:124 #: lib/explorer_web/templates/block_transaction/index.html.eex:124
#: lib/explorer_web/templates/chain/_transactions.html.eex:4 #: lib/explorer_web/templates/chain/_transactions.html.eex:4
#: lib/explorer_web/templates/layout/_sidebar.html.eex:36 #: lib/explorer_web/templates/layout/_topnav.html.eex:18
#: lib/explorer_web/templates/layout/_topnav.html.eex:27
msgid "Transactions" msgid "Transactions"
msgstr "Transactions" msgstr "Transactions"
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:87 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:88
#: lib/explorer_web/templates/address_transaction/index.html.eex:92 #: lib/explorer_web/templates/address_transaction/index.html.eex:92
#: lib/explorer_web/templates/block_transaction/index.html.eex:145 #: lib/explorer_web/templates/block_transaction/index.html.eex:145
#: lib/explorer_web/templates/chain/_transactions.html.eex:10 #: lib/explorer_web/templates/chain/_transactions.html.eex:10
@ -169,8 +167,8 @@ msgstr "%{count} transactions in this block"
msgid "Address" msgid "Address"
msgstr "Address" msgstr "Address"
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:66 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:67
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:85 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:86
#: lib/explorer_web/templates/address_transaction/index.html.eex:66 #: lib/explorer_web/templates/address_transaction/index.html.eex:66
#: lib/explorer_web/templates/address_transaction/index.html.eex:89 #: lib/explorer_web/templates/address_transaction/index.html.eex:89
#: lib/explorer_web/templates/block_transaction/index.html.eex:142 #: lib/explorer_web/templates/block_transaction/index.html.eex:142
@ -193,8 +191,8 @@ msgstr "Overview"
msgid "Success" msgid "Success"
msgstr "Success" msgstr "Success"
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:54 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:55
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:86 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:87
#: lib/explorer_web/templates/address_transaction/index.html.eex:54 #: lib/explorer_web/templates/address_transaction/index.html.eex:54
#: lib/explorer_web/templates/address_transaction/index.html.eex:91 #: lib/explorer_web/templates/address_transaction/index.html.eex:91
#: lib/explorer_web/templates/block_transaction/index.html.eex:144 #: lib/explorer_web/templates/block_transaction/index.html.eex:144
@ -244,8 +242,6 @@ msgstr "Showing #%{start_block} to #%{end_block}"
msgid "Showing %{count} Transactions" msgid "Showing %{count} Transactions"
msgstr "Showing %{count} Transactions" msgstr "Showing %{count} Transactions"
#: lib/explorer_web/templates/layout/_sidebar.html.eex:41
#: lib/explorer_web/templates/layout/_topnav.html.eex:31
#: lib/explorer_web/templates/pending_transaction/index.html.eex:21 #: lib/explorer_web/templates/pending_transaction/index.html.eex:21
#: lib/explorer_web/templates/transaction/index.html.eex:21 #: lib/explorer_web/templates/transaction/index.html.eex:21
#: lib/explorer_web/views/transaction_view.ex:18 #: lib/explorer_web/views/transaction_view.ex:18
@ -337,7 +333,7 @@ msgid "Showing #%{number}"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address/overview.html.eex:24 #: lib/explorer_web/templates/address/overview.html.eex:24
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:87 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:88
#: lib/explorer_web/templates/address_transaction/index.html.eex:92 #: lib/explorer_web/templates/address_transaction/index.html.eex:92
#: lib/explorer_web/templates/chain/_transactions.html.eex:10 #: lib/explorer_web/templates/chain/_transactions.html.eex:10
#: lib/explorer_web/templates/pending_transaction/index.html.eex:39 #: lib/explorer_web/templates/pending_transaction/index.html.eex:39
@ -362,11 +358,11 @@ msgstr ""
msgid "Internal Transactions" msgid "Internal Transactions"
msgstr "" msgstr ""
#: lib/explorer_web/templates/layout/_topnav.html.eex:6 #: lib/explorer_web/templates/layout/_topnav.html.eex:39
msgid "Search by address, transaction hash, or block number" msgid "Search by address, transaction hash, or block number"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:124 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:125
#: lib/explorer_web/templates/transaction_internal_transaction/index.html.eex:64 #: lib/explorer_web/templates/transaction_internal_transaction/index.html.eex:64
msgid "There are no Internal Transactions" msgid "There are no Internal Transactions"
msgstr "" msgstr ""
@ -395,7 +391,7 @@ msgstr ""
msgid "Wei" msgid "Wei"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:48 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:49
#: lib/explorer_web/templates/address_transaction/index.html.eex:48 #: lib/explorer_web/templates/address_transaction/index.html.eex:48
#: lib/explorer_web/views/address_internal_transaction_view.ex:10 #: lib/explorer_web/views/address_internal_transaction_view.ex:10
#: lib/explorer_web/views/address_transaction_view.ex:12 #: lib/explorer_web/views/address_transaction_view.ex:12
@ -406,8 +402,6 @@ msgstr ""
msgid "Fee" msgid "Fee"
msgstr "" msgstr ""
#: lib/explorer_web/templates/layout/_sidebar.html.eex:40
#: lib/explorer_web/templates/layout/_topnav.html.eex:30
#: lib/explorer_web/templates/pending_transaction/index.html.eex:14 #: lib/explorer_web/templates/pending_transaction/index.html.eex:14
#: lib/explorer_web/templates/transaction/index.html.eex:14 #: lib/explorer_web/templates/transaction/index.html.eex:14
msgid "Validated" msgid "Validated"
@ -417,7 +411,7 @@ msgstr ""
msgid "Block Details" msgid "Block Details"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:82 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:83
msgid "Parent Tx Hash" msgid "Parent Tx Hash"
msgstr "" msgstr ""
@ -472,7 +466,7 @@ msgstr ""
msgid "TXNs" msgid "TXNs"
msgstr "" msgstr ""
#: lib/explorer_web/templates/layout/_topnav.html.eex:40 #: lib/explorer_web/templates/layout/_topnav.html.eex:29
msgid "Tokens" msgid "Tokens"
msgstr "" msgstr ""
@ -516,7 +510,7 @@ msgstr ""
msgid "There are no Transactions" msgid "There are no Transactions"
msgstr "" msgstr ""
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:130 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:131
#: lib/explorer_web/templates/address_transaction/index.html.eex:143 #: lib/explorer_web/templates/address_transaction/index.html.eex:143
#: lib/explorer_web/templates/block/index.html.eex:60 #: lib/explorer_web/templates/block/index.html.eex:60
#: lib/explorer_web/templates/block_transaction/index.html.eex:200 #: lib/explorer_web/templates/block_transaction/index.html.eex:200
@ -558,7 +552,47 @@ msgid "Newer"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/explorer_web/templates/address_internal_transaction/index.html.eex:108 #: lib/explorer_web/templates/address_internal_transaction/index.html.eex:109
#: lib/explorer_web/templates/transaction_internal_transaction/index.html.eex:47 #: lib/explorer_web/templates/transaction_internal_transaction/index.html.eex:47
msgid "Contract Creation" msgid "Contract Creation"
msgstr "" msgstr ""
#, elixir-format
#: lib/explorer_web/templates/layout/_topnav.html.eex:23
msgid "Smart Contracts"
msgstr ""
#, elixir-format
#: lib/explorer_web/templates/layout/_topnav.html.eex:46
msgid "Mainnet"
msgstr ""
#, elixir-format
#: lib/explorer_web/templates/layout/_topnav.html.eex:50
msgid "POA Core"
msgstr ""
#, elixir-format
#: lib/explorer_web/templates/layout/_topnav.html.eex:49
msgid "POA Sokol"
msgstr ""
#, elixir-format
#: lib/explorer_web/templates/layout/_footer.html.eex:4
msgid "Facebook"
msgstr ""
#, elixir-format
#: lib/explorer_web/templates/layout/_footer.html.eex:7
msgid "Instagram"
msgstr ""
#, elixir-format
#: lib/explorer_web/templates/layout/_footer.html.eex:13
msgid "Telegram"
msgstr ""
#, elixir-format
#: lib/explorer_web/templates/layout/_footer.html.eex:10
msgid "Twitter"
msgstr ""

Loading…
Cancel
Save