update wiki links
[opensuse:software-o-o.git] / app / views / main / _change_install.rhtml
1 <div class="medium_wrapper">
2   <noscript>
3     <% form_tag({:controller => "main", :action => 'change_install'}, :method => "get") do -%>
4       <input name="release" value="<%= @release %>" type="hidden" />
5       <input name="lang" value="<%= @lang %>" type="hidden"/>
6       <button name="medium" value="<%= medium %>" style="width: 630px; margin-bottom: 20px; background: #ccc" class="changeiso">
7         <div>
8           <p>
9             <%= image_tag "/images/" + medium + "_icon.png", :style=> "width: 64px; height: 64px; margin: 5x; float: left", :alt=>"" %>
10             <span style="font-size: 120%; font-weight: bold; height: 60px"><%= shorttext %></span>
11             <br/>
12             <span style="font-size: 90%; font-weight: 500"><%= longtext %></span>
13           </p>
14         </div>
15       </button>
16     <% end %>
17   </noscript>
18
19   <div id="ci_<%= medium %>" class="hidden changeiso script_only <%= if @medium == medium then 'medium_selected' else 'medium_unselected' end %> ">
20     <%= if @medium == medium then iclass='icon_selected' else iclass='icon_unselected' end
21     image_tag("/images/" + medium + "_icon.png", :alt => "", :id => "icon_" + medium, :class => iclass) %>
22     <div>
23       <span style="font-size: 120%; font-weight: bold"><%= shorttext %></span>
24       <br/>
25       <span style="font-size: 90%; font-weight: 500"><%= longtext %></span>
26     </div>
27   </div>
28
29 </div>
30
31 <% if medium == "derivatives" %>
32   <div <%= 'class="script_only hidden"' if @medium != medium %> >
33     <div id="derivativesDiv">
34       <%= _('Some of the live distributions based on openSUSE. Those interested in trying to build their own derivatives can take a look at <a href="http://susestudio.com/">SUSE Studio</a>.') %>
35       <br/>
36       <a class="download_buttonClass" href="<%= _('http://en.opensuse.org/Derivatives') %>" style="text-decoration:none;padding:6px;padding-bottom:4px;float:right" ><%= _('see Derivatives on wiki') %></a>
37     </div>
38   </div>
39 <% else -%>
40   <% if @medium == medium -%>
41     <%= render :partial => "options" %>
42   <% else -%>
43     <div>
44     </div>
45   <% end -%>
46
47 <% end %>