# HG changeset patch # User Christophe Lincoln # Date 1333358526 -7200 # Node ID 42a96c3bc97e8678f1dec5626c5dc622e9d4a8b9 # Parent 2e6d97c044c2537a376f654592a926533cf6261c live: make live usb into tazpanle, new input and button style diff -r 2e6d97c044c2 -r 42a96c3bc97e live.cgi --- a/live.cgi Mon Apr 02 10:12:40 2012 +0200 +++ b/live.cgi Mon Apr 02 11:22:06 2012 +0200 @@ -56,11 +56,6 @@ $TERMINAL $TERM_OPTS \ -T "write-iso" \ -e "tazlito writeiso $(GET write_iso)" & ;; - *\ gen_liveusb\ *) - $TERMINAL $TERM_OPTS \ - -T "Tazusb gen-liveusb" \ - -e "tazusb gen-liveusb $(GET gen_liveusb); \ - gettext \"ENTER to quit\"; read i" & ;; *\ loramoutput\ *) $TERMINAL $TERM_OPTS \ -T "build loram iso" \ @@ -86,27 +81,23 @@ # Step by step interface and store files in cache. # gettext "TODO" ;; - *) - # - # Default xHTML content - # + *\ liveusb\ *) xhtml_header cat << EOT
-

`gettext "SliTaz Live Systems"`

-

`gettext "Create and manage Live CD or USB SliTaz systems"`

+

$(gettext "SliTaz LiveUSB")

+

$(gettext "Create Live USB SliTaz systems")

- -

`gettext "Live USB"`

- `gettext "Generate SliTaz LiveUSB media and boot in RAM! Insert a + $(gettext "Generate SliTaz LiveUSB media and boot in RAM! Insert a LiveCD into the cdrom drive, select the correct device and press - Generate."` + Generate.")

- `gettext "USB Media to use:"` - + $(gettext "USB Media to use:") +
+EOT + if [ "$(GET gen)" ]; then + echo "

tazusb gen-liveusb $(GET gen)

" + echo '
'
+			# No pipe here so output is displayed in realtime
+			tazusb gen-liveusb $(GET gen)
+			echo '
' + fi ;; + *) + # + # Default xHTML content + # + xhtml_header + cat << EOT +
+

`gettext "SliTaz Live Systems"`

+

`gettext "Create and manage Live CD or USB SliTaz systems"`

+

+ +
+ + $(gettext "Create LiveUSB") +

`gettext "Write a Live CD"`

diff -r 2e6d97c044c2 -r 42a96c3bc97e network.cgi --- a/network.cgi Mon Apr 02 10:12:40 2012 +0200 +++ b/network.cgi Mon Apr 02 11:22:06 2012 +0200 @@ -285,7 +285,6 @@