diff options
Diffstat (limited to 'lib/support/bobot_server/butia')
-rw-r--r-- | lib/support/bobot_server/butia/butia.htm | 17 | ||||
-rw-r--r-- | lib/support/bobot_server/butia/butia_http.lua | 32 | ||||
-rw-r--r-- | lib/support/bobot_server/butia/command.htm | 36 | ||||
-rw-r--r-- | lib/support/bobot_server/butia/describeButia.htm | 88 | ||||
-rw-r--r-- | lib/support/bobot_server/butia/header.htm | 10 | ||||
-rw-r--r-- | lib/support/bobot_server/butia/images/btar_dn.gif | bin | 303 -> 0 bytes | |||
-rw-r--r-- | lib/support/bobot_server/butia/images/btar_lft.gif | bin | 279 -> 0 bytes | |||
-rw-r--r-- | lib/support/bobot_server/butia/images/btar_rgt.gif | bin | 283 -> 0 bytes | |||
-rw-r--r-- | lib/support/bobot_server/butia/images/btar_up.gif | bin | 312 -> 0 bytes | |||
-rw-r--r-- | lib/support/bobot_server/butia/images/butiaRobot3.png | bin | 80308 -> 0 bytes | |||
-rw-r--r-- | lib/support/bobot_server/butia/images/clase07.jpg | bin | 20771 -> 0 bytes | |||
-rw-r--r-- | lib/support/bobot_server/butia/sensors.htm | 40 | ||||
-rw-r--r-- | lib/support/bobot_server/butia/view.htm | 10 |
13 files changed, 0 insertions, 233 deletions
diff --git a/lib/support/bobot_server/butia/butia.htm b/lib/support/bobot_server/butia/butia.htm deleted file mode 100644 index ca86673..0000000 --- a/lib/support/bobot_server/butia/butia.htm +++ /dev/null @@ -1,17 +0,0 @@ -<html>
-<HEAD>
- <TITLE>Robot Butia</TITLE>
-</HEAD>
-<frameset rows="25%,50%,25%">
-
- <frame src="header.htm" />
- <frameset cols="25%,75%">
- <frame src="command.htm" />
- <frame src="view.htm" />
- </frameset>
-<frame src="sensors.htm" />
-
-</frameset>
-
-</html>
-
diff --git a/lib/support/bobot_server/butia/butia_http.lua b/lib/support/bobot_server/butia/butia_http.lua deleted file mode 100644 index 6a0b1ff..0000000 --- a/lib/support/bobot_server/butia/butia_http.lua +++ /dev/null @@ -1,32 +0,0 @@ -module(..., package.seeall); - ---local devices=devices -local process = require("bobot-server-process").process -local util = require("http-util") - -local parse_params = util.parse_params -local load_template = util.load_file - -local butia_template=load_template('butia/butia.htm') or "Error loading template butia.htm" -local header_template=load_template('butia/header.htm') or "Error loading template header.htm" - -function init (get_page) - get_page["/butia.htm"] = function (p) - local params=parse_params(p) - local rep = { - ['DATA1'] = params['campo'], - ['DATA2'] = tostring(params['unboton'])..', '..tostring(params['otroboton']), - } - local page=string.gsub(butia_template, '<!%-%-(%w+)%-%->', rep) - return "HTTP/1.1 200/OK\r\nContent-Type:text/html\r\nContent-Length: "..#page.."\r\n\r\n"..page - end - - get_page["/header.htm"] = function (p) - local params=parse_params(p) - local rep = { - } - local page=string.gsub(header_template, '<!%-%-(%w+)%-%->', rep) - return "HTTP/1.1 200/OK\r\nContent-Type:text/html\r\nContent-Length: "..#page.."\r\n\r\n"..page - end - -end diff --git a/lib/support/bobot_server/butia/command.htm b/lib/support/bobot_server/butia/command.htm deleted file mode 100644 index 9cec722..0000000 --- a/lib/support/bobot_server/butia/command.htm +++ /dev/null @@ -1,36 +0,0 @@ -<HTML>
-
-<BODY BGCOLOR="#bfbfbf" TEXT="#000000" VLINK="#000099" LINK="#9900ff" ALINK="#FFFF00">
-<CENTER>
-<h1 style="color: rgb(0, 153, 0);">Haz click en los botones para dirigir el robot</h1>
-<hr>
-<BR>
-<TABLE BORDER=1 WIDTH="95%" CELLSPACING=3 CELLPADDING=3>
-<TR>
- <TD ALIGN="center" VALIGN="top">
- <TABLE BORDER=1 WIDTH="95%" CELLSPACING=3 CELLPADDING=3>
- <TR>
- <TD ALIGN="center"></TD>
- <TD ALIGN="center"><A HREF="up.htm"><IMG SRC="images/btar_up.gif" BORDER=0 WIDTH=20 HEIGHT=20></A></TD>
- <TD ALIGN="center"></TD>
- </TR>
- <TR>
- <TD ALIGN="center"><A HREF="left.htm"><IMG SRC="images/btar_lft.gif" BORDER=0 WIDTH=20 HEIGHT=20></A></TD>
- <TD ALIGN="center"></TD>
- <TD ALIGN="center"><A HREF="right.htm"><IMG SRC="images/btar_rgt.gif" BORDER=0 WIDTH=20 HEIGHT=20></A></TD>
- </TR>
- <TR>
- <TD ALIGN="center"></TD>
- <TD ALIGN="center"><A HREF="down.htm"><IMG SRC="images/btar_dn.gif" BORDER=0 WIDTH=20 HEIGHT=20></A></TD>
- <TD ALIGN="center"></TD>
- </TR>
- </TABLE>
- </TD>
-</TR>
-</TABLE>
-<P>
-
-</CENTER>
-</BODY>
-</HTML>
-
diff --git a/lib/support/bobot_server/butia/describeButia.htm b/lib/support/bobot_server/butia/describeButia.htm deleted file mode 100644 index b147468..0000000 --- a/lib/support/bobot_server/butia/describeButia.htm +++ /dev/null @@ -1,88 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<HTML>
-<HEAD>
-<TITLE>
-butia (Describe)
-</TITLE>
-</HEAD>
-
-<BODY BGCOLOR="white" >
-<HR>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" >
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" > <FONT ><B>DESCRIBE butia</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" > <A HREF="lback.htm"><FONT><B>DESCRIBE lback</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" > <A HREF="dist.htm"><FONT ><B>DESCRIBE dist</B></FONT></A> </TD>
-
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-<b>Butia<br>Robot Educativo</b></EM>
-</TD>
-</TR>
-</TABLE>
-<HR>
-<H2>
-<FONT SIZE="-1">
-Funciones disponibles en </FONT>
-<BR>
-butia</H2>
-
-<HR>
-
-<P>
-A continuación se lista las funciones disponibles en este módulo.
-<br>
-Puedes invocar la función ingresando los datos necesarios y presionando el botón Submit.
-<p>
-
-<P>
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" >
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Resumen de Funciones</B></FONT></TH>
-</TR>
-
-
-<TR BGCOLOR="white" >
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> data (String)</CODE></FONT></TD>
-<TD><CODE><B>read_ver</B>(data number)</CODE>
-
-<BR>
-
-<FORM METHOD="POST" ACTION="evaluate_function.do">
-<HIDDEN VALUE="read_ver"/>
-data: <INPUT TYPE="text" NAME="data" />
-<INPUT TYPE="submit" VALUE="Submit" />
-</FORM>
-</TD>
-</TR>
-
-<TR BGCOLOR="white" >
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> data (String)</CODE></FONT></TD>
-<TD><CODE><B>get_volt</B>()</CODE>
-
-<BR>
-
-<FORM METHOD="POST" ACTION="evaluate_function.do">
-<HIDDEN VALUE="get_volt"/>
-<INPUT TYPE="submit" VALUE="Submit" />
-</FORM>
-</TD>
-</TR>
-
-</TABLE>
-
-<P>
-
-</BODY>
-</HTML>
\ No newline at end of file diff --git a/lib/support/bobot_server/butia/header.htm b/lib/support/bobot_server/butia/header.htm deleted file mode 100644 index 7d64136..0000000 --- a/lib/support/bobot_server/butia/header.htm +++ /dev/null @@ -1,10 +0,0 @@ -<HTML>
-
-<BODY BGCOLOR="#bfbfbf" TEXT="#000000" VLINK="#000099" LINK="#9900ff" ALINK="#FFFF00">
-<CENTER>
-<H1>ROBOT BUTIA</H1>
-<IMG SRC="butia/images/butiaRobot3.png" style="width: 152px; height: 113px;" ALT="Butia" align="middle"><P>
-<HR SIZE=1 NOSHADE>
-</CENTER>
-</BODY>
-</HTML>
diff --git a/lib/support/bobot_server/butia/images/btar_dn.gif b/lib/support/bobot_server/butia/images/btar_dn.gif Binary files differdeleted file mode 100644 index 7f6b4f3..0000000 --- a/lib/support/bobot_server/butia/images/btar_dn.gif +++ /dev/null diff --git a/lib/support/bobot_server/butia/images/btar_lft.gif b/lib/support/bobot_server/butia/images/btar_lft.gif Binary files differdeleted file mode 100644 index e104fe4..0000000 --- a/lib/support/bobot_server/butia/images/btar_lft.gif +++ /dev/null diff --git a/lib/support/bobot_server/butia/images/btar_rgt.gif b/lib/support/bobot_server/butia/images/btar_rgt.gif Binary files differdeleted file mode 100644 index 4cc5ae0..0000000 --- a/lib/support/bobot_server/butia/images/btar_rgt.gif +++ /dev/null diff --git a/lib/support/bobot_server/butia/images/btar_up.gif b/lib/support/bobot_server/butia/images/btar_up.gif Binary files differdeleted file mode 100644 index e3180df..0000000 --- a/lib/support/bobot_server/butia/images/btar_up.gif +++ /dev/null diff --git a/lib/support/bobot_server/butia/images/butiaRobot3.png b/lib/support/bobot_server/butia/images/butiaRobot3.png Binary files differdeleted file mode 100644 index f7e74cf..0000000 --- a/lib/support/bobot_server/butia/images/butiaRobot3.png +++ /dev/null diff --git a/lib/support/bobot_server/butia/images/clase07.jpg b/lib/support/bobot_server/butia/images/clase07.jpg Binary files differdeleted file mode 100644 index acc498f..0000000 --- a/lib/support/bobot_server/butia/images/clase07.jpg +++ /dev/null diff --git a/lib/support/bobot_server/butia/sensors.htm b/lib/support/bobot_server/butia/sensors.htm deleted file mode 100644 index dca9244..0000000 --- a/lib/support/bobot_server/butia/sensors.htm +++ /dev/null @@ -1,40 +0,0 @@ -<HTML>
-
-<BODY >
-<CENTER>
-
-<table cellspacing="0" cellpadding="5" border="1" align="top">
-<tr>
-<th> Sensor Name
-</th><th> Type (A/D)
-</th><th> Value
-</th><th> Other
-</th></tr>
-<tr>
-<td> Temperature
-</td><td> D
-</td><td> 23
-</td><td> C
-</td></tr>
-<tr>
-<td> Pote
-</td><td> A
-</td><td> 100
-</td><td>
-</td></tr>
-<tr>
-<td> Gas
-</td><td> A
-</td><td> 15
-</td><td>
-</td></tr>
-<tr>
-<td> Button
-</td><td> D
-</td><td> 1
-</td><td> Pressed
-</td></tr>
-
-</CENTER>
-</BODY>
-</HTML>
\ No newline at end of file diff --git a/lib/support/bobot_server/butia/view.htm b/lib/support/bobot_server/butia/view.htm deleted file mode 100644 index 0fda3dc..0000000 --- a/lib/support/bobot_server/butia/view.htm +++ /dev/null @@ -1,10 +0,0 @@ -<HTML>
-
-<BODY BGCOLOR="#bfbfbf" TEXT="#000000" VLINK="#000099" LINK="#9900ff" ALINK="#FFFF00">
-<CENTER>
-
-<IMG SRC="images/clase07.jpg" WIDTH=100% HEIGHT=100% ALT="Butia"><P>
-
-</CENTER>
-</BODY>
-</HTML>
\ No newline at end of file |