Add UI elements for message import to classic skin
| | |
| | | rcmail.addEventListener('responseaftergetunread', rcube_render_mailboxlist); |
| | | rcmail.addEventListener('responseaftercheck-recent', rcube_render_mailboxlist); |
| | | rcmail.addEventListener('aftercollapse-folder', rcube_render_mailboxlist); |
| | | rcmail.addEventListener('afterimport-messages', function(){ rcmail_ui.show_popup('uploadform', false); }); |
| | | |
| | | new rcmail_scroller('#mailboxlist-content', '#mailboxlist-title', '#mailboxlist-footer'); |
| | | } |
| | |
| | | vertical-align: middle; |
| | | } |
| | | |
| | | #upload-form, |
| | | #attachment-form |
| | | { |
| | | padding: 6px; |
| | | } |
| | | |
| | | #upload-form div, |
| | | #attachment-form div |
| | | { |
| | | padding: 2px; |
| | | } |
| | | |
| | | #upload-form div.buttons, |
| | | #attachment-form div.buttons |
| | | { |
| | | margin-top: 4px; |
| | |
| | | <div id="mailboxoptionsmenu" class="popupmenu"> |
| | | <ul> |
| | | <li><roundcube:button command="expunge" type="link" label="compact" classAct="active" /></li> |
| | | <li class="separator_below"><roundcube:button command="purge" type="link" label="empty" classAct="active" /></li> |
| | | <li><roundcube:button command="purge" type="link" label="empty" classAct="active" /></li> |
| | | <li class="separator_below"><roundcube:button name="messageimport" type="link" class="active" label="importmessages" id="uploadformlink" onclick="rcmail_ui.show_popup('uploadform', true); return false" /></li> |
| | | <li><roundcube:button command="folders" task="settings" type="link" label="managefolders" classAct="active" /></li> |
| | | <roundcube:container name="mailboxoptions" id="mailboxoptionsmenu" /> |
| | | </ul> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <roundcube:object name="messageimportform" id="upload-form" attachmentFieldSize="40" class="popupmenu" /> |
| | | |
| | | </body> |
| | | </html> |