- Fix some issues regarding to cancel icon on attachments list, improve delete icon handling
| | |
| | | |
| | | if (this.env.loadingicon) |
| | | content = '<img src="'+this.env.loadingicon+'" alt="" class="uploading" />'+content; |
| | | if (this.env.cancelicon) |
| | | content = '<a title="'+this.get_label('cancel')+'" onclick="return rcmail.cancel_attachment_upload(\''+ts+'\', \''+frame_name+'\');" href="#cancelupload" class="cancelupload"><img src="'+this.env.cancelicon+'" alt="" /></a>'+content; |
| | | content = '<a title="'+this.get_label('cancel')+'" onclick="return rcmail.cancel_attachment_upload(\''+ts+'\', \''+frame_name+'\');" href="#cancelupload" class="cancelupload">' |
| | | + (this.env.cancelicon ? '<img src="'+this.env.cancelicon+'" alt="" />' : this.get_label('cancel')) + '</a>' + content; |
| | | |
| | | this.add2attachment_list(ts, { name:'', html:content, classname:'uploading', complete:false }); |
| | | |
| | | // upload progress support |
| | |
| | | background-position: -74px 0; |
| | | } |
| | | |
| | | img.uploading |
| | | { |
| | | width: 16px; |
| | | height: 16px; |
| | | } |
| | | |
| | | /***** common table settings ******/ |
| | | |
| | |
| | | background-position: 7px -71px; |
| | | } |
| | | |
| | | #markmessagemenu li a |
| | | #markmessagemenu li a, |
| | | #compose-attachments li a |
| | | { |
| | | background: url(images/messageicons.png) no-repeat; |
| | | } |
| | |
| | | -o-text-overflow: ellipsis; |
| | | } |
| | | |
| | | #compose-attachments ul li img |
| | | #compose-attachments li a |
| | | { |
| | | padding-right: 2px; |
| | | text-indent: -1000px; |
| | | width: 17px; |
| | | display: block; |
| | | float: left; |
| | | text-decoration: none; |
| | | } |
| | | |
| | | #compose-attachments li img |
| | | { |
| | | vertical-align: middle; |
| | | } |
| | | |
| | | #compose-attachments li a.delete, |
| | | #compose-attachments li a.cancelupload |
| | | { |
| | | background-position: 0px -392px; |
| | | } |
| | | |
| | | #compose-attachments li span |
| | | { |
| | | line-height: 18px; |
| | | vertical-align: middle; |
| | | } |
| | | |
| | |
| | | <div id="compose-attachments"> |
| | | <div class="boxtitle"><roundcube:label name="attachments" /></div> |
| | | <div class="boxlistcontent"> |
| | | <roundcube:object name="composeAttachmentList" deleteIcon="/images/icons/delete.png" cancelIcon="/images/icons/delete.png" loadingIcon="/images/display/loading_blue.gif" /> |
| | | <roundcube:object name="composeAttachmentList" id="attachmentslist" loadingIcon="/images/display/loading_blue.gif" /> |
| | | </div> |
| | | <div class="boxfooter"> |
| | | <roundcube:button name="uploadmenulink" id="uploadmenulink" type="link" title="addattachment" class="button addgroup" onclick="rcmail_ui.show_popup('uploadmenu', true);return false" content=" " /> |
| | |
| | | <div style="text-align:center; margin-bottom:20px"> |
| | | <roundcube:button name="addattachment" type="input" class="button" classSel="button pressed" label="addattachment" onclick="UI.show_uploadform();return false" tabindex="10" /> |
| | | </div> |
| | | <roundcube:object name="composeAttachmentList" id="attachment-list" class="attachmentslist" cancelIcon="/images/0.gif" /> |
| | | <roundcube:object name="composeAttachmentList" id="attachment-list" class="attachmentslist" /> |
| | | </div> |
| | | </div> |
| | | |