replaced theme with bento one, change main application layout
[opensuse:software-o-o.git] / app / views / layouts / application.rhtml
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3  <head>
4   <title>Software.openSUSE.org</title>
5   <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6
7   <link href="/css/style.css" rel="stylesheet" type="text/css"/>
8   <link href="/css/software.css" rel="stylesheet" type="text/css"/>
9   <link href="/css/ui.dialog.css" rel="stylesheet" type="text/css"/>
10   <link href="http://static.opensuse.org/hosts/software.o.o/images/favicon.ico" rel="shortcut icon" />
11   <%= javascript_include_tag "jquery-1.4.1.min.js", "jquery-ui-1.7.2.js", "jrails.js", "application.js"  %>
12   <script language="JavaScript" type="text/javascript" src="http://static.opensuse.org/c/javascript/common/langsel.js"></script>
13  </head>
14  <body>
15
16   <div id="header">
17     <div id="header-content" class="container_12">
18       <a id="header-logo" href="#home">
19         <img src="/images/header-logo.png" width="46" height="26" alt="Header Logo" />
20       </a>
21       <ul id="global-navigation">
22         <li><a href="http://software.opensuse.org/">Software</a></li>
23         <li><a href="http://wiki.opensuse.org/">Wiki</a></li>
24       </ul>
25       <form id="global-search-form" action="" method="post" accept-charset="utf-8">
26         <input type="text" name="q" value="search" id="search" />
27         <input type="submit" value="Search" class="hidden" accesskey="" />
28       </form>
29     </div>
30   </div>
31
32   <div id="content" class="container_16 ui-oo-content-wrapper">
33     <div class="grid_3 alpha">
34
35       <div class="ui-oo-box-shadow grid_3 alpha">
36          <h2 class="box-header"><%=_("Getting Help")%></h2>
37          <ul class="navlist">
38            <li><a href="http://en.opensuse.org/Download_Help"><%=_("Download Help")%></a></li>
39            <li><a href="http://en.opensuse.org/Download_Help#Burn_the_ISO_Image.28s.29"><%=_("Burn CD/DVD Image(s)")%></a></li>
40            <li><a href="http://en.opensuse.org/Installation"><%=_("Installation Guides")%></a></li>
41            <li><a href="http://www.novell.com/documentation/opensuse112/"><%=_("Official Manuals")%></a></li>
42         </ul>
43       </div>
44
45       <div class="ui-oo-box-shadow grid_3 alpha">
46          <h2 class="box-header"><%=_("Software")%></h2>
47          <ul class="navlist">
48            <li><%= link_to _('Software Search'), {:controller => "search", :action => "index"} %></li>
49            <li><a href="http://en.opensuse.org/Additional_YaST_Package_Repositories"><%=_("Package Repositories")%></a></li>
50            <li><a href="http://download.opensuse.org/update/"><%=_("Update Repositories")%></a></li>
51            <li><a href="http://download.opensuse.org/source/distribution/11.2/"><%=_("Source Repository")%></a></li>
52          </ul>
53       </div>
54
55       <div class="ui-oo-box-shadow grid_3 alpha">
56          <h2 class="box-header"><%=_("Other Options")%></h2>
57          <ul class="navlist">
58            <li><a href="http://en.opensuse.org/Mirror_Selection"><%=_("Mirrors")%></a></li>
59            <% if @release != "developer" %>
60              <li><%= link_to _('Development Version'), {:controller => "main", :action => "developer", :lang => @lang } %></li>
61            <% else %>
62               <li><%= link_to _('Released Version'), {:controller => "main", :action => "index", :lang => @lang } %></li>
63            <% end %>
64          </ul>
65       </div>
66
67       <div class="ui-oo-box-shadow grid_3 alpha">
68         <h2 class="box-header"><%= _("In other languages") %></h2>
69         <ul class="navlist">
70           <li><%= link_to 'Deutsch', :action => :index, :lang => 'de' %></li>
71           <li><%= link_to "English", :action => :index, :lang => 'en' %></li>
72           <li><%= link_to 'Fran├žais', :action => :index, :lang => 'fr' %></li>
73         </ul>
74       </div>
75
76     </div>
77     <div class="grid_10">
78
79       <div class="ui-oo-box-shadow grid_10">
80         <h2 class="box-header"><%= @page_title %></h2>
81         <div>
82         <%= @content_for_layout %>
83         </div>
84       </div>
85
86     </div>
87     <div class="grid_3 omega">
88
89       <div class="ui-oo-box-shadow grid_3 omega">
90         <% if @right_box == :search -%>
91           <h2 class="box-header"><%=_("Package Search")%></h2>
92           <div id="get_software">
93             <%= link_to "", {:controller => 'search'}, {:class => 'search_form', :style => 'display: block; width: 100%; height: 100px;', :title => _("Search Build Service")}  %>
94             <%=_("Search for and install additional software packages from the openSUSE Build Service.") %>
95           </div>
96         <% else -%>
97           <h2 class="box-header"><%=_("Get openSUSE")%></h2>
98           <div id="download_os">
99             <%= link_to "", {:controller => 'main', :action => :index}, {:class => 'download_os_link', :style => 'display: block; width: 100%; height: 100px;'}  %>
100           </div>
101         <% end -%>
102       </div>
103
104       <div class="ui-oo-box-shadow grid_3 omega">
105         <h2 class="box-header"><%=_("Sponsored by")%></h2>
106         <!--<p style="color: #ccc; font-size: 0.8em; text-align: center;"><%=_("Platinum Sponsor")%></p>-->
107         <p style="color: #ccc; font-size: 0.8em; text-align: center;"><%=_("Gold Sponsor")%></p>
108         <p>
109           <a href="http://en.opensuse.org/Sponsors"><img title="<%=_("Sponsored by AMD")%>" alt="<%=_("Sponsored by AMD")%>" src="http://static.opensuse.org/c/images/common/Amd.png"/></a>
110           <a href="http://en.opensuse.org/Sponsors"><img title="<%=_("Sponsored by: IP Exchange")%>" alt="<%=_("Sponsored by: IP Exchange")%>" src="http://static.opensuse.org/c/images/common/Ip-exchange.gif"/></a>
111         </p>
112         <p style="color: #ccc; font-size: 0.8em; text-align: center;"><%=_("Silver Sponsor")%></p>
113         <p>
114           <a href="http://en.opensuse.org/Sponsors"><img title="<%=_("Sponsored by: B1 Systems")%>" alt="<%=_("Sponsored by: B1 Systems")%>" src="http://static.opensuse.org/c/images/common/B1-systems-1.jpg"/></a>
115         </p>
116         <!--<p style="color: #ccc; font-size: 0.8em; text-align: center;"><%=_("Bronze Sponsor")%></p>-->
117       </div>
118
119       <div class="ui-oo-box-shadow grid_3 omega">
120         <h2 class="box-header"><%=_("Buy openSUSE")%></h2>
121           <div style="text-align: center; padding: 15px 0;">
122             <a href="<%= _("http://en.opensuse.org/Buy_openSUSE") %>"><img src="http://static.opensuse.org/c/images/common/openSUSE11.2_Box.jpg" title="<%=_("Buy openSUSE 11.2")%>" alt="<%=_("Buy openSUSE 11.2")%>"/></a>
123           </div>
124           <p style="text-align: center">
125             <a href="<%= _("http://en.opensuse.org/Buy_openSUSE") %>" title="Buy openSUSE" style="text-decoration: none; font-weight: bold"><%=_("Buy openSUSE 11.2!")%></a>
126           </p>
127       </div>
128
129     </div>
130
131   </div>
132
133   <div id="footer" class="container_12">
134     <div id="footer-content" class="grid_12">
135     </div>
136     <div id="footer-legal" class="ui-oo-border-top grid_12">
137       <a href="http://en.opensuse.org/openSUSE:About">About openSUSE</a> |
138       <a href="http://en.opensuse.org/openSUSE:General_disclaimer">Legal information</a> |
139       <a href="mailto:webmaster@opensuse.org">Feedback</a>
140       <br/><br/>
141       <a href="http://www.novell.com/linux/"><img src="http://static.opensuse.org/c/images/common/founded_novell.gif" alt="Founded by Novell" /></a>
142     </div>
143   </div>
144
145   <% if @right_box == :search -%>
146   <!--[if lte IE 7]>
147     <script type="text/javascript">
148      alert("Please note that the Internet Explorer (all versions) is not capable of handling\nfiles larger than 4 GB.\n\nThis means that you will not be able to download the DVD images using IE.\n\nPlease use a different browser or a downloadmanager.")
149     </script>
150   <![endif]-->
151   <% end -%>
152
153  </body>
154 </html>