-
Notifications
You must be signed in to change notification settings - Fork 14
/
chat-ai-list.html
39 lines (38 loc) · 1.17 KB
/
chat-ai-list.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<div class="entries-container">
<div class="entries-main-content">
<h2>Chat AI Questions</h2>
{{#if items}}
<div>
<table id="table_chat_ai_questions" class="display">
<thead>
<tr>
<th class="min-width-400">Question</th>
<th class="min-width-100">Created At</th>
</tr>
</thead>
<tbody>
{{#each items}}
<tr>
<td class="word-wrap">{{question}}</td>
<td>{{formatDate createdAt "MMM DD, YYYY hh:mm A"}}</td>
</tr>
{{/each}}
</tbody>
</table>
</div>
{{else}}
<p>There is no questions</p>
{{/if}}
</div>
</div>
<script>
$(document).ready( function () {
$('#table_chat_ai_questions').DataTable({
"pageLength": 100,
"pagingType": "full_numbers",
"lengthChange": false,
"searching": true,
order: [[1, 'desc']],
});
} );
</script>