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

@ -1053,3 +1053,4 @@ div#mail-index_nm.splitter-pane {min-height: 100px;}
border: none; border: none;
} }
#popupMainDiv {height: 100%} #popupMainDiv {height: 100%}
.treeContainer {height: calc(100% - 100px)}

View File

@ -3,21 +3,12 @@
<!-- $Id$ --> <!-- $Id$ -->
<overlay> <overlay>
<template id="mail.folder_management" template="" lang="" group="0" version="1.9.001"> <template id="mail.folder_management" template="" lang="" group="0" version="1.9.001">
<grid width="100%"> <hbox class="dialogHeader" >
<columns>
<column width="20%"/>
</columns>
<rows>
<row class="dialogHeader" >
<description value="Folder Management" class="mail_folder_management_header"/> <description value="Folder Management" class="mail_folder_management_header"/>
</row> </hbox>
<row> <hbox class="treeContainer">
<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"/> <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> </hbox>
</row>
</rows>
</grid>
<hbox class="dialogFooterToolbar"> <hbox class="dialogFooterToolbar">
<button statustext="Delete" label="Delete" id="button[delete]" onclick="app.mail.folderMgmt_deleteBtn"/> <button statustext="Delete" label="Delete" id="button[delete]" onclick="app.mail.folderMgmt_deleteBtn"/>
<button label="Cancel" id="button[cancel]" onclick="window.close()"/> <button label="Cancel" id="button[cancel]" onclick="window.close()"/>

View File

@ -3,21 +3,12 @@
<!-- $Id$ --> <!-- $Id$ -->
<overlay> <overlay>
<template id="mail.subscribe" template="" lang="" group="0" version="1.9.001"> <template id="mail.subscribe" template="" lang="" group="0" version="1.9.001">
<grid width="100%"> <hbox class="dialogHeader" >
<columns>
<column width="20%"/>
</columns>
<rows>
<row class="dialogHeader" >
<description value="Subscription folders" class="mail_subscription_header"/> <description value="Subscription folders" class="mail_subscription_header"/>
</row> </hbox>
<row> <hbox class="treeContainer">
<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"/> <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> </hbox>
</row>
</rows>
</grid>
<hbox class="dialogFooterToolbar"> <hbox class="dialogFooterToolbar">
<button statustext="Saves subscription changes" label="Save" id="button[save]"/> <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"/> <button statustext="Applies the changes made" label="Apply" id="button[apply]" onclick="app.mail.subscription_apply"/>