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">
|
2016-01-06 00:34:58 +01: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 %>
|
2015-06-13 01:42:51 +02:00
|
|
|
<span>$Preview.Fit(30, 40)</span>
|
2012-06-08 06:42:14 +02:00
|
|
|
<% else %>
|
|
|
|
<span class="no-preview"></span>
|
|
|
|
<% end_if %>
|
2012-02-09 17:17:39 +01:00
|
|
|
</div>
|
2016-01-06 00:34:58 +01: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 %>
|
2015-07-22 14:51:34 +02:00
|
|
|
<div class="ss-uploadfield-item-status ui-state-success-text" title="<%t UploadField.Dimensions 'Dimensions' %>">
|
2012-06-08 06:42:14 +02:00
|
|
|
{$Width} x {$Height} (px)
|
|
|
|
</div>
|
|
|
|
<% end_if %>
|
|
|
|
|
2016-01-06 00:34:58 +01:00
|
|
|
<div class="clear"><!-- --></div>
|
2012-05-22 08:18:31 +02:00
|
|
|
</label>
|
2016-01-06 00:34:58 +01:00
|
|
|
<div class="ss-uploadfield-item-actions">
|
2015-10-05 17:26:21 +02:00
|
|
|
<button type="button" data-icon="deleteLight" class="ss-uploadfield-item-cancel ss-uploadfield-item-remove" title="<%t UploadField.REMOVE 'Remove' %>">
|
2015-07-22 14:51:34 +02:00
|
|
|
<%t UploadField.REMOVE 'Remove' %>
|
2013-12-12 14:17:57 +01:00
|
|
|
</button>
|
2016-01-06 00:34:58 +01:00
|
|
|
|
2013-12-12 14:17:57 +01:00
|
|
|
<div class="ss-uploadfield-item-edit edit">
|
2015-10-05 17:26:21 +02:00
|
|
|
<button type="button" class="ss-uploadfield-item-edit ss-ui-button ui-corner-all" title="<%t UploadField.EDITINFO 'Edit this file' %>" data-icon="pencil">
|
2015-07-22 14:51:34 +02:00
|
|
|
<%t UploadField.EDIT 'Edit' %>
|
2013-12-12 14:17:57 +01:00
|
|
|
<span class="toggle-details">
|
|
|
|
<span class="toggle-details-icon"></span>
|
|
|
|
</span>
|
2013-01-30 04:22:05 +01:00
|
|
|
</button>
|
2012-05-22 08:18:31 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-07-13 13:00:46 +02:00
|
|
|
<% if $Info %><div class="info">$Info</div><% end_if %>
|
2013-12-12 14:17:57 +01:00
|
|
|
<div class="details ss-uploadfield-item-editform">
|
2012-06-25 17:23:26 +02:00
|
|
|
<fieldset>
|
2013-07-13 13:00:46 +02:00
|
|
|
<% loop $Fields %>
|
2012-06-25 17:23:26 +02:00
|
|
|
$FieldHolder
|
|
|
|
<% end_loop %>
|
|
|
|
</fieldset>
|
|
|
|
</div>
|
2012-02-09 17:17:39 +01:00
|
|
|
</div>
|
2012-05-11 03:49:20 +02:00
|
|
|
</div>
|