mirror of
https://github.com/webxoss/webxoss-client.git
synced 2024-11-20 05:49:55 +01:00
host rename room only
This commit is contained in:
parent
7a0a1e73e5
commit
bce64d3357
3 changed files with 5 additions and 1 deletions
|
@ -609,6 +609,9 @@ function updateRoom (msgObj) {
|
|||
}
|
||||
|
||||
$('room-name').value = msgObj.roomName;
|
||||
if (!isHost()) {
|
||||
$('room-name').readOnly = true;
|
||||
}
|
||||
$('room-host-nickname').textContent = msgObj.host;
|
||||
$('room-guest-nickname').textContent = msgObj.guest;
|
||||
setClass($('room-guest-nickname'),'ready',msgObj.guestReady);
|
||||
|
|
1
css.css
1
css.css
|
@ -418,6 +418,7 @@ ol,ul,li {
|
|||
text-align: center;
|
||||
background: transparent;
|
||||
border: none;
|
||||
widows: 15em;
|
||||
}
|
||||
#room-host-nickname {
|
||||
color: #77d25b;
|
||||
|
|
|
@ -88,7 +88,7 @@
|
|||
<tr>
|
||||
<td colspan="100">
|
||||
<form id="room-name-form">
|
||||
<input id="room-name" type="text"></input>
|
||||
<input id="room-name" type="text" maxlength="15"></input>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in a new issue