{% extends "base.html" %} {% block content %} {% set pro_setting = {} %} {% for plugin in plugins %} {% if plugin.get('name')|lower == 'pro' %} {% if pro_setting.update({'method' : plugin.get('method', 'ui')}) %}{% endif %} {% for setting, value in plugin.get('settings').items() %} {% if setting == "PRO_LICENSE_KEY" %} {% if pro_setting.update({'value' : value.get('value', '')}) %}{% endif %} {% endif %} {% endfor %} {% endif %} {% endfor %} {% set attribute_name = "account" %}
SETTINGS
{% set tabs = [ { "name": "PRO", "id": "pro", "description": "BunkerWeb PRO" }, { "name": "Username", "id": "username", "description": "Edit your username" }, { "name": "Password", "id": "password", "description": "Update your password" }, { "name": "TOTP", "id": "totp", "description": "Enabled / Disabled TOTP" } ] %}
{% for tab in tabs %} {% endfor %}
{% set pro_info = { "message" : "Pro version" if is_pro_version else "Pro version but exceeding services" if pro_status == "active" and pro_overlapped else "Pro version is expired" if pro_status == "expired" else "Pro version suspended" if pro_status == "suspended" else "You are using free version", "link_message" : "All features available" if is_pro_version else "Awaiting compliance" if pro_status == "active" and pro_overlapped else "Renew license" if pro_status == "expired" else "Suspended license" if pro_status == "suspended" else "Upgrade to pro", "link_message_color" : "text-green-500" if is_pro_version else "text-yellow-500" if pro_status == "active" and pro_overlapped else "text-yellow-500" if pro_status == "expired" else "text-red-500" if pro_status == "suspended" else "text-yellow-500", "icon" : "pro" if is_pro_version else "free" } %}
PRO

{{ pro_info['message'] }}

{% if pro_info['link_message'] %} {% endif %} {% if is_pro_version %}
{% if pro_services %}

{{ pro_services }} services allowed

{% endif %} {% if pro_expire %}

License expiration date : {{ pro_expire }}

{% endif %}
{% endif %} {% if not is_pro_version and pro_status == "active" and pro_overlapped %}

You have more services than your license allows. Delete or draft some services to reach the number of {{ pro_services }} services.

{% endif %}
{% if is_pro_version %} UPDATE KEY {% else %} ACTIVATE KEY {% endif %}
License key
{% endblock content %}