summaryrefslogtreecommitdiffstats
path: root/gui/theme/common/landscape.xml
diff options
context:
space:
mode:
Diffstat (limited to 'gui/theme/common/landscape.xml')
-rw-r--r--gui/theme/common/landscape.xml60
1 files changed, 60 insertions, 0 deletions
diff --git a/gui/theme/common/landscape.xml b/gui/theme/common/landscape.xml
index 688cef23e..9272db01b 100644
--- a/gui/theme/common/landscape.xml
+++ b/gui/theme/common/landscape.xml
@@ -578,6 +578,66 @@
<action function="page">clear_vars</action>
</actions>
</action>
+
+ <action>
+ <conditions>
+ <condition var1="tw_install_reboot" var2="1"/>
+ <condition var1="tw_operation_status" var2="0"/>
+ <condition var1="tw_reboot_system" var2="1"/>
+ </conditions>
+ <actions>
+ <action function="set">tw_sleep=%tw_sleep_total%</action>
+ <action function="page">flash_sleep_and_reboot</action>
+ </actions>
+ </action>
+ </page>
+
+ <page name="flash_sleep_and_reboot">
+ <template name="page"/>
+
+ <text style="text_l">
+ <placement x="%col1_x_header%" y="%row3_header_y%"/>
+ <text>{@install_zip_hdr=Install Zip}</text>
+ </text>
+
+ <text style="text_m">
+ <placement x="%col1_x_header%" y="%row4_header_y%"/>
+ <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
+ </text>
+
+ <template name="console"/>
+
+ <template name="progress_bar"/>
+
+ <button style="main_button_half_width">
+ <condition var1="tw_sleep" op="&gt;" var2="0"/>
+ <placement x="%center_x%" y="%row15a_y%"/>
+ <text>{@cancel_btn=Cancel}</text>
+ <actions>
+ <action function="set">tw_install_reboot=0</action>
+ <action function="page">flash_done</action>
+ </actions>
+ </button>
+
+ <action>
+ <conditions>
+ <condition var1="tw_sleep" var2="tw_sleep_total"/>
+ <condition var1="tw_install_reboot" var2="1"/>
+ </conditions>
+ <action function="sleepcounter">%tw_sleep_total%</action>
+ </action>
+
+ <action>
+ <conditions>
+ <condition var1="tw_sleep" var2="0"/>
+ <condition var1="tw_install_reboot" var2="1"/>
+ </conditions>
+ <actions>
+ <action function="sleep">50000</action>
+ <action function="set">tw_back=main2</action>
+ <action function="page">reboot_system_routine</action>
+ </actions>
+ </action>
</page>
<page name="flashimage_confirm">