Add basic providers configuration
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-04-24 15:43:49 +02:00
parent e73b5b8e5b
commit d9f659ce98
8 changed files with 136 additions and 2 deletions

View File

@ -15,7 +15,7 @@
<span class="fs-4">{{ _p.app_name }}</span>
</a>
{% if _p.is_admin %}
<span>Version {{ _p.version }}</span>
<span>Version {{ _p.version }}</span>
{% endif %}
<hr>
<ul class="nav nav-pills flex-column mb-auto">
@ -42,6 +42,11 @@
Clients
</a>
</li>
<li>
<a href="/admin/providers" class="nav-link link-dark">
Providers
</a>
</li>
<li>
<a href="/admin/users" class="nav-link link-dark">
Users
@ -83,6 +88,7 @@
if(el.href === location.href) el.classList.add("active");
else el.classList.remove("active")
})
</script>
{% if _p.ip_location_api.is_some() %}
<script>const IP_LOCATION_API = "{{ _p.ip_location_api.unwrap() }}"</script>