mirror of
https://github.com/discourse/discourse.git
synced 2025-01-11 22:34:11 +08:00
10f200a5d3
* FEATURE: revamped wizard * UX: Wizard redesign (#17381) * UX: Step 1-2 * swap out images * UX: Finalize all steps * UX: mobile * UX: Fix test * more test * DEV: remove unneeded wizard components * DEV: fix wizard tests * DEV: update rails tests for new wizard * Remove empty hbs files that were created because of rebase * Fixes for rebase * Fix wizard image link * More rebase fixes * Fix rails tests * FIX: Update preview for new color schemes: (#17481) * UX: make layout more responsive, update images * fix typo * DEV: move discourse logo svg to template only component * DEV: formatting improvements * Remove unneeded files * Add tests for privacy step * Fix banner image height for step "ready" Co-authored-by: Jordan Vidrine <30537603+jordanvidrine@users.noreply.github.com> Co-authored-by: awesomerobot <kris.aubuchon@discourse.org>
15 lines
487 B
Handlebars
15 lines
487 B
Handlebars
{{#if this.field.value}}
|
|
{{component this.previewComponent field=this.field fieldClass=this.fieldClass wizard=this.wizard}}
|
|
{{/if}}
|
|
|
|
<label class="wizard-container__button wizard-container__button-upload {{if this.uploading "disabled"}}">
|
|
{{#if this.uploading}}
|
|
{{i18n "wizard.uploading"}}
|
|
{{else}}
|
|
{{i18n "wizard.upload"}}
|
|
{{d-icon "far-image"}}
|
|
{{/if}}
|
|
|
|
<input class="wizard-hidden-upload-field" disabled={{this.uploading}} type="file" accept="image/*">
|
|
</label>
|