fix not logging when user accessed they files and only show the file access from the user files and not all
Build and Push Docker Container / build-and-push (push) Successful in 1m37s
Build and Push Docker Container / build-and-push (push) Successful in 1m37s
This commit is contained in:
@@ -12,13 +12,15 @@
|
||||
<main class="file-list">
|
||||
<section class="card" style="padding: clamp(18px, 2.6vw, 28px);">
|
||||
<h2 class="page-title">Accesslog</h2>
|
||||
<p class="subtle">Your uploaded files at a glance. Click a filename to open, or use the actions on the right.</p>
|
||||
<p class="subtle">See when and how others accessed your shared files. Click a filename to open your files</p>
|
||||
|
||||
<div class="table-wrap" role="region" aria-label="Files table" tabindex="0">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Accessed At</th>
|
||||
<th scope="col">Filename</th>
|
||||
<th scope="col">Note (Only Visible to You)</th>
|
||||
<th scope="col">Status</th>
|
||||
<th scope="col">IP Address</th>
|
||||
<th scope="col">User Agent</th>
|
||||
@@ -27,7 +29,11 @@
|
||||
<tbody>
|
||||
{% for access in access_logs %}
|
||||
<tr>
|
||||
<td><time datetime="{{ access.accessed_at }}" class="local-time"></time></td>
|
||||
<td><time datetime="{{ access.accessed_at }}" class="local-time"></td>
|
||||
<td class="cell--name">
|
||||
<a href="{{ url_for('side_main.serve_file', file_id=access.file_id) }}">{{ access.file_name }}</time></a>
|
||||
</td>
|
||||
<td>{{ access.file_note }}</td>
|
||||
<td><span class="badge">{{ access.status }}</span></td>
|
||||
<td>{{ access.ip }}</td>
|
||||
<td>{{ access.user_agent }}</td>
|
||||
|
||||
Reference in New Issue
Block a user