Files
2026-09-23 20:43:55 +03:00

46 lines
1.6 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% extends "admin/base.html" %}
{% block content %}
<div class="jumbotron">
<div class="container">
<h1>CTFd Affiliations</h1>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-3">
<ul class="nav nav-pills flex-column">
<li class="nav-item">
<a class="nav-link rounded-0 {% if active_page == 'codes' %}active{% endif %}"
href="{{ url_for('ctfd-affiliations.admin_codes') }}">Codes</a>
</li>
<li class="nav-item">
<a class="nav-link rounded-0 {% if active_page == 'users' %}active{% endif %}"
href="{{ url_for('ctfd-affiliations.admin_users') }}">Users</a>
</li>
</ul>
</div>
<div class="col-md-9">
{% for error in errors %}
<div class="alert alert-danger alert-dismissable" role="alert">
{{ error }}
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
{% endfor %}
{% for info in infos %}
<div class="alert alert-success alert-dismissable" role="alert">
{{ info }}
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
{% endfor %}
{% block page %}{% endblock %}
</div>
</div>
</div>
{% endblock %}