2012-05-22 08:18:31 +02:00
|
|
|
<div class="ss-uploadfield-item $appCategory ss-htmleditorfield-file template-upload" data-id="$File.ID" data-url="$URL">
|
2012-06-08 06:42:14 +02:00
|
|
|
|
|
|
|
|
2012-05-22 08:18:31 +02:00
|
|
|
<div class="ss-uploadfield-item-preview">
|
2012-06-08 06:42:14 +02:00
|
|
|
<% if $Width %>
|
|
|
|
<span>$Preview.SetRatioSize(30, 40)</span>
|
|
|
|
<% else %>
|
|
|
|
<span class="no-preview"></span>
|
|
|
|
<% end_if %>
|
2012-02-09 17:17:39 +01:00
|
|
|
</div>
|
2012-06-08 06:42:14 +02:00
|
|
|
|
2012-05-22 08:18:31 +02:00
|
|
|
<div class="ss-uploadfield-item-info">
|
|
|
|
<label class="ss-uploadfield-item-name">
|
|
|
|
<span class="name" title="$Name">
|
|
|
|
$Name
|
|
|
|
</span>
|
2012-06-08 06:42:14 +02:00
|
|
|
<% if $Width %>
|
|
|
|
<div class="ss-uploadfield-item-status ui-state-success-text" title="<% _t('UploadField.Dimensions', 'Dimensions') %>">
|
|
|
|
{$Width} x {$Height} (px)
|
|
|
|
</div>
|
|
|
|
<% end_if %>
|
|
|
|
|
2012-05-22 08:18:31 +02:00
|
|
|
<div class="clear"><!-- --></div>
|
|
|
|
</label>
|
|
|
|
<div class="ss-uploadfield-item-actions">
|
|
|
|
<div class="ss-uploadfield-item-cancel cancel">
|
|
|
|
<button data-icon="deleteLight" class="ss-uploadfield-item-cancel ss-uploadfield-item-remove" title="<% _t('UploadField.REMOVE', 'Remove') %>">
|
|
|
|
<% _t('UploadField.REMOVE', 'Remove') %>
|
|
|
|
</button></div>
|
|
|
|
|
|
|
|
<div class="ss-uploadfield-item-edit edit">
|
|
|
|
<button class="ss-uploadfield-item-edit ss-ui-button ui-corner-all" title="<% _t('UploadField.EDITINFO', 'Edit this file') %>" data-icon="pencil">
|
|
|
|
<% _t('UploadField.EDIT', 'Edit') %>
|
|
|
|
<span class="toggle-details">
|
|
|
|
<span class="toggle-details-icon"></span>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-06-25 17:23:26 +02:00
|
|
|
<% if Info %><div class="info">$Info</div><% end_if %>
|
|
|
|
<div class="details ss-uploadfield-item-editform loading">
|
|
|
|
<fieldset>
|
|
|
|
<% loop Fields %>
|
|
|
|
$FieldHolder
|
|
|
|
<% end_loop %>
|
|
|
|
</fieldset>
|
|
|
|
</div>
|
2012-02-09 17:17:39 +01:00
|
|
|
</div>
|
2012-05-11 03:49:20 +02:00
|
|
|
</div>
|