mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Added API access tracking to EVE Proxy and presented via SSO.
This commit is contained in:
19
templates/sso/eveapi_log.html
Normal file
19
templates/sso/eveapi_log.html
Normal file
@@ -0,0 +1,19 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}EVE API Access Logs{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h1>Access Logs for API Key {{ userid }}</h1>
|
||||
|
||||
<table>
|
||||
<tr><th>Service ID</th><th>Date / Time</th><th>API</th></tr>
|
||||
{% for log in logs %}
|
||||
<tr><td>{{ log.service }}</td>
|
||||
<td>{{ log.time_access }}</td>
|
||||
<td>{{ log.document }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
{% endblock %}
|
||||
@@ -69,6 +69,7 @@ setup.</p>
|
||||
<td>{{ acc.api_status_description }}</td>
|
||||
<td>{{ acc.api_last_updated|naturaltimediff }}</td>
|
||||
<td><a href="{% url sso.views.eveapi_refresh acc.api_user_id %}">Refresh</a>,
|
||||
<a href="{% url sso.views.eveapi_log acc.api_user_id %}">Logs</a>,
|
||||
<a href="{% url sso.views.eveapi_del acc.api_user_id %}">Delete</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user