mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
W.I.P. S/MIME:
- Make p12 password field visible after file gets uploaded - Add icons to operational buttons - Fix some of the misalignments
This commit is contained in:
parent
1a58c0ba08
commit
7dc5c2e2b0
@ -289,36 +289,38 @@
|
|||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
</template>
|
</template>
|
||||||
<template id="admin.mailaccount.encryption" template="" lang="" group="0" version="1.9.001">
|
<template id="admin.mailaccount.encryption" template="" lang="" group="0" version="17.1">
|
||||||
<grid width="100%">
|
<grid width="100%" resize_ratio="0">
|
||||||
<columns>
|
<columns>
|
||||||
<column width="115"/>
|
<column width="120"/>
|
||||||
<column/>
|
<column width="500"/>
|
||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<description value="SMIME"/>
|
<description value="SMIME"/>
|
||||||
<hbox>
|
|
||||||
<buttononly label="Generate Certificate" onclick="app.admin.smime_genCertificate"/>
|
|
||||||
<buttononly label="export private key" onclick="app.admin.smime_exportKey('privkey')" disabled="!@acc_smime_password"/>
|
|
||||||
<buttononly label="export certificate" onclick="app.admin.smime_exportKey('cert')" disabled="!@smime_cert"/>
|
|
||||||
</hbox>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<description value="Paste your private key as text here or upload your .key/.p12 file"/>
|
|
||||||
<textbox multiline="true" id="acc_smime_password" height="150" width="70%"/>
|
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<description value="Certificate"/>
|
<description value="Certificate"/>
|
||||||
<textbox multiline="true" id="smime_cert" height="150" width="70%"/>
|
<hbox>
|
||||||
|
<buttononly label="Generate Certificate" onclick="app.admin.smime_genCertificate" image="add" background_image="1"/>
|
||||||
|
<buttononly label="export private key" onclick="app.admin.smime_exportKey('privkey')" disabled="!@acc_smime_password" image="export" background_image="1"/>
|
||||||
|
<buttononly label="export certificate" onclick="app.admin.smime_exportKey('cert')" disabled="!@smime_cert" image="export" background_image="1"/>
|
||||||
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<description/>
|
<description value="Certificate file in p12 format"/>
|
||||||
<file id="smimeKeyUpload" accept=".key,.p12"/>
|
<vbox>
|
||||||
|
<file id="smimeKeyUpload" accept=".key,.p12" onchange="app.admin.et2.getWidgetById('smime_pkcs12_password').set_disabled(false);"/>
|
||||||
|
<passwd id="smime_pkcs12_password" size="32" maxlength="128" autocomplete="off" blur="Password to unlock encrypted p12" disabled="true"/>
|
||||||
|
</vbox>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<description for="smime_pkcs12_password" value="Password to unlock encrypted p12"/>
|
<description value="Paste your private key as text here or upload your .key/.p12 file"/>
|
||||||
<passwd id="smime_pkcs12_password" size="32" maxlength="128" autocomplete="off"/>s
|
<textbox multiline="true" id="acc_smime_password" height="130" resize_ratio="0" class="et2_fullWidth"/>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<description value="Certificate"/>
|
||||||
|
<textbox multiline="true" id="smime_cert" height="130" resize_ratio="0" class="et2_fullWidth"/>
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
|
Loading…
Reference in New Issue
Block a user