You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.7 KiB
Smarty
37 lines
1.7 KiB
Smarty
|
|
<div id="chat-modal" class="chat-modal hide" tabindex="-1" role="dialog" aria-labelledby="Chat" aria-hidden="true" data-backdrop="none">
|
|
<div class="modal-dialog">
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
<button id="chat-close-btn" type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
<button type="button" class="close hidden-xs hidden-sm" data-action="maximize"><span aria-hidden="true"><i class="fa fa-expand"></i></span><span class="sr-only">[[modules:chat.maximize]]</span></button>
|
|
<button class="close" component="chat/controlsToggle"><i class="fa fa-gear"></i></button>
|
|
|
|
<h4><!-- IF roomName -->{roomName}<!-- ELSE -->{usernames}<!-- ENDIF roomName --></h4>
|
|
|
|
<form component="chat/controls" style="display: none;">
|
|
<!-- IF showUserInput -->
|
|
<div class="users-tag-container">
|
|
<input class="users-tag-input" type="text" class="form-control" placeholder="enter users here" tabindex="4"/>
|
|
</div>
|
|
<!-- ENDIF showUserInput -->
|
|
<input class="form-control" component="chat/room/name" value="{roomName}" <!-- IF !isOwner -->disabled<!-- ENDIF !isOwner -->/>
|
|
</form>
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
<ul class="chat-content" component="chat/messages">
|
|
<!-- IMPORT partials/chat_messages.tpl -->
|
|
</ul>
|
|
|
|
<div class="input-group">
|
|
<textarea component="chat/input" id="chat-message-input" rows="1" placeholder="[[modules:chat.placeholder]]" name="chat-message" class="form-control"></textarea>
|
|
<span class="input-group-btn">
|
|
<button id="chat-message-send-btn" class="btn btn-primary" href="#" type="button">[[modules:chat.send]]</button>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |