first
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<div class="card chat-card">
|
||||
<div class="card-block">
|
||||
<div id="support-chat">
|
||||
|
||||
<%
|
||||
|
||||
for (var i = 0; i < one2one.length; i++) {
|
||||
var hero = one2one[i]
|
||||
hero.created = moment(hero.created).fromNow()
|
||||
if (hero.type === 'send') {
|
||||
%><%-include(infos.basePath + "/widgets/item-chat-send", { infos: infos, hero: hero }) %><%
|
||||
} else if (hero.type === 'received') {
|
||||
%><%-include(infos.basePath + "/widgets/item-chat-received", { infos: infos, hero: hero }) %><%
|
||||
} else if (hero.type === 'system') {
|
||||
%><%-include(infos.basePath + "/widgets/item-chat-system", { infos: infos, hero: hero }) %><%
|
||||
}
|
||||
}
|
||||
|
||||
%>
|
||||
</div>
|
||||
|
||||
<div class="right-icon-control">
|
||||
<div class="input-group input-group-button">
|
||||
<input id="support-message" type="text" class="form-control" placeholder="문의할 내용을 입력해 주세요.">
|
||||
<div class="input-group-append">
|
||||
<button class="btn btn-primary waves-effect waves-light" type="button" onclick="doAllThingsInSafe('insert', {target: 'support:ask'})"><i class="feather icon-message-circle"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="card-footer">
|
||||
<div class="text-right">
|
||||
<a href="javascript:void(0);" onclick="doAllThingsInSafe('delete', {target: 'support:ask'})"><i class="feather icon-trash-2 f-w-600 f-16 text-c-red"></i>상담내역 삭제</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user