-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Fix #1376: Change callbacks to not store payout data (#1378) * Fix #1375: Add Buttons and Sorting (#1379) * Fix #1373: Separate some concerns in pdr-dashboard. (#1390) * Fix #1374: Display metrics over multiple feeds and predictoors (#1377) * Fix #1400: Fix selections in feed and predictoor list (#1401) * Fix #1385: Add switch to display selected predictoors feeds only (#1395) * Fix #1402: Allow address config for predictoor dashboard. (#1403) * Fix #1404: Allow date period selection (#1405) * Fix #1384: Improve predictoors table by adding accuracy, stake and profit (#1398) * Fix #1409: Add predictoor and feed startup data instead of loading on a dash component (#1411) * Fix #1412: Update dashboard readme with new instructions (#1414) * Fix #1413: Update and split dash_duo tests (#1417)
- Loading branch information
1 parent
be53fdc
commit 1361ee4
Showing
19 changed files
with
1,241 additions
and
338 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
html, body, #root { | ||
margin: 0; | ||
height: 100vh; | ||
} | ||
|
||
body{ | ||
padding: 10px; | ||
} | ||
|
||
.main-container { | ||
height: calc( 100vh - 105px ); | ||
width: 100%; | ||
display: flex; | ||
justify-content: space-between; | ||
} | ||
|
||
#page_title { | ||
width: 100%; | ||
text-align: center; | ||
padding-top: 10px; | ||
padding-bottom: 20px; | ||
} | ||
|
||
#error_message { | ||
display: flex; | ||
width: 100%; | ||
justify-content: center; | ||
align-items: center; | ||
text-align: center; | ||
} | ||
|
||
#loading { | ||
height: calc( 100vh - 105px ); | ||
width: 100%; | ||
} | ||
|
||
#predictoors_container .show-hide { | ||
display: none; | ||
} | ||
|
||
/* Hide the default radio circle */ | ||
#date-period-radio-items input[type="radio"] { | ||
display: none; | ||
} | ||
|
||
button{ | ||
background-color: #007BFF !important; | ||
color: white; | ||
} | ||
|
||
/* Style the label as buttons */ | ||
#date-period-radio-items label { | ||
display: inline-block; | ||
padding: 5px 14px; | ||
margin-right: 10px; | ||
background-color: #007BFF; | ||
color: white; | ||
border: 1px solid #007BFF; | ||
border-radius: 4px; | ||
cursor: pointer; | ||
} | ||
|
||
/* Style for selected label */ | ||
#date-period-radio-items label:has(input:checked) { | ||
background-color: #00254d; | ||
border-color: #0056b3; | ||
} | ||
|
||
.form-check-label, .form-switch{ | ||
margin: 0; | ||
} | ||
|
||
.wrap-with-gap { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
gap: 10px; | ||
} | ||
|
||
.table-title { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
} | ||
|
||
.button-select-all { | ||
border: 0; | ||
min-width: 90px; | ||
font-size: 15px; | ||
background-color: #dedede; | ||
border-radius: 3px; | ||
} | ||
|
||
.button-clear-all { | ||
border: 0; | ||
font-size: 15px; | ||
background-color: #dedede; | ||
border-radius: 3px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
PREDICTOOR_TABLE_COLUMNS = [ | ||
{"name": "User Address", "id": "user_address"}, | ||
{"name": "Profit", "id": "total_profit"}, | ||
{"name": "Accuracy", "id": "avg_accuracy"}, | ||
{"name": "Stake", "id": "avg_stake"}, | ||
{"name": "User", "id": "user"}, | ||
] | ||
|
||
PREDICTOOR_TABLE_HIDDEN_COLUMNS = ["user"] |
Oops, something went wrong.