2023-11-29 01:05:50 +00:00
|
|
|
{{template "base" .}} {{define "title"}}Activity{{end}} {{define "header"}}
|
2023-09-23 02:12:36 +00:00
|
|
|
<a href="./activity">Activity</a>
|
|
|
|
{{end}} {{define "content"}}
|
2023-10-10 23:06:12 +00:00
|
|
|
<div class="overflow-x-auto">
|
2023-09-21 00:35:01 +00:00
|
|
|
<div class="inline-block min-w-full overflow-hidden rounded shadow">
|
2023-11-04 16:27:35 +00:00
|
|
|
<table class="min-w-full leading-normal bg-white dark:bg-gray-700 text-sm">
|
2023-09-21 00:35:01 +00:00
|
|
|
<thead class="text-gray-800 dark:text-gray-400">
|
|
|
|
<tr>
|
2023-11-04 16:51:00 +00:00
|
|
|
<th class="p-3 font-normal text-left uppercase border-b border-gray-200 dark:border-gray-800">
|
2023-09-21 00:35:01 +00:00
|
|
|
Document
|
|
|
|
</th>
|
2023-11-04 16:51:00 +00:00
|
|
|
<th class="p-3 font-normal text-left uppercase border-b border-gray-200 dark:border-gray-800">
|
2023-09-21 00:35:01 +00:00
|
|
|
Time
|
|
|
|
</th>
|
2023-11-04 16:51:00 +00:00
|
|
|
<th class="p-3 font-normal text-left uppercase border-b border-gray-200 dark:border-gray-800">
|
2023-09-21 00:35:01 +00:00
|
|
|
Duration
|
|
|
|
</th>
|
2023-11-04 16:51:00 +00:00
|
|
|
<th class="p-3 font-normal text-left uppercase border-b border-gray-200 dark:border-gray-800">
|
2023-11-03 23:38:31 +00:00
|
|
|
Percent
|
2023-09-21 00:35:01 +00:00
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody class="text-black dark:text-white">
|
2023-10-07 01:25:56 +00:00
|
|
|
{{ if not .Data }}
|
|
|
|
<tr>
|
|
|
|
<td class="text-center p-3" colspan="4">No Results</td>
|
|
|
|
</tr>
|
|
|
|
{{ end }}
|
2023-09-21 00:35:01 +00:00
|
|
|
{{range $activity := .Data }}
|
|
|
|
<tr>
|
|
|
|
<td class="p-3 border-b border-gray-200">
|
2023-09-23 02:12:36 +00:00
|
|
|
<a href="./documents/{{ $activity.DocumentID }}">{{ $activity.Author }} - {{ $activity.Title }}</p></a>
|
2023-09-21 00:35:01 +00:00
|
|
|
</td>
|
|
|
|
<td class="p-3 border-b border-gray-200">
|
|
|
|
<p>{{ $activity.StartTime }}</p>
|
|
|
|
</td>
|
|
|
|
<td class="p-3 border-b border-gray-200">
|
|
|
|
<p>{{ $activity.Duration }}</p>
|
|
|
|
</td>
|
|
|
|
<td class="p-3 border-b border-gray-200">
|
2023-11-27 02:41:17 +00:00
|
|
|
<p>{{ $activity.EndPercentage }}%</p>
|
2023-09-21 00:35:01 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{end}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-09-18 23:57:18 +00:00
|
|
|
{{end}}
|