Update
This commit is contained in:
@@ -119,6 +119,30 @@
|
||||
<input id="process_names" name="process_names" value="{{ analysis.process_names_default }}" placeholder="Greenshot.exe">
|
||||
</label>
|
||||
<small class="muted">{{ t('setup_analyzer.process_names_help') }}</small>
|
||||
<div class="setup-analyzer-checkboxes">
|
||||
<label class="checkbox-label" for="start_application">
|
||||
<input id="start_application" name="start_application" type="checkbox" value="true" {% if analysis.start_application_default %}checked{% endif %}>
|
||||
<span>{{ t('setup_analyzer.start_application') }}</span>
|
||||
</label>
|
||||
<small class="muted">{{ t('setup_analyzer.start_application_help') }}</small>
|
||||
</div>
|
||||
<label for="start_executable">{{ t('setup_analyzer.start_executable') }}
|
||||
<input id="start_executable" name="start_executable" value="{{ analysis.start_executable_default }}" placeholder="C:\Program Files\Application\Application.exe">
|
||||
</label>
|
||||
<label for="start_arguments">{{ t('setup_analyzer.start_arguments') }}
|
||||
<input id="start_arguments" name="start_arguments" value="{{ analysis.start_arguments_default }}">
|
||||
</label>
|
||||
<div class="setup-analyzer-checkboxes">
|
||||
<label class="checkbox-label" for="start_only_if_user_logged_on">
|
||||
<input id="start_only_if_user_logged_on" name="start_only_if_user_logged_on" type="checkbox" value="true" checked>
|
||||
<span>{{ t('setup_analyzer.start_only_if_user_logged_on') }}</span>
|
||||
</label>
|
||||
<small class="muted">{{ t('setup_analyzer.start_only_if_user_logged_on_help') }}</small>
|
||||
<label class="checkbox-label" for="start_fail_job_on_error">
|
||||
<input id="start_fail_job_on_error" name="start_fail_job_on_error" type="checkbox" value="true">
|
||||
<span>{{ t('setup_analyzer.start_fail_job_on_error') }}</span>
|
||||
</label>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -39,6 +39,8 @@
|
||||
<dt>{{ t('setup_analyzer.reboot_codes') }}</dt><dd>{{ manifest.install.reboot_codes|join(', ') }}</dd>
|
||||
<dt>{{ t('setup_analyzer.suppress_browser') }}</dt><dd>{{ t('common.yes') if manifest.install.suppress_browser else t('common.no') }}</dd>
|
||||
<dt>{{ t('software_packages.process_names') }}</dt><dd>{% if manifest.process_control.process_names %}<code>{{ manifest.process_control.process_names|join(', ') }}</code>{% else %}—{% endif %}</dd>
|
||||
<dt>{{ t('software_packages.start_application') }}</dt><dd>{{ t('common.yes') if manifest.post_install.start_application else t('common.no') }}</dd>
|
||||
{% if manifest.post_install.start_application %}<dt>{{ t('software_packages.start_executable') }}</dt><dd><code>{{ manifest.post_install.executable or '—' }}</code></dd>{% endif %}
|
||||
<dt>{{ t('setup_analyzer.detection_method') }}</dt><dd><code>{{ manifest.detection.method }}</code></dd>
|
||||
</dl>
|
||||
</section>
|
||||
@@ -63,6 +65,34 @@
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<section class="panel software-package-post-install-panel">
|
||||
<h2>{{ t('software_packages.post_install') }}</h2>
|
||||
<p class="muted">{{ t('software_packages.post_install_help') }}</p>
|
||||
<form method="post" action="/software/packages/{{ package.id }}/post-install" class="software-package-post-install-form">
|
||||
<label class="checkbox-label software-package-start-application" for="package_start_application">
|
||||
<input id="package_start_application" name="start_application" type="checkbox" value="true" {% if manifest.post_install.start_application %}checked{% endif %}>
|
||||
<span>{{ t('software_packages.start_application') }}</span>
|
||||
</label>
|
||||
<label for="package_start_executable">{{ t('software_packages.start_executable') }}
|
||||
<input id="package_start_executable" name="executable" value="{{ manifest.post_install.executable }}" placeholder="C:\Program Files\Greenshot\Greenshot.exe">
|
||||
</label>
|
||||
<small class="muted">{{ t('software_packages.start_executable_help') }}</small>
|
||||
<label for="package_start_arguments">{{ t('software_packages.start_arguments') }}
|
||||
<input id="package_start_arguments" name="arguments" value="{{ manifest.post_install.arguments }}">
|
||||
</label>
|
||||
<label class="checkbox-label software-package-start-option" for="package_start_only_if_user">
|
||||
<input id="package_start_only_if_user" name="only_if_user_logged_on" type="checkbox" value="true" {% if manifest.post_install.only_if_user_logged_on %}checked{% endif %}>
|
||||
<span>{{ t('software_packages.start_only_if_user_logged_on') }}</span>
|
||||
</label>
|
||||
<small class="muted">{{ t('software_packages.start_only_if_user_logged_on_help') }}</small>
|
||||
<label class="checkbox-label software-package-start-option" for="package_start_fail_job">
|
||||
<input id="package_start_fail_job" name="fail_job_on_error" type="checkbox" value="true" {% if manifest.post_install.fail_job_on_error %}checked{% endif %}>
|
||||
<span>{{ t('software_packages.start_fail_job_on_error') }}</span>
|
||||
</label>
|
||||
<button class="button button-secondary" type="submit">{{ t('common.save') }}</button>
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<section class="panel">
|
||||
<h2>{{ t('software_packages.create_jobs') }}</h2>
|
||||
<p class="muted">{{ t('software_packages.create_jobs_help') }}</p>
|
||||
|
||||
Reference in New Issue
Block a user