summaryrefslogtreecommitdiffstats
path: root/smarty/templates/rpmphp/main.tpl
blob: a19f8626387537fc4b5c841a45971408e3bcef4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{*
 * Main page template
 *
 * Copyright © 2010 Remi Collet
 *
 * This file is part of rpmphp.
 *
 * rpmphp is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * rpmphp is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with rpmphp.  If not, see <http://www.gnu.org/licenses/>.
*}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
        <title>Packages in Fedora - {$page_title}</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <link rel="stylesheet" type="text/css" media="screen" href="css/rpmphp.css"/>
        <!--<link rel="stylesheet" type="text/css" media="print" href="css/rpmphp-print.css">-->
        <script type="text/javascript" src="scripts/jquery-1.4.2.min.js"></script>
        <script type="text/javascript" src="scripts/jquery.autocomplete.pack.js"></script>
        <script type="text/javascript" src="scripts/rpmphp.js"></script>
{if $name}
        <script type="text/javascript">
            // <![CDATA[
            $(function(){ldelim}
                initZoomJS('{$name}');
            {rdelim});
            //]]>
        </script>
{/if}
        <link rel="shortcut icon" href="images/favicon.ico"/>
        <link rel="icon" href="images/favicon.ico"/>
    </head>
    <body>
        <div id="wrapper">
            <div id="header">
                <h1>
                    <a href="http://fedoraproject.org"><img src="images/fedora-logo.png" alt="Fedora Project"/></a>
                </h1>
                <div id="headsearch">
                    <form action='zoom.php' method='get'>
                        <div>
                            <label for="rpm">Package&nbsp;: </label>
                            <input type="text" name="rpm" id="rpm" size="20" />
                            <input type="submit" value="Search" />
                        </div>
                    </form>
                </div>
            </div><!-- /header -->
            <div id="fedora-content">
                <div id="ariane">
                    <p>You are here: </p>
                    <ul>
{foreach from=$ariane item=a}
                        <li><a href="{$a.url}">{$a.text}</a></li>
{/foreach}
                    </ul>
                </div><!-- /ariane -->
{if $name_required and not $name}
                <h1>Missing package name</h1>
                <form action="?" method="get">
                    <p>You have not specified any package name.</p>
                    <p>
                        <label for="rpm">Please enter one package name: </label>
                        <input type="text" name="rpm" id="rpm"/>
                        <input type="submit"/>
                    </p>
                </form>
{else}
                <h1>{$page_title}</h1>
    {$page_content}
{/if}
            </div><!-- /fedora-content -->
            <div id="footer">
                <p class="disclaimer">The Fedora Project is maintained and driven by the community and sponsored by Red Hat.  This is a community maintained site.  Red Hat is not responsible for content.</p>
                <ul>
                    <li><a href="http://fedoraproject.org/wiki/Legal:Main">Legal</a></li>
                    <li><a href="http://fedoraproject.org/wiki/Legal:Trademark_guidelines">Trademark Guidelines</a></li>
                </ul>
            </div><!-- /footer -->
        </div><!-- /wrapper -->
    </body>
</html>