mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Get mail app working (we use old-box widgets until replacing splitter with a web-component)
This commit is contained in:
parent
e460ed52d4
commit
6f8fccb1ad
@ -66,7 +66,7 @@ export class et2_box extends et2_baseWidget implements et2_IDetachedDOM
|
|||||||
* @param {object} _node
|
* @param {object} _node
|
||||||
*/
|
*/
|
||||||
loadFromXML(_node) {
|
loadFromXML(_node) {
|
||||||
if(this.getType() != "box")
|
if(this.getType() != "old-box")
|
||||||
{
|
{
|
||||||
return super.loadFromXML(_node);
|
return super.loadFromXML(_node);
|
||||||
}
|
}
|
||||||
@ -162,7 +162,7 @@ export class et2_box extends et2_baseWidget implements et2_IDetachedDOM
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
et2_register_widget(et2_box, ["vbox", "box"]);
|
et2_register_widget(et2_box, ["old-vbox", "old-box"]);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Details widget implementation
|
* Details widget implementation
|
||||||
|
@ -199,6 +199,6 @@ export class et2_hbox extends et2_baseWidget
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
et2_register_widget(et2_hbox, ["hbox"]);
|
et2_register_widget(et2_hbox, ["old-hbox"]);
|
||||||
|
|
||||||
|
|
||||||
|
@ -637,7 +637,7 @@ div.mailDisplayHeaders div.mail_extraEmails.visible
|
|||||||
box-shadow: 5px 5px 5px #aaa;
|
box-shadow: 5px 5px 5px #aaa;
|
||||||
border: 1px solid gray;
|
border: 1px solid gray;
|
||||||
}
|
}
|
||||||
div.mailComposeBody {
|
.mailComposeBody {
|
||||||
white-space: normal !important;
|
white-space: normal !important;
|
||||||
}
|
}
|
||||||
#mail-compose_mail_plaintext {
|
#mail-compose_mail_plaintext {
|
||||||
@ -884,11 +884,11 @@ span#mail-compose_replyto_expander {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
/*Make file uploads in compose dialog invisible*/
|
/*Make file uploads in compose dialog invisible*/
|
||||||
div.mail-compose_toolbar_assist div.mail-compose_fileselector, #mail-compose_selectFromVFSForCompose, div.mail-compose_toolbar_assist {
|
.mail-compose_toolbar_assist div.mail-compose_fileselector, #mail-compose_selectFromVFSForCompose, .mail-compose_toolbar_assist {
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
/*Make file uploads in compose dialog invisible*/
|
/*Make file uploads in compose dialog invisible*/
|
||||||
div.mail-compose_toolbar_assist div.mail-compose_fileselector, #mail-compose_selectFromVFSForCompose, div.mail-compose_toolbar_assist {
|
.mail-compose_toolbar_assist div.mail-compose_fileselector, #mail-compose_selectFromVFSForCompose, .mail-compose_toolbar_assist {
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -86,12 +86,12 @@
|
|||||||
</grid>
|
</grid>
|
||||||
</vbox>
|
</vbox>
|
||||||
<vbox class="mailComposeBodySection" width="100%">
|
<vbox class="mailComposeBodySection" width="100%">
|
||||||
<hbox disabled="@is_plain" class="mailComposeBody mailComposeHtmlContainer">
|
<old-hbox disabled="@is_plain" class="mailComposeBody mailComposeHtmlContainer">
|
||||||
<htmlarea name="mail_htmltext" id="mail_htmltext" statusbar="false" menubar="false" toolbar="@html_toolbar" imageUpload="link_to" expand_toolbar="true" height="478px" width="100%" resize_ratio="0"/>
|
<htmlarea name="mail_htmltext" id="mail_htmltext" statusbar="false" menubar="false" toolbar="@html_toolbar" imageUpload="link_to" expand_toolbar="true" height="478px" width="100%" resize_ratio="0"/>
|
||||||
</hbox>
|
</old-hbox>
|
||||||
<hbox disabled="@is_html" class="mailComposeBody mailComposeTextContainer">
|
<old-hbox disabled="@is_html" class="mailComposeBody mailComposeTextContainer">
|
||||||
<textbox multiline="true" rows="40" cols="120" width="100%" span="all" no_lang="1" name="mail_plaintext" id="mail_plaintext" resize_ratio="0"/>
|
<textbox multiline="true" rows="40" cols="120" width="100%" span="all" no_lang="1" name="mail_plaintext" id="mail_plaintext" resize_ratio="0"/>
|
||||||
</hbox>
|
</old-hbox>
|
||||||
<vbox class="et2_file mailUploadSection" disabled="@no_griddata">
|
<vbox class="et2_file mailUploadSection" disabled="@no_griddata">
|
||||||
<hbox>
|
<hbox>
|
||||||
<select id="filemode" label="Send files as" onchange="app.mail.check_sharing_filemode"/>
|
<select id="filemode" label="Send files as" onchange="app.mail.check_sharing_filemode"/>
|
||||||
|
@ -5,43 +5,43 @@
|
|||||||
<template id="mail.index.splitter" height="100%" template="" lang="" group="0" version="1.9.001">
|
<template id="mail.index.splitter" height="100%" template="" lang="" group="0" version="1.9.001">
|
||||||
<split dock_side="bottomDock" id="mailSplitter">
|
<split dock_side="bottomDock" id="mailSplitter">
|
||||||
<nextmatch id="nm" onselect="app.mail.mail_preview" class="" template="mail.index.rows" header_left="mail.index.add" header_right="mail.index.header_right" disable_selection_advance="true"/>
|
<nextmatch id="nm" onselect="app.mail.mail_preview" class="" template="mail.index.rows" header_left="mail.index.add" header_right="mail.index.header_right" disable_selection_advance="true"/>
|
||||||
<vbox id="mailPreview" width="100%">
|
<old-vbox id="mailPreview" width="100%">
|
||||||
<toolbar id="toolbar"/>
|
<toolbar id="toolbar"/>
|
||||||
<box id="blank" disabled="false">
|
<old-box id="blank" disabled="false">
|
||||||
<image src="mail"/>
|
<image src="mail"/>
|
||||||
<description value="Select an item to read"/>
|
<description value="Select an item to read"/>
|
||||||
</box>
|
</old-box>
|
||||||
<hbox width="100%" id="mailPreviewHeadersFrom" class="mailPreviewHeaders">
|
<old-hbox width="100%" id="mailPreviewHeadersFrom" class="mailPreviewHeaders">
|
||||||
<description value="From"/>
|
<description value="From"/>
|
||||||
<hbox id="additionalFromAddress" class="mail_extraEmails">
|
<old-hbox id="additionalFromAddress" class="mail_extraEmails">
|
||||||
</hbox>
|
</old-hbox>
|
||||||
<buttononly class="et2_button ui-button" label="Show all Addresses" image="foldertree_nolines_plus" onclick="app.mail.showAllHeader"/>
|
<buttononly class="et2_button ui-button" label="Show all Addresses" image="foldertree_nolines_plus" onclick="app.mail.showAllHeader"/>
|
||||||
</hbox>
|
</old-hbox>
|
||||||
<hbox id="mailPreviewHeadersSubject" class="mailPreviewHeaders">
|
<old-hbox id="mailPreviewHeadersSubject" class="mailPreviewHeaders">
|
||||||
<description value="Subject"/>
|
<description value="Subject"/>
|
||||||
<description align="left" id="previewSubject" readonly="true" hover_action="app.mail.modifyMessageSubjectDialog" hover_action_title="Modify subject of this message"/>
|
<description align="left" id="previewSubject" readonly="true" hover_action="app.mail.modifyMessageSubjectDialog" hover_action_title="Modify subject of this message"/>
|
||||||
</hbox>
|
</old-hbox>
|
||||||
<hbox id="mailPreviewHeadersDate" class="mailPreviewHeaders">
|
<old-hbox id="mailPreviewHeadersDate" class="mailPreviewHeaders">
|
||||||
<description value="Date"/>
|
<description value="Date"/>
|
||||||
<date-time align="left" id="previewDate" readonly="true"/>
|
<date-time align="left" id="previewDate" readonly="true"/>
|
||||||
</hbox>
|
</old-hbox>
|
||||||
<hbox width="100%" id="mailPreviewHeadersTo" class="mailPreviewHeaders">
|
<old-hbox width="100%" id="mailPreviewHeadersTo" class="mailPreviewHeaders">
|
||||||
<description value="To"/>
|
<description value="To"/>
|
||||||
<hbox id="additionalToAddress" class="mail_extraEmails">
|
<old-hbox id="additionalToAddress" class="mail_extraEmails">
|
||||||
</hbox>
|
</old-hbox>
|
||||||
<buttononly class="et2_button ui-button" label="Show all Addresses" image="foldertree_nolines_plus" onclick="app.mail.showAllHeader"/>
|
<buttononly class="et2_button ui-button" label="Show all Addresses" image="foldertree_nolines_plus" onclick="app.mail.showAllHeader"/>
|
||||||
</hbox>
|
</old-hbox>
|
||||||
<hbox id="mailPreviewHeadersCC" class="mailPreviewHeaders">
|
<old-hbox id="mailPreviewHeadersCC" class="mailPreviewHeaders">
|
||||||
<description value="CC"/>
|
<description value="CC"/>
|
||||||
<hbox id="additionalCCAddress" class="mail_extraEmails">
|
<old-hbox id="additionalCCAddress" class="mail_extraEmails">
|
||||||
</hbox>
|
</old-hbox>
|
||||||
<buttononly class="et2_button ui-button" label="Show all Addresses" image="foldertree_nolines_plus" onclick="app.mail.showAllHeader"/>
|
<buttononly class="et2_button ui-button" label="Show all Addresses" image="foldertree_nolines_plus" onclick="app.mail.showAllHeader"/>
|
||||||
</hbox>
|
</old-hbox>
|
||||||
<hbox class="mailPreviewHeaders smimeIcons">
|
<old-hbox class="mailPreviewHeaders smimeIcons">
|
||||||
<image id="smime_signature" src="smime_sign" statustext="Smime signed message" disabled="true" align="right" width="24"/>
|
<image id="smime_signature" src="smime_sign" statustext="Smime signed message" disabled="true" align="right" width="24"/>
|
||||||
<image id="smime_encryption" src="smime_encrypt" statustext="Smime encrypted message" disabled="true" align="right" width="24"/>
|
<image id="smime_encryption" src="smime_encrypt" statustext="Smime encrypted message" disabled="true" align="right" width="24"/>
|
||||||
</hbox>
|
</old-hbox>
|
||||||
<hbox id="mailPreviewHeadersAttachments" class="mailPreviewHeaders">
|
<old-hbox id="mailPreviewHeadersAttachments" class="mailPreviewHeaders">
|
||||||
<description value="Attachments"/>
|
<description value="Attachments"/>
|
||||||
<grid disabled="@no_griddata" id="previewAttachmentArea" class="previewAttachmentArea egwGridView_grid">
|
<grid disabled="@no_griddata" id="previewAttachmentArea" class="previewAttachmentArea egwGridView_grid">
|
||||||
<columns>
|
<columns>
|
||||||
@ -72,11 +72,11 @@
|
|||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
<buttononly class="et2_button ui-button" label="Show all attachments" image="foldertree_nolines_plus" width="16px" height="16px" onclick="app.mail.showAllHeader"/>
|
<buttononly class="et2_button ui-button" label="Show all attachments" image="foldertree_nolines_plus" width="16px" height="16px" onclick="app.mail.showAllHeader"/>
|
||||||
</hbox>
|
</old-hbox>
|
||||||
<box id="mailPreviewContainer">
|
<old-box id="mailPreviewContainer">
|
||||||
<iframe frameborder="1" id="messageIFRAME" scrolling="auto"/>
|
<iframe frameborder="1" id="messageIFRAME" scrolling="auto"/>
|
||||||
</box>
|
</old-box>
|
||||||
</vbox>
|
</old-vbox>
|
||||||
</split>
|
</split>
|
||||||
</template>
|
</template>
|
||||||
<template id="mail.index.nosplitter" template="" lang="" group="0" version="1.9.001">
|
<template id="mail.index.nosplitter" template="" lang="" group="0" version="1.9.001">
|
||||||
|
@ -850,15 +850,15 @@ span#mail-compose_replyto_expander {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
/*Make file uploads in compose dialog invisible*/
|
/*Make file uploads in compose dialog invisible*/
|
||||||
div.mail-compose_toolbar_assist div.mail-compose_fileselector,
|
.mail-compose_toolbar_assist div.mail-compose_fileselector,
|
||||||
#mail-compose_selectFromVFSForCompose,
|
#mail-compose_selectFromVFSForCompose,
|
||||||
div.mail-compose_toolbar_assist {
|
.mail-compose_toolbar_assist {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
/*Make file uploads in compose dialog invisible*/
|
/*Make file uploads in compose dialog invisible*/
|
||||||
div.mail-compose_toolbar_assist div.mail-compose_fileselector,
|
.mail-compose_toolbar_assist div.mail-compose_fileselector,
|
||||||
#mail-compose_selectFromVFSForCompose,
|
#mail-compose_selectFromVFSForCompose,
|
||||||
div.mail-compose_toolbar_assist {
|
.mail-compose_toolbar_assist {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
div.mailComposeHeaderSection > table {
|
div.mailComposeHeaderSection > table {
|
||||||
@ -2072,6 +2072,7 @@ table#mail-index_previewAttachmentArea::-webkit-scrollbar-thumb:hover {
|
|||||||
#mail-index_nm.et2_nextmatch .egwGridView_outer thead tr {
|
#mail-index_nm.et2_nextmatch .egwGridView_outer thead tr {
|
||||||
border-left: 12px solid #B4B4B4;
|
border-left: 12px solid #B4B4B4;
|
||||||
}
|
}
|
||||||
#mail-index_nm.et2_nextmatch.et2_nextmatch .egwGridView_outer .egwGridView_scrollarea tbody tr.row_category td:first-child > div {
|
#mail-index_nm.et2_nextmatch .egwGridView_outer thead tr.row_category td:first-child > div {
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
|
padding-left: 0px;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user