From f389f43237438cf5dd7cb644387be62814e90b8b Mon Sep 17 00:00:00 2001 From: Antonio Golfari Date: Mon, 23 Sep 2024 10:03:28 +0200 Subject: [PATCH] improved documentation --- airscore/templates/users/pilot_admin.html | 413 ++++++++++++++++++++++ 1 file changed, 413 insertions(+) diff --git a/airscore/templates/users/pilot_admin.html b/airscore/templates/users/pilot_admin.html index e69de29b..03c04806 100644 --- a/airscore/templates/users/pilot_admin.html +++ b/airscore/templates/users/pilot_admin.html @@ -0,0 +1,413 @@ +{% extends "base_admin.html"%} + +{% block page_title %} +Pilot Admin +{% endblock %} + +{% block head %} + + + +{% endblock %} + +{% block css %} + + +{% endblock %} + +{% block back %} + + Back to Competition Settings + +{% endblock %} + +{% block header %} +{{session.comp_name}} - Registered Pilots +{% endblock %} + +{% block content %} +{% if not session.external %} +

+ +

+
+ {% if pilotdb %} +

+ +

+
+
+
+

Register Pilots

+
+
+

All pilots

+
(Name - civl id)
+ +
+
+ + + + + + +
+
+

Registered pilots

+
(Name - civl id)
+ +
+
+ +
+
+
+ +

+ +

+ +
+ {% endif %} + +
+
+

Registered {% if pilotdb %}External {% endif %}Pilots:

+

+ {% if session.is_editor %} + {% if already_scored %} +
There are already pilots results, you cannot delete participants.
+ {% endif %} + + {% if not already_scored %} + + + + {% else %} + + + + {% endif %} + {% endif %} +
+
+ {% if pilotdb %} +
+ {% endif %} + +
+{% endif %} + +

+ +

+
+
+
+

Registered Pilot Details

+

+
+ + +
+
+ {% from "macros.html" import datatable with context %} + {{ datatable('pilots', compact=True, striped=True, thead='thead-dark') }} +
+
+
+ +

+ +

+
+
+
+

Participants Custom Attributes

+

+
+ {% if session.is_editor %} + + {% endif %} + {% from "macros.html" import datatable with context %} + {{ datatable('attributes_table', compact=True, thead='thead-dark') }} + + + +
+
+
+
+ +{% if session.is_editor %} + + + + + + + + + + + + + + + + + + + + + + + +{% endif %} +{% endblock %} + +{% block js %} + + + + + + + + +{% endblock %} \ No newline at end of file