move the download javascript into an extra file
[opensuse:software-o-o.git] / app / views / main / developer2.rhtml
1 <% 
2 @right_box = :search 
3 @page_title = _("Download %s") % @releasename
4 -%>
5
6 <style>
7   .hidden { display: none; }
8 </style>
9
10 <script language="javascript" type="text/javascript" src="/developer2/download.js"></script>
11 <script languag="javascript">
12   // overwrite in case of changed installation medium
13   var mymedium = "<%= @medium %>";
14 </script>
15
16 <table>
17   <tr>
18     <td width="70%">
19
20       <div class="helplink">
21         <a href="help_media.html" onclick="return popup(this.href,'Media','750','600')" title="<%= _("Popup: Help on Download Media") %>"><%= _("Help") %></a>
22       </div>
23       <h2><%= _("Choose an Installation Medium") %></h2>
24       <%= render(:partial => "change_install", :locals => { :medium => "dvd", :comment => _("DVD is the standard medium for most") }) %>
25       <%= render(:partial => "change_install", :locals => { :medium => "gnome", :comment => _("Live CD with GNOME desktop") }) %>
26       <%= render(:partial => "change_install", :locals => { :medium => "kde", :comment => _("Live CD with KDE desktop") }) %>
27       <%= render(:partial => "change_install", :locals => { :medium => "net", :comment => _("Network installation for experts") }) %>
28     </td>
29     <td>
30
31       <form action="/main/download">
32         <div id="architecture">
33           <h4><%= _("Type of Computer") %></h4>
34           <div class="subcolumns">
35             <label for="i686" id="l_i686">
36               <input name="arch" value="i686" id="i686" checked="checked" type="radio" class="changeiso" /><%=_("32&nbsp;Bit&nbsp;PC")%>
37               <span class="hidden helplink" id="link_32"><a href="#" id="help_32"><%= h(_("Help")) %></a></span><br />
38               <span id="arch_32" class="hidden"><%= _("x86: Computers with e.g. AMD&reg; Sempron or Intel&reg; Celeron&trade;, almost all desktop computers dating 2004 or earlier. This version also runs on 64bit PCs.")%></span>
39             </label>
40             <label for="x86_64" id="l_x86_64" class="">
41               <input name="arch" value="x86_64" id="x86_64" type="radio" class="changeiso" /><%=_("64 Bit PC")%>
42               <span class="hidden helplink" id="link_64"><a href="#" id="help_64"><%= _("Help")%></a></span><br />
43               <span id="arch_64" class="hidden"><%=_("x86-64: Most new computers with e.g. AMD&reg;: Opteron&trade;, Turion&trade; 64, Athlon&trade; 64, or Intel&reg;: Core&trade;2, Pentium&reg; 4 6xx, Pentium&reg; D CPUs.")%></span>
44             </label>
45           </div>
46         </div>
47         <div id="protocol">
48           <div class="helplink">
49             <a href="help_method.html" onclick="return popup(this.href,'Method','750','600')" title="<%=_("Popup: Help on Download Methods")%>"><%=_("Help")%></a>
50           </div>
51           <h4><%=_("Download Method")%></h4>
52           <label><input id="p_http" name="protocol" value="http" checked="checked" type="radio" class="changeiso"/><%=_("Direct Link")%></label>
53           <br/>
54           <label><input id="p_torrent" name="protocol" value="torrent" type="radio" class="changeiso"/><%=_("BitTorrent")%></label>
55           <br/>
56           <label><input id="p_metalink" name="protocol" value="metalink" type="radio" class="changeiso"/><%=_("Metalink")%></label>
57           <br/>
58           <label><input id="p_mirror" name="protocol" value="mirror" type="radio" class="changeiso"/><%=_("Pick Mirror")%></label>
59         </div>
60         <div style="text-align: top; ">
61           <div>
62             <input type="image" src="/images/local/download-icon.png" alt="<%=_("Download")%>" style="width: 250px" id="download"/>
63             <span id="downloadtext"></span>
64           </div>
65           <input type="hidden" name="medium" value="<%= @medium %>"/>
66           <input type="hidden" name="release" value="developer"/>
67         </div>
68       </form>
69 </td></tr></table>
70 </form>
71
72 <hr/>
73
74 <div id="download_links" style="clear: right;">
75   <h2><%=_("Need help?")%></h2>
76   <p class="info_text">
77     <%=_("To download a medium, choose from the installation ways, possibly change the architecture and the download way and choose \"Save file\".")%>
78     <%=_("In case of problems with the download, please <a href=\"http://en.opensuse.org/Download_Help\">refer to the Download Help</a>.")%>
79   </p>
80
81   <h3><%=_("Verify your download (optional)")%></h3>
82   <p>
83     <%=_("Many applications can verify the checksum of a download. To verify your download can be important as it verifies you really have got the ISO file you wanted to download and not some broken version. We offer three different checksums:")%>
84   </p>
85   <noscript>
86     <dl>
87       <dt><%=_("gpg signature")%></dt>
88       <dd><%=_("offers the most security as you can verify who signed it. It should be")%> <tt>79C1 79B2 E1C8 20C1 890F  9994 A84E DAE8 9C80 0ACA</tt>.
89         (<a id="sig_gpg" href="<%= @directory %>/iso/openSUSE-<%= @isos[@medium + "-32"] %>.iso.asc">32 Bit</a> or <a id="sig_gpg" href="<%= @directory %>/iso/openSUSE-<%= @isos[@medium + "-64"] %>.iso.asc">64 Bit</a>)
90       </dd>
91       <dt><%=_("md5 checksum")%></dt>
92       <dd><%=_("is still the most commonly used checksum. Many ISO burners display it right before burning.")%> (<a id="sig_md5" href="<%= @directory %>/iso/openSUSE-<%= @isos[@medium + "-32"] %>.iso.md5">32 Bit</a> or <a id="sig_md5" href="<%= @directory %>/iso/openSUSE-<%= @isos[@medium + "-64"] %>.iso.md5">64 Bit</a>)</dd>
93       <dt><%=_("sha1 checksum")%></dt>
94       <dd><%=_("is the less known but more secure checksum than md5.")%> (<a id="sig_sha1" href="<%= @directory %>/iso/openSUSE-<%= @isos[@medium + "-32"] %>.iso.sha1">32 Bit</a> or <a id="sig_sha1" href="<%= @directory %>/iso/openSUSE-<%= @isos[@medium + "-64"] %>.iso.sha1">64 Bit</a>)</dd>
95     </dl>
96   </noscript>
97   <ul class="hidden script_only">
98     <li><a id="sig_gpg" href="#"><%=_("gpg signature")%></a> <%=_("offers the most security as you can verify who signed it. It should be .")%><tt>79C1 79B2 E1C8 20C1 890F  9994 A84E DAE8 9C80 0ACA</tt>.</li>
99     <li><a id="sig_md5" href="#"><%=_("md5 checksum")%></a> <%=_("is still the most commonly used checksum. Many ISO burners display it right before burning..")%></li>
100     <li><a id="sig_sha1" href="#"><%=_("sha1 checksum")%></a> <%=_("is the less known but more secure checksum than md5..")%></li>
101   </ul>
102
103   <h3><%=_("Add-On Downloads (optional)")%></h3>
104   <p>
105     <div class="media">
106       <table><tr>
107           <noscript>
108             <td>
109               <%= render(:partial => "download_link2", :locals => { :id => "lang32", :iso => "lang-32", :text => _("Extra Languages (32 Bit)") } ) %>
110             </td><td>
111               <%= render(:partial => "download_link2", :locals => { :id => "lang64", :iso => "lang-64", :text => _("Extra Languages (64 Bit)") } ) %>
112             </td>
113           </noscript>
114           <td class="hidden script_only">
115             <%= render(:partial => "download_link2", :locals => { :id => "lang", :iso => "lang-32", :text => _("Extra Languages") } ) %>
116           </td>
117           <td>
118             <%= render(:partial => "download_link2", :locals => { :id => "nonoss", :iso => "nonoss", :text => _("NonOSS CD") } )%>
119           </td>
120       </tr></table>
121     </div>
122   </p>
123 </div>
124 <div id="download_help" class="info_text">
125   <h3><%=_("How to Proceed")%></h3>
126   <ol style="list-style-type:lower-latin">
127     <li><%=_("After having successfully downloaded the ISO image(s), burn the image(s) with your favorite burning application to a DVD or CD. Please do <em>not</em> burn a data DVD/CD, but rather choose the option to burn an ISO image.")%>
128     <a href="<%= _("http://en.opensuse.org/Download_Help#Burn_the_ISO_Image.28s.29")%>"><%=_("More information")%></a></li>
129     <li><%=_("Boot from the DVD or CD. In case your computer does not automatically boot from CD/DVD, open the BIOS setup to allow booting from CD or DVD.")%></li>
130     <li><%=_("Instructions are available as follows:")%>
131       <dl>
132         <dt><%=_("Installation from DVD/CD:")%></dt>
133         <dd>
134           <a href="http://www.novell.com/documentation/opensuse110/opensuse110_startup/data/opensuse110_startup.html"><%=_("Official %s Start-Up guide") % @releasename %></a>
135           <br />
136           <a href="<%= _("http://en.opensuse.org/INSTALL_Local")%>"><%=_("Step-by-step installation guide")%></a>
137         </dd>
138         <dt><%=_("Network Installation")%></dt>
139         <dd>
140           <%= '<a href="%s">%s</a>' % [h(_("http://en.opensuse.org/INSTALL_Internet")) , h(_("Internet Installation"))] %>
141         </dd>
142       </dl>
143     </li>
144   </ol>
145 </div>
146 <div id="download_help" class="info_text">
147   <h3><%=_("Additional Information")%></h3>
148   <%= render(:partial => "eula_link") %>
149 </div> 
150