1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-23 13:02:03 +00:00

wipe device screen layout

This commit is contained in:
chren 2016-06-09 14:31:16 +02:00 committed by Pavol Rusnak
parent cf77aeb029
commit cefccb91d8
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -8,8 +8,10 @@ from trezor.workflows.confirm import confirm
def layout_wipe_device(message): def layout_wipe_device(message):
ui.clear() ui.clear()
ui.display.text_center(120, 40, 'Really wipe device?', ui.BOLD, ui.WHITE, ui.BLACK) ui.display.text(10, 30, 'Wipe device', ui.BOLD, ui.LIGHT_GREEN, ui.BLACK)
ui.display.text_center(120, 100, 'You might regret it!', ui.NORMAL, ui.WHITE, ui.BLACK) ui.display.text(10, 74, 'Do you really want to', ui.BOLD, ui.WHITE, ui.BLACK)
ui.display.text(10, 104, 'wipe the device?', ui.BOLD, ui.WHITE, ui.BLACK)
ui.display.text(10, 164, 'All data will be lost.', ui.NORMAL, ui.WHITE, ui.BLACK)
confirmed = yield from confirm() confirmed = yield from confirm()