]> git.deb.at Git - deb/packages.git/blob - static/index.tmpl
Merge commit 'origin/master' into archive-master
[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 = [ 'bo', 'hamm', 'slink', 'potato', 'woody', 'sarge' ]
8     version_numbers = { sarge  => '3.1',
9                         woody  => '3.0',
10                         potato => '2.2',
11                         slink  => '2.1',
12                         hamm   => '2.0',
13                         bo     => '1.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' ]
18 -%]
19
20 <p>This site provides you with information about all the packages
21 available in the <a href="[% project_homepage %]">[% organisation %]</a>
22 Package archive.
23
24 <p><em>Please contact <a href="mailto:[% admin.mail %]">[% admin.name %]</a>
25 if you encounter any problems!</em></p>
26
27 <h2>Browse through the lists of packages:</h2>
28
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>
33 [% END %]
34 </ul>
35
36 <h2>Search</h2>
37
38 <h3>Search package directories</h3>
39
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">
44 <br>
45 Search on:
46 <input type="radio" name="searchon" value="names" id="onlynames" checked="checked">
47 <label for="onlynames">Package names only</label>&nbsp;&nbsp;
48 <input type="radio" name="searchon" value="all" id="descs">
49 <label for="descs">Descriptions</label>
50
51 <input type="radio" name="searchon" value="sourcenames" id="src">
52 <label for="src">Source package names</label>
53 <br>
54 Only show exact matches:
55 <input type="checkbox" name="exact" value="1">
56 <br>
57 Distribution:
58 <select name="suite">
59 [% FOREACH s IN all_suites %]
60   <option value="[% s %]" [% 'selected="selected"' IF s == current_release %]>[% s %]</option>
61 [% END %]
62   <option value="all">any</option>
63 </select>
64 Section:
65 <select name="section">
66 [% FOREACH s IN all_sections %]
67   <option value="[% s %]">[% s %]</option>
68 [% END %]
69   <option value="all" selected="selected">any</option>
70 </select>
71 </form>
72 <p>There are shortcuts for some searches available:</p>
73 <ul>
74       <li><code>[% packages_homepage %]<var>name</var></code> for
75       the search on package names.</li>
76
77       <li><code>[% packages_homepage %]src:<var>name</var></code>
78       for the search on source package names.</li>
79 </ul>
80 <hr>
81
82 <h3><a name="search_contents">Search the contents of packages</a></h3>
83
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
86 part of packages.
87 You can also get a full list of files in a given package.
88 <br>
89 <form method="GET" action="/search">
90 <input type="hidden" name="searchon" value="contents">
91
92 <label for="keyword">Keyword:</label>
93 <input type="text" size="30" name="keywords" id="keyword"> &nbsp;
94
95 <input type="submit" value="Search">
96 &nbsp;<input type="reset" value="Reset">
97 <br>
98 Display:
99 <br>
100 <input type="radio" name="mode" value="exactfilename" id="exactfilename" checked="checked">
101   <label for="exactfilename">packages that contain files named like this</label>
102 <br>
103 <input type="radio" name="mode" value="" id="suffixpathname">
104   <label for="suffixpathname">packages that contain files whose names end with the keyword</label>
105 <br>
106 <input type="radio" name="mode" value="filename" id="filename">
107   <label for="filename">packages that contain files whose names contain the keyword</label>
108 <br>
109 <label for="distro">Distribution:</label>
110
111 <select name="suite" id="distro">
112 [% FOREACH s IN all_suites %]
113   <option value="[% s %]" [% 'selected="selected"' IF s == current_release %]>[% s %]</option>
114 [% END %]
115 </select>
116 <label for="architecture">Architecture:</label>
117 <select name="arch" id="architecture">
118 [% FOREACH a IN all_architectures %]
119   <option value="[% a %]">[% a %]</option>
120 [% END %]
121   <option value="any" selected="selected">any</option>
122 </select>
123 </form>
124
125 [% PROCESS 'html/foot.tmpl'
126         langs.size = 0
127         copyright.years = '1997 - 2008' %]