+
+ },
+ itemOpened: { padding: 0, width: '100%', alignItems: 'stretch' },
+ itemTitle: {
+ color: 'rgba(218, 218, 218, 0.9)',
+ padding: 0, width: '100%',
+ },
+ control: {
+ color: 'rgba(218, 218, 218, 0.9)',
+ padding: 0, margin: 0, height: '100%',
+ backgroundColor: 'rgba(56, 56, 56, 0.8)',
+ boxShadow: 'inset 3px 3px 12px 2px rgba(62, 62, 104, 0.05)',
+ color: 'black',
+ border: 'none',
+ '&:hover': {
+ color: 'black',
+ backgroundColor: 'rgba(56, 56, 56, 0.9)',
+ },
+ '&': {
+ color: 'black',
+ backgroundColor: 'rgba(56, 56, 56, 0.8)',
+ border: 'none',
+ }
+ },
+ label: {
+ color: 'rgba(218, 218, 218, 0.9)',
+ padding: '1em', width: '100%',
+ backgroundColor: 'rgba(56, 56, 56, 0.8)',
+ boxShadow: 'inset 3px 3px 12px 2px rgba(62, 62, 104, 0.05)'
+ },
+ icon: {
+ padding: '0.2em', margin: '0.2em',
+ },
+ content: {
+ padding: 0, alignItems: 'stretch', width: '100%', height: '100%',
+ backgroundColor: 'rgba(56, 56, 56, 0.3)',
+ boxShadow: 'inset 3px 3px 12px 2px rgba(62, 62, 104, 0.05)'
+ },
+ contentInner: { padding: 0, width: '100%', height: '100%' },
+ }}>
+ {
+ livepeer.monthlyStats.slice(0).reverse().map(function (data, i) {
+ let thisMonth = "";
+ let monthAsNum = data.month;
+ if (monthAsNum == 0) {
+ thisMonth = "Januari";;
+ } else if (monthAsNum == 1) {
+ thisMonth = "Februari";;
+ } else if (monthAsNum == 2) {
+ thisMonth = "March";;
+ } else if (monthAsNum == 3) {
+ thisMonth = "April";
+ } else if (monthAsNum == 4) {
+ thisMonth = "May";
+ } else if (monthAsNum == 5) {
+ thisMonth = "June";
+ } else if (monthAsNum == 6) {
+ thisMonth = "July";
+ } else if (monthAsNum == 7) {
+ thisMonth = "August";
+ } else if (monthAsNum == 8) {
+ thisMonth = "September";
+ } else if (monthAsNum == 9) {
+ thisMonth = "October";
+ } else if (monthAsNum == 10) {
+ thisMonth = "November";
+ } else if (monthAsNum == 11) {
+ thisMonth = "December";;
+ }
+
+ const title = data.year + "-" + thisMonth + ": " + data.winningTicketsReceived.length + " orchestrators earned " + data.winningTicketsReceivedSum.toFixed(2) + " Eth";
+
+ return (
+
+
+
+ )
+ })
+ }
+