2020-07-20 22:09:07 +02:00
|
|
|
<div id ="{{widget}}-upload-widget" class="inline-block image_upload_widget">
|
2020-06-13 03:43:35 +02:00
|
|
|
{{#if is_editable_by_current_user}}
|
2020-06-13 06:27:28 +02:00
|
|
|
<div class="image_upload_button">
|
2020-06-12 16:04:23 +02:00
|
|
|
<div class="settings-page-image-background"></div>
|
2020-06-17 15:10:03 +02:00
|
|
|
<span class="settings-page-delete-button" aria-label="{{ delete_text }}" role="button" tabindex="0">
|
2020-06-12 16:04:23 +02:00
|
|
|
×
|
|
|
|
</span>
|
2020-06-17 15:10:03 +02:00
|
|
|
<span class="settings-page-delete-text" aria-label="{{ delete_text }}" tabindex="0">
|
|
|
|
{{ delete_text }}
|
2020-06-12 16:04:23 +02:00
|
|
|
</span>
|
2020-06-17 15:10:03 +02:00
|
|
|
<span class="settings-page-upload-text" aria-label="{{ upload_text }}" role="button" tabindex="0">
|
|
|
|
{{ upload_text }}
|
2020-06-12 16:04:23 +02:00
|
|
|
</span>
|
2020-06-15 06:48:41 +02:00
|
|
|
<span class="upload-spinner-background">
|
2020-06-15 07:18:39 +02:00
|
|
|
<object class="image_upload_spinner" type="image/svg+xml" data="/static/images/tail-spin.svg"></object>
|
2020-06-12 16:04:23 +02:00
|
|
|
</span>
|
|
|
|
</div>
|
2020-06-13 03:43:35 +02:00
|
|
|
{{/if}}
|
2020-06-15 07:38:56 +02:00
|
|
|
<img class="image-block" src="{{ image }}"/>
|
2020-06-17 15:10:03 +02:00
|
|
|
<input type="file" name="file_input" class="notvisible image_file_input" value="{{ upload_text }}" />
|
2020-06-15 08:28:41 +02:00
|
|
|
<div class="image_file_input_error text-error"></div>
|
2020-06-12 16:04:23 +02:00
|
|
|
</div>
|