Commit 8df19bc7 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Remove more side menu entries when not allowed to present.

parent 1a925359
...@@ -860,7 +860,6 @@ h1 { ...@@ -860,7 +860,6 @@ h1 {
} }
.sidenav form{ .sidenav form{
display: block;
margin-top: 15px; margin-top: 15px;
} }
......
...@@ -178,6 +178,8 @@ ...@@ -178,6 +178,8 @@
<fieldset> <fieldset>
<legend>Other Settings</legend> <legend>Other Settings</legend>
<form id="sendform">
<label for="sendselect" class="label-first">Send:</label> <label for="sendselect" class="label-first">Send:</label>
<select id="sendselect" class="select select-inline"> <select id="sendselect" class="select select-inline">
<option value="lowest">lowest</option> <option value="lowest">lowest</option>
...@@ -185,7 +187,9 @@ ...@@ -185,7 +187,9 @@
<option value="normal" selected>normal</option> <option value="normal" selected>normal</option>
<option value="unlimited">unlimited</option> <option value="unlimited">unlimited</option>
</select> </select>
</form>
<form id="requestform">
<label for="requestselect">Receive:</label> <label for="requestselect">Receive:</label>
<select id="requestselect" class="select select-inline"> <select id="requestselect" class="select select-inline">
<option value="">nothing</option> <option value="">nothing</option>
...@@ -193,16 +197,18 @@ ...@@ -193,16 +197,18 @@
<option value="screenshare">screen share</option> <option value="screenshare">screen share</option>
<option value="everything" selected>everything</option> <option value="everything" selected>everything</option>
</select> </select>
</form>
<form> <form>
<input id="activitybox" type="checkbox">Activity detection</input> <input id="activitybox" type="checkbox">Activity detection</input>
</form> </form>
<form> </fieldset>
<form id="fileform">
<label for="fileinput">Play local file:</label> <label for="fileinput">Play local file:</label>
<input type="file" id="fileinput" accept="audio/*,video/*" multiple></input> <input type="file" id="fileinput" accept="audio/*,video/*" multiple></input>
</form> </form>
</fieldset>
</div> </div>
</div> </div>
......
...@@ -401,6 +401,8 @@ function setButtonsVisibility() { ...@@ -401,6 +401,8 @@ function setButtonsVisibility() {
setVisibility('stopvideobutton', video); setVisibility('stopvideobutton', video);
setVisibility('mediaoptions', permissions.present); setVisibility('mediaoptions', permissions.present);
setVisibility('sendform', permissions.present);
setVisibility('fileform', permissions.present);
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment