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,10 @@
<form method="POST" action="{{ 'settings' | alias }}">
<input type="hidden" name="token" value="{{ @CSRF }}">
<input type="hidden" name="cmd" value="inviteCoOwner">
<td>
<input class="input" name="email" type="text" placeholder="{{ @AdminApi_add_co_owner_form_email }}" autocomplete="off"/>
</td>
<td>
<button class="button is-primary" type="submit">{{@AdminApi_add_co_owner_form_invite_button}}</button>
</td>
</form>

View File

@@ -0,0 +1,31 @@
<div class="card events-card" data-item-id="profile-form">
<form method="POST" action="/settings">
<input type="hidden" name="token" value="{{ @CSRF }}">
<input type="hidden" name="cmd" value="changeEmail" />
<header class="card-header">
<div class="card-header-title">{{ @AdminSettings_changeEmail_form_title }}<p class="tooltip-info tooltip" title="{{ @AdminSettings_changeEmail_form_title_tooltip }}"><include href="images/icons/information.svg" alt=''/></p>
</div>
</header>
<div class="card-content">
<div class="content">
<check if="{{ @waitingForConfirmation }}">
<div class="warning-text">
{{ \sprintf(@AdminSettings_changeEmail_approval_pending, @waitingForConfirmation) }}
</div>
</check>
<div class="field">
<label class="label">{{ @AdminSettings_changeEmail_form_field_email_label }}</label>
<div class="control">
<input class="input" name="email" type="email" value="{{ @email }}" placeholder="{{ @AdminSettings_changeEmail_form_field_email_placeholder }}" required />
</div>
</div>
</div>
</div>
<footer class="card-footer">
<input type="submit" class="button is-primary" value="{{ @AdminSettings_changeEmail_form_button_save }}" >
</footer>
</form>
</div>

View File

@@ -0,0 +1,41 @@
<div class="card events-card" data-item-id="profile-form">
<form method="POST" action="/settings">
<input type="hidden" name="token" value="{{ @CSRF }}">
<input type="hidden" name="cmd" value="changePassword" />
<header class="card-header">
<div class="card-header-title">{{ @AdminSettings_changePassword_form_title }}<p class="tooltip-info tooltip" title="{{ @AdminSettings_changePassword_form_title_tooltip }}"><include href="images/icons/information.svg" alt=''/></p>
</div>
</header>
<div class="card-content">
<div class="content">
<div class="field">
<label class="label">{{ @AdminSettings_changePassword_form_field_currentPassword_label }}</label>
<div class="control">
<input class="input" name="currentPassword" type="password" value="" placeholder="{{ @AdminSettings_changePassword_form_field_currentPassword_placeholder }}" required />
</div>
</div>
<div class="field">
<label class="label">{{ @AdminSettings_changePassword_form_field_newPassword_label }}</label>
<div class="control">
<input class="input" name="new-password" type="password" placeholder="{{ @AdminSettings_changePassword_form_field_newPassword_placeholder }}" minlength="{{ @MIN_PASSWORD_LENGTH }}" required />
</div>
</div>
<div class="field">
<label class="label">{{ @AdminSettings_changePassword_form_field_passwordConfirmation_label }}</label>
<div class="control">
<input class="input" name="password-confirmation" type="password" placeholder="{{ @AdminSettings_changePassword_form_field_passwordConfirmation_placeholder }}" minlength="{{ @MIN_PASSWORD_LENGTH }}" required />
</div>
</div>
</div>
</div>
<footer class="card-footer">
<input type="submit" class="button is-primary" value="{{ @AdminProfile_form_button_save }}" >
</footer>
</form>
</div>

View File

@@ -0,0 +1,23 @@
<div class="card events-card" data-item-id="check-updates-form">
<form method="POST" action="/settings">
<input type="hidden" name="token" value="{{ @CSRF }}">
<input type="hidden" name="cmd" value="checkUpdates" />
<div class="card-header">
<div class="card-header-title">{{ @AdminSettings_checkUpdates_form_title }}</div>
</div>
<div class="card-content">
<div class="content">
<div class="field">
<p>{{ @AdminSettings_form_checkUpdates_currentVerision | raw }}{{ @CURRENT_VERSION }}</p>
<p>{{ @AdminSettings_form_checkUpdates_confirmationMessage | raw }}</p>
</div>
</div>
</div>
<footer class="card-footer">
<input type="submit" class="button is-primary" value="{{ @AdminSettings_checkUpdates_form_button }}" >
</footer>
</form>
</div>

View File

@@ -0,0 +1,22 @@
<div class="card events-card" data-item-id="profile-form">
<form method="POST" action="/settings" id="close-account-form">
<input type="hidden" name="token" value="{{ @CSRF }}">
<input type="hidden" name="cmd" value="closeAccount" />
<header class="card-header">
<p class="card-header-title">{{ @AdminSettings_form_closeAccount_title }}</p>
</header>
<div class="card-content">
<div class="content">
<div class="field">
<p>{{ @AdminSettings_form_closeAccount_confirmationMessage | raw }}</p>
</div>
</div>
</div>
<footer class="card-footer">
<input type="submit" class="button is-danger" id="close-account-btn" value="{{ @AdminSettings_closeAccount_form_button_save }}" >
</footer>
</form>
</div>

View File

@@ -0,0 +1,7 @@
<form method="POST">
<input type="hidden" name="cmd" value="delete" />
<input type="hidden" name="token" value="{{ @CSRF }}">
<input type="hidden" name="accountid" value="{{@USER.accountid}}"/>
<button class="button is-danger" data-type="remove" id="right-to-be-forgotten-button" type="submit" {{@SCHEDULED_FOR_DELETION ? 'disabled' : ''}}>{{ @AdminUser_remove_user_button }}</button>
<span id="scheduled-deletion-text" {{@SCHEDULED_FOR_DELETION ? '' : 'style="display: none"'}}>{{ @AdminUser_scheduled_for_removal }}</span>
</form>

View File

@@ -0,0 +1,32 @@
<div class="card events-card" data-item-id="profile-form">
<form method="POST" action="/api" id="enrich-all-form">
<input type="hidden" name="token" value="{{ @CSRF }}">
<input type="hidden" name="cmd" value="enrichAll" />
<header class="card-header">
<p class="card-header-title">{{ @AdminApi_manual_enrichment_form_title }}</p>
</header>
<div class="card-content">
<div class="content">
<div class="field">
<p>{{ @AdminApi_manual_enrichment_form_confirmationMessage | raw }}</p>
</div>
</div>
</div>
{~
$disableButton = true;
foreach ($API_KEYS as $key) {
if ($key['apiToken'] !== null) {
$disableButton = false;
}
}
$disableButton = ($disableButton || !$NOT_CHECKED)? 'disabled' : '';
~}
<footer class="card-footer">
<input type="submit" class="button is-primary" id="enrich-all-btn" value="{{ @AdminApi_manual_enrichment_form_button_submit }}" {{ @disableButton }}>
</footer>
</form>
</div>

View File

@@ -0,0 +1,9 @@
<form action="" method="POST" class="reenrichment" id="reenrichment-form">
<input type="hidden" name="token" value="{{ @CSRF }}">
<input type="hidden" name="type" value="{{@type}}" />
<input type="hidden" name="entityId" value="{{@entityId}}" />
<input type="hidden" name="cmd" value="reenrichment" />
<button class="reenrichment-button" type="submit">
<p class="tooltip" title="{{ @Base_page_enrich_entity }}"><img src="/ui/images/icons/reload.svg"></p>
</button>
</form>

View File

@@ -0,0 +1,66 @@
<nav class="filtersForm daterange">
{~
$USE_RANGE = false;
$USE_INTERVAL = false;
if('/event' == $CURRENT_PATH || '/logbook' == $CURRENT_PATH) {
$USE_RANGE = true;
} else {
$USE_INTERVAL = true;
}
if('/watchlist' == $CURRENT_PATH) {
$USE_RANGE = false;
$USE_INTERVAL = false;
}
~}
<check if="{{ @USE_INTERVAL }}">
<div class="control has-icons-left">
<span class="dateselector">
<a href="javascript:void(0);" data-type="d" data-value="0" class="blocked">MAX</a>
<a href="javascript:void(0);" data-type="d" data-value="2160" class="blocked">3M</a>
<a href="javascript:void(0);" data-type="d" data-value="720" class="blocked">1M</a>
<a href="javascript:void(0);" data-type="d" data-value="168" class="blocked">1W</a>
<a href="javascript:void(0);" data-type="d" data-value="72" class="blocked">3D</a>
<a href="javascript:void(0);" data-type="d" data-value="24" class="active">1D</a>
<a href="javascript:void(0);" data-type="d" data-value="1" class="blocked">1H</a>
</span>
<span class="icon">
<include href="images/icons/stopwatch.svg" />
</span>
<input type="hidden" name="date_from" />
<input type="hidden" name="date_to" />
<input type="hidden" name="offset" value="{{ @OFFSET }}"/>
</div>
</check>
<check if="{{ @USE_RANGE }}">
<input type="hidden" name="date_from" />
<input type="hidden" name="date_to" />
<input type="hidden" name="offset" value="{{ @OFFSET ?? 0 }}"/>
<div class="field">
<p class="control has-icons-left">
<input type="datetime-local" class="input" name="date_from_local" step="1">
<span class="icon">
<include href="images/icons/calendar.svg" />
</span>
</p>
</div>
<div class="field">
<p class="control has-icons-left">
<input type="datetime-local" class="input" name="date_to_local" step="1">
<span class="icon">
<include href="images/icons/calendar.svg" />
</span>
</p>
</div>
</check>
</nav>

View File

@@ -0,0 +1,22 @@
<form action="/forgot-password" method="POST">
<input type="hidden" name="token" value="{{ @CSRF }}">
<div class="field">
<div class="control">
<input class="input" placeholder="{{ @ForgotPassword_form_email_label }}"
type="email" id="email" name="email" required
value="{{ isset(@VALUES) && isset(@VALUES.email) ? @VALUES.email : '' }}">
</div>
</div>
<hr />
<div class="bottom-line">
<div>
<a href="/login">{{ @ForgotPassword_form_login_link }}</a>
</div>
<div class="control">
<button class="button is-primary" type="submit">{{@ForgotPassword_form_reset_button }}</button>
</div>
</div>
</form>

View File

@@ -0,0 +1,20 @@
<div class="searchline">
<div class="field day-tile tooltip" title="{{ @AdminHome_clock_day_tooltip }}">
<input class="input" id="clock-day" placeholder="{{ @DAY }}" readonly>
</div>
<div class="field time-tile tooltip" title="{{ @AdminHome_clock_time_tooltip }}">
<input class="input" id="clock-time" placeholder="{{ @TIME_HIS }} {{ @TIMEZONE }}" readonly>
</div>
<input type="hidden" id="offset" value="{{ @OFFSET }}">
<form onsubmit="document.getElementById('auto-complete').focus(); return false;">
<input type="hidden" name="token" value="{{ @CSRF }}">
<div class="field global-search">
<input class="input" id="auto-complete" name="search" placeholder="{{ @Welcome_global_search_placeholder }}" autocomplete="off">
<div class="text-loader"></div>
</div>
</form>
</div>

View File

@@ -0,0 +1,28 @@
<form action="/login" method="POST">
<input type="hidden" name="token" value="{{ @CSRF }}">
<div class="field">
<div class="control">
<input autofocus class="input" placeholder="{{ @Login_form_email_label }}" type="email" id="email" name="email" required value="{{ isset(@VALUES)?@VALUES.email:'' }}" >
</div>
</div>
<div class="field">
<div class="control">
<input class="input" placeholder="{{ @Login_form_password_label }}" type="password" id="password" name="password" required>
</div>
</div>
<hr />
<div class="bottom-line">
<div>
<check if="{{ @ALLOW_FORGOT_PASSWORD }}">
<a href="/forgot-password">{{ @Login_form_forgot_password_link }}</a>
</check>
</div>
<div class="control">
<button id="submit-button" class="button is-primary" type="submit">{{ @Login_form_signin_button }}</button>
</div>
</div>
</form>

View File

@@ -0,0 +1,16 @@
<form action="{{ 'logout' | alias }}" method="POST">
<input type="hidden" name="token" value="{{ @CSRF }}">
<p class="level-center">{{ @Logout_text }}</p>
<hr />
<div class="bottom-line">
<div>
<a href="/login">{{ @Logout_form_cancel_link }}</a>
</div>
<div class="control">
<button id="submit-button" class="button is-primary" type="submit">{{ @Logout_form_submit }}</button>
</div>
</div>
</form>

View File

@@ -0,0 +1,75 @@
<div class="card events-card" data-item-id="manual-check-form">
<form method="POST" action="{{ 'manualCheck' | alias }}">
<input type="hidden" name="token" value="{{ @CSRF }}">
<header class="card-header">
<p class="card-header-title">{{ @AdminManualCheck_form_title }}</p>
</header>
<div class="card-content">
<div class="content">
<table class="search-form">
<tr>
<td>
<div class="field" >
<set TYPE="{{ isset(@SEARCH_VALUES) ? @SEARCH_VALUES.type : '' }}" />
<div class="selector">
<select class="input" name="type" id="type">
<repeat group="{{ @AdminManualCheck_form_types }}" key="{{ @key }}" value="{{ @type }}">
<set active="{{ @TYPE === @key }} " />
<option value="{{ @key }}" {{ @active ? 'selected' : '' }}>{{ @type }}</option>
</repeat>
</select>
</div>
</label>
</div>
</td>
<td>
<div class="field">
<set SEARCH="{{ isset(@SEARCH_VALUES) ? @SEARCH_VALUES.search : '' }}" />
<input class="input" name="search" type="text" value="{{ @SEARCH }}" autocomplete="off"/>
</label>
</div>
</td>
<td>
<div class="field">
<input type="submit" class="button is-primary" value="{{ @AdminManualCheck_form_button_search }}">
</div>
</td>
</tr>
</table>
</div>
</div>
{**
<div class="card-content">
<div class="content">
<div class="field">
<label class="label">{{ @AdminManualCheck_form_field_type_label }}</label>
<div class="control">
<set TYPE="{{ isset(@SEARCH_VALUES) ? @SEARCH_VALUES.type : '' }}" />
<select class="input" name="type" id="type">
<repeat group="{{ @AdminManualCheck_form_types }}" key="{{ @key }}" value="{{ @type }}">
<set active="{{ @TYPE === @key }} " />
<option value="{{ @key }}" {{ @active ? 'selected' : '' }}>{{ @type }}</option>
</repeat>
</select>
</div>
</div>
<div class="field">
<label class="label">{{ @AdminManualCheck_form_field_search_query_label }}</label>
<div class="control">
<set SEARCH="{{ isset(@SEARCH_VALUES) ? @SEARCH_VALUES.search : '' }}" />
<input class="input" name="search" type="text" value="{{ @SEARCH }}" autocomplete="off"/>
</div>
</div>
</div>
</div>
<footer class="card-footer">
<input type="submit" class="button is-primary" value="{{ @AdminManualCheck_form_button_search }}">
</footer>
**}
</form>
</div>

View File

@@ -0,0 +1,7 @@
<form method="POST" action="{{ 'manualCheck' | alias }}">
<input type="hidden" name="token" value="{{ @CSRF }}">
<input type="hidden" name="type" value="{{ @value->type }}">
<input type="hidden" name="search" value="{{ @value->search_query }}">
<a href="{{ 'manualCheck' | alias }}" data-item-id="manual-check-history-item">{{ @value->search_query }}</a>
</form>

View File

@@ -0,0 +1,39 @@
<div class="card events-card" data-item-id="notification-preferences-form">
<form method="POST" action="{{ 'settings' | alias }}">
<input type="hidden" name="token" value="{{ @CSRF }}">
<input type="hidden" name="cmd" value="updateNotificationPreferences" />
<header class="class-header">
<div class="card-header-title">{{ @AdminSettings_notificationPreferences_title }}<p class="tooltip-info tooltip" title="{{ @AdminSettings_notificationPreferences_title_tooltip }}"><include href="images/icons/information.svg" alt=''/></p>
</div>
</header>
<div class="card-content">
<div class="content">
<div class="field">
<label class="label">{{ @AdminSettings_notificationPreferences_reviewReminderFrequency_label
}}</label>
<div class="control">
<div class="selector">
<select class="input" name="review-reminder-frequency" id="review-reminder-frequency">
<repeat
group="{{ \Type\UnreviewedItemsReminderFrequencyType::getValues() }}"
value="{{ @key }}">
<set active="{{ @frequency === @key }}" />
<option value="{{ @key }}" {{ @active ? 'selected' : '' }}>{{
@AdminSettings_notificationPreferences_reviewReminderFrequency_options[@key] }}
</option>
</repeat>
</select>
</div>
</div>
</div>
</div>
</div>
<footer class="card-footer">
<input type="submit" class="button is-primary"
value="{{ @AdminSettings_notificationPreferences_button_save }}">
</footer>
</form>
</div>

View File

@@ -0,0 +1,28 @@
<form action="" method="POST">
<input type="hidden" name="token" value="{{ @CSRF }}">
<div class="field">
<label for="new-password" class="label">{{ @PasswordRecovering_form_newPassword_label }}</label>
<div class="control">
<input class="input" type="password" id="new-password" name="new-password" required minlength="{{ @MIN_PASSWORD_LENGTH }}">
</div>
</div>
<div class="field">
<label for="password-confirmation" class="label">{{ @PasswordRecovering_form_confirmPassword_label }}</label>
<div class="control">
<input class="input" type="password" id="password-confirmation" name="password-confirmation" required minlength="{{ @MIN_PASSWORD_LENGTH }}">
</div>
</div>
<hr />
<div class="bottom-line">
<div>
<a href="/login">{{ @ForgotPassword_form_login_link }}</a>
</div>
<div class="control">
<button class="button is-primary" type="submit">{{ @PasswordRecovering_form_renew_button }}</button>
</div>
</div>
</form>

View File

@@ -0,0 +1,7 @@
<form action="" method="POST" class="reenrichment" id="reload-rules-form">
<input type="hidden" name="token" value="{{ @CSRF }}">
<input type="hidden" name="cmd" value="refreshRules">
<footer class="card-footer">
<input type="submit" class="button is-primary" value="{{ @AdminRules_reload_rules }}" >
</footer>
</form>

View File

@@ -0,0 +1,6 @@
<form method="POST" action="{{ 'settings' | alias }}">
<input type="hidden" name="cmd" value="removeCoOwner">
<input type="hidden" name="token" value="{{ @CSRF }}">
<input type="hidden" name="operatorId" value="{{ @id }}">
<button class="button is-danger" type="submit">{{ @AdminApi_shared_keys_delete }}</button>
</form>

View File

@@ -0,0 +1,6 @@
<form method="POST" action="{{ 'api' | alias }}">
<input type="hidden" name="token" value="{{ @CSRF }}">
<input type="hidden" name="cmd" value="resetKey">
<input type="hidden" name="keyId" value="{{ @id }}">
<button class="button is-danger" type="submit" {{@isOwner ? '' : 'disabled'}}>{{@AdminApi_table_button_reset }}</button>
</form>

View File

@@ -0,0 +1,36 @@
<div class="card events-card" data-item-id="profile-form">
<form method="POST" action="{{ 'settings' | alias }}">
<input type="hidden" name="token" value="{{ @CSRF }}">
<input type="hidden" name="cmd" value="changeRetentionPolicy" />
<input type="hidden" name="keyId" value="{{ @apiKeyId }}">
<header class="card-header">
<div class="card-header-title">{{ @AdminRetentionPolicy_form_title }}<p class="tooltip-info tooltip" title="{{ @AdminRetentionPolicy_form_title_tooltip }}"><include href="images/icons/information.svg" alt=''/></p>
</div>
</header>
<div class="card-content">
<div class="content">
{{ @AdminRetentionPolicy_form_field_policy_warning }}
<div class="field">
<label class="label">{{ @AdminRetentionPolicy_form_field_policy_label }}</label>
<div class="control">
<div class="selector">
<select class="input" name="retention-policy" id="retention-policy">
<option value="0" {{ @retentionPolicy === 0 ? 'selected' : '' }}>No retention policy</option>
<option value="1" {{ @retentionPolicy === 1 ? 'selected' : '' }}>1 week</option>
<option value="3" {{ @retentionPolicy === 3 ? 'selected' : '' }}>3 weeks</option>
<option value="8" {{ @retentionPolicy === 8 ? 'selected' : '' }}>8 weeks</option>
<option value="12" {{ @retentionPolicy === 12 ? 'selected' : '' }}>12 weeks</option>
</select>
</div>
</div>
</div>
</div>
</div>
<footer class="card-footer">
<input type="submit" class="button is-primary" value="{{ @AdminRetentionPolicy_form_button_save }}">
</footer>
</form>
</div>

View File

@@ -0,0 +1,8 @@
<form action="" method="POST" class="reenrichment" id="reenrichment-form">
<input type="hidden" name="token" value="{{ @CSRF }}">
<input type="hidden" name="accountid" value="{{@accountid}}">
<input type="hidden" name="cmd" value="riskScore">
<button class="reenrichment-button" type="submit">
<p class="tooltip" title="{{ @AdminUser_recalculate_risk_score_tooltip }}"><img src="/ui/images/icons/reload.svg"></p>
</button>
</form>

View File

@@ -0,0 +1,8 @@
<div class="searchForm">
<div class="control has-icons-left">
<input type="text" id="search" class="input" placeholder="{{ @SEARCH_PLACEHOLDER }}" autocomplete="off">
<span class="icon">
<include href="images/icons/search.svg" />
</span>
</div>
</div>

View File

@@ -0,0 +1,34 @@
<form action="/signup" method="POST">
<input type="hidden" name="token" value="{{ @CSRF }}">
<div class="field">
<div class="control">
<input autofocus placeholder="{{ @Signup_form_email_label }}" class="input" type="email" id="email" name="email" required value="{{ isset(@VALUES)?@VALUES.email:'' }}" >
</div>
</div>
<div class="field">
<div class="control">
<input class="input" placeholder="{{ @Signup_form_password_label }}" type="password" id="password" name="password" minlength="{{ @MIN_PASSWORD_LENGTH }}" required>
</div>
</div>
<div class="field">
<div class="control">
<set TIMEZONE="UTC" />
<include href="templates/parts/timeZoneSelector.html" />
</div>
</div>
<hr />
<div class="bottom-line">
<div>
<a href="/login">{{ @ForgotPassword_form_login_link }}</a>
</div>
<div class="control has-text-right">
<button class="button is-primary" type="submit">{{ @Signup_form_signin_button }}</button>
</div>
</div>
</form>

View File

@@ -0,0 +1,60 @@
<div class="card events-card" data-item-id="threshhold-values-form">
<form method="POST" action="{{ 'rules' | alias }}">
<input type="hidden" name="token" value="{{ @CSRF }}">
<input type="hidden" name="cmd" value="changeThresholdValues" />
<input type="hidden" name="keyId" value="{{ @apiKeyId }}">
<header class="card-header">
<div class="card-header-title">{{ @AdminThresholdValues_form_title }}<p class="tooltip-info tooltip" title="{{ @AdminThresholdValues_form_title_tooltip }}"><include href="images/icons/information.svg" alt=''/></p>
</div>
</header>
<div class="card-content">
<div class="content">
{{ @AdminThresholdValues_form_field_warning }}
<div class="field">
<label class="label">{{ @AdminThresholdValues_form_field_review_queue_threshold_label }}</label>
<div class="control">
<input type="radio" id="review0" name="review-queue-threshold" value="0" {{ @reviewQueueThreshold === 0 ? 'checked' : ( @blacklistThreshold >= 0 ? 'disabled' : '') }}>
<label for="review0">{{ @AdminThresholdValues_form_value_zero_prefix }} 0</label><br>
<input type="radio" id="review6" name="review-queue-threshold" value="6" {{ @reviewQueueThreshold === 6 ? 'checked' : ( @blacklistThreshold >= 6 ? 'disabled' : '') }}>
<label for="review6">{{ @AdminThresholdValues_form_value_prefix }} 6</label><br>
<input type="radio" id="review18" name="review-queue-threshold" value="18" {{ @reviewQueueThreshold === 18 ? 'checked' : ( @blacklistThreshold >= 18 ? 'disabled' : '') }}>
<label for="review18">{{ @AdminThresholdValues_form_value_prefix }} 18</label><br>
<input type="radio" id="review24" name="review-queue-threshold" value="24" {{ @reviewQueueThreshold === 24 ? 'checked' : ( @blacklistThreshold >= 24 ? 'disabled' : '') }}>
<label for="review24">{{ @AdminThresholdValues_form_value_prefix }} 24</label><br>
<input type="radio" id="review33" name="review-queue-threshold" value="33" {{ @reviewQueueThreshold === 33 ? 'checked' : ( @blacklistThreshold >= 33 ? 'disabled' : '') }}>
<label for="review33">{{ @AdminThresholdValues_form_value_prefix }} 33</label>
</div>
</div>
<div class="field">
<label class="label">{{ @AdminThresholdValues_form_field_blacklist_threshold_label }}</label>
<div class="control">
<input type="radio" id="blacklist-1" name="blacklist-threshold" value="-1" {{ @blacklistThreshold === -1 ? 'checked' : '' }}>
<label for="blacklist-1">Off (recommended)</label><br>
<input type="radio" id="blacklist0" name="blacklist-threshold" value="0" {{ @blacklistThreshold === 0 ? 'checked' : '' }}>
<label for="blacklist0">{{ @AdminThresholdValues_form_value_zero_prefix }} 0</label><br>
<input type="radio" id="blacklist6" name="blacklist-threshold" value="6" {{ @blacklistThreshold === 6 ? 'checked' : ( @reviewQueueThreshold <= 6 ? 'disabled' : '') }}>
<label for="blacklist6">{{ @AdminThresholdValues_form_value_prefix }} 6</label><br>
<input type="radio" id="blacklist12" name="blacklist-threshold" value="12" {{ @blacklistThreshold === 12 ? 'checked' : ( @reviewQueueThreshold <= 12 ? 'disabled' : '') }}>
<label for="blacklist12">{{ @AdminThresholdValues_form_value_prefix }} 12</label><br>
<input type="radio" id="blacklist18" name="blacklist-threshold" value="18" {{ @blacklistThreshold === 18 ? 'checked' : ( @reviewQueueThreshold <= 18 ? 'disabled' : '') }}>
<label for="blacklist18">{{ @AdminThresholdValues_form_value_prefix }} 18</label>
</div>
</div>
</div>
</div>
<footer class="card-footer">
<input type="submit" class="button is-primary" value="{{ @AdminThresholdValues_form_button_save }}">
</footer>
</form>
</div>

View File

@@ -0,0 +1,28 @@
<div class="card events-card" data-item-id="profile-form">
<form method="POST" action="/settings">
<input type="hidden" name="token" value="{{ @CSRF }}">
<input type="hidden" name="cmd" value="changeTimeZone" />
<header class="card-header">
<div class="card-header-title">{{ @AdminTimeZone_form_title }}<p class="tooltip-info tooltip" title="{{ @AdminTimeZone_form_title_tooltip }}"><include href="images/icons/information.svg" alt=''/></p>
</div>
</header>
<div class="card-content">
<div class="content">
<div class="field">
<label class="label">{{ @AdminTimeZone_form_field_timezone_label }}</label>
<div class="control">
<set TIMEZONE="{{ @PROFILE ? @PROFILE.timezone: 'UTC' }}" />
<set TIMEZONE="{{ isset(@TIME_ZONE_VALUES) ? @TIME_ZONE_VALUES.timezone : @TIMEZONE }}" />
<include href="templates/parts/timeZoneSelector.html" />
</div>
</div>
</div>
</div>
<footer class="card-footer">
<input type="submit" class="button is-primary" value="{{ @AdminTimeZone_form_button_save }}">
</footer>
</form>
</div>

View File

@@ -0,0 +1,34 @@
<form method="POST" action="/api">
<input type="hidden" name="token" value="{{ @CSRF }}">
<input type="hidden" name="cmd" value="updateApiUsage">
<input type="hidden" name="keyId" value="{{ @API_KEY.id }}">
<div class="card-content">
<div class="content">
<div class="field"><p>{{ @AdminApi_form_confirmationMessage | raw }}</p></div>
<textarea class="textarea" name="apiToken" placeholder="{{ @AdminApi_form_field_token_placeholder }}" rows="2" cols="84" required>{{ @API_KEY.apiToken }}</textarea>
<repeat group="{{ @API_KEY.enrichedAttributes }}" key="{{ @attribute }}" value="{{ @enabled }}">
<check if="{{ @ALLOW_EMAIL_PHONE || @attribute === 'ip' }}">
<div class="field">
<label class="label">{{ @AdminApi_data_enrichment_attributes[@attribute] }}</label>
<div class="control">
<input type="checkbox" name="enrichedAttributes[{{ @attribute }}]" value="{{ @attribute }}" {{ @enabled ? 'checked' : '' }} />
</div>
</div>
</check>
</repeat>
{***
<div class="field">
<label class="label">{{ @AdminApi_data_alert_list_exchange }}</label>
<div class="control">
<input type="checkbox" name="exchangeBlacklist" {{ @API_KEY.skip_blacklist_sync ? '' : 'checked' }} />
</div>
</div>
***}
</div>
</div>
<footer class="card-footer">
<input type="submit" class="button is-primary" value="{{ @AdminApi_form_button_save }}" >
</footer>
</form>