]> gitweb.factorcode.org Git - factor.git/blob - extra/webapps/help/search.xml
Working on help webapp
[factor.git] / extra / webapps / help / search.xml
1 <?xml version='1.0' ?>
2
3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
4
5 <t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
6
7 <html xmlns="http://www.w3.org/1999/xhtml">
8         <head>
9                 <t:base t:href="$help-webapp/content/" />
10         </head>
11
12         <body>
13                 <h1>Factor documentation</h1>
14
15                 <t:form t:action="$help-webapp/search">
16                         <t:field t:name="search" />
17                         <button>Search</button>
18                 </t:form>
19                 
20                 <t:if t:value="articles">
21                         <h1>Articles</h1>
22                         
23                         <ul>
24                                 <t:each t:name="articles">
25                                         <li> <t:link t:name="value" t:target="content" /> </li>
26                                 </t:each>
27                         </ul>
28                 </t:if>
29                 
30                 <t:if t:value="vocabs">
31                         <h1>Vocabularies</h1>
32                         
33                         <ul>
34                                 <t:each t:name="vocabs">
35                                         <li> <t:link t:name="value" t:target="content" /> </li>
36                                 </t:each>
37                         </ul>
38                 </t:if>
39                 
40                 <t:if t:value="words">
41                         <h1>Words</h1>
42                         
43                         <ul>
44                                 <t:each t:name="words">
45                                         <li> <t:link t:name="value" t:target="content" /> </li>
46                                 </t:each>
47                         </ul>
48                 </t:if>
49
50         </body>
51 </html>
52
53 </t:chloe>