1 [%- PROCESS 'html/head.tmpl'
2 title_tag = "$organisation Packages Search"
3 page_title = "$organisation Packages Search"
4 keywords = "$organisation, Packages"
7 all_suites = [ 'bo', 'hamm', 'slink', 'potato', 'woody', 'sarge' ]
8 version_numbers = { sarge => '3.1',
14 current_release = 'sarge'
15 all_sections = [ 'main', 'contrib', 'non-free' ]
16 all_architectures = [ 'alpha', 'arm', 'hppa', 'i386', 'ia64',
17 'mips', 'mipsel', 'powerpc', 's390', 'sparc' ]
20 <p>This site provides you with information about all the packages
21 available in the <a href="[% project_homepage %]">[% organisation %]</a>
24 <p><em>Please contact <a href="mailto:[% admin.mail %]">[% admin.name %]</a>
25 if you encounter any problems!</em></p>
27 <h2>Browse through the lists of packages:</h2>
29 <ul style="font-size:large">
30 [% FOREACH s IN all_suites %]
31 <li><a href="[% s %]/">[% s %]</a>
32 [% IF version_numbers.$s %]([% version_numbers.$s %])[% END %]</li>
38 <h3>Search package directories</h3>
40 <form method="GET" action="/search">
41 <label for="kw">Keyword:</label>
42 <input type="text" size="30" name="keywords" id="kw">
43 <input type="submit" value="Search"> <input type="reset" value="Reset">
46 <input type="radio" name="searchon" value="names" id="onlynames" checked="checked">
47 <label for="onlynames">Package names only</label>
48 <input type="radio" name="searchon" value="all" id="descs">
49 <label for="descs">Descriptions</label>
51 <input type="radio" name="searchon" value="sourcenames" id="src">
52 <label for="src">Source package names</label>
54 Only show exact matches:
55 <input type="checkbox" name="exact" value="1">
59 [% FOREACH s IN all_suites %]
60 <option value="[% s %]" [% 'selected="selected"' IF s == current_release %]>[% s %]</option>
62 <option value="all">any</option>
65 <select name="section">
66 [% FOREACH s IN all_sections %]
67 <option value="[% s %]">[% s %]</option>
69 <option value="all" selected="selected">any</option>
72 <p>There are shortcuts for some searches available:</p>
74 <li><code>[% packages_homepage %]<var>name</var></code> for
75 the search on package names.</li>
77 <li><code>[% packages_homepage %]src:<var>name</var></code>
78 for the search on source package names.</li>
82 <h3><a name="search_contents">Search the contents of packages</a></h3>
84 <P>This search engine allows you to search the contents of [% organisation %]
85 distributions for any files (or just parts of file names) that are
87 You can also get a full list of files in a given package.
89 <form method="GET" action="/search">
90 <input type="hidden" name="searchon" value="contents">
92 <label for="keyword">Keyword:</label>
93 <input type="text" size="30" name="keywords" id="keyword">
95 <input type="submit" value="Search">
96 <input type="reset" value="Reset">
100 <input type="radio" name="mode" value="exactfilename" id="exactfilename" checked="checked">
101 <label for="exactfilename">packages that contain files named like this</label>
103 <input type="radio" name="mode" value="" id="suffixpathname">
104 <label for="suffixpathname">packages that contain files whose names end with the keyword</label>
106 <input type="radio" name="mode" value="filename" id="filename">
107 <label for="filename">packages that contain files whose names contain the keyword</label>
109 <label for="distro">Distribution:</label>
111 <select name="suite" id="distro">
112 [% FOREACH s IN all_suites %]
113 <option value="[% s %]" [% 'selected="selected"' IF s == current_release %]>[% s %]</option>
116 <label for="architecture">Architecture:</label>
117 <select name="arch" id="architecture">
118 [% FOREACH a IN all_architectures %]
119 <option value="[% a %]">[% a %]</option>
121 <option value="any" selected="selected">any</option>
125 [% PROCESS 'html/foot.tmpl'
127 copyright.years = '1997 - 2007' %]