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