Style footer Job-counts.
This commit is contained in:
parent
30f3903662
commit
09be1c64a3
@ -1,6 +1,8 @@
|
||||
import React, {useEffect} from 'react';
|
||||
import '../styles/footer.css';
|
||||
import {Job} from './Job';
|
||||
import Icon from '@mdi/react';
|
||||
import { mdiRun, mdiCounter, mdiEyeCheck } from '@mdi/js';
|
||||
|
||||
export default function Footer(){
|
||||
const [MonitoringJobsCount, setMonitoringJobsCount] = React.useState(0);
|
||||
@ -19,9 +21,9 @@ export default function Footer(){
|
||||
|
||||
return (
|
||||
<footer>
|
||||
<p>{MonitoringJobsCount}</p>
|
||||
<p>{AllJobsCount}</p>
|
||||
<p>{RunningJobsCount}</p>
|
||||
<div><Icon path={mdiEyeCheck} size={1} /> <span>{MonitoringJobsCount}</span></div>
|
||||
<div><Icon path={mdiRun} size={1} /> <span>{RunningJobsCount}</span></div>
|
||||
<div><Icon path={mdiCounter} size={1} /> <span>{AllJobsCount}</span></div>
|
||||
<p id="madeWith">Made with Blåhaj 🦈</p>
|
||||
</footer>)
|
||||
}
|
@ -18,4 +18,19 @@ footer {
|
||||
text-align: right;
|
||||
margin-right: 20px;
|
||||
cursor: url("Website/media/blahaj.png"), grab;
|
||||
}
|
||||
|
||||
footer div {
|
||||
margin: 0 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-items: center;
|
||||
background-color: rgba(255,255,255, 0.3);
|
||||
border-radius: 10px;
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
footer div > * {
|
||||
margin: 0 2px;
|
||||
padding: 3px 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user