1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-07-26 02:29:47 +02:00

update antdoc

This commit is contained in:
lxsang
2020-06-24 19:19:20 +02:00
parent c36ca7b8fb
commit 1af8436523
4 changed files with 37 additions and 5 deletions

View File

@ -1,5 +1,6 @@
<?lua
local tocdata = __main__:get("toc")
local elinks = __main__:get("elinks")
?>
<!DOCTYPE html>
<html>
@ -60,6 +61,17 @@ local tocdata = __main__:get("toc")
</a>
<?lua end ?>
</div>
<?lua
if elinks then
for k,v in ipairs(elinks) do
?>
<a class = "x-link" href ="<?=v.url?>">
<?=v.name?>
</a>
<?lua
end
end
?>
<form id = "search_form" action="<?=HTTP_ROOT..'/'..tocdata.controller..'/search/'?>" method="get" class="search-form">
<input id = "search_box" name="q" type = "text" class = "search-box"></input>
</form>