Skip to content

Commit

Permalink
Merge pull request #1113 from skrashevich/ui-move-probe-link
Browse files Browse the repository at this point in the history
Refactor probe link placement in UI
  • Loading branch information
AlexxIT authored May 17, 2024
2 parents b1ba5ba + 0cb013a commit 2a8a3f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
const templates = [
'<a href="stream.html?src={name}">stream</a>',
'<a href="links.html?src={name}">links</a>',
'<a href="api/streams?src={name}&video=all&audio=all&microphone">probe</a>',
'<a href="#" data-name="{name}">delete</a>',
];

Expand Down Expand Up @@ -140,7 +139,7 @@
const isChecked = checkboxStates[name] ? 'checked' : '';
tr.innerHTML =
`<td><label><input type="checkbox" name="${name}" ${isChecked}>${name}</label></td>` +
`<td><a href="api/streams?src=${src}">${online} / info</a></td>` +
`<td><a href="api/streams?src=${src}">${online} / info</a> / <a href="api/streams?src=${src}&video=all&audio=all&microphone">probe</a></td>` +
`<td>${links}</td>`;
}

Expand Down

0 comments on commit 2a8a3f1

Please sign in to comment.