Files
capsulflask
btcpay
schema_migrations
shell_scripts
static
templates
about-ssh.html
account-balance.html
admin.html
base.html
btcpay.html
capsul-detail.html
capsuls.html
changelog.html
create-capsul.html
display-metric.html
faq.html
index.html
login-landing.html
login.html
pricing.html
ssh-public-keys.html
stripe.html
support.html
__init__.py
admin.py
auth.py
cli.py
console.py
db.py
db_model.py
http_client.py
hub_api.py
hub_model.py
landing.py
metrics.py
payment.py
shared.py
spoke_api.py
spoke_model.py
readme
.drone.yml
.gitignore
Dockerfile
LICENSE.md
Pipfile
Pipfile.lock
README.md
app.py
docker-compose.yml
letsencrypt-root-ca.crt
setup.cfg
setup.py
capsul-flask/capsulflask/templates/admin.html

43 lines
1.0 KiB
HTML

{% extends 'base.html' %}
{% block title %}Capsul Admin{% endblock %}
{% block content %}
<style nonce="{{csp_inline_style_nonce}}">
{{inline_style}}
</style>
<div class="row third-margin">
<h1>Capsul Admin</h1>
</div>
<div class="third-margin">
{% for display_host in display_hosts %}
<div class="row">
<h1>{{ display_host["name"] }}</h1>
</div>
{% for network in display_host["networks"] %}
<div class="row network-row">
<i>{{ network["network_name"] }}</i>
<span>{{ network["public_ipv4_cidr_block"] }}</span>
<div class="network-display">
{% for allocation in network["allocations"] %}
{# This outer div is used as an abs position container & selected by CSS so don't remove it pls. #}
<div>
<div class="{{allocation}}">
</div>
</div>
{% endfor %}
</div>
</div>
{% endfor %}
<hr/>
{% endfor %}
</div>
{% endblock %}
{% block pagesource %}/templates/admin.html{% endblock %}