mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 06:48:16 +00:00
added header icon to bootloader mockups
This commit is contained in:
parent
2e39c86b42
commit
fcde4a4c84
@ -2,7 +2,7 @@
|
||||
import sys
|
||||
sys.path.append('../../src')
|
||||
|
||||
from trezor import ui
|
||||
from trezor import ui, res
|
||||
from trezor.ui import button
|
||||
|
||||
CANCEL_BUTTON = {
|
||||
@ -27,7 +27,11 @@ ui.display.bar(3, 3, 234, 240 - 54, ui.BLACK)
|
||||
# header
|
||||
ui.display.bar(0, 0, 240, 32, ui.ORANGE, ui.BLACK, 4)
|
||||
ui.display.bar(0, 10, 240, 22, ui.ORANGE)
|
||||
ui.display.text(32, 23, 'Unsigned firmware!', ui.BOLD, ui.WHITE, ui.ORANGE)
|
||||
|
||||
image = res.load('./res/bootloader.toig')
|
||||
ui.display.icon(8, 4, image, ui.ORANGE, ui.WHITE)
|
||||
|
||||
ui.display.text(35, 23, 'Unsigned firmware!', ui.BOLD, ui.WHITE, ui.ORANGE)
|
||||
|
||||
# content
|
||||
ui.display.text(10, 60, 'Check your fingeprint', ui.NORMAL, ui.WHITE, ui.BLACK)
|
||||
|
@ -2,7 +2,7 @@
|
||||
import sys
|
||||
sys.path.append('../../src')
|
||||
|
||||
from trezor import ui
|
||||
from trezor import ui, res
|
||||
from trezor.ui import button
|
||||
|
||||
DEFAULT_BUTTON = {
|
||||
@ -27,7 +27,11 @@ ui.display.bar(3, 3, 234, 240 - 54, ui.BLACK)
|
||||
# header
|
||||
ui.display.bar(0, 0, 240, 32, ui.ORANGE, ui.BLACK, 4)
|
||||
ui.display.bar(0, 10, 240, 22, ui.ORANGE)
|
||||
ui.display.text(10, 23, 'Install failed', ui.BOLD, ui.WHITE, ui.ORANGE)
|
||||
|
||||
image = res.load('./res/bootloader.toig')
|
||||
ui.display.icon(8, 4, image, ui.ORANGE, ui.WHITE)
|
||||
|
||||
ui.display.text(35, 23, 'Install failed', ui.BOLD, ui.WHITE, ui.ORANGE)
|
||||
|
||||
# content
|
||||
ui.display.text(10, 53, 'Some error happend', ui.NORMAL, ui.WHITE, ui.BLACK)
|
||||
|
@ -2,7 +2,7 @@
|
||||
import sys
|
||||
sys.path.append('../../src')
|
||||
|
||||
from trezor import ui
|
||||
from trezor import ui, res
|
||||
from trezor.ui import button
|
||||
|
||||
CONFIRM_BUTTON = {
|
||||
@ -35,7 +35,11 @@ ui.display.backlight(255)
|
||||
# header
|
||||
ui.display.bar(0, 0, 240, 32, ui.ORANGE, ui.BLACK, 4)
|
||||
ui.display.bar(0, 10, 240, 22, ui.ORANGE)
|
||||
ui.display.text(10, 23, 'Install new firmware', ui.BOLD, ui.WHITE, ui.ORANGE)
|
||||
|
||||
image = res.load('./res/bootloader.toig')
|
||||
ui.display.icon(8, 4, image, ui.ORANGE, ui.WHITE)
|
||||
|
||||
ui.display.text(35, 23, 'Install new firmware', ui.BOLD, ui.WHITE, ui.ORANGE)
|
||||
|
||||
# content
|
||||
ui.display.text(10, 53, 'Monero v.1.1', ui.NORMAL, ui.WHITE, ui.BLACK)
|
||||
|
@ -2,7 +2,7 @@
|
||||
import sys
|
||||
sys.path.append('../../src')
|
||||
|
||||
from trezor import ui
|
||||
from trezor import ui, res
|
||||
from trezor.ui import button
|
||||
|
||||
CONFIRM_BUTTON = {
|
||||
@ -23,7 +23,11 @@ ui.display.backlight(255)
|
||||
# header
|
||||
ui.display.bar(0, 0, 240, 32, ui.ORANGE, ui.BLACK, 4)
|
||||
ui.display.bar(0, 10, 240, 22, ui.ORANGE)
|
||||
ui.display.text(10, 23, 'Install new firmware', ui.BOLD, ui.WHITE, ui.ORANGE)
|
||||
|
||||
image = res.load('./res/bootloader.toig')
|
||||
ui.display.icon(8, 4, image, ui.ORANGE, ui.WHITE)
|
||||
|
||||
ui.display.text(35, 23, 'Install new firmware', ui.BOLD, ui.WHITE, ui.ORANGE)
|
||||
|
||||
# content
|
||||
ui.display.text(10, 53, 'Warning!', ui.BOLD, ui.WHITE, ui.BLACK)
|
||||
|
@ -2,7 +2,7 @@
|
||||
import sys
|
||||
sys.path.append('../../src')
|
||||
|
||||
from trezor import ui
|
||||
from trezor import ui, res
|
||||
from trezor.ui import button
|
||||
|
||||
DEFAULT_BUTTON = {
|
||||
@ -23,7 +23,11 @@ ui.display.backlight(255)
|
||||
# header
|
||||
ui.display.bar(0, 0, 240, 32, ui.ORANGE, ui.BLACK, 4)
|
||||
ui.display.bar(0, 10, 240, 22, ui.ORANGE)
|
||||
ui.display.text(10, 23, 'Install done', ui.BOLD, ui.WHITE, ui.ORANGE)
|
||||
|
||||
image = res.load('./res/bootloader.toig')
|
||||
ui.display.icon(8, 4, image, ui.ORANGE, ui.WHITE)
|
||||
|
||||
ui.display.text(35, 23, 'Install done', ui.BOLD, ui.WHITE, ui.ORANGE)
|
||||
|
||||
# content
|
||||
# content
|
||||
|
@ -2,7 +2,7 @@
|
||||
import sys
|
||||
sys.path.append('../../src')
|
||||
|
||||
from trezor import ui
|
||||
from trezor import ui, res
|
||||
|
||||
ui.display.backlight(255)
|
||||
|
||||
@ -10,7 +10,11 @@ ui.display.backlight(255)
|
||||
# header
|
||||
ui.display.bar(0, 0, 240, 32, ui.ORANGE, ui.BLACK, 4)
|
||||
ui.display.bar(0, 10, 240, 22, ui.ORANGE)
|
||||
ui.display.text(10, 23, 'Installing firmware', ui.BOLD, ui.WHITE, ui.ORANGE)
|
||||
|
||||
image = res.load('./res/bootloader.toig')
|
||||
ui.display.icon(8, 4, image, ui.ORANGE, ui.WHITE)
|
||||
|
||||
ui.display.text(35, 23, 'Installing firmware', ui.BOLD, ui.WHITE, ui.ORANGE)
|
||||
|
||||
ui.display.text_center(120, 192 + 32, "In progress ...", 1, ui.WHITE, ui.BLACK)
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
import sys
|
||||
sys.path.append('../../src')
|
||||
|
||||
from trezor import ui
|
||||
from trezor import ui, res
|
||||
from trezor.ui import button
|
||||
|
||||
CONFIRM_BUTTON = {
|
||||
@ -33,13 +33,17 @@ CANCEL_BUTTON_ACTIVE = {
|
||||
ui.display.backlight(255)
|
||||
|
||||
# background frame
|
||||
# ui.display.bar(0, 10, 240, 240 - 50, ui.LIGHT_RED)
|
||||
# ui.display.bar(3, 3, 234, 240 - 54, ui.BLACK)
|
||||
ui.display.bar(0, 10, 240, 240 - 58, ui.LIGHT_RED)
|
||||
ui.display.bar(3, 3, 234, 240 - 54, ui.BLACK)
|
||||
|
||||
# header
|
||||
ui.display.bar(0, 0, 240, 32, ui.LIGHT_RED, ui.BLACK, 4)
|
||||
ui.display.bar(0, 10, 240, 22, ui.LIGHT_RED)
|
||||
ui.display.text(10, 23, 'Install new firmware', ui.BOLD, ui.WHITE, ui.LIGHT_RED)
|
||||
ui.display.bar(0, 0, 240, 32, ui.ORANGE, ui.BLACK, 4)
|
||||
ui.display.bar(0, 10, 240, 22, ui.ORANGE)
|
||||
|
||||
image = res.load('./res/bootloader.toig')
|
||||
ui.display.icon(8, 4, image, ui.ORANGE, ui.WHITE)
|
||||
|
||||
ui.display.text(35, 23, 'Install new firmware', ui.BOLD, ui.WHITE, ui.ORANGE)
|
||||
|
||||
# content
|
||||
ui.display.text(10, 60, 'Unsigned firmware!', ui.NORMAL, ui.WHITE, ui.BLACK)
|
||||
|
Loading…
Reference in New Issue
Block a user