mirror of
https://github.com/jech/galene.git
synced 2024-11-22 16:45:58 +01:00
Remove more side menu entries when not allowed to present.
This commit is contained in:
parent
1a92535957
commit
8df19bc760
3 changed files with 27 additions and 20 deletions
|
@ -860,7 +860,6 @@ h1 {
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidenav form{
|
.sidenav form{
|
||||||
display: block;
|
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -178,31 +178,37 @@
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Other Settings</legend>
|
<legend>Other Settings</legend>
|
||||||
<label for="sendselect" class="label-first">Send:</label>
|
|
||||||
<select id="sendselect" class="select select-inline">
|
<form id="sendform">
|
||||||
<option value="lowest">lowest</option>
|
<label for="sendselect" class="label-first">Send:</label>
|
||||||
<option value="low">low</option>
|
<select id="sendselect" class="select select-inline">
|
||||||
<option value="normal" selected>normal</option>
|
<option value="lowest">lowest</option>
|
||||||
<option value="unlimited">unlimited</option>
|
<option value="low">low</option>
|
||||||
</select>
|
<option value="normal" selected>normal</option>
|
||||||
|
<option value="unlimited">unlimited</option>
|
||||||
<label for="requestselect">Receive:</label>
|
</select>
|
||||||
<select id="requestselect" class="select select-inline">
|
</form>
|
||||||
<option value="">nothing</option>
|
|
||||||
<option value="audio">audio only</option>
|
<form id="requestform">
|
||||||
<option value="screenshare">screen share</option>
|
<label for="requestselect">Receive:</label>
|
||||||
<option value="everything" selected>everything</option>
|
<select id="requestselect" class="select select-inline">
|
||||||
</select>
|
<option value="">nothing</option>
|
||||||
|
<option value="audio">audio only</option>
|
||||||
|
<option value="screenshare">screen share</option>
|
||||||
|
<option value="everything" selected>everything</option>
|
||||||
|
</select>
|
||||||
|
</form>
|
||||||
|
|
||||||
<form>
|
<form>
|
||||||
<input id="activitybox" type="checkbox">Activity detection</input>
|
<input id="activitybox" type="checkbox">Activity detection</input>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<form>
|
|
||||||
<label for="fileinput">Play local file:</label>
|
|
||||||
<input type="file" id="fileinput" accept="audio/*,video/*" multiple></input>
|
|
||||||
</form>
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
|
<form id="fileform">
|
||||||
|
<label for="fileinput">Play local file:</label>
|
||||||
|
<input type="file" id="fileinput" accept="audio/*,video/*" multiple></input>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue