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.

54 lines
2.1 KiB
Smarty

9 years ago
<!-- IMPORT partials/breadcrumbs.tpl -->
<div class="row chats-page">
<div class="col-md-4">
<div class="chat-search hidden-xs">
<input class="form-control" type="text" component="chat/search" placeholder="[[users:enter_username]]" />
</div>
<ul component="chat/search/list" class="chat-search-list">
8 years ago
</ul>
<ul component="chat/recent" class="chats-list" data-nextstart="{nextStart}">
9 years ago
<!-- BEGIN rooms -->
<!-- IMPORT partials/chats/recent_room.tpl -->
9 years ago
<!-- END rooms -->
</ul>
</div>
<div class="col-md-8 hidden-sm hidden-xs">
9 years ago
<!-- IF roomId -->
<div component="chat/messages" class="expanded-chat" data-roomid="{roomId}">
<button type="button" class="close" data-action="pop-out"><span aria-hidden="true"><i class="fa fa-compress"></i></span><span class="sr-only">[[modules:chat.pop-out]]</span></button>
<button class="close controlsToggle" component="expanded-chat/controlsToggle"><i class="fa fa-gear"></i></button>
<div class="controls hide" component="expanded-chat/controls">
<!-- IF showUserInput -->
<div class="users-tag-container">
<input class="users-tag-input" type="text" class="form-control" placeholder="[[modules:chat.add-users-to-room]]" tabindex="4"/>
</div>
<!-- ENDIF showUserInput -->
9 years ago
<input class="form-control" component="chat/room/name" value="{roomName}" <!-- IF !isOwner -->disabled<!-- ENDIF !isOwner -->/>
<hr />
</div>
<ul class="chat-content">
<!-- IMPORT partials/chats/messages.tpl -->
</ul>
<div class="input-group">
8 years ago
<textarea component="chat/input" placeholder="[[modules:chat.placeholder]]" class="form-control chat-input mousetrap" rows="1" <!-- IF !canReply -->readonly<!-- ENDIF !canReply -->></textarea>
<span class="input-group-btn">
8 years ago
<button class="btn btn-primary" type="button" data-action="send" <!-- IF !canReply -->disabled<!-- ENDIF !canReply -->>[[modules:chat.send]]</button>
</span>
</div>
<span component="chat/message/length">0</span>/<span>{maximumChatMessageLength}</span>
10 years ago
</div>
<!-- ELSE -->
<div class="alert alert-info">
[[modules:chat.no-messages]]
</div>
9 years ago
<!-- ENDIF roomId -->
10 years ago
</div>
</div>