Highlight current session

This commit is contained in:
KernelDeimos 2024-04-13 02:30:40 -04:00
parent 8db8ec3574
commit 199b68a964
2 changed files with 7 additions and 0 deletions

View File

@ -28,6 +28,9 @@ const UIWindowManageSessions = async function UIWindowManageSessions () {
const SessionWidget = ({ session }) => {
const el = document.createElement('div');
el.classList.add('session-widget');
if ( session.current ) {
el.classList.add('current-session');
}
el.dataset.uuid = session.uuid;
// '<pre>' +
// JSON.stringify(session, null, 2) +

View File

@ -3738,6 +3738,10 @@ label {
gap: 4px;
}
.current-session.session-widget {
background-color: #f0f0f0;
}
.session-widget-uuid {
font-size: 12px;
font-weight: 600;