Files
edx-platform/lms/templates/fields/field_image.underscore
2015-05-05 21:01:47 +05:00

18 lines
939 B
Plaintext

<div class="image-wrapper">
<img class="image-frame" src="<%- imageUrl %>" alt="<%=imageAltText%>"/>
<div class="u-field-actions">
<label class="u-field-upload-button">
<span class="upload-button-icon" aria-hidden="true"><%= uploadButtonIcon %></span>
<span class="upload-button-title" aria-live="polite"><%= uploadButtonTitle %></span>
<input class="upload-button-input" type="file" name="<%= inputName %>"/>
</label>
<button class="upload-submit" type="button" hidden="true"><%= uploadButtonTitle %></button>
<button class="u-field-remove-button" type="button">
<span class="remove-button-icon" aria-hidden="true"><%= removeButtonIcon %></span>
<span class="remove-button-title" aria-live="polite"><%= removeButtonTitle %></span>
<span class="sr"><%= screenReaderTitle %></span>
</button>
</div>
</div>