]> git.deb.at Git - deb/packages.git/blob - static/index.tmpl
crontab: Add missing newline at EOF
[deb/packages.git] / static / index.tmpl
1 [%- PROCESS 'html/head.tmpl' 
2         title_tag = "$organisation Packages Search"
3         page_title = "$organisation Packages Search"
4         keywords = "$organisation, Packages"
5 -%]
6 [%-
7     all_suites = [ 'sarge', 'sarge-volatile', 'sarge-backports',
8                    'etch', 'etch-m68k', 'etch-volatile', 'etch-backports',
9                    'lenny', 'sid' ]
10     current_release = 'etch'
11     all_sections = [ 'main', 'contrib', 'non-free' ]
12     all_architectures = [ 'alpha', 'arm', 'armel', 'amd64', 'hppa', 'i386',
13                           'ia64', 'kfreebsd-amd64', 'kfreebsd-i386', 'mips',
14                           'mipsel', 'powerpc', 's390', 'sparc' ]
15 -%]
16
17 <p>This site provides you with information about all the packages
18 available in the <a href="[% homepage %]">[% organisation %]</a>
19 Package archive.
20
21 <p><em>Please contact <a href="mailto:[% admin.mail %]">[% admin.name %]</a>
22 if you encounter any problems!</em></p>
23
24 <h2>Browse through the lists of packages:</h2>
25
26 <ul style="font-size:large">
27 [% FOREACH s IN all_suites %]
28 <li><a href="[% s %]/">[% s %]</a></li>
29 [% END %]
30 </ul>
31
32 <p>There is also a list of <a href="[% all_suites.-1 %]/newpkg_main">packages
33 recently added to [% all_suites.-1 %]</a>.</p>
34
35 <h2>Search</h2>
36
37 <h3>Search package directories</h3>
38
39 <form method="GET" action="/search">
40 <label for="kw">Keyword:</label>
41 <input type="text" size="30" name="keywords" id="kw">
42 <input type="submit" value="Search"> <input type="reset" value="Reset">
43 <br>
44 Search on:
45 <input type="radio" name="searchon" value="names" id="onlynames" checked="checked">
46 <label for="onlynames">Package names only</label>&nbsp;&nbsp;
47 <input type="radio" name="searchon" value="all" id="descs">
48 <label for="descs">Descriptions</label>
49
50 <input type="radio" name="searchon" value="sourcenames" id="src">
51 <label for="src">Source package names</label>
52 <br>
53 Only show exact matches:
54 <input type="checkbox" name="exact" value="1">
55 <br>
56 Distribution:
57 <select name="suite">
58 [% FOREACH s IN all_suites %]
59   <option value="[% s %]" [% 'selected="selected"' IF s == current_release %]>[% s %]</option>
60 [% END %]
61   <option value="all">any</option>
62 </select>
63 Section:
64 <select name="section">
65 [% FOREACH s IN all_sections %]
66   <option value="[% s %]">[% s %]</option>
67 [% END %]
68   <option value="all" selected="selected">any</option>
69 </select>
70 </form>
71 <p>There are shortcuts for some searches available:</p>
72 <ul>
73       <li><code>[% packages_homepage %]<var>name</var></code> for
74       the search on package names.</li>
75
76       <li><code>[% packages_homepage %]src:<var>name</var></code>
77       for the search on source package names.</li>
78 </ul>
79 <hr>
80
81 <h3><a name="search_contents">Search the contents of packages</a></h3>
82
83 <P>This search engine allows you to search the contents of [% organisation %]
84 distributions for any files (or just parts of file names) that are
85 part of packages.
86 You can also get a full list of files in a given package.
87 <BR>
88 <form method="GET" action="/search">
89 <input type="hidden" name="searchon" value="contents">
90
91 <label for="keyword">Keyword:</label>
92 <input type="text" size="30" name="keywords" id="keyword"> &nbsp;
93
94 <input type="submit" value="Search">
95 &nbsp;<input type="reset" value="Reset">
96 <br>
97 Display:
98 <br>
99 <input type="radio" name="mode" value="exactfilename" id="exactfilename" checked="checked">
100   <label for="exactfilename">packages that contain files named like this</label>
101 <br>
102 <input type="radio" name="mode" value="" id="suffixpathname">
103   <label for="suffixpathname">packages that contain files whose names end with the keyword</label>
104 <br>
105 <input type="radio" name="mode" value="filename" id="filename">
106   <label for="filename">packages that contain files whose names contain the keyword</label>
107
108 <label for="distro">Distribution:</label>
109
110 <select name="suite" id="distro">
111 [% FOREACH s IN all_suites %]
112   <option value="[% s %]" [% 'selected="selected"' IF s == current_release %]>[% s %]</option>
113 [% END %]
114 </select>
115 <label for="architecture">Architecture:</label>
116 <select name="arch" id="architecture">
117 [% FOREACH a IN all_architectures %]
118   <option value="[% a %]">[% a %]</option>
119 [% END %]
120   <option value="any" selected="selected">any</option>
121 </select>
122 </form>
123
124 [% PROCESS 'html/foot.tmpl'
125         langs.size = 0
126         copyright.years = '1997 - 2007' %]