mirror of
https://github.com/dani/vroom.git
synced 2024-06-30 07:13:41 +02:00
Add a etherpad button (if etherpad is enabled)
This commit is contained in:
parent
6416c8ac6a
commit
745d3ab685
|
@ -31,6 +31,12 @@
|
||||||
0
|
0
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
|
<% if ($etherpad eq 'true'){ %>
|
||||||
|
<button id="etherpad" class="btn btn-default help" data-toggle="tooltip" data-placement="bottom" title="<%=l 'OPEN_ETHERPAD' %>">
|
||||||
|
<span class="glyphicon glyphicon-pencil">
|
||||||
|
</span>
|
||||||
|
</button>
|
||||||
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-group navbar-form navbar-left" data-toggle="buttons">
|
<div class="btn-group navbar-form navbar-left" data-toggle="buttons">
|
||||||
<label class="btn btn-default help" id="muteMicLabel" data-toggle="tooltip" data-placement="bottom" title="<%=l 'MUTE_MIC' %>">
|
<label class="btn btn-default help" id="muteMicLabel" data-toggle="tooltip" data-placement="bottom" title="<%=l 'MUTE_MIC' %>">
|
||||||
|
@ -783,6 +789,7 @@
|
||||||
var roomName = '<%= $room %>';
|
var roomName = '<%= $room %>';
|
||||||
$( document ).ready(function() {
|
$( document ).ready(function() {
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
|
etherpad = <%= $etherpad %>;
|
||||||
<% if ($video eq 'false'){ %>
|
<% if ($video eq 'false'){ %>
|
||||||
videoConstraints = false;
|
videoConstraints = false;
|
||||||
<% } else{ %>
|
<% } else{ %>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user