mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
some fix in cache
This commit is contained in:
@@ -41,11 +41,11 @@
|
|||||||
.piece-progress{
|
.piece-progress{
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
background-color:#009090;
|
background-color:#3fb57a;
|
||||||
|
|
||||||
top: 0;
|
top: -1px;
|
||||||
left: 0;
|
left: -1px;
|
||||||
width: 10px;
|
width: 12px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||||
|
|||||||
@@ -122,9 +122,8 @@ export default function DialogCacheInfo(props) {
|
|||||||
</Typography>
|
</Typography>
|
||||||
</DialogTitle>
|
</DialogTitle>
|
||||||
<DialogContent>
|
<DialogContent>
|
||||||
{/*<div className="cache" dangerouslySetInnerHTML={{ __html: getCacheMap(cache) }} />*/}
|
|
||||||
<div className="cache">
|
<div className="cache">
|
||||||
{pMap.map((itm) => <span className={itm.class} title={itm.info}>{itm.prc>0 && itm.prc<100 && (<div className="piece-progress" style={{height: itm.prc+"%"}}></div>)}</span>)}
|
{pMap.map((itm) => <span className={itm.class} title={itm.info}>{itm.prc>0 && itm.prc<100 && (<div className="piece-progress" style={{height: itm.prc/100*12+"px"}}></div>)}</span>)}
|
||||||
</div>
|
</div>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user