2020-06-13 03:43:35 +02:00
|
|
|
<div id ="{{widget}}-upload-widget" class="inline-block avatar-icon-logo-settings">
|
|
|
|
{{#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-13 08:12:47 +02:00
|
|
|
<span class="settings-page-delete-button" aria-label="{{t delete_text }}" role="button" tabindex="0">
|
2020-06-12 16:04:23 +02:00
|
|
|
×
|
|
|
|
</span>
|
2020-06-14 07:07:38 +02:00
|
|
|
<span class="settings-page-delete-text" aria-label="{{t delete_text }}" tabindex="0">
|
2020-06-12 16:04:23 +02:00
|
|
|
{{t delete_text }}
|
|
|
|
</span>
|
2020-06-15 06:37:57 +02:00
|
|
|
<span class="settings-page-upload-text" aria-label="{{t upload_text }}" role="button" tabindex="0">
|
2020-06-12 16:04:23 +02:00
|
|
|
{{t upload_text }}
|
|
|
|
</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-15 07:59:13 +02:00
|
|
|
<input type="file" name="file_input" class="notvisible image_file_input" value="{{t upload_text }}" />
|
2020-06-12 16:04:23 +02:00
|
|
|
<div id="user_avatar_file_input_error" class="text-error"></div>
|
|
|
|
</div>
|