[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
presto-player
/
src
/
admin
/
blocks
/
shared
/
media
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 MediaFolder.js
1,335 B
SET
[ EDIT ]
|
[ DEL ]
📄 MediaItem.js
1,631 B
SET
[ EDIT ]
|
[ DEL ]
📄 MediaPopup.js
8,738 B
SET
[ EDIT ]
|
[ DEL ]
📄 MediaPopupTemplate.js
2,902 B
SET
[ EDIT ]
|
[ DEL ]
📄 chunk-upload.js
1,696 B
SET
[ EDIT ]
|
[ DEL ]
📄 styles.js
132 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: MediaFolder.js
export default ({ item, onClick, className }) => { function bytesToSize(bytes) { var sizes = ["Bytes", "KB", "MB", "GB", "TB"]; if (bytes == 0) return "0 Byte"; var i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024))); return Math.round(bytes / Math.pow(1024, i), 2) + " " + sizes[i]; } function formatDate(date) { return new Date(date).toLocaleString(); } return ( <div className={`presto-player__media-list-item ${className}`} onClick={onClick} > <div className="presto-player__media-list-item-icon"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinecap="round" > <polygon points="23 7 16 12 23 17 23 7"></polygon> <rect x="1" y="5" width="15" height="14" rx="2" ry="2"></rect> </svg> </div> <div className="presto-player__media-list-item-title">{item?.title}</div> <div className="presto-player__media-list-item-size"> {bytesToSize(item?.size)} </div> <div className="presto-player__media-list-item-modified"> {formatDate(item.updated_at)} </div> </div> ); };