{% extends "base.html" %} {% block content %} {% if admin %}
Clients
Client name | Address | Last seen | Active | {% for client in clients %}|
{{ loop.index }} | {{ client.selected_name }} | {{ client.address }} | {{ client.last_seen.strftime('%Y-%m-%d %H:%M:%S') }} | {{ client.active }} |
Downloads
Client name | Directory | Timestamp | {% for dl in downloads %}|
{{ loop.index }} | {{ dl.client.selected_name }} | {{ dl.directory.path }} | {{ dl.download_time.strftime('%Y-%m-%d %H:%M:%S') }} |
Uploads
Client name | Directory | Timestamp | Files count | {% for ul in uploads %}|
{{ loop.index }} | {{ ul.client.selected_name }} | {{ ul.directory.path }} | {{ ul.upload_time.strftime('%Y-%m-%d %H:%M:%S') }} | {{ ul.files_count }} |