- Implement encryption tab in mail account dialog for mobile view
This commit is contained in:
Hadi Nategh 2017-09-14 11:50:06 +02:00
parent 1b252ea821
commit 3882293c85

View File

@ -280,6 +280,33 @@
</rows> </rows>
</grid> </grid>
</template> </template>
<template id="admin.mailaccount.encryption" template="" lang="" group="0" version="17.1">
<grid width="100%" resize_ratio="0">
<columns>
<column width="120"/>
<column width="500"/>
</columns>
<rows>
<row>
<description value="SMIME"/>
</row>
<row disabled="@hide_smime_upload">
<description value="Upload your certificate .p12/.pfx file"/>
<vbox>
<file id="smimeKeyUpload" accept=".p12,.pfx"/>
<passwd id="smime_pkcs12_password" size="32" maxlength="128" blur="Password to unlock encrypted p12" autocomplete="off"/>
</vbox>
</row>
<row disabled="!@hide_smime_upload">
<description value="Current certificate"/>
<hbox>
<buttononly id="smime_export_p12" label="export certificate as p12" onclick="app.admin.smime_exportCert" image="export" background_image="1"/>
<buttononly id="smime_delete_p12" label="Delete certificate" onclick="app.admin.change_account" image="delete" background_image="1"/>
</hbox>
</row>
</rows>
</grid>
</template>
<template id="admin.mailaccount" template="" lang="" group="0" version="1.9.001"> <template id="admin.mailaccount" template="" lang="" group="0" version="1.9.001">
<grid width="100%"> <grid width="100%">
<columns> <columns>
@ -332,6 +359,7 @@
<tab id="admin.mailaccount.sieve" label="Sieve" statustext="serverside filtering"/> <tab id="admin.mailaccount.sieve" label="Sieve" statustext="serverside filtering"/>
<tab id="admin.mailaccount.smtp" label="SMTP" statustext="outgoing mail"/> <tab id="admin.mailaccount.smtp" label="SMTP" statustext="outgoing mail"/>
<tab id="admin.mailaccount.aliases" label="Aliases+Forwards" statustext="Aliases, Forwarding, Quota, ..."/> <tab id="admin.mailaccount.aliases" label="Aliases+Forwards" statustext="Aliases, Forwarding, Quota, ..."/>
<tab id="admin.mailaccount.encryption" label="Encryption" statustext="Encryption settings"/>
</tabs> </tabs>
<tabpanels> <tabpanels>
<template id="admin.mailaccount.identity"/> <template id="admin.mailaccount.identity"/>
@ -340,6 +368,7 @@
<template id="admin.mailaccount.sieve"/> <template id="admin.mailaccount.sieve"/>
<template id="admin.mailaccount.smtp"/> <template id="admin.mailaccount.smtp"/>
<template id="admin.mailaccount.aliases"/> <template id="admin.mailaccount.aliases"/>
<template id="admin.mailaccount.encryption"/>
</tabpanels> </tabpanels>
</tabbox> </tabbox>
</row> </row>