remove old links - they will be impossible to support with new
[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="http://static.opensuse.org/hosts/software.o.o/css/download.css" rel="stylesheet" type="text/css"/>
8   <link href="/css/local/download2.css" rel="stylesheet" type="text/css"/>
9   <link href="http://static.opensuse.org/hosts/software.o.o/images/favicon.ico" rel="shortcut icon" />
10   <!--[if lte IE 7]>
11   <link href="http://static.opensuse.org/common-yaml2/css/explorer/iehacks_2col_left.css" rel="stylesheet" type="text/css"/>
12   <link href="http://static.opensuse.org/common-yaml2/css/explorer/iehacks_opensuse.css" rel="stylesheet" type="text/css"/>
13   <link href="http://static.opensuse.org/hosts/software.o.o/css/explorer/iehacks_obs_search.css" rel="stylesheet" type="text/css"/>
14
15   <![endif]-->
16   <%= javascript_include_tag :defaults %>
17   <script language="JavaScript" type="text/javascript" src="http://static.opensuse.org/c/javascript/common/langsel.js"></script>
18  </head>
19  <body>
20   <div id="page_margins" style="width: 1008px; margin: 0 auto;">
21    <div id="page" class="hold_floats">
22     <!-- Begin 2 column main part -->
23     <div id="main">
24      <!-- Begin left column -->
25      <div id="col1">
26       <div id="col1_content" class="clearfix">
27        <!-- Begin Logo -->
28        <div class="grey_box" id="logo">
29         <div class="box_content_row">
30          <div class="box_content" id="logo_content">
31           <a href="/"><img src="http://static.opensuse.org/c/images/common/geeko.jpg" alt="openSUSE" /></a>
32          </div>
33         </div>
34         <div class="box_bottom_row">
35          <div class="box_left"></div>
36          <div class="box_right"></div>
37         </div>
38        </div>
39        <!-- End Logo -->
40        <!-- Begin openSUSE navigation -->
41        <div class="grey_box">
42         <div class="box_top_row">
43          <div class="box_left"></div>
44          <div class="box_right"></div>
45         </div>
46         <div class="box_title_row">
47          <div class="box_title">
48           openSUSE
49          </div>
50         </div>
51         <div class="box_content">
52         <ul class="navlist">
53           <li style="list-style-image: url(http://static.opensuse.org/c/css/common/images/liDot_download.png)"><a href="http://software.opensuse.org/"><%=_("Get Software")%></a></li>
54           <li style="list-style-image: url(http://static.opensuse.org/c/css/common/images/liDot_wiki.png)"><a href="http://en.opensuse.org/"><%=_("Wiki")%></a></li>
55           <li style="list-style-image: url(http://static.opensuse.org/c/css/common/images/liDot_build.png)"><a href="http://build.opensuse.org/"><%=_("Build Software")%></a></li>
56           <li style="list-style-image: url(http://static.opensuse.org/c/css/common/images/liDot_community.png)"><a href="http://users.opensuse.org/"><%=_("User Directory")%></a></li>  
57           <li style="list-style-image: url(http://static.opensuse.org/c/css/common/images/liDot_wiki.png)"><a href="http://features.opensuse.org/"><%=_("Features")%></a></li>
58           <li style="list-style-image: url(http://static.opensuse.org/c/css/common/images/liDot_wiki.png)"><a href="http://news.opensuse.org/"><%=_("News")%></a></li>
59           <li style="list-style-image: url(http://static.opensuse.org/c/css/common/images/liDot_wiki.png)"><a href="http://forums.opensuse.org"><%=_("Forums")%></a></li>
60           <li style="list-style-image: url(http://static.opensuse.org/c/css/common/images/liDot_wiki.png)"><a href="http://shop.opensuse.org/"><%=_("Shop")%></a></li>
61          </ul>
62         </div>
63         <div class="box_bottom_row">
64          <div class="box_left"></div>
65          <div class="box_right"></div>
66         </div>
67        </div>
68        <br />
69        <!-- End openSUSE navigation -->
70        <!-- Begin custom navigation -->
71        <div class="orange_box">
72         <div class="box_top_row">
73          <div class="box_left"></div>
74          <div class="box_right"></div>
75         </div>
76         <div class="box_title_row">
77          <div class="box_title">
78           <%=_("Getting Help")%>
79          </div>
80         </div>
81         <div class="box_content">
82          <ul class="navlist">
83           <li><a href="http://en.opensuse.org/Download_Help"><%=_("Download Help")%></a></li>
84           <li><a href="http://en.opensuse.org/Download_Help#Burn_the_ISO_Image.28s.29"><%=_("Burn CD/DVD Image(s)")%></a></li>
85           <li><a href="http://en.opensuse.org/Installation"><%=_("Installation Guides")%></a></li>
86           <li><a href="http://www.novell.com/documentation/opensuse111/"><%=_("Official Manuals")%></a></li>
87          </ul>
88         </div>
89         <div class="box_bottom_row">
90          <div class="box_left"></div>
91          <div class="box_right"></div>
92         </div>
93        </div>
94        <br />
95        <div class="orange_box">
96         <div class="box_top_row">
97          <div class="box_left"></div>
98          <div class="box_right"></div>
99         </div>
100         <div class="box_title_row">
101          <div class="box_title">
102           <%=_("Software")%>
103          </div>
104         </div>
105         <div class="box_content">
106          <ul class="navlist">
107           <li><%= link_to _('Software Search'), {:controller => "search", :action => "index"} %></li>
108           <li><a href="http://en.opensuse.org/Additional_YaST_Package_Repositories"><%=_("Package Repositories")%></a></li>
109           <li><a href="http://download.opensuse.org/update/"><%=_("Update Repositories")%></a></li>
110           <li><a href="http://download.opensuse.org/source/distribution/11.1/"><%=_("Source Repository")%></a></li>
111         </ul>
112         </div>
113         <div class="box_bottom_row">
114          <div class="box_left"></div>
115          <div class="box_right"></div>
116         </div>
117        </div>
118        <br />
119        <div class="orange_box">
120         <div class="box_top_row">
121          <div class="box_left"></div>
122          <div class="box_right"></div>
123         </div>
124         <div class="box_title_row">
125          <div class="box_title">
126           <%=_("Other Options")%>
127          </div>
128         </div>
129         <div class="box_content">
130          <ul class="navlist">
131           <li><a href="http://en.opensuse.org/Mirror_Selection"><%=_("Mirrors")%></a></li>
132           <li><a href="http://download.opensuse.org/distribution/11.1/iso/"><%=_("Metalinks")%></a></li>
133           <li><%= link_to _('Development Version'), {:controller => "main", :action => "developer"} %></li>
134          </ul>
135         </div>
136         <div class="box_bottom_row">
137          <div class="box_left"></div>
138          <div class="box_right"></div>
139         </div>
140        </div>
141        <br />
142        <!-- End custom navigation -->
143        <!-- Begin Language navigation noscript -->
144        <noscript>
145        <div class="orange_box" id="p-lang">
146         <div class="box_top_row">
147          <div class="box_left"></div>
148          <div class="box_right"></div>
149         </div>
150 <!-- temporary disabled until translations exist
151         <div class="box_title_row">
152          <div class="box_title">
153           In other languages 
154          </div>
155         </div>
156 -->
157         <div class="box_content">
158          <ul class="navlist">
159           <li><a href="#">Deutsch</a></li>
160           <li><a href="#">Fran├žais</a></li>
161          </ul>
162         </div>
163         <div class="box_bottom_row">
164          <div class="box_left"></div>
165          <div class="box_right"></div>
166         </div>
167        </div>
168        <br />
169        </noscript>
170        <!-- End Language navigation noscript -->
171       </div>
172      </div>
173      <!-- End left column -->
174      <!-- Begin right cloumn -->
175      <div id="col3">
176       <div id="col3_content" class="clearfix">
177        <div class="orange_box_double" id="banner_orange">
178         <div class="box_content_row">
179          <div class="box_content" id="banner_content">
180           <div id="slogan">
181      <img src="http://static.opensuse.org/hosts/software.o.o/images/get.png" alt="><%=_("Get it")%>" />
182           </div>
183          </div>
184         </div>
185         <div class="box_bottom_row">
186          <div class="box_left"></div>
187          <div class="box_right"></div>
188         </div>
189        </div>
190        <br style="clear: right;" />
191        <div id="contentarea">
192         <div>
193          <div class="subcolumns">
194           <div class="c75l">
195            <div class="subcl">
196             <div class="grey_box_double" style="float:left; width: 100%">
197              <div class="box_top_row">
198               <div class="box_left"></div>
199               <div class="box_right"></div>
200              </div>
201              <div class="box_title_row">
202               <div class="box_title">
203 <!-- temporary disabled until translations exist
204                <div id="langsel" class="hide">
205                 <form action="" name="langsel">
206                  <select name="lang" onchange="langRedirect()">
207                   <option value="">In other languages</option>
208                   <option value="">Deutsch</option>
209                   <option value="">Fran├žais</option>
210                  </select>
211                 </form>
212                </div>
213 -->
214                <div id="page_actions">
215                 <b style="font-size:120%"><%=@page_title%></b>
216                </div>
217               </div>
218              </div>
219              <div class="box_content" id="bodyContent">
220                <!-- Begin Content area-->
221                <%= @content_for_layout %>
222                <!-- End Content area -->
223              </div>
224              <div class="box_footer_row">
225               <div id="page_footer" class="box_footer">
226                <!-- Begin Footer -->
227                This site uses the <a href="http://www.yaml.de">YAML</a> CSS framework.
228                <br />
229                <a href="http://en.opensuse.org/openSUSE:About">About openSUSE</a> | 
230                <a href="http://en.opensuse.org/openSUSE:General_disclaimer">Legal information</a> | 
231                <a href="mailto:webmaster@opensuse.org">Feedback</a>
232                <br />
233                <br />
234                <a href="http://www.novell.com/linux/"><img src="http://static.opensuse.org/c/images/common/founded_novell.gif" alt="Founded by Novell" /></a>
235                <!-- End Footer -->
236               </div>
237              </div>
238              <div class="box_bottom_row">
239               <div class="box_left"></div>
240               <div class="box_right"></div>
241              </div>
242             </div>
243            </div>
244           </div>
245           <!-- Begin right content column -->
246           <div class="c25r">
247            <div class="subcr">
248              <% if @right_box == :search -%>
249              <div class="orange_box">
250                <div class="box_top_row">
251                  <div class="box_left"></div>
252                  <div class="box_right"></div>
253                </div>
254                <div class="box_title_row">
255                  <div class="box_title">
256                    <%=_("Package Search")%>
257                  </div>
258                </div>
259              <div class="box_content" id="search_os">
260              <div id="get_software">
261                     <%= link_to "", {:controller => 'search'}, {:class => 'search_form', :style => 'display: block; width: 100%; height: 100px;', :title => _("Search Build Service")}  %>
262                     <%=_("Search for and install additional software packages from the openSUSE Build Service.")%>
263              </div>
264            </div>
265            <div class="box_bottom_row">
266              <div class="box_left"></div>
267              <div class="box_right"></div>
268            </div>
269            </div>
270                 <br />
271                 <% else -%>
272
273            <div class="orange_box">
274         <div class="box_top_row">
275           <div class="box_left"></div>
276           <div class="box_right"></div>
277         </div>
278         <div class="box_title_row">
279           <div class="box_title">
280              <%=_("Get openSUSE")%>
281           </div>
282          </div>
283          <div class="box_content" id="get_os">
284             <div id="download_os">
285                     <%= link_to "", {:controller => 'main', :action => :index}, {:class => 'download_os_link', :style => 'display: block; width: 100%; height: 100px;'}  %>
286       </div>
287     </div>
288     <div class="box_bottom_row">
289       <div class="box_left"></div>
290           <div class="box_right"></div>
291         </div>
292       </div>
293             <br />
294             <% end -%>
295             <div class="orange_box">
296              <div class="box_top_row">
297               <div class="box_left"></div>
298               <div class="box_right"></div>
299              </div>
300              <div class="box_title_row">
301               <div class="box_title">
302               <%=_("Sponsored by")%>
303               </div>
304              </div>
305              <div class="box_content" id="platin_sponsor">
306               <div style="text-align: center; padding: 7px 0; overflow: hidden;">
307                 
308                 <p style="color: #ccc; font-size: 0.8em;"><%=_("Gold Sponsor")%></p>
309                 <p>
310                   <a href="http://en.opensuse.org/Sponsors"><img src="http://static.opensuse.org/c/images/common/Amd.png" title="<%=_("Sponsored by AMD")%>" alt="<%=_("Sponsored by AMD")%>"/></a>
311                   <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>
312                 </p>
313                 <p style="color: #ccc; font-size: 0.8em;"><%=_("Silver Sponsor")%></p>
314                 <p>
315                   <a class="external text" rel="nofollow" title="http://en.opensuse.org/Sponsors" href="http://en.opensuse.org/Sponsors"><img alt="B1-systems.jpg" src="http://static.opensuse.org/c/images/common/B1-systems-1.jpg"/></a>
316                 </p>
317               </div>
318              </div>
319              <div class="box_bottom_row">
320               <div class="box_left"></div>
321               <div class="box_right"></div>
322              </div>
323             </div>
324             <br />
325
326             <div class="orange_box">
327              <div class="box_top_row">
328               <div class="box_left"></div>
329               <div class="box_right"></div>
330              </div>
331              <div class="box_title_row">
332               <div class="box_title">
333                <%=_("Buy openSUSE")%>
334               </div>
335              </div>
336              <div class="box_content" id="buy">
337                <div style="text-align: center; padding: 15px 0;">
338                  <a href="http://en.opensuse.org/Buy_openSUSE"><img src="http://static.opensuse.org/c/images/common/openSUSE11.1_Box.jpg" title="<%=_("Buy openSUSE 11.1")%>" alt="<%=_("Buy openSUSE 11.1")%>"/></a>
339                </div>
340                <p>
341                  <strong><a href="http://en.opensuse.org/Buy_openSUSE" title="Buy openSUSE" style="text-decoration: none;"><%=_("Buy openSUSE 11.1!")%></a></strong>
342                  <!-- <br />
343                  <strong style="color: #690;">Receive free shipment for USA till Jan 5!</strong>-->
344                </p>
345                <%=_("For users new to Linux, the supported version of openSUSE may be the best choice&mdash;you'll get complete end-user documentation, installable media for 32 Bit and 64 Bit systems, plus 90 days of end-user installation support.")%>
346                <%=_("openSUSE 11.1 is available at several <a href=\"http://en.opensuse.org/Buy_openSUSE\">online</a> shops or at local resellers.")%>
347              </div>
348              <div class="box_bottom_row">
349               <div class="box_left"></div>
350               <div class="box_right"></div>
351              </div>
352             </div>
353             <br />
354
355            </div>
356           </div>
357           <!-- End right content column -->
358          </div>
359         </div>
360        </div>
361       </div>
362       <!-- IE Column Clearing -->
363       <div id="ie_clearing">&nbsp;</div>
364       <!-- Ende: IE Column Clearing -->
365      </div>
366      <!-- End middle column -->
367     </div>
368     <!-- End 2 cloumn main part -->
369    </div>
370   </div>
371   <script type="text/javascript" src="http://www.novell.com/inc/superstats.js"></script>
372   <noscript><img src="https://novellcom.112.2O7.net/b/ss/novellcom/1/G.6--NS/0" height="1" width="1" alt="" /></noscript>
373   <% if @right_box == :search -%>
374   <!--[if lte IE 7]>
375     <script type="text/javascript">
376      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.")
377     </script>
378   <![endif]-->
379   <% end -%>
380
381  </body>
382 </html>