2016-04-27 18:14:12 +02:00
<?xml version="1.0" encoding="UTF-8"?>
2023-01-04 18:28:10 +01:00
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2.0//EN" "https://www.egroupware.org/etemplate2.0.dtd">
2016-04-27 18:14:12 +02:00
<overlay>
2019-09-16 12:20:35 +02:00
<template id="preferences.password.change" template="" lang="" group="0" version="14.2">
<grid width="100%">
2016-04-27 18:14:12 +02:00
<columns>
2019-09-16 12:20:35 +02:00
<column width="200"/>
<column/>
</columns>
<rows>
<row>
2023-01-04 18:28:10 +01:00
<et2-description value="Enter your new password"></et2-description>
<et2-password id="n_passwd" class="et2_required"></et2-password>
2019-09-16 12:20:35 +02:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<et2-description value="Re-enter your password"></et2-description>
<et2-password id="n_passwd_2" class="et2_required"></et2-password>
2019-09-16 12:20:35 +02:00
</row>
</rows>
</grid>
</template>
<template id="preferences.password.2fa" template="" lang="" group="0" version="19.1">
<grid id="2fa" width="100%">
<columns>
<column width="30%"/>
<column/>
</columns>
<rows>
<row disabled="!@hide_qrc" valign="top">
2023-01-04 18:28:10 +01:00
<et2-vbox>
<et2-button id="action[show]" label="Show QRCode" statustext="Show QRCode to enable on an additional device."></et2-button>
<et2-button id="action[reset]" label="Reset QRCode" statustext="Generate new QRCode to disable existing one, after enabling the new one!"></et2-button>
<et2-button id="action[disable]" label="Disable Two Factor Auth" onclick="et2_dialog.confirm(widget,'Are you sure?','Disable Two Factor Auth')" statustext="Disabling allows to again log in without a second factor."></et2-button>
</et2-vbox>
<et2-description id="status" class="toptStatus"></et2-description>
2019-09-16 12:20:35 +02:00
</row>
<row disabled="@hide_qrc" valign="top">
2023-01-04 18:28:10 +01:00
<et2-vbox>
<et2-image src="qrc" class="qrCode" width="200"></et2-image>
<et2-description value="Scan QRCode with a Time-based One-time Password (TOTP) App:"></et2-description>
<et2-description value="Google Authenticator for Android" statustext="click to install" class="toptApp" href="$cont[gauth_android]" extraLinkTarget="_blank"></et2-description>
<et2-description value="Google Authenticator for iOS" statustext="click to install" class="toptApp" href="$cont[gauth_ios]" extraLinkTarget="_blank"></et2-description>
<et2-description value="Or other compatible apps" class="toptApp"></et2-description>
</et2-vbox>
2019-09-16 12:20:35 +02:00
</row>
<row disabled="@hide_qrc">
2023-01-04 18:28:10 +01:00
<et2-vbox>
<et2-description value="Enter code to verify correct setup"></et2-description>
<et2-textbox id="code" class="et2_required" width="100%" placeholder="XXX XXX"></et2-textbox>
</et2-vbox>
2019-09-16 12:20:35 +02:00
</row>
</rows>
</grid>
</template>
<template id="preferences.password" template="" lang="" group="0" version="19.1">
<grid>
<columns>
<column width="30%"/>
<column/>
2016-04-27 18:14:12 +02:00
</columns>
<rows>
<row class="dialogHeadbar">
2023-01-04 18:28:10 +01:00
<et2-hbox>
<et2-button id="button[save]"></et2-button>
<et2-button id="button[cancel]" onclick="window.close();"></et2-button>
</et2-hbox>
2016-04-27 18:14:12 +02:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<et2-password span="all" id="password" autocomplete="off" width="100%" required="true" placeholder="Current password"></et2-password>
2016-04-27 18:14:12 +02:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<et2-description span="all" value="You need to enter your password to make any security changes!"></et2-description>
2016-04-27 18:14:12 +02:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<et2-vbox id="tabs" width="100%" tabHeight="400">
<et2-details id="change_password" summary="Change password" title="">
2019-09-16 12:20:35 +02:00
<template id="preferences.password.change"/>
2023-01-04 18:28:10 +01:00
</et2-details>
<et2-details id="two_factor_auth" summary="Two factor auth" title="">
2019-09-16 12:20:35 +02:00
<template id="preferences.password.2fa"/>
2023-01-04 18:28:10 +01:00
</et2-details>
</et2-vbox>
2016-04-27 18:14:12 +02:00
</row>
</rows>
</grid>
</template>
2023-01-04 18:28:10 +01:00
</overlay>