Skip to content

Commit

Permalink
Session. U/X dev
Browse files Browse the repository at this point in the history
  • Loading branch information
turner committed Jan 25, 2024
1 parent d279895 commit 4875ef0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
5 changes: 5 additions & 0 deletions css/_localTrackFileCard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
height: fit-content;
width: 384px;

.card-header {
font-size: 1.4rem;
background-color: white;
}

li {
input {
margin-right: 8px;
Expand Down
4 changes: 4 additions & 0 deletions css/app.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/app.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions js/sessionUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function createLocalTrackFileCard(parentElement, id, browser){

// const str =
// `The session file used contains these local track files. They cannot be loaded automatically. Click on a name to present the file picker to load the file.`
const str = 'Session Local Files'
const str = 'Unloaded Session Local Files'

let html =
`<div id="${ id }" class="card">
Expand Down Expand Up @@ -187,11 +187,10 @@ function createLocalTrackFileCard(parentElement, id, browser){
for (const name of names) {
const listItemElement = document.querySelector(`[data-filename="${ name }"]`)
if (null !== listItemElement) {
console.log(`Retrieved file ${ name } is a local session file`)
listItemElement.style.backgroundColor = 'pink'
const inputElement = listItemElement.querySelector('input')
inputElement.disabled = false
inputElement.checked = true
listItemElement.style.backgroundColor = '#007bff1c'
} else {
console.log(`Retrieved file ${ name } is NOT a local session file`)
}
Expand Down

0 comments on commit 4875ef0

Please sign in to comment.