Fix folderManagement and subscription dialogs

This commit is contained in:
Hadi Nategh 2022-09-06 15:20:08 +02:00
parent cf3472c651
commit e495a0e864
3 changed files with 14 additions and 31 deletions

View File

@ -1052,4 +1052,5 @@ div#mail-index_nm.splitter-pane {min-height: 100px;}
.mailPreviewHeaders et2-select-email::part(control) {
border: none;
}
#popupMainDiv {height: 100%}
#popupMainDiv {height: 100%}
.treeContainer {height: calc(100% - 100px)}

View File

@ -3,21 +3,12 @@
<!-- $Id$ -->
<overlay>
<template id="mail.folder_management" template="" lang="" group="0" version="1.9.001">
<grid width="100%">
<columns>
<column width="20%"/>
</columns>
<rows>
<row class="dialogHeader" >
<description value="Folder Management" class="mail_folder_management_header"/>
</row>
<row>
<box scrolling="auto">
<tree id="tree" multiple="true" autoloading="mail_ui::ajax_folderMgmtTree_autoloading" multimarking="strict" oncheck="app.mail.folderMgmt_onCheck" onselect="app.mail.folderMgmt_onSelect" onopenstart="app.mail.folderMgmt_autoloadingStart" onopenend="app.mail.folderMgmt_autoloadingEnd" highlighting="true"/>
</box>
</row>
</rows>
</grid>
<hbox class="dialogHeader" >
<description value="Folder Management" class="mail_folder_management_header"/>
</hbox>
<hbox class="treeContainer">
<tree id="tree" multiple="true" autoloading="mail_ui::ajax_folderMgmtTree_autoloading" multimarking="strict" oncheck="app.mail.folderMgmt_onCheck" onselect="app.mail.folderMgmt_onSelect" onopenstart="app.mail.folderMgmt_autoloadingStart" onopenend="app.mail.folderMgmt_autoloadingEnd" highlighting="true"/>
</hbox>
<hbox class="dialogFooterToolbar">
<button statustext="Delete" label="Delete" id="button[delete]" onclick="app.mail.folderMgmt_deleteBtn"/>
<button label="Cancel" id="button[cancel]" onclick="window.close()"/>

View File

@ -3,21 +3,12 @@
<!-- $Id$ -->
<overlay>
<template id="mail.subscribe" template="" lang="" group="0" version="1.9.001">
<grid width="100%">
<columns>
<column width="20%"/>
</columns>
<rows>
<row class="dialogHeader" >
<description value="Subscription folders" class="mail_subscription_header"/>
</row>
<row>
<box scrolling="auto">
<tree id="foldertree" multiple="true" autoloading="mail_ui::ajax_tree_autoloading" onopenstart="app.mail.subscription_autoloadingStart" onopenend="app.mail.subscription_autoloadingEnd" multimarking="strict" highlighting="true" oncheck="app.mail.folderMgmt_onCheck" onselect="app.mail.folderMgmt_onSelect"/>
</box>
</row>
</rows>
</grid>
<hbox class="dialogHeader" >
<description value="Subscription folders" class="mail_subscription_header"/>
</hbox>
<hbox class="treeContainer">
<tree id="foldertree" multiple="true" autoloading="mail_ui::ajax_tree_autoloading" onopenstart="app.mail.subscription_autoloadingStart" onopenend="app.mail.subscription_autoloadingEnd" multimarking="strict" highlighting="true" oncheck="app.mail.folderMgmt_onCheck" onselect="app.mail.folderMgmt_onSelect"/>
</hbox>
<hbox class="dialogFooterToolbar">
<button statustext="Saves subscription changes" label="Save" id="button[save]"/>
<button statustext="Applies the changes made" label="Apply" id="button[apply]" onclick="app.mail.subscription_apply"/>