diff --git a/romfs/index.pht b/romfs/index.pht index fcbc5606..83ccf380 100644 --- a/romfs/index.pht +++ b/romfs/index.pht @@ -1,19 +1,18 @@ - -eLua webserver test +eLua webserver test -
Welcome to the eLua web server!
+

Welcome to the eLua web server!


The right column of the following table is generated by embedded Lua code:

- +
- + - + @@ -21,11 +20,11 @@
And now let's test CGI. Use the form below to control the on-board LED.

-
eLua CPUeLua CPU
eLua boardeLua board
+
- - + +
@@ -33,10 +32,10 @@ And now let's test CGI. Use the form below to control the on-board LED.

The LED is now ON
' - elseif reqdata['ledoff'] == 'ledoff' then + elseif reqdata['ledoff'] then pio.clear(ledpin) print '
The LED is now OFF
' elseif next(reqdata) ~= nil then