{% extends "base.html" %} {% block title %}Admin - Algorithm Submissions{% endblock %} {% block content %}

Algorithm Submissions

Review and approve custom algorithm submissions

Pending Review ({{ pending|length }})
{% if pending %}
{% for algo in pending %} {% endfor %}
Algorithm Author Submitted GitHub PR Actions
{{ algo.algorithm_name }}
{{ algo.description[:50] }}{% if algo.description|length > 50 %}...{% endif %}
{{ algo.user.username if algo.user else 'Unknown' }} {{ algo.upload_date.strftime('%Y-%m-%d %H:%M') if algo.upload_date else 'N/A' }} {% if algo.pr_url %} PR #{{ algo.github_pr_number }} {% else %} Local only {% endif %}
{% else %}

No pending submissions!

{% endif %}
Approved Algorithms ({{ approved|length }})
{% if approved %}
{% for algo in approved %} {% endfor %}
Algorithm Author Approved Usage
{{ algo.algorithm_name }}
{{ algo.description[:50] }}{% if algo.description|length > 50 %}...{% endif %}
{{ algo.user.username if algo.user else 'Unknown' }} {{ algo.reviewed_at.strftime('%Y-%m-%d') if algo.reviewed_at else 'N/A' }} {{ algo.usage_count }} runs
{% else %}

No approved algorithms yet.

{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}