keyboard: add num template for PIN input
Credit for the xml updates: fordownloads (vnukov.d03@gmail.com) MrYacha (yacha@orangefox.tech) Change-Id: Ie776b7de206dbeda122184052d474ebf5fbd7d68
This commit is contained in:
@@ -5446,6 +5446,11 @@
|
||||
<action function="page">decrypt_pattern</action>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<condition var1="tw_crypto_pwtype" var2="3"/>
|
||||
<action function="page">decrypt_pin</action>
|
||||
</action>
|
||||
|
||||
<text style="text_m">
|
||||
<placement x="%col1_x_left%" y="%row1_header_y%"/>
|
||||
<text>{@mount_hdr=Mount} > {@decrypt_data_hdr=Decrypt Data}</text>
|
||||
@@ -5616,6 +5621,66 @@
|
||||
</button>
|
||||
</page>
|
||||
|
||||
<page name="decrypt_pin">
|
||||
<template name="page"/>
|
||||
|
||||
<template name="statusbar"/>
|
||||
|
||||
<text style="text_m">
|
||||
<placement x="%col1_x_left%" y="%row1_header_y%"/>
|
||||
<text>{@mount_hdr=Mount} > {@decrypt_data_hdr=Decrypt Data}</text>
|
||||
</text>
|
||||
|
||||
<text style="text_m_accent">
|
||||
<condition var1="tw_is_fbe" op="!=" var2="1"/>
|
||||
<placement x="%col1_x_left%" y="%row1_y%"/>
|
||||
<text>{@decrypt_data_enter_pass=Enter PIN:}</text>
|
||||
</text>
|
||||
|
||||
<text style="text_m_accent">
|
||||
<condition var1="tw_is_fbe" var2="1"/>
|
||||
<placement x="%col1_x_left%" y="%row1_y%"/>
|
||||
<text>{@decrypt_data_enter_pass_fbe=Enter PIN for User [%tw_crypto_user_id%]}</text>
|
||||
</text>
|
||||
|
||||
<input>
|
||||
<placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
|
||||
<text>%tw_crypto_display%</text>
|
||||
<data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
|
||||
<restrict minlen="1" maxlen="254"/>
|
||||
<action function="page">trydecrypt</action>
|
||||
</input>
|
||||
|
||||
<fill color="%accent_color%">
|
||||
<placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
|
||||
</fill>
|
||||
|
||||
<fill color="%text_fail_color%">
|
||||
<condition var1="tw_password_fail" var2="1"/>
|
||||
<placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
|
||||
</fill>
|
||||
|
||||
<text style="text_m_fail">
|
||||
<condition var1="tw_password_fail" var2="1"/>
|
||||
<placement x="%col1_x_left%" y="%row3_input_y%"/>
|
||||
<text>{@decrypt_data_failed=PIN failed, please try again!}</text>
|
||||
</text>
|
||||
|
||||
<button style="main_button_half_height">
|
||||
<placement x="%col1_x_left%" y="%row4_y%"/>
|
||||
<text>{@sel_lang_btn=Select Language}</text>
|
||||
<action function="page">settings_language</action>
|
||||
</button>
|
||||
|
||||
<button style="main_button_half_height">
|
||||
<placement x="%col1_x_right%" y="%row4_y%"/>
|
||||
<text>{@cancel_btn=Cancel}</text>
|
||||
<action function="page">canceldecrypt</action>
|
||||
</button>
|
||||
|
||||
<template name="keyboardnum"/>
|
||||
</page>
|
||||
|
||||
<page name="trydecrypt">
|
||||
<template name="page"/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user