mirror of
https://github.com/elua/elua.git
synced 2025-01-08 20:56:17 +08:00
Features added to WebBook HTML generator :
- New parameters in wb_usr to specify: - logo image file name - search box visibility - search box title and label - vertical size of title bar (for bigger logos) Features changed in WebBook HTML generator: - copywrite notice now optional - mail contact now optional - UTF-8 used for Portuguese version - search box now has a separate template to allow positioning flexibility HTML Templates enhanced Ongoing work....
This commit is contained in:
parent
db423ba662
commit
4a8edbeb0b
@ -708,7 +708,7 @@ specified UART interface.</font></p>
|
||||
</p>
|
||||
<h3><a name="platdepmodules"></a>eLua Platform
|
||||
Dependent
|
||||
Modules</h3><h3><a name="adcmodule"></a>adc</h3><br><a name="adc_sample"></a>adc.sample(channel_id) - returns a single integer value from the ADC<br><br><a name="adc_maxval"></a>adc.maxval(channel_id) - returns largest integer one can expect for this channel on a given platform (based on bit depth)<br><br><a name="adc_dataready"></a>adc.dataready(channel_id)
|
||||
Modules</h3><h3><a name="adcmodule"></a>adc</h3>Currently runs on: LM3S <br><br><a name="adc_sample"></a>adc.sample(channel_id) - returns a single integer value from the ADC<br><br><a name="adc_maxval"></a>adc.maxval(channel_id) - returns largest integer one can expect for this channel on a given platform (based on bit depth)<br><br><a name="adc_dataready"></a>adc.dataready(channel_id)
|
||||
- if running in non-blocking mode, this will indicate if all of the
|
||||
samples requested from the last sample or <br>burst have been acquired and
|
||||
are waiting in the buffer<br><br><a name="adc_setmode"></a>adc.setmode(channel_id, mode) - mode: 0
|
||||
@ -721,7 +721,7 @@ channel_id, count, timer_id, frequency) - request that (count) samples
|
||||
(channel_id), using (timer_id) at (frequency). results are returned as
|
||||
a table<br><br>
|
||||
<h3><a name="dispmodule"></a>disp</h3>
|
||||
<span style="font-weight: bold;"></span><br>
|
||||
<span style="font-weight: bold;"></span>Currently runs on: LM3S <br>
|
||||
<p class="MsoNormal"><a name="disp_init"></a>
|
||||
disp.init </p>
|
||||
<p class="MsoNormal"> <br>
|
||||
|
@ -2,11 +2,11 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>eLua Doc</title>
|
||||
</head>
|
||||
|
||||
<frameset rows="51,*" frameborder="0" framespacing="0" bordercolor="#0B6DCE">
|
||||
<frameset rows="80,*" frameborder="0" framespacing="0" bordercolor="#0B6DCE">
|
||||
<frame name="wb_title" scrolling="no" noresize="noresize" src="wb_title_en.html"
|
||||
frameborder="0" marginheight="0" marginwidth="0" target="wb_cont">
|
||||
<frameset cols="200,*" frameborder="1" framespacing="4" bordercolor="#0B6DCE" border="4">
|
||||
|
@ -2,11 +2,11 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>eLua Doc</title>
|
||||
</head>
|
||||
|
||||
<frameset rows="51,*" frameborder="0" framespacing="0" bordercolor="#0B6DCE">
|
||||
<frameset rows="80,*" frameborder="0" framespacing="0" bordercolor="#0B6DCE">
|
||||
<frame name="wb_title" scrolling="no" noresize="noresize" src="wb_title_pt.html"
|
||||
frameborder="0" marginheight="0" marginwidth="0" target="wb_cont">
|
||||
<frameset cols="200,*" frameborder="1" framespacing="4" bordercolor="#0B6DCE" border="4">
|
||||
|
@ -2,11 +2,11 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>WB_TITLE</title>
|
||||
</head>
|
||||
|
||||
<frameset rows="51,*" frameborder="0" framespacing="0" bordercolor="#0B6DCE">
|
||||
<frameset rows="TITLE_BAR_HEIGHT,*" frameborder="0" framespacing="0" bordercolor="#0B6DCE">
|
||||
<frame name="wb_title" scrolling="no" noresize="noresize" src="wb_titleWB_LNG.html"
|
||||
frameborder="0" marginheight="0" marginwidth="0" target="wb_cont">
|
||||
<frameset cols="WB_START_SIZE,*" frameborder="1" framespacing="4" bordercolor="#0B6DCE" border="4">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us" >
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Bar</title>
|
||||
<base target="wb_cont">
|
||||
<style type="text/css">
|
||||
@ -20,8 +20,10 @@
|
||||
|
||||
<body style="margin: 2px; background-color: #F1F1F1">
|
||||
<div class="navigation">
|
||||
<p><a target="_blank" href="http://www.eluaproject.net"><img
|
||||
src="wb_img/logo.png" style="border-width: 0px"></a><img src="wb_img/barlineleft.png"><img alt="WB_EXPALL_ALT" src="wb_img/showall.png" onclick="parent.wb_tree.showAllFolders()" onmouseover="this.src='wb_img/showall_over.png'" onmouseout="this.src='wb_img/showall.png'"><img alt="WB_CONTALL_ALT" src="wb_img/hideall.png" onclick="parent.wb_tree.hideAllFolders()" onmouseover="this.src='wb_img/hideall_over.png'" onmouseout="this.src='wb_img/hideall.png'"><img alt="WB_SYNC_ALT" src="wb_img/sync.png" onclick="parent.wb_tree.syncContents()" onmouseover="this.src='wb_img/sync_over.png'" onmouseout="this.src='wb_img/sync.png'"><img alt="WB_NEXT_ALT" src="wb_img/next.png" onclick="parent.wb_tree.nextContents()" onmouseover="this.src='wb_img/next_over.png'" onmouseout="this.src='wb_img/next.png'"><img alt="WB_PREV_ALT" src="wb_img/previous.png" onclick="parent.wb_tree.prevContents()" onmouseover="this.src='wb_img/previous_over.png'" onmouseout="this.src='wb_img/previous.png'">WB_LNG_BUTTON</p>
|
||||
<p><a target="_blank" href="http://www.eluaproject.net"><img src="wb_img/logo.png" style="border-width: 0px"></a>
|
||||
<img src="wb_img/barlineleft.png"><img alt="WB_EXPALL_ALT" src="wb_img/showall.png" onclick="parent.wb_tree.showAllFolders()" onmouseover="this.src='wb_img/showall_over.png'" onmouseout="this.src='wb_img/showall.png'"><img alt="WB_CONTALL_ALT" src="wb_img/hideall.png" onclick="parent.wb_tree.hideAllFolders()" onmouseover="this.src='wb_img/hideall_over.png'" onmouseout="this.src='wb_img/hideall.png'"><img alt="WB_SYNC_ALT" src="wb_img/sync.png" onclick="parent.wb_tree.syncContents()" onmouseover="this.src='wb_img/sync_over.png'" onmouseout="this.src='wb_img/sync.png'"><img alt="WB_NEXT_ALT" src="wb_img/next.png" onclick="parent.wb_tree.nextContents()" onmouseover="this.src='wb_img/next_over.png'" onmouseout="this.src='wb_img/next.png'"><img alt="WB_PREV_ALT" src="wb_img/previous.png" onclick="parent.wb_tree.prevContents()" onmouseover="this.src='wb_img/previous_over.png'" onmouseout="this.src='wb_img/previous.png'">WB_LNG_BUTTON
|
||||
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
11
doc/wb/template_wb_search.html
Normal file
11
doc/wb/template_wb_search.html
Normal file
@ -0,0 +1,11 @@
|
||||
|
||||
<FORM method=GET action="http://www.google.com/search" style="margin-bottom: 0; margin: 0; text-align: center;font-size:12px;font-family:verdana;">
|
||||
<input type="hidden" name="ie" value="UTF-8" />
|
||||
<input type="hidden" name=oe value="UTF-8" />
|
||||
WB_SEARCH_LABEL
|
||||
<INPUT TYPE="text" name="q" size="21" maxlength="255" value="" />
|
||||
<INPUT type="submit" name="btnG" VALUE="Search" style="height: 21px; vertical-align: top; font-size: x-small;" />
|
||||
<input type="hidden" name="domains" value="WB_SEARCH_LINK" />
|
||||
<input type="hidden" name="sitesearch" value="WB_SEARCH_LINK" />
|
||||
</FORM>
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
|
||||
<title>Title</title>
|
||||
<base target="wb_cont">
|
||||
<style type="text/css">
|
||||
@ -15,7 +16,7 @@ td.title {
|
||||
td.contact {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
width: 11em;
|
||||
/*width: 11em;*/
|
||||
}
|
||||
a.contact {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
@ -32,29 +33,22 @@ a.contact:hover {
|
||||
|
||||
<body style="background-color: WB_TITLE_BGCOLOR; margin-left: 3px; margin-right: 3px; margin-top: 2px; margin-bottom: 0; background-image: url('wb_img/title_background.png');">
|
||||
|
||||
<table style="width: 100%" cellspacing="0" cellpadding="0">
|
||||
<table border="0" style="width: 100%;" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td style="width: 50px;"><img src="logo.gif"></td>
|
||||
<td class="title">WB_BAR_TITLE</td>
|
||||
<td style="width: 3.5em">
|
||||
<td valign="center" style="width: 30px;padding:0px 10px 0px 0px;">
|
||||
WB_LOGO
|
||||
</td>
|
||||
<td valign="center" class="title">WB_BAR_TITLE</td>
|
||||
<!--td style="width: 3.5em">
|
||||
<a class="contact" href="ssSearchWB_LNG.html">SimpleSearch</a>
|
||||
</td>
|
||||
<td style="width: 11em">
|
||||
<FORM method=GET action="http://www.google.com/search" style="margin-bottom: 0; margin: 0; text-align: center; ">
|
||||
<input type=hidden name=ie value=UTF-8>
|
||||
<input type=hidden name=oe value=UTF-8>
|
||||
<INPUT TYPE=text name=q size=21 maxlength=255 value=""><br>
|
||||
<A HREF="http://www.google.com/"><IMG SRC="wb_img/google.gif" border="0" ALT="Google"></A>
|
||||
<INPUT type=submit name=btnG VALUE="Search" style="height: 21px; vertical-align: top; font-size: x-small;">
|
||||
<input type=hidden name=domains value="WB_SEARCH_LINK">
|
||||
<input type=hidden name=sitesearch value="WB_SEARCH_LINK" checked>
|
||||
<input type=hidden name=sitesearch value="">
|
||||
</FORM>
|
||||
</td-->
|
||||
<td style="width: 280px" >
|
||||
WB_SEARCH_FORM
|
||||
</td>
|
||||
<td class="contact">
|
||||
<a class="contact" target="_blank" href="WB_COPYRIGHT_LINK"><EFBFBD> WB_COPYRIGHT_NAME</a>
|
||||
<br>
|
||||
<a class="contact" href="mailto:WB_CONTACT">(WB_CONTACT)</a>
|
||||
WB_COPYRIGHT
|
||||
<br>
|
||||
WB_CONTACT
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us" >
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Tree</title>
|
||||
<base target="wb_cont">
|
||||
<style type="text/css">
|
||||
|
@ -1,364 +1,392 @@
|
||||
|
||||
dofile("wb_usr.lua")
|
||||
|
||||
lngCount = nil
|
||||
lngSuffix = nil
|
||||
lngIndex = nil
|
||||
lngNext = nil
|
||||
linkCount = 1
|
||||
|
||||
function readFile(filename)
|
||||
local file = io.open(filename)
|
||||
local text = file:read("*a")
|
||||
file:close()
|
||||
return text
|
||||
end
|
||||
|
||||
function writeFile(filename, text)
|
||||
local file = io.open(filename, "w")
|
||||
file:write(text)
|
||||
file:close()
|
||||
end
|
||||
|
||||
-- #####################################################################
|
||||
|
||||
htmlFiles = {}
|
||||
|
||||
function addHtmlFile(v)
|
||||
if v then
|
||||
-- only up to "#"
|
||||
local j = string.find(v, "#")
|
||||
if j then
|
||||
f = string.sub(v, 0, j-1)
|
||||
else
|
||||
f = v
|
||||
end
|
||||
|
||||
htmlFiles[f] = f
|
||||
end
|
||||
end
|
||||
|
||||
-- #####################################################################
|
||||
|
||||
function writeIndexFile()
|
||||
print("Writing \"../index"..lngSuffix..".html\".")
|
||||
|
||||
local wb_index = readFile("template_index.html")
|
||||
|
||||
wb_index = string.gsub(wb_index, "WB_TITLE", wb_usr.messages[lngIndex].title)
|
||||
wb_index = string.gsub(wb_index, "WB_START_SIZE", wb_usr.start_size)
|
||||
wb_index = string.gsub(wb_index, "WB_START_PAGE", lngIndex.."/"..wb_usr.tree.link)
|
||||
if (lngCount > 1) then
|
||||
wb_index = string.gsub(wb_index, "WB_LNG", lngSuffix)
|
||||
else
|
||||
wb_index = string.gsub(wb_index, "WB_LNG", "")
|
||||
end
|
||||
|
||||
writeFile("../index"..lngSuffix..".html", wb_index)
|
||||
end
|
||||
|
||||
-- #####################################################################
|
||||
|
||||
function writeTitleFile()
|
||||
print("Writing \"../wb_title"..lngSuffix..".html\".")
|
||||
|
||||
local wb_title = readFile("template_wb_title.html")
|
||||
|
||||
wb_title = string.gsub(wb_title, "WB_BAR_TITLE", wb_usr.messages[lngIndex].bar_title)
|
||||
wb_title = string.gsub(wb_title, "WB_TITLE_BGCOLOR", wb_usr.title_bgcolor)
|
||||
wb_title = string.gsub(wb_title, "WB_SEARCH_LINK", wb_usr.search_link)
|
||||
wb_title = string.gsub(wb_title, "WB_COPYRIGHT_LINK", wb_usr.copyright_link)
|
||||
wb_title = string.gsub(wb_title, "WB_COPYRIGHT_NAME", wb_usr.copyright_name)
|
||||
wb_title = string.gsub(wb_title, "WB_CONTACT", wb_usr.contact)
|
||||
|
||||
if (lngCount > 1) then
|
||||
wb_title = string.gsub(wb_title, "WB_LNG", lngSuffix)
|
||||
else
|
||||
wb_title = string.gsub(wb_title, "WB_LNG", "")
|
||||
end
|
||||
|
||||
writeFile("../wb_title"..lngSuffix..".html", wb_title)
|
||||
end
|
||||
|
||||
-- #####################################################################
|
||||
|
||||
function writeIndent(file, level)
|
||||
-- base identation
|
||||
file:write(" ")
|
||||
|
||||
for i = 1, level*2, 1 do
|
||||
file:write(" ")
|
||||
end
|
||||
end
|
||||
|
||||
function getNodeName(node)
|
||||
local name = nil
|
||||
if (node.name[lngIndex]) then
|
||||
name = node.name[lngIndex]
|
||||
else
|
||||
name = node.name["nl"]
|
||||
end
|
||||
|
||||
if not name then
|
||||
error("Name not found.")
|
||||
end
|
||||
|
||||
return name
|
||||
end
|
||||
|
||||
function writeNode(file, node, opened, level, folder_index, folder_suffix, node_suffix, child_prefix)
|
||||
if (node.folder) then -- folder
|
||||
-- box image
|
||||
writeIndent(file, level)
|
||||
file:write("<p>")
|
||||
|
||||
folder_suffix = folder_suffix .. "." .. folder_index
|
||||
|
||||
file:write(child_prefix.."<img name=\"imgfolder"..folder_suffix.."\" ")
|
||||
|
||||
if (opened) then
|
||||
file:write("src=\"wb_img/minusnode"..node_suffix..".png\" ")
|
||||
else
|
||||
file:write("src=\"wb_img/plusnode"..node_suffix..".png\" ")
|
||||
end
|
||||
|
||||
file:write("onclick=\"toggleFolder('folder"..folder_suffix.."')\">")
|
||||
|
||||
if (node.link) then
|
||||
file:write("<a name=\"link"..linkCount.."folder"..folder_suffix.."\" class=\"el\" href=\""..lngIndex.."/"..node.link.."\">"..getNodeName(node).."</a>")
|
||||
addHtmlFile(node.link)
|
||||
linkCount = linkCount + 1
|
||||
else
|
||||
file:write(" "..getNodeName(node))
|
||||
end
|
||||
|
||||
file:write("</p>\n")
|
||||
|
||||
-- folder div
|
||||
writeIndent(file, level)
|
||||
if (opened) then
|
||||
file:write("<div id=\"folder"..folder_suffix.."\" style=\"display:block\">\n")
|
||||
else
|
||||
file:write("<div id=\"folder"..folder_suffix.."\">\n")
|
||||
end
|
||||
|
||||
local n = #(node.folder)
|
||||
local next_folder_index = 0
|
||||
local next_node_suffix = ""
|
||||
local next_child_prefix = "<img src=\"wb_img/vertline.png\">"
|
||||
if (node_suffix == "last") then
|
||||
next_child_prefix = "<img src=\"wb_img/blank.png\">"
|
||||
end
|
||||
for i = 1, n, 1 do
|
||||
if (i == n) then
|
||||
next_node_suffix = "last"
|
||||
end
|
||||
if (node.folder[i].folder) then
|
||||
next_folder_index = next_folder_index + 1
|
||||
end
|
||||
writeNode(file, node.folder[i], false, level+1, next_folder_index, folder_suffix, next_node_suffix, child_prefix..next_child_prefix)
|
||||
end
|
||||
|
||||
writeIndent(file, level)
|
||||
file:write("</div>\n")
|
||||
else -- leaf
|
||||
if (node.link and node.link ~= "") then -- normal leaf
|
||||
writeIndent(file, level)
|
||||
file:write("<p>"..child_prefix.."<img src=\"wb_img/node"..node_suffix..".png\"><a class=\"el\" name=\"link"..linkCount.."folder"..folder_suffix.."\" href=\""..lngIndex.."/"..node.link.."\">"..getNodeName(node).."</a></p>\n")
|
||||
addHtmlFile(node.link)
|
||||
linkCount = linkCount + 1
|
||||
else -- separator leaf
|
||||
writeIndent(file, level)
|
||||
file:write("<p class=\"sep\">")
|
||||
|
||||
local sep_child_prefix = string.gsub(child_prefix, "/vertline", "/sepvertline")
|
||||
sep_child_prefix = string.gsub(sep_child_prefix, "/blank", "/sepblank")
|
||||
|
||||
file:write(sep_child_prefix.."<img src=\"wb_img/sepnode.png\"></p>\n")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function writeTree(file)
|
||||
-- root node
|
||||
file:write(" <h3><a name=\"link0folder.0\" class=\"el\" href=\""..lngIndex.."/"..wb_usr.tree.link.."\">"..getNodeName(wb_usr.tree).."</a></h3>\n")
|
||||
addHtmlFile(wb_usr.tree.link)
|
||||
|
||||
local folder = wb_usr.tree.folder
|
||||
local n = #folder
|
||||
local node_suffix = ""
|
||||
local folder_index = 0
|
||||
for i = 1, n, 1 do
|
||||
if (i == n) then
|
||||
node_suffix = "last"
|
||||
end
|
||||
if (folder[i].folder) then
|
||||
folder_index = folder_index + 1
|
||||
end
|
||||
if (i == 1 and wb_usr.start_open) then
|
||||
writeNode(file, folder[i], true, 1, folder_index, "", node_suffix, "")
|
||||
else
|
||||
writeNode(file, folder[i], false, 1, folder_index, "", node_suffix, "")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function writeTreeFile()
|
||||
print("Writing \"../wb_tree"..lngSuffix..".html\".")
|
||||
|
||||
local file = io.open("../wb_tree"..lngSuffix..".html", "w")
|
||||
|
||||
-- Write Header
|
||||
local wb_tree = readFile("template_wb_tree.html")
|
||||
file:write(wb_tree)
|
||||
|
||||
-- Write Tree Nodes and Leafs
|
||||
writeTree(file)
|
||||
|
||||
-- Write Footer
|
||||
file:write(" </div>\n")
|
||||
file:write("</body>\n")
|
||||
file:write("</html>\n")
|
||||
|
||||
file:close()
|
||||
end
|
||||
|
||||
-- #####################################################################
|
||||
|
||||
lngMessages =
|
||||
{
|
||||
search= {
|
||||
en= "Simple Search",
|
||||
pt= "Busca Simples",
|
||||
es= "Busca Simples",
|
||||
},
|
||||
exp_all= {
|
||||
en= "Expand All Nodes",
|
||||
pt= "Expande Todos os N<>s",
|
||||
es= "Ensanchar Todos Nodos",
|
||||
},
|
||||
cont_all= {
|
||||
en= "Contract All Nodes",
|
||||
pt= "Contrai Todos os N<>s",
|
||||
es= "Contrato Todos Nodos",
|
||||
},
|
||||
sync= {
|
||||
en= "Sync Tree with Contents",
|
||||
pt= "Sincroniza <20>rvore com Conte<74>do",
|
||||
es= "Sincroniza <20>rbol con el Contenido",
|
||||
},
|
||||
lang= {
|
||||
en= "Switch Language",
|
||||
pt= "Troca Idioma",
|
||||
es= "Cambie Idioma",
|
||||
},
|
||||
next= {
|
||||
en= "Next Link",
|
||||
pt= "Pr<EFBFBD>ximo Link",
|
||||
es= "Pr<EFBFBD>ximo Link",
|
||||
},
|
||||
prev= {
|
||||
en= "Previous Link",
|
||||
pt= "Link Anterior",
|
||||
es= "Link Anterior",
|
||||
},
|
||||
}
|
||||
|
||||
function writeBarFile()
|
||||
print("Writing \"../wb_bar"..lngSuffix..".html\".")
|
||||
|
||||
local file = io.open("../wb_bar"..lngSuffix..".html", "w")
|
||||
|
||||
local wb_bar = readFile("template_wb_bar.html")
|
||||
|
||||
wb_bar = string.gsub(wb_bar, "WB_EXPALL_ALT", lngMessages.exp_all[lngIndex])
|
||||
wb_bar = string.gsub(wb_bar, "WB_CONTALL_ALT", lngMessages.cont_all[lngIndex])
|
||||
wb_bar = string.gsub(wb_bar, "WB_SYNC_ALT", lngMessages.sync[lngIndex])
|
||||
wb_bar = string.gsub(wb_bar, "WB_NEXT_ALT", lngMessages.next[lngIndex])
|
||||
wb_bar = string.gsub(wb_bar, "WB_PREV_ALT", lngMessages.prev[lngIndex])
|
||||
|
||||
if (lngCount > 1) then
|
||||
local lng_button = "<img src=\"wb_img/barlineright.png\">"
|
||||
lng_button = lng_button .. "<a target=\"_top\" href=\"index_"..lngNext..".html\"><img alt=\""..lngMessages.lang[lngIndex].."\" src=\"wb_img/lng"..lngSuffix..".png\" onmouseover=\"this.src='wb_img/lng"..lngSuffix.."_over.png'\" onmouseout=\"this.src='wb_img/lng"..lngSuffix..".png'\" style=\"border-width: 0px\"></a>"
|
||||
wb_bar = string.gsub(wb_bar, "WB_LNG_BUTTON", lng_button)
|
||||
else
|
||||
wb_bar = string.gsub(wb_bar, "WB_LNG_BUTTON", "")
|
||||
end
|
||||
|
||||
file:write(wb_bar)
|
||||
file:close()
|
||||
end
|
||||
|
||||
-- #####################################################################
|
||||
|
||||
function writeSearchFile()
|
||||
print("Writing \"../ssSearch"..lngSuffix..".html\".")
|
||||
|
||||
local file = io.open("../ssSearch"..lngSuffix..".html", "w")
|
||||
|
||||
local wb_search = readFile("template_ssSearch.html")
|
||||
|
||||
wb_search = string.gsub(wb_search, "WB_SEARCH", lngMessages.search[lngIndex])
|
||||
|
||||
if (lngCount > 1) then
|
||||
wb_search = string.gsub(wb_search, "WB_LNG", lngSuffix)
|
||||
else
|
||||
wb_search = string.gsub(wb_search, "WB_LNG", "")
|
||||
end
|
||||
|
||||
file:write(wb_search)
|
||||
file:close()
|
||||
end
|
||||
|
||||
function writeSearchIndexFile()
|
||||
print("Writing \"../wb_search"..lngSuffix..".txt\".")
|
||||
|
||||
local file = io.open("../wb_search"..lngSuffix..".txt", "w")
|
||||
|
||||
local v = next(htmlFiles, nil)
|
||||
while v ~= nil do
|
||||
file:write(lngIndex.."/"..v.."\n")
|
||||
v = next(htmlFiles, v)
|
||||
end
|
||||
|
||||
file:close()
|
||||
end
|
||||
|
||||
-- #####################################################################
|
||||
|
||||
lngCount = 0
|
||||
local first_name = nil
|
||||
local prev_elem = nil
|
||||
for name, elem in pairs(wb_usr.messages) do
|
||||
if (lngCount == 0) then
|
||||
first_name = name
|
||||
end
|
||||
lngCount = lngCount + 1
|
||||
if (prev_elem) then
|
||||
prev_elem.next = name
|
||||
end
|
||||
prev_elem = elem
|
||||
end
|
||||
prev_elem.next = first_name
|
||||
|
||||
print("Building...")
|
||||
|
||||
for name, elem in pairs(wb_usr.messages) do
|
||||
lngIndex = name
|
||||
lngNext = elem.next
|
||||
|
||||
if (lngCount > 1) then
|
||||
lngSuffix = "_"..lngIndex
|
||||
else
|
||||
lngSuffix = ""
|
||||
end
|
||||
|
||||
writeIndexFile()
|
||||
writeTitleFile()
|
||||
writeBarFile()
|
||||
writeTreeFile()
|
||||
writeSearchFile()
|
||||
writeSearchIndexFile()
|
||||
end
|
||||
|
||||
print("Done.")
|
||||
|
||||
dofile("wb_usr.lua")
|
||||
|
||||
lngCount = nil
|
||||
lngSuffix = nil
|
||||
lngIndex = nil
|
||||
lngNext = nil
|
||||
linkCount = 1
|
||||
|
||||
function readFile(filename)
|
||||
local file = io.open(filename)
|
||||
local text = file:read("*a")
|
||||
file:close()
|
||||
return text
|
||||
end
|
||||
|
||||
function writeFile(filename, text)
|
||||
local file = io.open(filename, "w")
|
||||
file:write(text)
|
||||
file:close()
|
||||
end
|
||||
|
||||
-- #####################################################################
|
||||
|
||||
htmlFiles = {}
|
||||
|
||||
function addHtmlFile(v)
|
||||
if v then
|
||||
-- only up to "#"
|
||||
local j = string.find(v, "#")
|
||||
if j then
|
||||
f = string.sub(v, 0, j-1)
|
||||
else
|
||||
f = v
|
||||
end
|
||||
|
||||
htmlFiles[f] = f
|
||||
end
|
||||
end
|
||||
|
||||
-- #####################################################################
|
||||
function loadSearch()
|
||||
local searchHTML = readFile("template_wb_search.html")
|
||||
|
||||
if(wb_usr.enable_search == true)then
|
||||
searchHTML = string.gsub(searchHTML, "WB_SEARCH_LABEL", wb_usr.search_label or "")
|
||||
searchHTML = string.gsub(searchHTML, "WB_SEARCH_LINK", wb_usr.search_link)
|
||||
else
|
||||
searchHTML = ""
|
||||
end
|
||||
return searchHTML
|
||||
end
|
||||
|
||||
function writeIndexFile()
|
||||
print("Writing \"../index"..lngSuffix..".html\".")
|
||||
|
||||
local wb_index = readFile("template_index.html")
|
||||
|
||||
wb_index = string.gsub(wb_index, "WB_TITLE", wb_usr.messages[lngIndex].title)
|
||||
wb_index = string.gsub(wb_index, "TITLE_BAR_HEIGHT", wb_usr.title_bar_height or 51)
|
||||
wb_index = string.gsub(wb_index, "WB_START_SIZE", wb_usr.start_size)
|
||||
wb_index = string.gsub(wb_index, "WB_START_PAGE", lngIndex.."/"..wb_usr.tree.link)
|
||||
if (lngCount > 1) then
|
||||
wb_index = string.gsub(wb_index, "WB_LNG", lngSuffix)
|
||||
else
|
||||
wb_index = string.gsub(wb_index, "WB_LNG", "")
|
||||
end
|
||||
|
||||
writeFile("../index"..lngSuffix..".html", wb_index)
|
||||
end
|
||||
|
||||
-- #####################################################################
|
||||
|
||||
function writeTitleFile()
|
||||
print("Writing \"../wb_title"..lngSuffix..".html\".")
|
||||
|
||||
local wb_title = readFile("template_wb_title.html")
|
||||
if(wb_usr.logo_image_file ~= nil and wb_usr.logo_image_file ~= "")then
|
||||
wb_title = string.gsub(wb_title, "WB_LOGO", [[<img src="wb_img/]]..wb_usr.logo_image_file..[[" border="0">]])
|
||||
else
|
||||
wb_title = string.gsub(wb_title, "WB_LOGO","")
|
||||
end
|
||||
|
||||
wb_title = string.gsub(wb_title, "WB_BAR_TITLE", wb_usr.messages[lngIndex].bar_title)
|
||||
wb_title = string.gsub(wb_title, "WB_TITLE_BGCOLOR", wb_usr.title_bgcolor)
|
||||
wb_title = string.gsub(wb_title, "WB_SEARCH_FORM",loadSearch())
|
||||
|
||||
local copyrightHTML = ""
|
||||
if (wb_usr.copyright_link ~= nil and wb_usr.copyright_name ~= nil and wb_usr.copyright_link ~= "" and wb_usr.copyright_name ~= "")then
|
||||
copyrightHTML = [[<a class="contact" target="_blank" href="WB_COPYRIGHT_LINK">© WB_COPYRIGHT_NAME</a>]]
|
||||
copyrightHTML = string.gsub(copyrightHTML, "WB_COPYRIGHT_LINK", wb_usr.copyright_link)
|
||||
copyrightHTML = string.gsub(copyrightHTML, "WB_COPYRIGHT_NAME", wb_usr.copyright_name)
|
||||
end
|
||||
wb_title = string.gsub(wb_title, "WB_COPYRIGHT", copyrightHTML)
|
||||
|
||||
local contactHTML = ""
|
||||
if wb_usr.contact ~= nil and wb_usr.contact ~= "" then
|
||||
contactHTML = string.gsub([[<a class="contact" href="mailto:WB_CONTACT">(WB_CONTACT)</a>]], "WB_CONTACT", wb_usr.contact)
|
||||
end
|
||||
wb_title = string.gsub(wb_title, "WB_CONTACT", contactHTML)
|
||||
|
||||
if (lngCount > 1) then
|
||||
wb_title = string.gsub(wb_title, "WB_LNG", lngSuffix)
|
||||
else
|
||||
wb_title = string.gsub(wb_title, "WB_LNG", "")
|
||||
end
|
||||
|
||||
writeFile("../wb_title"..lngSuffix..".html", wb_title)
|
||||
end
|
||||
|
||||
-- #####################################################################
|
||||
|
||||
function writeIndent(file, level)
|
||||
-- base identation
|
||||
file:write(" ")
|
||||
|
||||
for i = 1, level*2, 1 do
|
||||
file:write(" ")
|
||||
end
|
||||
end
|
||||
|
||||
function getNodeName(node)
|
||||
local name = nil
|
||||
if (node.name[lngIndex]) then
|
||||
name = node.name[lngIndex]
|
||||
else
|
||||
name = node.name["nl"]
|
||||
end
|
||||
|
||||
if not name then
|
||||
error("Name not found.")
|
||||
end
|
||||
|
||||
return name
|
||||
end
|
||||
|
||||
function writeNode(file, node, opened, level, folder_index, folder_suffix, node_suffix, child_prefix)
|
||||
if (node.folder) then -- folder
|
||||
-- box image
|
||||
writeIndent(file, level)
|
||||
file:write("<p>")
|
||||
|
||||
folder_suffix = folder_suffix .. "." .. folder_index
|
||||
|
||||
file:write(child_prefix.."<img name=\"imgfolder"..folder_suffix.."\" ")
|
||||
|
||||
if (opened) then
|
||||
file:write("src=\"wb_img/minusnode"..node_suffix..".png\" ")
|
||||
else
|
||||
file:write("src=\"wb_img/plusnode"..node_suffix..".png\" ")
|
||||
end
|
||||
|
||||
file:write("onclick=\"toggleFolder('folder"..folder_suffix.."')\">")
|
||||
|
||||
if (node.link) then
|
||||
file:write("<a name=\"link"..linkCount.."folder"..folder_suffix.."\" class=\"el\" href=\""..lngIndex.."/"..node.link.."\">"..getNodeName(node).."</a>")
|
||||
addHtmlFile(node.link)
|
||||
linkCount = linkCount + 1
|
||||
else
|
||||
file:write(" "..getNodeName(node))
|
||||
end
|
||||
|
||||
file:write("</p>\n")
|
||||
|
||||
-- folder div
|
||||
writeIndent(file, level)
|
||||
if (opened) then
|
||||
file:write("<div id=\"folder"..folder_suffix.."\" style=\"display:block\">\n")
|
||||
else
|
||||
file:write("<div id=\"folder"..folder_suffix.."\">\n")
|
||||
end
|
||||
|
||||
local n = #(node.folder)
|
||||
local next_folder_index = 0
|
||||
local next_node_suffix = ""
|
||||
local next_child_prefix = "<img src=\"wb_img/vertline.png\">"
|
||||
if (node_suffix == "last") then
|
||||
next_child_prefix = "<img src=\"wb_img/blank.png\">"
|
||||
end
|
||||
for i = 1, n, 1 do
|
||||
if (i == n) then
|
||||
next_node_suffix = "last"
|
||||
end
|
||||
if (node.folder[i].folder) then
|
||||
next_folder_index = next_folder_index + 1
|
||||
end
|
||||
writeNode(file, node.folder[i], false, level+1, next_folder_index, folder_suffix, next_node_suffix, child_prefix..next_child_prefix)
|
||||
end
|
||||
|
||||
writeIndent(file, level)
|
||||
file:write("</div>\n")
|
||||
else -- leaf
|
||||
if (node.link and node.link ~= "") then -- normal leaf
|
||||
writeIndent(file, level)
|
||||
file:write("<p>"..child_prefix.."<img src=\"wb_img/node"..node_suffix..".png\"><a class=\"el\" name=\"link"..linkCount.."folder"..folder_suffix.."\" href=\""..lngIndex.."/"..node.link.."\">"..getNodeName(node).."</a></p>\n")
|
||||
addHtmlFile(node.link)
|
||||
linkCount = linkCount + 1
|
||||
else -- separator leaf
|
||||
writeIndent(file, level)
|
||||
file:write("<p class=\"sep\">")
|
||||
|
||||
local sep_child_prefix = string.gsub(child_prefix, "/vertline", "/sepvertline")
|
||||
sep_child_prefix = string.gsub(sep_child_prefix, "/blank", "/sepblank")
|
||||
|
||||
file:write(sep_child_prefix.."<img src=\"wb_img/sepnode.png\"></p>\n")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function writeTree(file)
|
||||
-- root node
|
||||
file:write(" <h3><a name=\"link0folder.0\" class=\"el\" href=\""..lngIndex.."/"..wb_usr.tree.link.."\">"..getNodeName(wb_usr.tree).."</a></h3>\n")
|
||||
addHtmlFile(wb_usr.tree.link)
|
||||
|
||||
local folder = wb_usr.tree.folder
|
||||
local n = #folder
|
||||
local node_suffix = ""
|
||||
local folder_index = 0
|
||||
for i = 1, n, 1 do
|
||||
if (i == n) then
|
||||
node_suffix = "last"
|
||||
end
|
||||
if (folder[i].folder) then
|
||||
folder_index = folder_index + 1
|
||||
end
|
||||
if (i == 1 and wb_usr.start_open) then
|
||||
writeNode(file, folder[i], true, 1, folder_index, "", node_suffix, "")
|
||||
else
|
||||
writeNode(file, folder[i], false, 1, folder_index, "", node_suffix, "")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function writeTreeFile()
|
||||
print("Writing \"../wb_tree"..lngSuffix..".html\".")
|
||||
|
||||
local file = io.open("../wb_tree"..lngSuffix..".html", "w")
|
||||
|
||||
-- Write Header
|
||||
local wb_tree = readFile("template_wb_tree.html")
|
||||
file:write(wb_tree)
|
||||
|
||||
-- Write Tree Nodes and Leafs
|
||||
writeTree(file)
|
||||
|
||||
-- Write Footer
|
||||
file:write(" </div>\n")
|
||||
file:write("</body>\n")
|
||||
file:write("</html>\n")
|
||||
|
||||
file:close()
|
||||
end
|
||||
|
||||
-- #####################################################################
|
||||
|
||||
lngMessages =
|
||||
{
|
||||
search= {
|
||||
en= "Simple Search",
|
||||
pt= "Busca Simples",
|
||||
es= "Busca Simples",
|
||||
},
|
||||
exp_all= {
|
||||
en= "Expand All Nodes",
|
||||
pt= "Expande Todos os Nós",
|
||||
es= "Ensanchar Todos Nodos",
|
||||
},
|
||||
cont_all= {
|
||||
en= "Contract All Nodes",
|
||||
pt= "Contrai Todos os Nós",
|
||||
es= "Contrato Todos Nodos",
|
||||
},
|
||||
sync= {
|
||||
en= "Sync Tree with Contents",
|
||||
pt= "Sincroniza Árvore com Conteúdo",
|
||||
es= "Sincroniza Árbol con el Contenido",
|
||||
},
|
||||
lang= {
|
||||
en= "Switch Language",
|
||||
pt= "Troca Idioma",
|
||||
es= "Cambie Idioma",
|
||||
},
|
||||
next= {
|
||||
en= "Next Link",
|
||||
pt= "Próximo Link",
|
||||
es= "Próximo Link",
|
||||
},
|
||||
prev= {
|
||||
en= "Previous Link",
|
||||
pt= "Link Anterior",
|
||||
es= "Link Anterior",
|
||||
},
|
||||
}
|
||||
|
||||
function writeBarFile()
|
||||
print("Writing \"../wb_bar"..lngSuffix..".html\".")
|
||||
|
||||
local file = io.open("../wb_bar"..lngSuffix..".html", "w")
|
||||
|
||||
local wb_bar = readFile("template_wb_bar.html")
|
||||
|
||||
wb_bar = string.gsub(wb_bar, "WB_EXPALL_ALT", lngMessages.exp_all[lngIndex])
|
||||
wb_bar = string.gsub(wb_bar, "WB_CONTALL_ALT", lngMessages.cont_all[lngIndex])
|
||||
wb_bar = string.gsub(wb_bar, "WB_SYNC_ALT", lngMessages.sync[lngIndex])
|
||||
wb_bar = string.gsub(wb_bar, "WB_NEXT_ALT", lngMessages.next[lngIndex])
|
||||
wb_bar = string.gsub(wb_bar, "WB_PREV_ALT", lngMessages.prev[lngIndex])
|
||||
|
||||
if (lngCount > 1) then
|
||||
local lng_button = "<img src=\"wb_img/barlineright.png\">"
|
||||
lng_button = lng_button .. "<a target=\"_top\" href=\"index_"..lngNext..".html\"><img alt=\""..lngMessages.lang[lngIndex].."\" src=\"wb_img/lng"..lngSuffix..".png\" onmouseover=\"this.src='wb_img/lng"..lngSuffix.."_over.png'\" onmouseout=\"this.src='wb_img/lng"..lngSuffix..".png'\" style=\"border-width: 0px\"></a>"
|
||||
wb_bar = string.gsub(wb_bar, "WB_LNG_BUTTON", lng_button)
|
||||
else
|
||||
wb_bar = string.gsub(wb_bar, "WB_LNG_BUTTON", "")
|
||||
end
|
||||
|
||||
file:write(wb_bar)
|
||||
file:close()
|
||||
end
|
||||
|
||||
-- #####################################################################
|
||||
|
||||
function writeSearchFile()
|
||||
print("Writing \"../ssSearch"..lngSuffix..".html\".")
|
||||
|
||||
local file = io.open("../ssSearch"..lngSuffix..".html", "w")
|
||||
|
||||
local wb_search = readFile("template_ssSearch.html")
|
||||
|
||||
wb_search = string.gsub(wb_search, "WB_SEARCH", lngMessages.search[lngIndex])
|
||||
|
||||
if (lngCount > 1) then
|
||||
wb_search = string.gsub(wb_search, "WB_LNG", lngSuffix)
|
||||
else
|
||||
wb_search = string.gsub(wb_search, "WB_LNG", "")
|
||||
end
|
||||
|
||||
file:write(wb_search)
|
||||
file:close()
|
||||
end
|
||||
|
||||
function writeSearchIndexFile()
|
||||
print("Writing \"../wb_search"..lngSuffix..".txt\".")
|
||||
|
||||
local file = io.open("../wb_search"..lngSuffix..".txt", "w")
|
||||
|
||||
local v = next(htmlFiles, nil)
|
||||
while v ~= nil do
|
||||
file:write(lngIndex.."/"..v.."\n")
|
||||
v = next(htmlFiles, v)
|
||||
end
|
||||
|
||||
file:close()
|
||||
end
|
||||
|
||||
-- #####################################################################
|
||||
|
||||
lngCount = 0
|
||||
local first_name = nil
|
||||
local prev_elem = nil
|
||||
for name, elem in pairs(wb_usr.messages) do
|
||||
if (lngCount == 0) then
|
||||
first_name = name
|
||||
end
|
||||
lngCount = lngCount + 1
|
||||
if (prev_elem) then
|
||||
prev_elem.next = name
|
||||
end
|
||||
prev_elem = elem
|
||||
end
|
||||
prev_elem.next = first_name
|
||||
|
||||
print("Building...")
|
||||
|
||||
for name, elem in pairs(wb_usr.messages) do
|
||||
lngIndex = name
|
||||
lngNext = elem.next
|
||||
|
||||
if (lngCount > 1) then
|
||||
lngSuffix = "_"..lngIndex
|
||||
else
|
||||
lngSuffix = ""
|
||||
end
|
||||
|
||||
writeIndexFile()
|
||||
writeTitleFile()
|
||||
writeBarFile()
|
||||
writeTreeFile()
|
||||
writeSearchFile()
|
||||
writeSearchIndexFile()
|
||||
end
|
||||
|
||||
print("Done.")
|
||||
|
@ -12,16 +12,18 @@
|
||||
wb_usr = {
|
||||
langs = {"en","pt" },
|
||||
start_size = "200",
|
||||
-- contact = "dadosutter@eluaproject.net",
|
||||
contact = "",
|
||||
copyright_link = "http://www.eluaproject.net",
|
||||
-- copyright_link = "",
|
||||
search_link = "http://www.eluaproject.net/doc",
|
||||
-- copyright_name = "eLua Team",
|
||||
copyright_name = "",
|
||||
title_bar_height = 80,
|
||||
enable_search = true,
|
||||
--search_label = "Search:",
|
||||
search_link = "http://www.eluaproject.net",
|
||||
--contact = "dadosutter@eluaproject.net",
|
||||
--copyright_name = "eLua Team",
|
||||
--copyright_link = "http://www.eluaproject.net",
|
||||
|
||||
title_bgcolor = "midnightblue",
|
||||
file_title = "wb",
|
||||
start_open = "1"
|
||||
start_open = "1",
|
||||
logo_image_file = "eLua-logo-80x80.png"
|
||||
}
|
||||
|
||||
|
||||
@ -45,33 +47,33 @@ wb_usr.messages =
|
||||
|
||||
-- Menu Tree Definition
|
||||
wb_usr.tree =
|
||||
{
|
||||
{
|
||||
name = { nl = "eLua" },
|
||||
link = "news.html",
|
||||
folder =
|
||||
{
|
||||
{ name = {en = "Overview", pt = "Apresenta<EFBFBD><EFBFBD>o" },
|
||||
{ name = {en = "Overview", pt = "Apresentação" },
|
||||
link = "overview.html",
|
||||
folder =
|
||||
{
|
||||
{ name = { en = "What is", pt = "O que <EFBFBD> eLua ?" },
|
||||
{ name = { en = "What is", pt = "O que é eLua ?" },
|
||||
link = "overview.html#whatis",
|
||||
},
|
||||
{ name = { en = "Audience", pt = "P<EFBFBD>blico alvo" },
|
||||
},
|
||||
{ name = { en = "Audience", pt = "Público alvo" },
|
||||
link = "overview.html#audience",
|
||||
},
|
||||
{ name = { en = "Uses", pt = "Aplica<EFBFBD><EFBFBD>es" },
|
||||
},
|
||||
{ name = { en = "Uses", pt = "Aplicações" },
|
||||
link = "overview.html#uses",
|
||||
},
|
||||
},
|
||||
{ name = { en = "Authors", pt = "Autores" },
|
||||
link = "overview.html#authors",
|
||||
},
|
||||
},
|
||||
{ name = { en = "Contacts", pt = "Contatos" },
|
||||
link = "overview.html#contacts",
|
||||
},
|
||||
{ name = { en = "Licence", pt = "Licen<EFBFBD>a" },
|
||||
},
|
||||
{ name = { en = "Licence", pt = "Licença" },
|
||||
link = "overview.html#license",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
@ -81,18 +83,18 @@ wb_usr.tree =
|
||||
{
|
||||
{ name = { en = "Lists", pt = "Listas" },
|
||||
link = "community.html#lists",
|
||||
},
|
||||
{ name = { en = "Credits", pt = "Cr<EFBFBD>ditos" },
|
||||
},
|
||||
{ name = { en = "Credits", pt = "Créditos" },
|
||||
link = "community.html#credits",
|
||||
},
|
||||
},
|
||||
--[[
|
||||
{ name = { en = "Galery", pt = "Galeria" },
|
||||
link = "community.html#galery",
|
||||
},
|
||||
},
|
||||
{ name = { en = "Projects", pt = "Projetos" },
|
||||
link = "community.html#projects",
|
||||
},
|
||||
--]]
|
||||
--]]
|
||||
},
|
||||
},
|
||||
{
|
||||
@ -100,34 +102,34 @@ wb_usr.tree =
|
||||
link = "status.html",
|
||||
folder =
|
||||
{
|
||||
{ name = { en = "News", pt = "Not<EFBFBD>cias" },
|
||||
{ name = { en = "News", pt = "Notícias" },
|
||||
link = "news.html",
|
||||
},
|
||||
},
|
||||
{ name = { en = "Platforms", pt = "Plataformas" },
|
||||
link = "status.html#platforms",
|
||||
},
|
||||
},
|
||||
{ name = { en = "Roadmap", pt = "Futuro" },
|
||||
link = "status.html#roadmap",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name = { en = "Documentation", pt = "Documenta<EFBFBD><EFBFBD>o" },
|
||||
link = "using.html",
|
||||
folder =
|
||||
{
|
||||
name = { en = "Documentation", pt = "Documentação" },
|
||||
link = "using.html",
|
||||
folder =
|
||||
{
|
||||
{
|
||||
name = { en = "FAQ", pt = "FAQ" },
|
||||
link = "faq.html",
|
||||
},
|
||||
},
|
||||
{
|
||||
name = { en = "Using", pt = "Usando" },
|
||||
link = "using.html",
|
||||
},
|
||||
},
|
||||
{
|
||||
name = { en = "Building", pt = "Building" },
|
||||
link = "building.html",
|
||||
},
|
||||
},
|
||||
{
|
||||
name = { en = "Examples", pt = "Exemplos" },
|
||||
link = "examples.html",
|
||||
@ -135,36 +137,36 @@ wb_usr.tree =
|
||||
{
|
||||
{ name = { en = "hello.lua", pt = "hello.lua" },
|
||||
link = "examples.html#hello",
|
||||
},
|
||||
},
|
||||
{ name = { en = "info.lua", pt = "info.lua" },
|
||||
link = "examples.html#info",
|
||||
},
|
||||
},
|
||||
{ name = { en = "led.lua", pt = "led.lua" },
|
||||
link = "examples.html#led",
|
||||
},
|
||||
},
|
||||
{ name = { en = "hangman.lua", pt = "hangman.lua" },
|
||||
link = "examples.html#hangman",
|
||||
},
|
||||
},
|
||||
{ name = { en = "pwmled.lua", pt = "pwmled.lua" },
|
||||
link = "examples.html#pwmled",
|
||||
},
|
||||
},
|
||||
{ name = { en = "tvbgone.lua", pt = "tvbgone.lua" },
|
||||
link = "examples.html#tvbgone",
|
||||
},
|
||||
},
|
||||
{ name = { en = "piano.lua", pt = "piano.lua" },
|
||||
link = "examples.html#piano",
|
||||
},
|
||||
},
|
||||
{ name = { en = "bisect.lua", pt = "bisect.lua" },
|
||||
link = "examples.html#bisect",
|
||||
},
|
||||
},
|
||||
{ name = { en = "morse.lua", pt = "morse.lua" },
|
||||
link = "examples.html#morse",
|
||||
},
|
||||
},
|
||||
{ name = { en = "lhttpd.lua", pt = "lhttpd.lua" },
|
||||
link = "examples.html#lhttpd",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name = { en = "Tutorials", pt = "Tutoriais" },
|
||||
link = "tutorials.html",
|
||||
@ -172,7 +174,7 @@ wb_usr.tree =
|
||||
{
|
||||
{ name = { en = "Booting on a PC", pt = "Booting on a PC" },
|
||||
link = "tut_bootpc.html",
|
||||
},
|
||||
},
|
||||
{ name = { en = "Booting from a Pendrive", pt = "Booting from a Pendriv" },
|
||||
link = "tut_bootstick.html",
|
||||
},
|
||||
@ -190,44 +192,44 @@ wb_usr.tree =
|
||||
link = "tc_386.html",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{ name = { en = "Using OpenOCD", pt = "Using OpenOC" },
|
||||
link = "tut_openocd.html",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name = {en = "Version History", pt = "Hist<EFBFBD>rico de Vers<72>es" },
|
||||
name = {en = "Version History", pt = "Histórico de Versões" },
|
||||
link = "versionhistory.html",
|
||||
folder =
|
||||
{
|
||||
{ name = { en = "v 0.4", pt = "v 0.4" },
|
||||
link = "versionhistory.html#04",
|
||||
},
|
||||
},
|
||||
{ name = { en = "v 0.5", pt = "v 0.5" },
|
||||
link = "versionhistory.html#05",
|
||||
},
|
||||
},
|
||||
{ name = { en = "v 0.6", pt = "v 0.6" },
|
||||
link = "versionhistory.html#06",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name = { en = "Reference Manual", pt = "Manual de Refer<EFBFBD>ncia" },
|
||||
link = "refman.html#genericmodules",
|
||||
folder =
|
||||
},
|
||||
},
|
||||
{
|
||||
name = { en = "Reference Manual", pt = "Manual de Referência" },
|
||||
link = "refman.html#genericmodules",
|
||||
folder =
|
||||
{
|
||||
{
|
||||
name = { en = "Generic Modules", pt = "M<EFBFBD>dulos Gen<65>ricos" },
|
||||
name = { en = "Generic Modules", pt = "Módulos Genéricos" },
|
||||
link = "refman.html#genericmodules",
|
||||
folder =
|
||||
{
|
||||
{
|
||||
name = { en = "bit", pt = "bit" },
|
||||
link = "refman.html#bitmodule",
|
||||
folder =
|
||||
folder =
|
||||
{
|
||||
{
|
||||
name ={ en = "bnot", pt = "bnot" },
|
||||
@ -279,7 +281,7 @@ wb_usr.tree =
|
||||
name = { en = "cpu", pt = "cpu" },
|
||||
link = "refman.html#cpumodule",
|
||||
folder =
|
||||
{
|
||||
{
|
||||
{
|
||||
name ={ en = "write32", pt = "write32" },
|
||||
link = "refman.html#cpu_write32"
|
||||
@ -321,7 +323,7 @@ wb_usr.tree =
|
||||
{
|
||||
name = { en = "gpio", pt = "gpio" },
|
||||
link = "refman.html#gpiomodule",
|
||||
folder =
|
||||
folder =
|
||||
{
|
||||
{
|
||||
name ={ en = "configpin", pt = "configpin" },
|
||||
@ -342,13 +344,13 @@ wb_usr.tree =
|
||||
{
|
||||
name ={ en = "setpinlow", pt = "setpinlow" },
|
||||
link = "refman.html#gpio_setpinlow"
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name = {en = "net", pt = "net" },
|
||||
link = "refman.html#netmodule",
|
||||
folder =
|
||||
folder =
|
||||
{
|
||||
{
|
||||
name ={ en = "to be added ...", pt = "setup" },
|
||||
@ -360,7 +362,7 @@ wb_usr.tree =
|
||||
name = { en = "pwm", pt = "pwm" },
|
||||
link = "refman.html#pwmmodule",
|
||||
folder =
|
||||
{
|
||||
{
|
||||
{
|
||||
name ={ en = "setup", pt = "setup" },
|
||||
link = "refman.html#pwm_setup"
|
||||
@ -391,7 +393,7 @@ wb_usr.tree =
|
||||
name = { en = "spi", pt = "spi" },
|
||||
link = "refman.html#spimodules",
|
||||
folder =
|
||||
{
|
||||
{
|
||||
{
|
||||
name ={ en = "setup", pt = "setup" },
|
||||
link = "refman.html#spi_setup"
|
||||
@ -411,14 +413,14 @@ wb_usr.tree =
|
||||
{
|
||||
name ={ en = "sendrecv", pt = "sendrecv" },
|
||||
link = "refman.html#spi_sendrecv"
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name = { en = "sys", pt = "sys" },
|
||||
link = "refman.html#sysmodule",
|
||||
folder =
|
||||
{
|
||||
{
|
||||
{
|
||||
name ={ en = "platform", pt = "platform" },
|
||||
link = "refman.html#sys_platforms"
|
||||
@ -440,7 +442,7 @@ wb_usr.tree =
|
||||
{
|
||||
name = {en = "term", pt = "term" },
|
||||
link = "refman.html#termmodule",
|
||||
folder =
|
||||
folder =
|
||||
{
|
||||
{
|
||||
name ={ en = "clear", pt = "clear" },
|
||||
@ -500,7 +502,7 @@ wb_usr.tree =
|
||||
name = { en = "tmr", pt = "tmr" },
|
||||
link = "refman.html#tmrmodule",
|
||||
folder =
|
||||
{
|
||||
{
|
||||
{
|
||||
name ={ en = "delay", pt = "delay" },
|
||||
link = "refman.html#tmr_delay"
|
||||
@ -520,21 +522,21 @@ wb_usr.tree =
|
||||
{
|
||||
name ={ en = "mindelay", pt = "mindelay" },
|
||||
link = "refman.html#tmr_mindelay"
|
||||
},
|
||||
},
|
||||
{
|
||||
name ={ en = "maxdelay", pt = "maxdelay" },
|
||||
link = "refman.html#tmr_maxdelay"
|
||||
},
|
||||
},
|
||||
{
|
||||
name ={ en = "setclock", pt = "setclock" },
|
||||
link = "refman.html#tmr_setclock"
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name = {en = "uart", pt = "uart" },
|
||||
link = "refman.html#uartmodule",
|
||||
folder =
|
||||
folder =
|
||||
{
|
||||
{
|
||||
name ={ en = "setup", pt = "setup" },
|
||||
@ -547,7 +549,7 @@ wb_usr.tree =
|
||||
{
|
||||
name ={ en = "recv", pt = "recv" },
|
||||
link = "refman.html#uart_recv"
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
@ -560,7 +562,7 @@ wb_usr.tree =
|
||||
{ name = { en = "adc", pt = "adc" },
|
||||
link = "refman.html#adcmodule",
|
||||
folder =
|
||||
{
|
||||
{
|
||||
{
|
||||
name ={ en = "sample", pt = "sample" },
|
||||
link = "refman.html#adc_sample"
|
||||
@ -589,12 +591,12 @@ wb_usr.tree =
|
||||
name = { en = "burst", pt = "burst" },
|
||||
link = "refman.html#adc_burst"
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{ name = { en = "disp", pt = "disp" },
|
||||
link = "refman.html#dispmodule",
|
||||
folder =
|
||||
{
|
||||
{
|
||||
{
|
||||
name ={ en = "init", pt = "init" },
|
||||
link = "refman.html#disp_init"
|
||||
@ -623,11 +625,11 @@ wb_usr.tree =
|
||||
name = { en = "draw", pt = "draw" },
|
||||
link = "refman.html#disp_draw"
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name = { en = "Downloads", pt = "Downloads" },
|
||||
@ -664,7 +666,7 @@ wb_usr.tree =
|
||||
{
|
||||
name = { en = "Source Code", pt = "Fontes" },
|
||||
link = "sources.html",
|
||||
folder =
|
||||
folder =
|
||||
{
|
||||
{
|
||||
name = { en = "v0.6", pt = "v0.6" },
|
||||
@ -689,13 +691,13 @@ wb_usr.tree =
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name = { en = "Developers", pt = "Desenvolvedores" },
|
||||
link = "developers.html"
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us" >
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Bar</title>
|
||||
<base target="wb_cont">
|
||||
<style type="text/css">
|
||||
@ -20,8 +20,10 @@
|
||||
|
||||
<body style="margin: 2px; background-color: #F1F1F1">
|
||||
<div class="navigation">
|
||||
<p><a target="_blank" href="http://www.eluaproject.net"><img
|
||||
src="wb_img/logo.png" style="border-width: 0px"></a><img src="wb_img/barlineleft.png"><img alt="Expand All Nodes" src="wb_img/showall.png" onclick="parent.wb_tree.showAllFolders()" onmouseover="this.src='wb_img/showall_over.png'" onmouseout="this.src='wb_img/showall.png'"><img alt="Contract All Nodes" src="wb_img/hideall.png" onclick="parent.wb_tree.hideAllFolders()" onmouseover="this.src='wb_img/hideall_over.png'" onmouseout="this.src='wb_img/hideall.png'"><img alt="Sync Tree with Contents" src="wb_img/sync.png" onclick="parent.wb_tree.syncContents()" onmouseover="this.src='wb_img/sync_over.png'" onmouseout="this.src='wb_img/sync.png'"><img alt="Next Link" src="wb_img/next.png" onclick="parent.wb_tree.nextContents()" onmouseover="this.src='wb_img/next_over.png'" onmouseout="this.src='wb_img/next.png'"><img alt="Previous Link" src="wb_img/previous.png" onclick="parent.wb_tree.prevContents()" onmouseover="this.src='wb_img/previous_over.png'" onmouseout="this.src='wb_img/previous.png'"><img src="wb_img/barlineright.png"><a target="_top" href="index_pt.html"><img alt="Switch Language" src="wb_img/lng_en.png" onmouseover="this.src='wb_img/lng_en_over.png'" onmouseout="this.src='wb_img/lng_en.png'" style="border-width: 0px"></a></p>
|
||||
<p><a target="_blank" href="http://www.eluaproject.net"><img src="wb_img/logo.png" style="border-width: 0px"></a>
|
||||
<img src="wb_img/barlineleft.png"><img alt="Expand All Nodes" src="wb_img/showall.png" onclick="parent.wb_tree.showAllFolders()" onmouseover="this.src='wb_img/showall_over.png'" onmouseout="this.src='wb_img/showall.png'"><img alt="Contract All Nodes" src="wb_img/hideall.png" onclick="parent.wb_tree.hideAllFolders()" onmouseover="this.src='wb_img/hideall_over.png'" onmouseout="this.src='wb_img/hideall.png'"><img alt="Sync Tree with Contents" src="wb_img/sync.png" onclick="parent.wb_tree.syncContents()" onmouseover="this.src='wb_img/sync_over.png'" onmouseout="this.src='wb_img/sync.png'"><img alt="Next Link" src="wb_img/next.png" onclick="parent.wb_tree.nextContents()" onmouseover="this.src='wb_img/next_over.png'" onmouseout="this.src='wb_img/next.png'"><img alt="Previous Link" src="wb_img/previous.png" onclick="parent.wb_tree.prevContents()" onmouseover="this.src='wb_img/previous_over.png'" onmouseout="this.src='wb_img/previous.png'"><img src="wb_img/barlineright.png"><a target="_top" href="index_pt.html"><img alt="Switch Language" src="wb_img/lng_en.png" onmouseover="this.src='wb_img/lng_en_over.png'" onmouseout="this.src='wb_img/lng_en.png'" style="border-width: 0px"></a>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us" >
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Bar</title>
|
||||
<base target="wb_cont">
|
||||
<style type="text/css">
|
||||
@ -20,8 +20,10 @@
|
||||
|
||||
<body style="margin: 2px; background-color: #F1F1F1">
|
||||
<div class="navigation">
|
||||
<p><a target="_blank" href="http://www.eluaproject.net"><img
|
||||
src="wb_img/logo.png" style="border-width: 0px"></a><img src="wb_img/barlineleft.png"><img alt="Expande Todos os N<>s" src="wb_img/showall.png" onclick="parent.wb_tree.showAllFolders()" onmouseover="this.src='wb_img/showall_over.png'" onmouseout="this.src='wb_img/showall.png'"><img alt="Contrai Todos os N<>s" src="wb_img/hideall.png" onclick="parent.wb_tree.hideAllFolders()" onmouseover="this.src='wb_img/hideall_over.png'" onmouseout="this.src='wb_img/hideall.png'"><img alt="Sincroniza <20>rvore com Conte<74>do" src="wb_img/sync.png" onclick="parent.wb_tree.syncContents()" onmouseover="this.src='wb_img/sync_over.png'" onmouseout="this.src='wb_img/sync.png'"><img alt="Pr<50>ximo Link" src="wb_img/next.png" onclick="parent.wb_tree.nextContents()" onmouseover="this.src='wb_img/next_over.png'" onmouseout="this.src='wb_img/next.png'"><img alt="Link Anterior" src="wb_img/previous.png" onclick="parent.wb_tree.prevContents()" onmouseover="this.src='wb_img/previous_over.png'" onmouseout="this.src='wb_img/previous.png'"><img src="wb_img/barlineright.png"><a target="_top" href="index_en.html"><img alt="Troca Idioma" src="wb_img/lng_pt.png" onmouseover="this.src='wb_img/lng_pt_over.png'" onmouseout="this.src='wb_img/lng_pt.png'" style="border-width: 0px"></a></p>
|
||||
<p><a target="_blank" href="http://www.eluaproject.net"><img src="wb_img/logo.png" style="border-width: 0px"></a>
|
||||
<img src="wb_img/barlineleft.png"><img alt="Expande Todos os Nós" src="wb_img/showall.png" onclick="parent.wb_tree.showAllFolders()" onmouseover="this.src='wb_img/showall_over.png'" onmouseout="this.src='wb_img/showall.png'"><img alt="Contrai Todos os Nós" src="wb_img/hideall.png" onclick="parent.wb_tree.hideAllFolders()" onmouseover="this.src='wb_img/hideall_over.png'" onmouseout="this.src='wb_img/hideall.png'"><img alt="Sincroniza Árvore com Conteúdo" src="wb_img/sync.png" onclick="parent.wb_tree.syncContents()" onmouseover="this.src='wb_img/sync_over.png'" onmouseout="this.src='wb_img/sync.png'"><img alt="Próximo Link" src="wb_img/next.png" onclick="parent.wb_tree.nextContents()" onmouseover="this.src='wb_img/next_over.png'" onmouseout="this.src='wb_img/next.png'"><img alt="Link Anterior" src="wb_img/previous.png" onclick="parent.wb_tree.prevContents()" onmouseover="this.src='wb_img/previous_over.png'" onmouseout="this.src='wb_img/previous.png'"><img src="wb_img/barlineright.png"><a target="_top" href="index_en.html"><img alt="Troca Idioma" src="wb_img/lng_pt.png" onmouseover="this.src='wb_img/lng_pt_over.png'" onmouseout="this.src='wb_img/lng_pt.png'" style="border-width: 0px"></a>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
BIN
doc/wb_img/eLua-logo-80x80.png
Normal file
BIN
doc/wb_img/eLua-logo-80x80.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
|
||||
<title>Title</title>
|
||||
<base target="wb_cont">
|
||||
<style type="text/css">
|
||||
@ -15,7 +16,7 @@ td.title {
|
||||
td.contact {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
width: 11em;
|
||||
/*width: 11em;*/
|
||||
}
|
||||
a.contact {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
@ -32,29 +33,33 @@ a.contact:hover {
|
||||
|
||||
<body style="background-color: midnightblue; margin-left: 3px; margin-right: 3px; margin-top: 2px; margin-bottom: 0; background-image: url('wb_img/title_background.png');">
|
||||
|
||||
<table style="width: 100%" cellspacing="0" cellpadding="0">
|
||||
<table border="0" style="width: 100%;" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td style="width: 50px;"><img src="logo.gif"></td>
|
||||
<td class="title">eLua - Embedded Lua</td>
|
||||
<td style="width: 3.5em">
|
||||
<td valign="center" style="width: 30px;padding:0px 10px 0px 0px;">
|
||||
<img src="wb_img/eLua-logo-80x80.png" border="0">
|
||||
</td>
|
||||
<td valign="center" class="title">eLua - Embedded Lua</td>
|
||||
<!--td style="width: 3.5em">
|
||||
<a class="contact" href="ssSearch_en.html">SimpleSearch</a>
|
||||
</td>
|
||||
<td style="width: 11em">
|
||||
<FORM method=GET action="http://www.google.com/search" style="margin-bottom: 0; margin: 0; text-align: center; ">
|
||||
<input type=hidden name=ie value=UTF-8>
|
||||
<input type=hidden name=oe value=UTF-8>
|
||||
<INPUT TYPE=text name=q size=21 maxlength=255 value=""><br>
|
||||
<A HREF="http://www.google.com/"><IMG SRC="wb_img/google.gif" border="0" ALT="Google"></A>
|
||||
<INPUT type=submit name=btnG VALUE="Search" style="height: 21px; vertical-align: top; font-size: x-small;">
|
||||
<input type=hidden name=domains value="http://www.eluaproject.net/doc">
|
||||
<input type=hidden name=sitesearch value="http://www.eluaproject.net/doc" checked>
|
||||
<input type=hidden name=sitesearch value="">
|
||||
</FORM>
|
||||
</td-->
|
||||
<td style="width: 280px" >
|
||||
|
||||
<FORM method=GET action="http://www.google.com/search" style="margin-bottom: 0; margin: 0; text-align: center;font-size:12px;font-family:verdana;">
|
||||
<input type="hidden" name="ie" value="UTF-8" />
|
||||
<input type="hidden" name=oe value="UTF-8" />
|
||||
|
||||
<INPUT TYPE="text" name="q" size="21" maxlength="255" value="" />
|
||||
<INPUT type="submit" name="btnG" VALUE="Search" style="height: 21px; vertical-align: top; font-size: x-small;" />
|
||||
<input type="hidden" name="domains" value="http://www.eluaproject.net/doc" />
|
||||
<input type="hidden" name="sitesearch" value="http://www.eluaproject.net/doc" />
|
||||
</FORM>
|
||||
|
||||
|
||||
</td>
|
||||
<td class="contact">
|
||||
<a class="contact" target="_blank" href="http://www.eluaproject.net"><EFBFBD> </a>
|
||||
<br>
|
||||
<a class="contact" href="mailto:">()</a>
|
||||
|
||||
<br>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
|
||||
<title>Title</title>
|
||||
<base target="wb_cont">
|
||||
<style type="text/css">
|
||||
@ -15,7 +16,7 @@ td.title {
|
||||
td.contact {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
width: 11em;
|
||||
/*width: 11em;*/
|
||||
}
|
||||
a.contact {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
@ -32,29 +33,33 @@ a.contact:hover {
|
||||
|
||||
<body style="background-color: midnightblue; margin-left: 3px; margin-right: 3px; margin-top: 2px; margin-bottom: 0; background-image: url('wb_img/title_background.png');">
|
||||
|
||||
<table style="width: 100%" cellspacing="0" cellpadding="0">
|
||||
<table border="0" style="width: 100%;" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td style="width: 50px;"><img src="logo.gif"></td>
|
||||
<td class="title">eLua - Embedded Lua</td>
|
||||
<td style="width: 3.5em">
|
||||
<td valign="center" style="width: 30px;padding:0px 10px 0px 0px;">
|
||||
<img src="wb_img/eLua-logo-80x80.png" border="0">
|
||||
</td>
|
||||
<td valign="center" class="title">eLua - Embedded Lua</td>
|
||||
<!--td style="width: 3.5em">
|
||||
<a class="contact" href="ssSearch_pt.html">SimpleSearch</a>
|
||||
</td>
|
||||
<td style="width: 11em">
|
||||
<FORM method=GET action="http://www.google.com/search" style="margin-bottom: 0; margin: 0; text-align: center; ">
|
||||
<input type=hidden name=ie value=UTF-8>
|
||||
<input type=hidden name=oe value=UTF-8>
|
||||
<INPUT TYPE=text name=q size=21 maxlength=255 value=""><br>
|
||||
<A HREF="http://www.google.com/"><IMG SRC="wb_img/google.gif" border="0" ALT="Google"></A>
|
||||
<INPUT type=submit name=btnG VALUE="Search" style="height: 21px; vertical-align: top; font-size: x-small;">
|
||||
<input type=hidden name=domains value="http://www.eluaproject.net/doc">
|
||||
<input type=hidden name=sitesearch value="http://www.eluaproject.net/doc" checked>
|
||||
<input type=hidden name=sitesearch value="">
|
||||
</FORM>
|
||||
</td-->
|
||||
<td style="width: 280px" >
|
||||
|
||||
<FORM method=GET action="http://www.google.com/search" style="margin-bottom: 0; margin: 0; text-align: center;font-size:12px;font-family:verdana;">
|
||||
<input type="hidden" name="ie" value="UTF-8" />
|
||||
<input type="hidden" name=oe value="UTF-8" />
|
||||
|
||||
<INPUT TYPE="text" name="q" size="21" maxlength="255" value="" />
|
||||
<INPUT type="submit" name="btnG" VALUE="Search" style="height: 21px; vertical-align: top; font-size: x-small;" />
|
||||
<input type="hidden" name="domains" value="http://www.eluaproject.net/doc" />
|
||||
<input type="hidden" name="sitesearch" value="http://www.eluaproject.net/doc" />
|
||||
</FORM>
|
||||
|
||||
|
||||
</td>
|
||||
<td class="contact">
|
||||
<a class="contact" target="_blank" href="http://www.eluaproject.net"><EFBFBD> </a>
|
||||
<br>
|
||||
<a class="contact" href="mailto:">()</a>
|
||||
|
||||
<br>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us" >
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Tree</title>
|
||||
<base target="wb_cont">
|
||||
<style type="text/css">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us" >
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Tree</title>
|
||||
<base target="wb_cont">
|
||||
<style type="text/css">
|
||||
@ -219,27 +219,27 @@
|
||||
<body style="margin: 2px; background-color: #F1F1F1" onload="showStartPage()">
|
||||
<div class="tree" onmouseout="clearLastLink()">
|
||||
<h3><a name="link0folder.0" class="el" href="pt/news.html">eLua</a></h3>
|
||||
<p><img name="imgfolder.1" src="wb_img/minusnode.png" onclick="toggleFolder('folder.1')"><a name="link149folder.1" class="el" href="pt/overview.html">Apresenta<EFBFBD><EFBFBD>o</a></p>
|
||||
<p><img name="imgfolder.1" src="wb_img/minusnode.png" onclick="toggleFolder('folder.1')"><a name="link149folder.1" class="el" href="pt/overview.html">Apresentação</a></p>
|
||||
<div id="folder.1" style="display:block">
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link150folder.1" href="pt/overview.html#whatis">O que <EFBFBD> eLua ?</a></p>
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link151folder.1" href="pt/overview.html#audience">P<EFBFBD>blico alvo</a></p>
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link152folder.1" href="pt/overview.html#uses">Aplica<EFBFBD><EFBFBD>es</a></p>
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link150folder.1" href="pt/overview.html#whatis">O que é eLua ?</a></p>
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link151folder.1" href="pt/overview.html#audience">Público alvo</a></p>
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link152folder.1" href="pt/overview.html#uses">Aplicações</a></p>
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link153folder.1" href="pt/overview.html#authors">Autores</a></p>
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link154folder.1" href="pt/overview.html#contacts">Contatos</a></p>
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link155folder.1" href="pt/overview.html#license">Licen<EFBFBD>a</a></p>
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link155folder.1" href="pt/overview.html#license">Licença</a></p>
|
||||
</div>
|
||||
<p><img name="imgfolder.2" src="wb_img/plusnode.png" onclick="toggleFolder('folder.2')"><a name="link156folder.2" class="el" href="pt/community.html">Comunidade</a></p>
|
||||
<div id="folder.2">
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link157folder.2" href="pt/community.html#lists">Listas</a></p>
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link158folder.2" href="pt/community.html#credits">Cr<EFBFBD>ditos</a></p>
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link158folder.2" href="pt/community.html#credits">Créditos</a></p>
|
||||
</div>
|
||||
<p><img name="imgfolder.3" src="wb_img/plusnode.png" onclick="toggleFolder('folder.3')"><a name="link159folder.3" class="el" href="pt/status.html">Status</a></p>
|
||||
<div id="folder.3">
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link160folder.3" href="pt/news.html">Not<EFBFBD>cias</a></p>
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link160folder.3" href="pt/news.html">Notícias</a></p>
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link161folder.3" href="pt/status.html#platforms">Plataformas</a></p>
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link162folder.3" href="pt/status.html#roadmap">Futuro</a></p>
|
||||
</div>
|
||||
<p><img name="imgfolder.4" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4')"><a name="link163folder.4" class="el" href="pt/using.html">Documenta<EFBFBD><EFBFBD>o</a></p>
|
||||
<p><img name="imgfolder.4" src="wb_img/plusnode.png" onclick="toggleFolder('folder.4')"><a name="link163folder.4" class="el" href="pt/using.html">Documentação</a></p>
|
||||
<div id="folder.4">
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link164folder.4" href="pt/faq.html">FAQ</a></p>
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/node.png"><a class="el" name="link165folder.4" href="pt/using.html">Usando</a></p>
|
||||
@ -269,16 +269,16 @@
|
||||
</div>
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img src="wb_img/nodelast.png"><a class="el" name="link185folder.4.2" href="pt/tut_openocd.html">Using OpenOC</a></p>
|
||||
</div>
|
||||
<p><img src="wb_img/vertline.png"><img name="imgfolder.4.3" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.4.3')"><a name="link186folder.4.3" class="el" href="pt/versionhistory.html">Hist<EFBFBD>rico de Vers<72>es</a></p>
|
||||
<p><img src="wb_img/vertline.png"><img name="imgfolder.4.3" src="wb_img/plusnodelast.png" onclick="toggleFolder('folder.4.3')"><a name="link186folder.4.3" class="el" href="pt/versionhistory.html">Histórico de Versões</a></p>
|
||||
<div id="folder.4.3">
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link187folder.4.3" href="pt/versionhistory.html#04">v 0.4</a></p>
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/node.png"><a class="el" name="link188folder.4.3" href="pt/versionhistory.html#05">v 0.5</a></p>
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/blank.png"><img src="wb_img/nodelast.png"><a class="el" name="link189folder.4.3" href="pt/versionhistory.html#06">v 0.6</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<p><img name="imgfolder.5" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5')"><a name="link190folder.5" class="el" href="pt/refman.html#genericmodules">Manual de Refer<EFBFBD>ncia</a></p>
|
||||
<p><img name="imgfolder.5" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5')"><a name="link190folder.5" class="el" href="pt/refman.html#genericmodules">Manual de Referência</a></p>
|
||||
<div id="folder.5">
|
||||
<p><img src="wb_img/vertline.png"><img name="imgfolder.5.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1')"><a name="link191folder.5.1" class="el" href="pt/refman.html#genericmodules">M<EFBFBD>dulos Gen<65>ricos</a></p>
|
||||
<p><img src="wb_img/vertline.png"><img name="imgfolder.5.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1')"><a name="link191folder.5.1" class="el" href="pt/refman.html#genericmodules">Módulos Genéricos</a></p>
|
||||
<div id="folder.5.1">
|
||||
<p><img src="wb_img/vertline.png"><img src="wb_img/vertline.png"><img name="imgfolder.5.1.1" src="wb_img/plusnode.png" onclick="toggleFolder('folder.5.1.1')"><a name="link192folder.5.1.1" class="el" href="pt/refman.html#bitmodule">bit</a></p>
|
||||
<div id="folder.5.1.1">
|
||||
|
Loading…
x
Reference in New Issue
Block a user