From 32ecd5437667d94c786c1ce11fb18bdeb6094c41 Mon Sep 17 00:00:00 2001 From: Augustin-FL Date: Tue, 24 Dec 2024 15:53:26 +0100 Subject: [PATCH] migrate fir_api leftover to bootstrap5 --- fir_api/templates/fir_api/plugins/user_profile.html | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/fir_api/templates/fir_api/plugins/user_profile.html b/fir_api/templates/fir_api/plugins/user_profile.html index ecb4877e..ee3e1267 100644 --- a/fir_api/templates/fir_api/plugins/user_profile.html +++ b/fir_api/templates/fir_api/plugins/user_profile.html @@ -1,19 +1,17 @@ {% load i18n %} {% if perms.incidents.handle_incidents and not oidc_enabled %} -
+
-
-
-

FIR API - {% trans "API Access" %}

-
-
+
+
FIR API - {% trans "API Access" %}
+

You need to be authenticated in order to use the API. It will accept session or token based authentication. Tokens can be managed in the administration interface and should be specified as a request header.

Example:
X-Api: Token {{ user.auth_token.key }}
- +
{% trans "Token" %}{{ user.auth_token.key }}
{% trans "Created" %}{{ user.auth_token.created }}