2017-10-06 04:59:02 +02:00
|
|
|
<div class="admin-wizard settings">
|
|
|
|
|
|
|
|
<div class="wizard-header">
|
|
|
|
{{i18n 'admin.wizard.header'}}
|
|
|
|
</div>
|
|
|
|
|
2017-10-07 04:27:38 +02:00
|
|
|
<div class="setting">
|
|
|
|
<div class="setting-label">
|
2017-10-13 15:02:34 +02:00
|
|
|
<h3>{{i18n 'admin.wizard.id'}}</h3>
|
2017-10-07 04:27:38 +02:00
|
|
|
</div>
|
|
|
|
<div class="setting-value">
|
2017-10-13 15:02:34 +02:00
|
|
|
{{input name="name" value=model.id placeholderKey="admin.wizard.id_placeholder" disabled=model.existingId}}
|
2017-10-07 04:27:38 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2017-10-06 04:59:02 +02:00
|
|
|
<div class="setting">
|
|
|
|
<div class="setting-label">
|
|
|
|
<h3>{{i18n 'admin.wizard.name'}}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value">
|
2017-10-07 04:27:38 +02:00
|
|
|
{{input name="name" value=model.name placeholderKey="admin.wizard.name_placeholder"}}
|
2017-10-06 04:59:02 +02:00
|
|
|
</div>
|
2017-09-23 04:34:07 +02:00
|
|
|
</div>
|
|
|
|
|
2017-10-13 15:02:34 +02:00
|
|
|
<div class="setting">
|
|
|
|
<div class="setting-label">
|
|
|
|
<h3>{{i18n 'admin.wizard.background'}}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value">
|
|
|
|
{{input name="background" value=model.background placeholderKey="admin.wizard.background_placeholder"}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2017-10-06 04:59:02 +02:00
|
|
|
<div class="setting">
|
|
|
|
<div class="setting-label">
|
|
|
|
<h3>{{i18n 'admin.wizard.save_submissions'}}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value">
|
|
|
|
{{input type='checkbox' checked=model.save_submissions}}
|
2017-11-29 10:48:49 +01:00
|
|
|
<span>{{i18n 'admin.wizard.save_submissions_label'}}</span>
|
2017-10-06 04:59:02 +02:00
|
|
|
</div>
|
2017-10-05 02:36:46 +02:00
|
|
|
</div>
|
|
|
|
|
2017-11-01 05:21:14 +01:00
|
|
|
<div class="setting">
|
2017-10-13 15:02:34 +02:00
|
|
|
<div class="setting-label">
|
|
|
|
<h3>{{i18n 'admin.wizard.multiple_submissions'}}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value">
|
|
|
|
{{input type='checkbox' checked=model.multiple_submissions}}
|
2017-11-29 10:48:49 +01:00
|
|
|
<span>{{i18n 'admin.wizard.multiple_submissions_label'}}</span>
|
2017-10-13 15:02:34 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2017-11-01 05:21:14 +01:00
|
|
|
<div class="setting">
|
|
|
|
<div class="setting-label">
|
|
|
|
<h3>{{i18n 'admin.wizard.required'}}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value">
|
|
|
|
{{input type='checkbox' checked=model.required}}
|
2017-11-29 10:48:49 +01:00
|
|
|
<span>{{i18n 'admin.wizard.required_label'}}</span>
|
2017-11-01 05:21:14 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="setting">
|
|
|
|
<div class="setting-label">
|
|
|
|
<h3>{{i18n 'admin.wizard.after_signup'}}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value">
|
|
|
|
{{input type='checkbox' checked=model.after_signup}}
|
2017-11-29 10:48:49 +01:00
|
|
|
<span>{{i18n 'admin.wizard.after_signup_label'}}</span>
|
2017-11-01 05:21:14 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="setting">
|
|
|
|
<div class="setting-label">
|
|
|
|
<h3>{{i18n 'admin.wizard.after_time'}}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value">
|
|
|
|
{{input type='checkbox' checked=model.after_time}}
|
2017-11-29 10:48:49 +01:00
|
|
|
<span>{{i18n 'admin.wizard.after_time_label'}}</span>
|
2017-11-01 05:21:14 +01:00
|
|
|
{{d-button action='setNextSessionScheduled' translatedLabel=nextSessionScheduledLabel icon='calendar-o'}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2017-11-22 10:34:21 +01:00
|
|
|
<div class="setting">
|
|
|
|
<div class="setting-label">
|
|
|
|
<h3>{{i18n 'admin.wizard.prompt_completion'}}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value">
|
|
|
|
{{input type='checkbox' checked=model.prompt_completion}}
|
2017-11-29 10:48:49 +01:00
|
|
|
<span>{{i18n 'admin.wizard.prompt_completion_label'}}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="setting">
|
|
|
|
<div class="setting-label">
|
|
|
|
<h3>{{i18n 'admin.wizard.min_trust'}}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value">
|
|
|
|
<span>{{i18n 'admin.wizard.min_trust_label'}}</span>
|
|
|
|
{{input type='number' value=model.min_trust class='input-small'}}
|
2017-11-22 10:34:21 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2017-12-17 04:43:18 +01:00
|
|
|
<div class="setting">
|
|
|
|
<div class="setting-label">
|
2018-07-16 06:28:24 +02:00
|
|
|
<h3>{{i18n 'admin.wizard.theme_id'}}</h3>
|
2017-12-17 04:43:18 +01:00
|
|
|
</div>
|
|
|
|
<div class="setting-value">
|
2020-02-02 11:42:05 +01:00
|
|
|
{{combo-box
|
|
|
|
content=model.themes
|
|
|
|
valueProperty='id'
|
|
|
|
value=model.theme_id
|
2020-02-05 07:58:35 +01:00
|
|
|
none='admin.wizard.no_theme'}}
|
2017-12-17 04:43:18 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2019-11-04 18:49:30 +01:00
|
|
|
<div class="setting">
|
|
|
|
<div class="setting-label">
|
|
|
|
<h3>{{i18n 'admin.wizard.restart_on_revisit'}}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value">
|
|
|
|
{{input type='checkbox' checked=model.restart_on_revisit}}
|
|
|
|
<span>{{i18n 'admin.wizard.restart_on_revisit_label'}}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2017-10-06 04:59:02 +02:00
|
|
|
<div class="setting full">
|
|
|
|
<div class="setting-label">
|
|
|
|
<h3>{{i18n 'admin.wizard.url'}}</h3>
|
|
|
|
</div>
|
|
|
|
<a href="{{wizardUrl}}" target="_blank">{{wizardUrl}}</a>
|
|
|
|
</div>
|
|
|
|
|
2017-10-17 09:18:53 +02:00
|
|
|
{{wizard-links type="step" current=currentStep items=model.steps}}
|
2017-10-07 04:27:38 +02:00
|
|
|
{{#if currentStep}}
|
2017-10-30 07:24:51 +01:00
|
|
|
{{wizard-custom-step step=currentStep wizard=model}}
|
2017-10-07 04:27:38 +02:00
|
|
|
{{/if}}
|
2017-09-23 04:34:07 +02:00
|
|
|
|
|
|
|
<div class='buttons'>
|
|
|
|
<button {{action "save"}} disabled={{disableSave}} class='btn btn-primary'>{{i18n 'admin.wizard.save'}}</button>
|
2017-10-07 04:27:38 +02:00
|
|
|
{{#unless newWizard}}
|
2017-10-13 15:02:34 +02:00
|
|
|
<button {{action "remove"}} class='btn btn-danger remove'>{{d-icon "trash-o"}}{{i18n 'admin.wizard.remove'}}</button>
|
2017-09-23 04:34:07 +02:00
|
|
|
{{/unless}}
|
2017-10-13 15:02:34 +02:00
|
|
|
{{conditional-loading-spinner condition=saving size='small'}}
|
|
|
|
{{#if error}}
|
|
|
|
<span class="error">{{d-icon "times"}}{{error}}</span>
|
|
|
|
{{/if}}
|
2017-09-23 04:34:07 +02:00
|
|
|
</div>
|
|
|
|
</div>
|