Add delegator title

This commit is contained in:
Marco van Dijk 2022-03-04 02:40:28 +01:00
parent f9dfe96d5e
commit f8b41a655c
2 changed files with 4 additions and 3 deletions

View File

@ -41,9 +41,8 @@ const Orchestrator = (obj) => {
return ( return (
<div className="hostInfo"> <div className="hostInfo">
<div className="strokeSmollLeft" style={{ display: "flex" }}> <div className="strokeSmollLeft" style={{ display: "flex" }}>
<div style={{ flexDirection: 'row', display: "flex" }}> <div style={{ flexDirection: 'row', display: "flex" }} style={{marginTop: '1em'}}>
<a href={thisUrl}> <a href={thisUrl}>
<img alt="" src="livepeer.png" width="30" height="30" />
<h3 style={{ padding: 0, margin: 0 }}>Orchestrator Info</h3> <h3 style={{ padding: 0, margin: 0 }}>Orchestrator Info</h3>
{thisID} {thisID}
</a> </a>
@ -55,6 +54,9 @@ const Orchestrator = (obj) => {
<Stat header={"Self Stake"} content={selfStake + " LPT(" + selfStakeRatio + ")%"} /> <Stat header={"Self Stake"} content={selfStake + " LPT(" + selfStakeRatio + ")%"} />
</div> </div>
<div className="strokeSmollLeft" style={{ alignItems: 'stretch', flex: 2, marginLeft: '1em', borderLeft: '3px solid rgba(15,15,15,0.05)' }}> <div className="strokeSmollLeft" style={{ alignItems: 'stretch', flex: 2, marginLeft: '1em', borderLeft: '3px solid rgba(15,15,15,0.05)' }}>
<div className="row" style={{marginTop: '1em'}}>
<h3 style={{ padding: 0, margin: 0 }}>Current Delegators</h3>
</div>
<div className="content-wrapper"> <div className="content-wrapper">
<ScrollContainer className="overflow-container" hideScrollbars={false}> <ScrollContainer className="overflow-container" hideScrollbars={false}>
<div className="overflow-content" style={{ cursor: 'grab', height: '300px' }}> <div className="overflow-content" style={{ cursor: 'grab', height: '300px' }}>

View File

@ -1,7 +1,6 @@
import React from "react"; import React from "react";
const Stat = (obj) => { const Stat = (obj) => {
console.log(obj);
return ( return (
<div className="strokeSmollLeft" style={{margin: 0, padding: 0}}> <div className="strokeSmollLeft" style={{margin: 0, padding: 0}}>
<div className="rowAlignLeft" style={{margin: 0, padding: 0}}> <div className="rowAlignLeft" style={{margin: 0, padding: 0}}>