feat(cloudron): add tirreno package artifacts

- Add CloudronStack/output/CloudronPackages-Artifacts/tirreno/ directory and its contents
- Includes package manifest, Dockerfile, source code, documentation, and build artifacts
- Add tirreno-1761840148.tar.gz as a build artifact
- Add tirreno-cloudron-package-1761841304.tar.gz as the Cloudron package
- Include all necessary files for the tirreno Cloudron package

This adds the complete tirreno Cloudron package artifacts to the repository.
This commit is contained in:
2025-10-30 11:43:06 -05:00
parent 0ce353ea9d
commit 91d52d2de5
1692 changed files with 202851 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
<check if="{{ isset(@showChart) && 1 === @showChart }}">
<div class="main-graph separate-graph">
<include href="templates/parts/forms/filtersForm.html" />
<div class="stat-chart"></div>
</div>
</check>
<div class="card events-card">
<header class="card-header">
<div class="card-header-title">
{{ @AdminBlacklst_table_title }}
<span>&#8943;</span><p class="tooltip-info tooltip" title="{{ @AdminBlacklst_table_title_tooltip }}"><include href="images/icons/information.svg" alt=''/></p>
</div>
</header>
<div class="card-table">
<div class="content">
<include href="templates/parts/forms/searchForm.html" />
<check if="{{ @ALLOW_EMAIL_PHONE }}">
<include href="templates/parts/choices/entityType.html" />
</check>
<table class="table dim-table" id="blacklist-table">
<thead>
<tr>
<th class="tooltip blacklist-user-col" title="{{ @Base_table_column_user_risk_score_and_email_tooltip }}">{{ @Base_table_column_user_risk_score_and_email }}</th>
<th class="tooltip blacklist-timestamp-col" title="{{ @Base_table_column_blacklist_added_tooltip }}">{{ @Base_table_column_blacklist_added }}</th>
<th class="tooltip blacklist-type-col" title="{{ @Base_table_column_blacklist_type_tooltip }}">{{ @Base_table_column_blacklist_type }}</th>
<th class="tooltip blacklist-value-col" title="{{ @Base_table_column_blacklist_value_tooltip }}">{{ @Base_table_column_blacklist_value }}</th>
<th class="tooltip blacklist-button-col" title="{{ @Base_table_column_blacklist_actions_tooltip }}">{{ @Base_table_column_blacklist_actions }}</th>
</tr>
</thead>
</table>
</div>
</div>
</div>

View File

@@ -0,0 +1,40 @@
<check if="{{ isset(@showChart) && 1 === @showChart }}">
<div class="main-graph separate-graph">
<check if="'/bot' == @CURRENT_PATH">
<true>
<include href="templates/parts/forms/filtersForm.html" />
</true>
</check>
<div class="stat-chart"></div>
</div>
</check>
<div class="card events-card">
<header class="card-header">
<div class="card-header-title">
{{ @AdminBots_table_title }}
<span>&#8943;</span><p class="tooltip-info tooltip" title="{{ @AdminBots_table_title_tooltip }}"><include href="images/icons/information.svg" alt=''/>
</p>
</div>
</header>
<div class="card-table">
<div class="content">
<check if="'/bot' == @CURRENT_PATH">
<true>
<include href="templates/parts/forms/searchForm.html" />
</true>
</check>
<table class="table dim-table" id="bots-table">
<thead>
<tr>
<th class="tooltip bot-id-col" title="{{ @Base_table_column_device_id_tooltip }}">{{ @Base_table_column_device_id }}</th>
<th class="tooltip bot-type-col" title="{{ @Base_table_column_device_name_tooltip }}">{{ @Base_table_column_device_name }}</th>
<th class="tooltip bot-os-col" title="{{ @Base_table_column_os_tooltip }}">{{ @Base_table_column_os }}</th>
<th class="tooltip bot-modified-col" title="{{ @Base_table_column_modified_tooltip }}">{{ @Base_table_column_modified }}</th>
</tr>
</thead>
</table>
</div>
</div>
</div>

View File

@@ -0,0 +1,26 @@
<div class="card events-card">
<header class="card-header">
<div class="card-header-title">
{{ @AdminDevices_table_title }}
<span>&#8943;</span><p class="tooltip-info tooltip" title="{{ @AdminDevices_table_title_tooltip }}"><include href="images/icons/information.svg" alt=''/>
</p>
</div>
</header>
<div class="card-table">
<div class="content">
<table class="table dim-table" id="devices-table">
<thead>
<tr>
<th class="tooltip device-date-col" title="{{ @Base_table_column_device_created_tooltip }}">{{ @Base_table_column_device_created }}</th>
<th class="tooltip device-type-col" title="{{ @Base_table_column_device_name_tooltip }}">{{ @Base_table_column_device_name }}</th>
<th class="tooltip device-os-col" title="{{ @Base_table_column_os_tooltip }}">{{ @Base_table_column_os }}</th>
<th class="tooltip device-browser-col" title="{{ @Base_table_column_browser_tooltip }}">{{ @Base_table_column_browser }}</th>
<th class="tooltip device-language-col" title="{{ @Base_table_column_device_lang_tooltip }}">{{ @Base_table_column_device_lang }}</th>
<th class="tooltip device-modified-col" title="{{ @Base_table_column_modified_tooltip }}">{{ @Base_table_column_modified }}</th>
</tr>
</thead>
</table>
</div>
</div>
</div>

View File

@@ -0,0 +1,51 @@
<check if="{{ isset(@showChart) && 1 === @showChart }}">
<div class="main-graph separate-graph">
<check if="false !== strpos(@CURRENT_PATH, 'domain')">
<true>
<include href="templates/parts/forms/filtersForm.html" />
</true>
</check>
<div class="stat-chart"></div>
</div>
</check>
<div class="card events-card">
<header class="card-header">
<div class="card-header-title">
<check if="{{ isset(@innerDomains) && 1 === @innerDomains }}">
<true>
{{ @AdminDomains_table_same_ip }}
<span>&#8943;</span><p class="tooltip-info tooltip" title="{{ @AdminDomains_table_same_ip_tooltip }}"><include href="images/icons/information.svg" alt=''/></p>
</true>
<false>
{{ @AdminDomains_table_title }}
<span>&#8943;</span><p class="tooltip-info tooltip" title="{{ @AdminDomains_table_title_tooltip }}"><include href="images/icons/information.svg" alt=''/></p>
</false>
</check>
</div>
</header>
<div class="card-table">
<div class="content">
<check if="false !== strpos(@CURRENT_PATH, 'domain') && ( !isset(@innerDomains) || 1 !== @innerDomains)">
<true>
<include href="templates/parts/forms/searchForm.html" />
</true>
</check>
<table class="table dim-table" id="domains-table">
<thead>
<tr>
<th class="tooltip domain-domain-col" title="{{ @Base_table_column_domain_tooltip }}">{{ @Base_table_column_domain }}</th>
<th class="tooltip domain-cnt-col" title="{{ @Base_table_column_free_email_provider_tooltip }}">{{ @Base_table_column_free_email_provider }}</th>
<th class="tooltip domain-cnt-col" title="{{ @Base_table_column_tranco_rank_tooltip }}">{{ @Base_table_column_tranco_rank }}</th>
<th class="tooltip domain-cnt-col" title="{{ @Base_table_column_unavailable_tooltip }}">{{ @Base_table_column_unavailable }}</th>
<th class="tooltip domain-cnt-col" title="{{ @Base_table_column_disposable_tooltip }}">{{ @Base_table_column_disposable }}</th>
<th class="tooltip domain-date-col" title="{{ @Base_table_column_domain_registered_tooltip }}">{{ @Base_table_column_domain_registered }}</th>
<th class="tooltip domain-cnt-col" title="{{ @Base_table_column_total_users_tooltip_domains }}">{{ @Base_table_column_total_users }}</th>
<th class="tooltip domain-cnt-col" title="{{ @Base_table_column_total_fraud_users_tooltip }}">{{ @Base_table_column_total_fraud_users }}</th>
</tr>
</thead>
</table>
</div>
</div>
</div>

View File

@@ -0,0 +1,46 @@
<div class="card events-card">
<header class="card-header">
<div class="card-header-title">
{{ @AdminEmails_table_title }}
<span>&#8943;</span><p class="tooltip-info tooltip" title="{{ @AdminEmails_table_title_tooltip }}"><include href="images/icons/information.svg" alt=''/></p>
</div>
</header>
<check if="{{ isset(@showChart) && 1 === @showChart }}">
<div class='main-graph'>
<check if="false !== strpos(@CURRENT_PATH, 'emails')">
<true>
<include href="templates/parts/forms/filtersForm.html" />
</true>
</check>
<div class="stat-chart"></div>
</div>
</check>
<div class="card-table">
<div class="content">
<check if="false !== strpos(@CURRENT_PATH, 'emails')">
<true>
<include href="templates/parts/forms/searchForm.html" />
</true>
</check>
<table class="table dim-table" id="emails-table">
<thead>
<tr>
<th class="tooltip email-email-col" title="{{ @Base_table_column_user_email_tooltip }}">{{ @Base_table_column_user_email }}</th>
<th class="tooltip email-reputation-col" title="{{ @Base_table_column_email_reputation_tooltip }}">{{ @Base_table_column_email_reputation }}</th>
<th class="tooltip email-free-provider-col" title="{{ @Base_table_column_email_free_provider_tooltip }}">{{ @Base_table_column_email_free_provider }}</th>
{***<th class="tooltip medium-yes-no-col" title="{{ @Base_table_column_email_noprofiles_tooltip }}">{{ @Base_table_column_email_noprofiles }}</th>***}
<th class="tooltip email-no-breach-col" title="{{ @Base_table_column_email_nodatabreach_tooltip }}">{{ @Base_table_column_email_nodatabreach }}</th>
<th class="tooltip email-total-breaches-col" title="{{ @Base_table_column_email_total_breaches_tooltip }}">{{ @Base_table_column_email_total_breaches }}</th>
<th class="tooltip email-disposable-col" title="{{ @Base_table_column_email_disposable_tooltip }}">{{ @Base_table_column_email_disposable }}</th>
<th class="tooltip email-spam-col" title="{{ @Base_table_column_email_spamlist_tooltip }}">{{ @Base_table_column_email_spamlist }}</th>
<th class="tooltip email-blacklist-col" title="{{ @Base_table_column_email_blacklist_tooltip }}">{{ @Base_table_column_email_blacklist }}</th>
{***<!-- TODO: return alert_list back in next release -->
<!-- <th class="tooltip medium-yes-no-col" title="{{ @Base_table_column_global_alert_tooltip }}">{{ @Base_table_column_global_alert }}</th> -->***}
</tr>
</thead>
</table>
</div>
</div>
</div>

View File

@@ -0,0 +1,85 @@
<set SHOW_FILTERS_FORM = "{{ '/event' === @CURRENT_PATH || '/watchlist' === @CURRENT_PATH }}" />
<set SHOW_USERS_TAGS = "{{'/watchlist' === @CURRENT_PATH }}" />
<check if="@SHOW_FILTERS_FORM">
<check if="{{ isset(@showChart) && 1 === @showChart }}">
<div class="main-graph separate-graph">
<check if="@SHOW_FILTERS_FORM">
<true>
<include href="templates/parts/forms/filtersForm.html" />
</true>
</check>
<div class="stat-chart"></div>
</div>
</check>
</check>
<div class="card events-card">
<header class="card-header">
<div class="card-header-title">
<check if="{{ isset(@title) }}">
<true>{{ @title }}</true>
<false>{{ @AdminEvents_table_title }}</false>
</check>
<span>&#8943;</span><p class="tooltip-info tooltip" title="{{ @AdminEvents_table_title_tooltip }}"><include href="images/icons/information.svg" alt=''/>
</p>
</div>
</header>
<div class="card-table">
<div class="content">
<check if="@SHOW_USERS_TAGS">
<true>
<div id="important-users">
<repeat group="{{ @IMPORTANT_USERS }}" value="{{ @RECORD }}" >
<div class="control">
<div class="tags has-addons">
<a class="tag is-link" data-id="{{ @RECORD.id }}" href="/id/{{ @RECORD.id }}">{{ @RECORD.userid }}</a>
<a class="tag is-delete"></a>
</div>
</div>
</repeat>
</div>
</true>
</check>
<check if="@SHOW_FILTERS_FORM">
<false>
<div class="main-graph">
<div class="stat-chart"></div>
</div>
</false>
</check>
<check if="@SHOW_FILTERS_FORM">
<true>
<include href="templates/parts/forms/searchForm.html" />
<include href="templates/parts/choices/eventType.html" />
<include href="templates/parts/choices/rules.html" />
<include href="templates/parts/choices/deviceType.html" />
</true>
</check>
<table class="table dim-table" id="user-events-table">
<thead>
<tr>
<check if="{{ isset(@USER) }}">
<true>
<th class="tooltip event-user-col" title="{{ @Base_table_column_session_tooltip }}">{{ @Base_table_column_session }}</th>
</true>
<false>
<th class="tooltip event-user-col" title="{{ @Base_table_column_user_risk_score_and_email_tooltip }}">{{ @Base_table_column_user_risk_score_and_email }}</th>
</false>
</check>
<th class="tooltip event-timestamp-col" title="{{ @Base_table_column_last_action_timestamp_tooltip }}">{{ @Base_table_column_last_action_timestamp }}</th>
<th class="tooltip event-event-type-col" title="{{ @Base_table_column_event_type_tooltip }}">{{ @Base_table_column_event_type }}</th>
<th class="tooltip event-ip-col" title="{{ @Base_table_column_ip_tooltip }}">{{ @Base_table_column_ip }}</th>
<th class="tooltip event-ip-type-col" title="{{ @Base_table_column_ip_type_tooltip }}">{{ @Base_table_column_ip_type }}</th>
<th class="tooltip event-device-col" title="{{ @Base_table_column_device_tooltip }}">{{ @Base_table_column_device }}</th>
</tr>
</thead>
</table>
</div>
</div>
</div>

View File

@@ -0,0 +1,54 @@
<check if="{{ isset(@showChart) && 1 === @showChart }}">
<div class="main-graph separate-graph">
<check if="'/ip' == @CURRENT_PATH">
<true>
<include href="templates/parts/forms/filtersForm.html" />
</true>
</check>
<div class="stat-chart"></div>
</div>
</check>
<div class="card events-card">
<header class="card-header">
<div class="card-header-title">
<check if="isset(@title)">
<true>
{{@title}}
</true>
<false>
{{ @AdminIps_table_title }}
</false>
</check>
<span>&#8943;</span><p class="tooltip-info tooltip" title="{{ @AdminIps_table_title_tooltip }}"><include href="images/icons/information.svg" alt=''/>
</p>
</div>
</header>
<div class="card-table">
<div class="content">
<check if="'/ip' == @CURRENT_PATH">
<true>
<include href="templates/parts/forms/searchForm.html" />
<include href="templates/parts/choices/ipTypes.html" />
</true>
</check>
<table class="table dim-table" id="ips-table">
<thead>
<tr>
<th class="tooltip ip-ip-col" title="{{ @Base_table_column_ip_tooltip }}">{{ @Base_table_column_ip }}</th>
<th class="tooltip ip-country-col" title="{{ @Base_table_column_ip_country_tooltip }}">{{ @Base_table_column_country }}</th>
<th class="tooltip ip-asn-col" title="{{ @Base_table_column_asn_tooltip }}">{{ @Base_table_column_asn }}</th>
<th class="tooltip ip-newtwork-col" title="{{ @Base_table_column_netname_tooltip }}">{{ @Base_table_column_netname }}</th>
<th class="tooltip ip-ip-type-col" title="{{ @Base_table_column_ip_type_tooltip }}">{{ @Base_table_column_ip_type }}</th>
<th class="tooltip ip-cnt-col" title="{{ @Base_table_column_total_actions_tooltip_ips }}">{{ @Base_table_column_total_actions }}</th>
<th class="tooltip ip-cnt-col" title="{{ @Base_table_column_total_users_tooltip_ips }}">{{ @Base_table_column_total_users }}</th>
{***<!-- TODO: return alert_list back in next release -->
<!-- <th class="tooltip yes-no-col" title="{{ @Base_table_column_global_alert_tooltip }}">{{ @Base_table_column_global_alert }}</th> -->***}
</tr>
</thead>
</table>
</div>
</div>
</div>

View File

@@ -0,0 +1,41 @@
<check if="{{ isset(@showChart) && 1 === @showChart }}">
<div class="main-graph separate-graph">
<check if="false !== strpos(@CURRENT_PATH, 'isp')">
<true>
<include href="templates/parts/forms/filtersForm.html" />
</true>
</check>
<div class="stat-chart"></div>
</div>
</check>
<div class="card events-card">
<header class="card-header">
<div class="card-header-title">
{{ @AdminIsps_table_title }}
<span>&#8943;</span><p class="tooltip-info tooltip" title="{{ @AdminIsps_table_title_tooltip }}"><include href="images/icons/information.svg" alt=''/></p>
</div>
</header>
<div class="card-table">
<div class="content">
<check if="false !== strpos(@CURRENT_PATH, 'isp')">
<true>
<include href="templates/parts/forms/searchForm.html" />
</true>
</check>
<table class="table dim-table" id="isps-table">
<thead>
<tr>
<th class="tooltip isp-asn-col" title="{{ @Base_table_column_asn_tooltip }}">{{ @Base_table_column_asn }}</th>
<th class="tooltip isp-network-col" title="{{ @Base_table_column_netname_tooltip }}">{{ @Base_table_column_netname }}</th>
<th class="tooltip isp-cnt-col" title="{{ @Base_table_column_total_actions_tooltip_isps }}">{{ @Base_table_column_total_actions }}</th>
<th class="tooltip isp-cnt-col" title="{{ @Base_table_column_total_ips_tooltip_isps }}">{{ @Base_table_column_total_ips }}</th>
<th class="tooltip isp-cnt-col" title="{{ @Base_table_column_total_users_tooltip_isps }}">{{ @Base_table_column_total_users }}</th>
<th class="tooltip isp-cnt-col" title="{{ @Base_table_column_total_fraud_users_tooltip }}">{{ @Base_table_column_total_fraud_users }}</th>
</tr>
</thead>
</table>
</div>
</div>
</div>

View File

@@ -0,0 +1,40 @@
<check if="{{ isset(@showChart) && 1 === @showChart }}">
<div class="main-graph separate-graph">
<check if="false !== strpos(@CURRENT_PATH, 'logbook')" >
<true>
<include href="templates/parts/forms/filtersForm.html" />
</true>
</check>
<div class="stat-chart"></div>
</div>
</check>
<div class="card events-card">
<header class="card-header">
<div class="card-header-title">
{{ @AdminLogbook_table_title }}
<span>&#8943;</span><p class="tooltip-info tooltip" title="{{ @AdminLogbook_table_title_tooltip }}"><include href="images/icons/information.svg" alt=''/>
</p>
</div>
</header>
<div class="card-table">
<div class="content">
<check if="false !== strpos(@CURRENT_PATH, 'logbook')">
<true>
<include href="templates/parts/forms/searchForm.html" />
</true>
</check>
<table class="table dim-table" id="logbook-table">
<thead>
<tr>
<th class="tooltip logbook-ip-col" title="{{ @AdminLogbook_column_ip_tooltip }}">{{ @AdminLogbook_column_ip }}</th>
<th class="tooltip logbook-timestamp-col" title="{{ @Base_table_column_local_timestamp_tooltip }}">{{ @Base_table_column_local_timestamp }}</th>
<th class="tooltip logbook-status-col" title="{{ @Base_table_column_error_type_tooltip }}">{{ @Base_table_column_error_type }}</th>
<th class="tooltip logbook-message-col" title="{{ @Base_table_column_error_text_tooltip }}">{{ @Base_table_column_error_text }}</th>
</tr>
</thead>
</table>
</div>
</div>
</div>

View File

@@ -0,0 +1,22 @@
<div class="card events-card" data-item-id="manual-check-history">
<header class="card-header">
<p class="card-header-title">{{ @AdminManualCheck_history_title }}</p>
</header>
<div class="card-table">
<div class="content">
<table class="table" id="manual-check-history-table">
<tbody>
<repeat group="{{ @HISTORY }}" key="{{ @key }}" value="{{ @value }}">
<tr>
<td>{{ @AdminManualCheck_form_types[@value->type] }}</td>
<td>
<include href="templates/parts/forms/manualCheckShortForm.html" />
</td>
</tr>
</repeat>
</tbody>
</table>
</div>
</div>
</div>

View File

@@ -0,0 +1,24 @@
<div class="card events-card is-hidden" data-item-id="manual-check-result-{{ @type }}" data-item-type="{{ @type }}" >
<header class="card-header">
<p class="card-header-title">{{ sprintf(@AdminManualCheck_result_title, @AdminManualCheck_form_types[@type]) }}</p>
</header>
<div class="card-table">
<div class="content">
<table class="table" id="manual-check-result-table">
<tbody>
<check if="{{ is_array(@results) }}">
<repeat group="{{ @results }}" key="{{ @key }}" value="{{ @value }}">
<tr>
<td data-item-id="{{ @key }}">{{ \Controllers\Admin\ManualCheck\Page::stylizeKey(@key) }}</td>
<td>
{{ is_string(@value) ? @value : json_encode(@value) }}
</td>
</tr>
</repeat>
</check>
</tbody>
</table>
</div>
</div>
</div>

View File

@@ -0,0 +1,24 @@
<div class="card events-card">
<header class="card-header">
<div class="card-header-title">
{{ @AdminFieldAuditTrail_table_title }}
<span>&#8943;</span><p class="tooltip-info tooltip" title="{{ @AdminFieldAuditTrail_table_title_tooltip }}"><include href="images/icons/information.svg" alt=''/></p>
</div>
</header>
<div class="card-table">
<div class="content">
<table class="table dim-table" id="field-audit-trail-table">
<thead>
<tr>
<th class="tooltip field-audit-trail-date-col" title="{{ @Base_table_column_audit_trail_created_tooltip }}">{{ @Base_table_column_audit_trail_created }}</th>
<th class="tooltip field-audit-trail-field-col" title="{{ @Base_table_column_audit_trail_field_tooltip }}">{{ @Base_table_column_audit_trail_field }}</th>
<th class="tooltip field-audit-trail-value-col" title="{{ @Base_table_column_audit_trail_old_value_tooltip }}">{{ @Base_table_column_audit_trail_old_value }}</th>
<th class="tooltip field-audit-trail-value-col" title="{{ @Base_table_column_audit_trail_new_value_tooltip }}">{{ @Base_table_column_audit_trail_new_value }}</th>
<th class="tooltip field-audit-trail-parent-col" title="{{ @Base_table_column_audit_trail_parent_tooltip }}">{{ @Base_table_column_audit_trail_parent }}</th>
</tr>
</thead>
</table>
</div>
</div>
</div>

View File

@@ -0,0 +1,44 @@
<div class="card events-card">
<header class="card-header">
<div class="card-header-title">
{{ @AdminPhones_table_title }}
<span>&#8943;</span><p class="tooltip-info tooltip" title="{{ @AdminPhones_table_title_tooltip }}"><include href="images/icons/information.svg" alt=''/></p>
</div>
</header>
<check if="{{ isset(@showChart) && 1 === @showChart }}">
<div class="main-graph">
<check if="false !== strpos(@CURRENT_PATH, 'phones')">
<true>
<include href="templates/parts/forms/filtersForm.html" />
</true>
</check>
<div class="stat-chart"></div>
</div>
</check>
<div class="card-table">
<div class="content">
<check if="false !== strpos(@CURRENT_PATH, 'phones')">
<true>
<include href="templates/parts/forms/searchForm.html" />
</true>
</check>
<table class="table dim-table" id="phones-table">
<thead>
<tr>
<th class="tooltip phone-phonenumber-col" title="{{ @Base_table_column_user_phone_tooltip }}">{{ @Base_table_column_user_phone }}</th>
<th class="tooltip phone-invalid-col" title="{{ @Base_table_column_phone_invalid_tooltip }}">{{ @Base_table_column_phone_invalid }}</th>
<th class="tooltip phone-country-col" title="{{ @Base_table_column_phone_country_tooltip }}">{{ @Base_table_column_country }}</th>
<th class="tooltip phone-carrier-col" title="{{ @Base_table_column_phone_carrier_name_tooltip }}">{{ @Base_table_column_phone_carrier_name }}</th>
<th class="tooltip phone-type-col" title="{{ @Base_table_column_phone_type_tooltip }}">{{ @Base_table_column_phone_type }}</th>
<th class="tooltip phone-users-col" title="{{ @Base_table_column_total_users_tooltip_phones }}">{{ @Base_table_column_total_users }}</th>
<th class="tooltip phone-blacklist-col" title="{{ @Base_table_column_phone_blacklist_tooltip }}">{{ @Base_table_column_phone_blacklist }}</th>
{***<!-- TODO: return alert_list back in next release -->
<!-- <th class="tooltip yes-no-col" title="{{ @Base_table_column_global_alert_tooltip }}">{{ @Base_table_column_global_alert }}</th> -->***}
</tr>
</thead>
</table>
</div>
</div>
</div>

View File

@@ -0,0 +1,43 @@
<check if="{{ isset(@showChart) && 1 === @showChart }}">
<div class="main-graph separate-graph">
<check if="false !== strpos(@CURRENT_PATH, 'resource')">
<true>
<include href="templates/parts/forms/filtersForm.html" />
</true>
</check>
<div class="stat-chart"></div>
</div>
</check>
<div class="card events-card">
<header class="card-header">
<div class="card-header-title">
{{ @AdminResources_table_title }}
<span>&#8943;</span><p class="tooltip-info tooltip" title="{{ @AdminResources_table_title_tooltip }}"><include href="images/icons/information.svg" alt=''/></p>
</div>
</header>
<div class="card-table">
<div class="content">
<check if="false !== strpos(@CURRENT_PATH, 'resource')">
<true>
<include href="templates/parts/forms/searchForm.html" />
</true>
</check>
<table class="table dim-table" id="resources-table">
<thead>
<tr>
<th class="tooltip resource-url-col" title="{{ @Base_table_column_url_tooltip }}">{{ @Base_table_column_url }}</th>
<th class="tooltip resource-cnt-col" title="{{ @Base_table_column_code_tooltip }}">{{ @Base_table_column_code }}</th>
<th class="tooltip resource-cnt-col" title="{{ @Base_table_column_total_users_tooltip_resources }}">{{ @Base_table_column_total_users }}</th>
<th class="tooltip resource-cnt-col" title="{{ @Base_table_column_total_countries_tooltip_resources }}">{{ @Base_table_column_total_countries }}</th>
<th class="tooltip resource-cnt-col" title="{{ @Base_table_column_total_ips_tooltip_resources }}">{{ @Base_table_column_total_ips }}</th>
<th class="tooltip resource-cnt-col" title="{{ @Base_table_column_total_actions_tooltip_resources }}">{{ @Base_table_column_total_actions }}</th>
<th class="tooltip resource-cnt-col" title="{{ @Base_table_column_suspicious_url_tooltip_resources }}">{{ @Base_table_column_suspicious_url }}</th>
</tr>
</thead>
</table>
</div>
</div>
</div>

View File

@@ -0,0 +1,43 @@
<check if="{{ isset(@showChart) && 1 === @showChart }}">
<div class="main-graph separate-graph">
<check if="false !== strpos(@CURRENT_PATH, 'review-queue')" >
<true>
<include href="templates/parts/forms/filtersForm.html" />
</true>
</check>
<div class="stat-chart"></div>
</div>
</check>
<div class="card events-card">
<header class="card-header">
<div class="card-header-title">
{{ @AdminReviewQueue_table_title }}
<span>&#8943;</span><p class="tooltip-info tooltip" title="{{ @AdminReviewQueue_table_title_tooltip }}"><include href="images/icons/information.svg" alt=''/>
</p>
</div>
</header>
<div class="card-table">
<div class="content">
<check if="false !== strpos(@CURRENT_PATH, 'review-queue')">
<true>
<include href="templates/parts/forms/searchForm.html" />
<include href="templates/parts/choices/rules.html" />
</true>
</check>
<table class="table dim-table" id="review-queue-table">
<thead>
<tr>
<th class="tooltip review-queue-user-col" title="{{ @Base_table_column_user_risk_score_and_email_tooltip }}">{{ @Base_table_column_user_risk_score_and_email }}</th>
<th class="tooltip review-queue-timestamp-col" title="{{ @Base_table_column_added_to_review_tooltip }}">{{ @Base_table_column_added_to_review }}</th>
<th class="tooltip review-queue-name-col" title="{{ @Base_table_column_user_firstname_tooltip }}">{{ @Base_table_column_user_firstname }}</th>
<th class="tooltip review-queue-name-col" title="{{ @Base_table_column_user_lastname_tooltip }}">{{ @Base_table_column_user_lastname }}</th>
<th class="tooltip review-queue-date-col" title="{{ @Base_table_column_user_registered_tooltip }}">{{ @Base_table_column_user_registered }}</th>
<th class="tooltip review-queue-button-col" title="{{ @Base_table_column_reviewed_status_tooltip }}">{{ @Base_table_column_action_buttons }}</th>
</tr>
</thead>
</table>
</div>
</div>
</div>

View File

@@ -0,0 +1,93 @@
<div class="card events-card">
<header class="card-header">
<div class="card-header-title">
{{ @AdminRules_table_title }}
<span>{{ count(@RULES) }}</span><p class="tooltip-info tooltip" title="{{ @AdminRules_table_title_tooltip }}"><include href="images/icons/information.svg" alt=''/></p>
</div>
</header>
<include href="templates/parts/forms/searchForm.html" />
<div class="card-table">
<div class="content">
<table class="table" id="rules-table">
<thead>
<tr>
<th class="tooltip rules-code-col" title="{{@AdminRules_table_header_code_tooltip}}">{{ @AdminRules_table_header_code }}</th>
<th class="tooltip rules-type-col" title="{{@AdminRules_table_header_group_tooltip}}">{{ @AdminRules_table_header_group }}</th>
<th class="tooltip rules-description-col" title="{{@AdminRules_table_header_description_tooltip}}">{{ @AdminRules_table_header_description }}</th>
<th class="tooltip rules-proportion-col" title="{{@AdminRules_table_header_proportion_tooltip}}">{{ @AdminRules_table_header_proportion }}</th>
<th class="tooltip rules-weight-col" title="{{@AdminRules_table_header_weight_tooltip}}">{{ @AdminRules_table_header_weight }}</th>
<th class="tooltip rules-action-col" title="{{@AdminRules_table_header_users_tooltip}}">{{ @AdminRules_table_header_users }}</th>
</tr>
</thead>
<tbody>
<loop from="{{ @I }}=0" to="{{ @I }} < {{ count(@RULES) }}" step="{{ @I }}++">
<SET VALUE="{{ @RULES[@I].value ?? 0}}" />
<SET BROKEN="{{ !@RULES[@I].validated || @RULES[@I].missing }}" />
<SET PROPORTION="{{ @RULES[@I].proportion !== null ? (@RULES[@I].proportion < 1.0 && @RULES[@I].proportion > 0.0 ? '<1%' : strval(intval(@RULES[@I].proportion)).'%') : '&minus;' }}"/>
<SET PROPORTION_UPD="{{ @RULES[@I].proportion_updated_at !== null ? 'Last updated: '.(new DateTime(@RULES[@I].proportion_updated_at))->format('d/m/Y') : '&minus;' }}"/>
<tr data-rule-uid="{{ @RULES[@I].uid }}">
<td align="right">
<a href="/id?ruleUid={{@RULES[@I].uid}}"><h3 class="ruleHighlight {{ @BROKEN ? 'broken' : \Utils\RulesClasses::getRuleClass($VALUE) }}">{{@RULES[@I].uid}}</h3></a>
</td>
<td>
<check if="{{ !@BROKEN }}">
<true>
{{@RULES[@I].type}}
</true>
<false>
<p class="addlight">{{@RULES[@I].type}}</p>
</false>
</check>
</td>
<td>
<p {{@BROKEN ? 'class="inactive-rulename"' : ''}}>{{@RULES[@I].name}}</p>
<p class="addlight">{{@RULES[@I].descr}}</p>
</td>
<td align="center">
<check if="{{ !@BROKEN }}">
<true>
<span class="tooltip" title="{{ @PROPORTION_UPD }}">{{ @PROPORTION }}</span>
</true>
</check>
</td>
<td>
<check if="{{ !@BROKEN }}">
<true>
<div class="selector">
<select class="input rulescore" name="{{@RULES[@I].uid}}" data-initial-value="{{ @VALUE }}">
<loop from="{{ @J }}=0" to="{{ @J }} < {{ count(@RULE_VALUES) }}" step="{{ @J }}++">
<SET RULE_VALUE="{{ @RULE_VALUES[@J] }}" />
<set IS_RULE_ACTIVE="{{ @VALUE === @RULE_VALUE['value'] }} " />
<option value="{{ @RULE_VALUE.value }}" {{ @IS_RULE_ACTIVE ? 'selected' : '' }}>{{ @RULE_VALUE.text }}</option>
</loop>
</select>
</div>
</true>
</check>
</td>
<td>
<check if="{{ !@BROKEN }}">
<true>
<button class="button dark-loader" data-rule-uid="{{ @RULES[@I].uid }}">
<span class="icon ruleIcon">
<include href="images/icons/play.svg" />
</span>
</button>
<button class="button dark-loader is-primary is-hidden" type="button">
<span class="icon ruleIcon">
<include href="images/icons/save.svg" />
</span>
</button>
</true>
</check>
</td>
</tr>
</loop>
</tbody>
</table>
<include href="templates/parts/forms/reloadRulesForm.html">
</div>
</div>
</div>

View File

@@ -0,0 +1,37 @@
<div class="card events-card">
<header class="card-header">
<div class="card-header-title">{{ @AdminApi_shared_keys_title }}<p class="tooltip-info tooltip" title="{{ @AdminApi_shared_keys_title_tooltip }}"><include href="images/icons/information.svg" alt='' /></p>
</div>
</header>
<div class="card-table">
<div class="content">
<table class="table" id="shared-operators-table">
<tbody>
<check if="{{ count(@SHARED_OPERATORS) > 0 }}">
<true>
<repeat group="{{ @SHARED_OPERATORS }}" value="{{ @operator }}">
<tr>
<td>{{ @operator.email }}</td>
<td>{{ @operator.is_active ? 'Active' : 'Inactive' }}</td>
<td>
<include href="templates/parts/forms/removeCoOwnerForm.html" with="id={{@operator.id}}"/>
</td>
</tr>
</repeat>
</true>
<false>
<tr>
<td colspan="2">{{ @AdminApi_shared_keys_empty }}</td>
</tr>
</false>
</check>
<tr>
<include href="templates/parts/forms/addCoOwnerForm.html" />
</tr>
</tbody>
</table>
</div>
</div>
</div>

View File

@@ -0,0 +1,20 @@
<table class="table" id="token-table">
<thead>
<tr>
<th>{{ @AdminApi_table_column_sensor_key }}</th>
<th>{{ @AdminApi_table_column_created_at }}</th>
<th class="tooltip action-button-col" title="{{ @AdminApi_table_column_action_tooltip }}">{{ @AdminApi_table_column_action }}</th>
</tr>
</thead>
<tbody>
<repeat group="{{ @API_KEYS }}" value="{{ @API_KEY }}">
<tr>
<td><code>{{ @API_KEY.key }}</code></td>
<td>{{ \Utils\ElapsedDate::short(@API_KEY.created_at) }}</td>
<td>
<include href="templates/parts/forms/resetKeyForm.html" with="id={{@API_KEY.id}}, isOwner={{@IS_OWNER}}" />
</td>
</tr>
</repeat>
</tbody>
</table>

View File

@@ -0,0 +1,22 @@
<div class="card events-card">
<header class="card-header">
<div class="card-header-title">{{ @AdminApi_token_management_title }}<p class="tooltip-info tooltip" title="{{ @AdminApi_token_management_title_tooltip }}"><include href="images/icons/information.svg" alt='' /></p>
</div>
</header>
<div class="card-table">
<div class="content">
<table class="table" id="usage-stats-table">
<thead>
<tr>
<th class="subscription-plan-col">{{ @AdminApi_token_management_plan_col }}</th>
<th class="subscription-status-col">{{ @AdminApi_token_management_subscription_status_col }}</th>
<th class="subscription-usage-col">{{ @AdminApi_token_management_last_period_usage_col }}</th>
<th class="billing-date-col">{{ @AdminApi_token_management_next_billed_col }}</th>
<th class="tooltip action-button-col" title="Update payment method">{{ @AdminApi_token_management_update_payment_action }}</th>
</tr>
</thead>
</table>
</div>
</div>
</div>

View File

@@ -0,0 +1,44 @@
<check if="{{ isset(@showChart) && 1 === @showChart }}">
<div class="main-graph separate-graph">
<check if="false !== strpos(@CURRENT_PATH, 'id')" >
<true>
<include href="templates/parts/forms/filtersForm.html" />
</true>
</check>
<div class="stat-chart"></div>
</div>
</check>
<div class="card events-card">
<header class="card-header">
<div class="card-header-title">
{{ @AdminUsers_table_title }}
<span>&#8943;</span><p class="tooltip-info tooltip" title="{{ @AdminUsers_table_title_tooltip }}"><include href="images/icons/information.svg" alt=''/></p>
</div>
</header>
<div class="card-table">
<div class="content">
<check if="false !== strpos(@CURRENT_PATH, 'id')">
<true>
<include href="templates/parts/forms/searchForm.html" />
<include href="templates/parts/choices/rules.html" />
<include href="templates/parts/choices/scoresRange.html" />
</true>
</check>
<table class="table dim-table" id="users-table">
<thead>
<tr>
<th class="tooltip user-user-col" title="{{ @Base_table_column_user_risk_score_and_email_tooltip }}">{{ @Base_table_column_user_risk_score_and_email }}</th>
<th class="tooltip user-userid-col" title="{{ @Base_table_column_userid_tooltip }}">{{ @Base_table_column_userid }}</th>
<th class="tooltip user-name-col" title="{{ @Base_table_column_user_firstname_tooltip }}">{{ @Base_table_column_user_firstname }}</th>
<th class="tooltip user-name-col" title="{{ @Base_table_column_user_lastname_tooltip }}">{{ @Base_table_column_user_lastname }}</th>
<th class="tooltip user-date-col" title="{{ @Base_table_column_user_registered_tooltip }}">{{ @Base_table_column_user_registered }}</th>
<th class="tooltip user-timestamp-col" title="{{ @Base_table_column_lastseen_tooltip }}">{{ @Base_table_column_lastseen }}</th>
<th class="tooltip user-status-col" title="{{ @Base_table_column_reviewed_status_tooltip }}">{{ @Base_table_column_reviewed_status_short }}</th>
</tr>
</thead>
</table>
</div>
</div>
</div>