Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
1cff1bc
(add) POSDAO-only stakes elements
gabitoesmiapodo Apr 25, 2019
c1e67c6
Merge branch 'feature/new-theming-capabilites' into feature/#1476-new…
gabitoesmiapodo Apr 26, 2019
6f01dc6
(update) dashboard colors
gabitoesmiapodo Apr 26, 2019
472ffa9
(update) tooltip color
gabitoesmiapodo Apr 26, 2019
257e31b
mix gettext
saneery Apr 27, 2019
e6c6ab0
Merge branch 'master' into feature/#1476-new-pages-for-POSDAO-network-
gabitoesmiapodo Apr 29, 2019
b924d39
(fix) table column title
gabitoesmiapodo Apr 29, 2019
be651df
Merge branch 'master' into feature/#1476-new-pages-for-POSDAO-network-
gabitoesmiapodo Apr 29, 2019
9e31e04
(update) mix.lock
gabitoesmiapodo Apr 29, 2019
900dfbe
Merge pull request #1853 from poanetwork/feature/#1476-new-pages-for-…
vbaranov Apr 29, 2019
7465862
Merge master
vbaranov May 6, 2019
aa1ade0
Upstream from master
vbaranov Jun 5, 2019
91e5a1a
merge master
saneery Jun 10, 2019
1fc577a
merge master
saneery Jun 21, 2019
65429e3
Replace posdao css variables by dai
saneery Jun 21, 2019
eace8c3
Fix using invalid template name
saneery Jun 21, 2019
1cdc01f
Merge pull request #2217 from poanetwork/replace-posdao-variables
vbaranov Jun 21, 2019
298e28d
staking page colors and gaps issues
maxgrapps Jun 25, 2019
56adbb8
Update CHANGELOG.md
maxgrapps Jun 25, 2019
b5149c2
Merge pull request #2236 from maxgrapps/production-posdao
vbaranov Jun 25, 2019
5b86ac2
staking colors issues, staking modal issues
maxgrapps Jun 27, 2019
04b91e9
Update CHANGELOG.md
maxgrapps Jun 27, 2019
f35c9f8
Merge pull request #2260 from maxgrapps/production-posdao
vbaranov Jun 27, 2019
9c62f57
Enable staking when POS contract addresses are provided via env vars
goodsoft Jul 6, 2019
e9e6543
Fetch inactive delegators, mark pools and delegators deleted (#2205)
saneery Jul 4, 2019
d206b3e
Render lists of validators and staking pools (#2215)
saneery Jul 5, 2019
410f9db
Add async login and logout by MetaMask
saneery Jun 21, 2019
1657766
Add async updating of blocks counter
saneery Jun 22, 2019
cec6f14
Add new epoch ws channel
saneery Jun 22, 2019
8fd5d2a
Add async updating of epoch number
saneery Jun 22, 2019
5f190ad
Add new epoch channel test
saneery Jun 22, 2019
629c597
Fix broadcasting order
saneery Jun 23, 2019
3cf4678
fix eslint warnings
saneery Jun 23, 2019
ac2dd98
Use gettext in the epoch end counter
saneery Jul 1, 2019
1957b20
Become a candidate functionality
saneery Jun 23, 2019
182894d
Add interface to remove pool
saneery Jun 23, 2019
809a80d
Add functionality to make a stake
saneery Jun 21, 2019
cda2c12
Add functionality to move a stake
saneery Jun 21, 2019
6c45bfc
Add functionality to withdraw, order a withdraw and claim an order
saneery Jun 21, 2019
13863d5
Add modal window with pool's information
saneery Jun 21, 2019
014d677
Get pool's info when it isn't in addresses list
saneery Jun 27, 2019
59460bf
Rendering POSDAO's token symbol at templates
saneery Jul 1, 2019
42ae9bb
Initial commit
RichTwicz Feb 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
- [#2146](https://github.com/poanetwork/blockscout/pull/2146) - feat: add eth_getLogs rpc endpoint

### Fixes
- [#2260](https://github.com/poanetwork/blockscout/pull/2260) - staking colors issues, staking modal issues
- [#2236](https://github.com/poanetwork/blockscout/pull/2236) - staking page colors, gaps, and pagination issues
- [#2201](https://github.com/poanetwork/blockscout/pull/2201) - footer columns fix
- [#2179](https://github.com/poanetwork/blockscout/pull/2179) - fix docker build error
- [#2165](https://github.com/poanetwork/blockscout/pull/2165) - sort blocks by timestamp when calculating average block time
Expand Down
13 changes: 13 additions & 0 deletions apps/block_scout_web/assets/css/components/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,19 @@ $card-tab-icon-color-active: #20b760 !default;
}
}

.card-title-paging {
padding: 0px $card-horizontal-padding;
display: flex;
justify-content: flex-end;
}

.card-footer-paging {
padding: 0px $card-horizontal-padding;
padding-bottom: 25px;
display: flex;
justify-content: flex-end;
}

.card-title-controls {
align-items: center;
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
border-bottom-right-radius: 0;
}

&.b-b-l-0 {
border-bottom-left-radius: 0;
}

.modal-bottom-disclaimer-graphic {
flex-shrink: 0;
padding-right: 15px;
Expand Down
23 changes: 23 additions & 0 deletions apps/block_scout_web/assets/css/components/_modal_stake.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,26 @@
.modal-stake-two-cols {
display: flex;
}

.modal-stake-move {
max-width: 100%;
width: 680px;

@include media-breakpoint-down(sm) {
margin-left: auto;
margin-right: auto;
}
}

.modal-stake-middle {
border-left: 1px solid $base-border-color;

height: 100%;
}

.modal-stake-left {
flex-shrink: 0;
height: 100%;
padding: $modal-vertical-padding $modal-horizontal-padding;
width: 190px;
}
4 changes: 2 additions & 2 deletions apps/block_scout_web/assets/css/components/_modal_status.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ $modal-status-graph-question: #329ae9 !default;

.modal-status-graph {
align-items: center;
border-top-left-radius: $modal-border-radius;
border-top-right-radius: $modal-border-radius;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
display: flex;
height: 135px;
justify-content: center;
Expand Down
14 changes: 13 additions & 1 deletion apps/block_scout_web/assets/css/components/_stakes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ $stakes-stats-item-border-color: #fff !default;
.stakes-top-stats {
display: flex;
justify-content: space-between;
align-items: center;

@include stats-item($stakes-stats-item-border-color, $stakes-stats-item-color);

Expand Down Expand Up @@ -67,8 +68,12 @@ $stakes-stats-item-border-color: #fff !default;
}
}

.stakes-top-stats-unit {
padding-left: 5px;
}

.stakes-top-stats-login {
color: $primary;
color: $secondary;
cursor: pointer;
margin-right: 8px;
}
Expand Down Expand Up @@ -140,3 +145,10 @@ $stakes-stats-item-border-color: #fff !default;
justify-self: center;
}
}

.staking-pg-container {
padding: 0 30px 30px;
&.at-bottom {
padding-top: 30px;
}
}
35 changes: 34 additions & 1 deletion apps/block_scout_web/assets/css/components/_stakes_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,42 @@ $stakes-table-cell-separation: 25px !default;
}

.stakes-td-link-style {
color: $primary;
color: $secondary;

.stakes-tr-banned & {
color: $stakes-banned-color;
}
}

.stakes-tr-banned td:last-child {
text-align: right;
padding-right: 30px;
}

.stakes-table {
.check-tooltip {
&:hover {
.check-tooltip-circle {
fill: $secondary;
}
}
}
.stakes-tr-banned {
.check-tooltip {
.check-tooltip-circle {
fill: rgba($stakes-banned-color, .15);
}
.check-tooltip-check {
fill: $stakes-banned-color;
}
&:hover {
.check-tooltip-circle {
fill: $stakes-banned-color;
}
.check-tooltip-check {
fill: #fff;
}
}
}
}
}
39 changes: 38 additions & 1 deletion apps/block_scout_web/assets/css/theme/_dai_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,41 @@ $card-tab-active: $secondary;
// Badges
$badge-neutral-color: #20446e;
$badge-neutral-background-color: rgba(#20446e, .1);
$api-text-monospace-color: #20446e;
$api-text-monospace-color: #20446e;

// Staking
$stakes-btn-remove-pool-color: $secondary;
$stakes-dashboard-copy-icon-color: $secondary;
$btn-full-primary-bg: $secondary;
$stakes-address-color: $secondary;
$stakes-control-color: $secondary;
$progress-from-to-progress-background: $secondary;
$stakes-stats-item-border-color: rgba(#fff, .5);
$check-color: $secondary;
$modal-status-graph-success: $secondary;
.modal-content {
.form-control {
box-shadow: none !important;
outline: none !important;
border-color: #e2e5ec !important;
}
.btn-line {
border-color: $primary;
color: $primary;
&:hover {
background-color: $primary
}
}
}
.stakes-table-th-content {
.i-tooltip {
position: relative;
top: -2px;
}
}
.stakes-address-container {
.check-tooltip {
position: relative;
top: -1px;
}
}
5 changes: 2 additions & 3 deletions apps/block_scout_web/assets/css/theme/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "theme/base_variables";
@import "neutral_variables";
// @import "dai_variables";
// @import "neutral_variables";
@import "dai_variables";
// @import "ethereum_classic_variables";
// @import "ethereum_variables";
// @import "ether1_variables";
Expand All @@ -12,7 +12,6 @@
// @import "musicoin_variables";
// @import "pirl_variables";
// @import "poa_variables";
// @import "posdao_variables";
// @import "rinkeby_variables";
// @import "ropsten_variables";
// @import "social_variables";
Expand Down
1 change: 1 addition & 0 deletions apps/block_scout_web/assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import './pages/chain'
import './pages/pending_transactions'
import './pages/transaction'
import './pages/transactions'
import './pages/stakes'

import './pages/admin/tasks.js'

Expand Down
Loading