{% from "icons.html.j2" import icon %} {% macro alarm_ok() %} {% endmacro %} {% macro alarm_unknown() %} {% endmacro %} {% macro alarm_critical() %} {% endmacro %} {% macro alarms_table(alarms) %}
| Resource | Aspect | State | Message | Last Update |
|---|---|---|---|---|
| {{ alarm.target | describe_brn }} | {{ alarm.aspect }} | {{ alarm.alarm_state.name }} | {{ alarm.text }} | {{ alarm.last_updated | format_datetime }} |
| Group | Provider | Region | Instance ID | Created | Alarms | Actions |
|---|---|---|---|---|---|---|
| {{ instance.group.group_name }} | {{ instance.provider }} | {{ instance.region }} |
{{ instance.instance_id }}
|
{{ instance.added | format_datetime }} | {% for alarm in [] %} {% if alarm.alarm_state.name == "OK" %} {{ alarm_ok() }} {% elif alarm.alarm_state.name == "UNKNOWN" %} {{ alarm_unknown() }} {% else %} {{ alarm_critical() }} {% endif %} {% endfor %} | {% if application in ["eotk"] %} Preview Configuration {% endif %} {{ icon("terminal") }} |
| Description | Status | Enabled | Storage | Last Run | Next Run | Actions |
|---|---|---|---|---|---|---|
| {{ automation.description }} | {% if automation.state.name == "IDLE" %} 🕰️ {% elif automation.state.name == "RUNNING" %} 🏃 {% else %} 💥 {% endif %} | {% if automation.enabled %}✅{% else %}❌{% endif %} | {% if automation.short_name in states %} {% if states[automation.short_name].lock %}🔒{% else %}🔓{% endif %} {% else %} ✨ {% endif %} | {{ automation.last_run | format_datetime }} | {{ automation.next_run | format_datetime }} | View/Edit Kick Timer |
| Log Created | Log |
|---|---|
| {{ log.added | format_datetime }} | {{ log.logs | e }} |
| Name | Description | EOTK | Sites | Actions |
|---|---|---|---|---|
| {{ group.group_name }} | {{ group.description }} | {% if group.eotk %}✅{% else %}❌{% endif %} | {{ group.origins | length }} | View/Edit {% if pool %} Remove {% endif %} |
| Name | Description | Auto-Rotation | Smart Proxy | Assets Origin | Onion Service | Group | Actions |
|---|---|---|---|---|---|---|---|
| ⎋ {{ origin.domain_name }} | {{ origin.description }} | {% if origin.auto_rotation %}✅{% else %}❌{% endif %} | {% if origin.smart %}✅{% else %}❌{% endif %} | {% if origin.assets %}✅{% else %}❌{% endif %} | {% if origin.onion() %}✅{% else %}❌{% endif %} | {{ origin.group.group_name }} | View/Edit Destroy |
| Name | Description | Onion Service | Group | Actions |
|---|---|---|---|---|
| ⎋ {{ origin.domain_name }} | {{ origin.description }} | {% if origin.onion() %} ⎋ {{ origin.onion() }} {% endif %} | {{ origin.group.group_name }} | View/Edit |
| Domain Name | Onion Name | Description | Group | Actions |
|---|---|---|---|---|
| ⎋ {{ onion.domain_name }} |
⎋
{{ onion.onion_name }} {{ onion.calculated_onion_name }} |
{{ onion.description }} | {{ onion.group.group_name }} | View/Edit Destroy |
| Name | Description | Actions |
|---|---|---|
| {{ pool.pool_name }} | {{ pool.description }} | View/Edit |
| Origin Domain Name | Pool | Group | Provider | URL | Created | Alarms | Actions |
|---|---|---|---|---|---|---|---|
| ⎋ {{ proxy.origin.domain_name }} | {{ proxy.pool.pool_name }} | {{ proxy.origin.group.group_name }} | {{ proxy.provider }} | ⎋ {{ proxy.url }} | {{ proxy.added | format_datetime }} | {% for alarm in proxy.alarms %} {% if alarm.alarm_state.name == "OK" %} {{ alarm_ok() }} {% elif alarm.alarm_state.name == "UNKNOWN" %} {{ alarm_unknown() }} {% else %} {{ alarm_critical() }} {% endif %} {% endfor %} | {% if proxy.deprecated %} Expiring in {{ proxy.deprecated | mirror_expiry }} Expire {% else %} Mark blocked {% endif %} |
| Group | Provider | Distribution Method | Number | Actions |
|---|---|---|---|---|
| {{ bridgeconf.group.group_name }} | {{ bridgeconf.provider }} | {{ bridgeconf.method }} | {{ bridgeconf.number }} | View/Edit Destroy |
| Group | Configuration | Nickname | Hashed Fingerprint | Alarms | Actions |
|---|---|---|---|---|---|
| {{ bridge.conf.group.group_name }} | {{ bridge.conf.description }} ({{ bridge.conf.provider }}/{{ bridge.conf.method }}) | {{ bridge.nickname }} |
{{ bridge.hashed_fingerprint }}
|
{% for alarm in bridge.alarms %} {% if alarm.alarm_state.name == "OK" %} {% elif alarm.alarm_state.name == "UNKNOWN" %} {% else %} {% endif %} {% endfor %} | {% if bridge.deprecated %} Expiring in {{ bridge.deprecated | mirror_expiry }} {% else %} Mark blocked {% endif %} |
| Pool | Provider | Format | Encoding | URI | Description | Actions |
|---|---|---|---|---|---|---|
| {{ list.pool.pool_name }} | {{ list.provider | provider_name }} | {{ list.format | format_name }} | {{ list.encoding | list_encoding_name }} | {{ list.url() }} | {{ list.description }} | View/Edit Preview Destroy |
| Description | Format | URL | |
|---|---|---|---|
| {{ webhook.description }} | {{ webhook.format | webhook_format_name }} | {{ webhook.url }} |
Destroy |