factor/extra/webapps/help/search.xml

76 lines
1.8 KiB
XML

<?xml version='1.0' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<t:base t:href="$help-webapp/content/" />
<style>
body { font-family: sans-serif; font-size: 85%; }
a:link { text-decoration: none; color: #00004c; }
a:visited { text-decoration: none; color: #00004c; }
a:active { text-decoration: none; color: #00004c; }
a:hover { text-decoration: underline; color: #00004c; }
</style>
</head>
<body>
<h1><t:a t:href="$help-webapp/content/article-handbook.html"
target="content">Factor documentation</t:a></h1>
<p>This is the <a href="http://factorcode.org" target="_top">Factor</a>
documentation, generated offline from a
<code>load-everything</code> image. If you want, you can also browse the
documentation from within the <a href="http://factorcode.org" target="_top">Factor</a> UI.</p>
<p>You may search article titles below; for example, try searching for "HTTP".</p>
<t:form t:action="$help-webapp/search">
<t:field t:name="search" />
<button type="submit">Search</button>
</t:form>
<t:if t:value="articles">
<hr/>
<h2>Articles</h2>
<ul>
<t:each t:name="articles">
<li> <t:link t:name="value" t:target="content" /> </li>
</t:each>
</ul>
</t:if>
<t:if t:value="vocabs">
<hr/>
<h2>Vocabularies</h2>
<ul>
<t:each t:name="vocabs">
<li> <t:link t:name="value" t:target="content" /> </li>
</t:each>
</ul>
</t:if>
<t:if t:value="words">
<hr/>
<h2>Words</h2>
<ul>
<t:each t:name="words">
<li> <t:link t:name="value" t:target="content" /> </li>
</t:each>
</ul>
</t:if>
</body>
</html>
</t:chloe>