mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-10 16:58:07 +08:00
19 lines
No EOL
1.1 KiB
HTML
19 lines
No EOL
1.1 KiB
HTML
<li class="attachmentItem clearfix" data-tooltip-placement="bottom" data-bind="attr: { 'title': title }, css: { 'waiting': waiting, 'error': '' !== error() }">
|
||
<div class="attachmentIconParent pull-left">
|
||
<div class="iconMain">
|
||
<i class="attachmentIcon attachmentMainIcon" data-bind="css: iconClass(), visible: !uploading() || 0 === progress()"></i>
|
||
<i class="attachmentIconText attachmentMainIconText" data-bind="text: iconText(), visible: !uploading() || 0 === progress()"></i>
|
||
</div>
|
||
<div class="iconProgress" data-bind="attr: { 'style': progressStyle }, visible: uploading"></div>
|
||
<div class="iconBG" data-bind="text: progressText, visible: uploading"></div>
|
||
</div>
|
||
<div class="attachmentNameParent">
|
||
<button type="button" class="close pull-right" style="margin-top:-4px;" data-bind="click: cancel">×</button>
|
||
<div style="white-space: nowrap; text-overflow: ellipsis; overflow: hidden;">
|
||
<span class="attachmentName" data-bind="text: fileName"></span>
|
||
</div>
|
||
<div>
|
||
<span class="attachmentSize" data-bind="text: friendlySize"></span>
|
||
</div>
|
||
</div>
|
||
</li> |