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