diff --git a/src/nhttpd/web/Y_Blocks.txt b/src/nhttpd/web/Y_Blocks.txt index 53bfd6643..65316041e 100644 --- a/src/nhttpd/web/Y_Blocks.txt +++ b/src/nhttpd/web/Y_Blocks.txt @@ -313,12 +313,75 @@ start-block~frame_iso_head yWeb end-block~frame_iso_head +# ------- nhttpd save Settings +start-block~start_wizard_save_settings +{=ini-set:/var/tuxbox/config/Y-Web.conf;start_page;{=start_page=}~open=} +{=ini-set:/var/tuxbox/config/Y-Web.conf;startup;true~save=} +{=ini-set:/var/tuxbox/config/nhttpd.conf;Language.selected;{=language=}~save=} +{=func:do_reload_httpd_config=} +end-block~start_wizard_save_settings + +# ------- Start Wizard +start-block~start_wizard_page +{=include-block:Y_Blocks.txt;head=} + + + + +{=var-set:wait_text={=L:save_values=}=}{=include-block:Y_Blocks.txt;snip_wait=} +
+
+ {=var-set:help_url=Help-Settings-StartWizard=}{=var-set:menu={=L:start.head=}Start Wizard=}{=include-block:Y_Blocks.txt;work_menu=}
+
+
+ + + + + + + + + +
Wellcome to yWeb
{=L:language=} +
{=L:start_page=}
+
+ + + +
+
+
+ + +end-block~start_wizard_page + # ------- Lay-Frame MAIN start-block~frame_main + +{=if-empty:{=ini-get:/var/tuxbox/config/Y-Web.conf;startup=}~ +{=include-block:Y_Blocks.txt;start_wizard_page=} +~ {=include-block:Y_Blocks.txt;frame_head=} -dbox yWeb +yWeb - + @@ -328,6 +391,8 @@ start-block~frame_main +=} + end-block~frame_main # ------- Lay-Frame MAIN diff --git a/src/nhttpd/web/Y_Refresh.yhtm b/src/nhttpd/web/Y_Refresh.yhtm new file mode 100644 index 000000000..f9bd0667f --- /dev/null +++ b/src/nhttpd/web/Y_Refresh.yhtm @@ -0,0 +1,14 @@ +{=include-block:Y_Blocks.txt;head=} + + + +refreshing... + +