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{
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
background-color:#009090;
|
||||
background-color:#3fb57a;
|
||||
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 10px;
|
||||
top: -1px;
|
||||
left: -1px;
|
||||
width: 12px;
|
||||
}
|
||||
</style>
|
||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||
|
||||
@@ -122,9 +122,8 @@ export default function DialogCacheInfo(props) {
|
||||
</Typography>
|
||||
</DialogTitle>
|
||||
<DialogContent>
|
||||
{/*<div className="cache" dangerouslySetInnerHTML={{ __html: getCacheMap(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>
|
||||
</DialogContent>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user