Skip to content

Commit

Permalink
[mirotalksfu] - improve polls UI, update dep
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed Jul 19, 2024
1 parent 9006ec9 commit 2d396f0
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion app/src/Server.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ dependencies: {
* @license For commercial or closed source, contact us at [email protected] or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - [email protected]
* @version 1.5.16
* @version 1.5.17
*
*/

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mirotalksfu",
"version": "1.5.16",
"version": "1.5.17",
"description": "WebRTC SFU browser-based video calls",
"main": "Server.js",
"scripts": {
Expand Down Expand Up @@ -58,7 +58,7 @@
},
"dependencies": {
"@sentry/integrations": "7.114.0",
"@sentry/node": "8.18.0",
"@sentry/node": "8.19.0",
"axios": "^1.7.2",
"body-parser": "1.20.2",
"colors": "1.4.0",
Expand Down
2 changes: 1 addition & 1 deletion public/css/Polls.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
.polls {
width: 100%;
height: 100%;
max-height: 400px;
overflow-x: hidden;
}

Expand Down Expand Up @@ -110,7 +111,6 @@
}

.polls-container {
margin-top: 20px;
margin-bottom: 70px;
}

Expand Down
2 changes: 1 addition & 1 deletion public/js/Room.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if (location.href.substr(0, 5) !== 'https') location.href = 'https' + location.h
* @license For commercial or closed source, contact us at [email protected] or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - [email protected]
* @version 1.5.16
* @version 1.5.17
*
*/

Expand Down
2 changes: 1 addition & 1 deletion public/js/RoomClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* @license For commercial or closed source, contact us at [email protected] or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - [email protected]
* @version 1.5.16
* @version 1.5.17
*
*/

Expand Down
50 changes: 25 additions & 25 deletions public/views/Room.html
Original file line number Diff line number Diff line change
Expand Up @@ -1457,33 +1457,33 @@ <h2 class="poll-h2">Polls</h2>
<button id="pollCloseBtn" class="fas fa-times"></button>
</div>
</div>
<div class="polls">
<div id="pollForm" class="poll-creation">
<form id="pollCreateForm" class="form">
<div class="form-group">
<label for="question">Question:</label>
<input type="text" id="question" name="question" required />
<div id="pollForm" class="poll-creation">
<form id="pollCreateForm" class="form">
<div class="form-group">
<label for="question">Question:</label>
<input type="text" id="question" name="question" required />
</div>
<div class="form-group">
<label for="options">Options:</label>
<div id="optionsContainer">
<input type="text" name="option" class="option-input" required />
</div>
<div class="form-group">
<label for="options">Options:</label>
<div id="optionsContainer">
<input type="text" name="option" class="option-input" required />
</div>
<br />
<div class="poll-btns">
<button type="button" id="pollAddOptionBtn" class="poll-btn">
<i class="fas fa-plus"></i>
</button>
<button type="button" id="pollDelOptionBtn" class="del-btn">
<i class="fas fa-minus"></i>
</button>
<button type="submit" id="addPollButton" class="poll-btn">
<i class="fas fa-square-poll-horizontal"></i> Create Poll
</button>
</div>
<br />
<div class="poll-btns">
<button type="button" id="pollAddOptionBtn" class="poll-btn">
<i class="fas fa-plus"></i>
</button>
<button type="button" id="pollDelOptionBtn" class="del-btn">
<i class="fas fa-minus"></i>
</button>
<button type="submit" id="addPollButton" class="poll-btn">
<i class="fas fa-square-poll-horizontal"></i> Create Poll
</button>
</div>
</form>
</div>
</div>
</form>
</div>
<div class="polls">
<div id="pollsContainer" class="polls-container"></div>
</div>
</section>
Expand Down

0 comments on commit 2d396f0

Please sign in to comment.