{{#d-modal-body class='upload-selector install-theme' title="admin.customize.theme.install"}}
{{install-theme-item value="popular" selection=selection label="admin.customize.theme.install_popular"}} {{install-theme-item value="local" selection=selection label="admin.customize.theme.install_upload"}} {{install-theme-item value="remote" selection=selection label="admin.customize.theme.install_git_repo"}} {{install-theme-item value="create" selection=selection label="admin.customize.theme.install_create" showIcon=true}}
{{#if popular}} {{/if}} {{#if local}}

{{i18n 'admin.customize.theme.import_file_tip'}}
{{/if}} {{#if remote}}
{{i18n 'admin.customize.theme.import_web_tip'}}
{{input value=uploadUrl placeholder=urlPlaceholder}}
{{d-button class="btn-small advanced-repo" action=(action "toggleAdvanced") label='admin.customize.theme.import_web_advanced'}} {{#if advancedVisible}}
{{i18n 'admin.customize.theme.remote_branch'}}
{{input value=branch placeholder="master"}}
{{#if showPublicKey}}
{{i18n 'admin.customize.theme.public_key'}}
{{textarea readonly=true value=publicKey}}
{{/if}} {{/if}}
{{/if}} {{#if create}}
{{I18n "admin.customize.theme.create_name"}}
{{input value=name placeholder=placeholder}}
{{I18n "admin.customize.theme.create_type"}}
{{combo-box valueAttribute="value" content=createTypes value=selectedType}}
{{/if}}
{{/d-modal-body}} {{#unless popular}} {{/unless}}