Skip to content

Commit

Permalink
[mirotalksfu] - fix typo, improve UI
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed Jul 1, 2024
1 parent 10bac9c commit 6437b81
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
9 changes: 9 additions & 0 deletions public/css/Room.css
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,15 @@ th {
width: 20px;
}

.btn-custom {
width: 100%;
background: var(--body-bg);
padding: 10px;
}
.btn-custom:hover {
background: var(--select-bg);
}

/*--------------------------------------------------------------
# Dropdown menu
--------------------------------------------------------------*/
Expand Down
2 changes: 1 addition & 1 deletion public/js/Room.js
Original file line number Diff line number Diff line change
Expand Up @@ -4032,7 +4032,7 @@ function showAbout() {
imageUrl: image.about,
customClass: { image: 'img-about' },
position: 'center',
title: 'WebRTC SFU 1.4.73',
title: 'WebRTC SFU v1.4.73',
html: `
<br />
<div id="about">
Expand Down
10 changes: 5 additions & 5 deletions public/views/Room.html
Original file line number Diff line number Diff line change
Expand Up @@ -972,10 +972,10 @@ <h1>Loading</h1>
</table>
<div id="file-name"></div>
<!-- <hr /> -->
<button id="startRtmpButton" class="hidden">
<button id="startRtmpButton" class="hidden btn-custom">
<i class="fa-solid fa-play"></i>&nbsp;Start RTMP File Streaming
</button>
<button id="stopRtmpButton" class="hidden">
<button id="stopRtmpButton" class="hidden btn-custom">
<i class="fas fa-stop-circle"></i>&nbsp;Stop RTMP File Streaming
</button>
<hr />
Expand All @@ -988,16 +988,16 @@ <h1>Loading</h1>
value=""
placeholder="https://domain/path/file.mp4"
/>
<button id="startRtmpURLButton" class="hidden">
<button id="startRtmpURLButton" class="hidden btn-custom">
<i class="fa-solid fa-play"></i>&nbsp;Start RTMP URL Streaming
</button>
<button id="stopRtmpURLButton" class="hidden">
<button id="stopRtmpURLButton" class="hidden btn-custom">
<i class="fas fa-stop-circle"></i>&nbsp;Stop RTMP URL Streaming
</button>
<hr />
</div>
<div id="rtmpFromStream">
<button id="streamerRtmpButton" class="hidden">
<button id="streamerRtmpButton" class="hidden btn-custom">
<i class="fa-solid fa-satellite-dish"></i>&nbsp;RTMP Streamer
</button>
<hr />
Expand Down

0 comments on commit 6437b81

Please sign in to comment.