update rake commands to work with out lcn svn
[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">  
11           var mymedium = "<%= @medium %>";
12
13           var mylink = '';
14           var myiso = '';
15           var directory = "<%= @directory %>";
16           var isos = new Array();
17           <% @isos.each { |key, value| %>
18                <%= "isos['#{key}'] = '#{value}';" %>
19           <% } %>
20
21           function changeiso () {
22                 mylink = mymedium;
23                 var arch_suffix = "-64";
24                 if ($('#i686').attr('checked')) {
25                         arch_suffix = "-32";
26                 }
27                 myiso = directory + "/iso/openSUSE-" + isos[mylink + arch_suffix] + ".iso";
28                 mylink = myiso;
29                 var download_suffix = '';
30                 if ($('#p_torrent').attr('checked')) {
31                         download_suffix = ".torrent";
32                 }
33                 if ($('#p_metalink').attr('checked')) {
34                         download_suffix = ".metalink";
35                 }
36                 if ($('#p_mirror').attr('checked')) {
37                         download_suffix = "?mirrorlist";
38                 }
39                 $('#sig_gpg').attr("href", myiso + ".asc");
40                 $('#sig_md5').attr("href", myiso + ".md5");
41                 $('#sig_sha1').attr("href", myiso + ".sha1");
42                 mylink += download_suffix;
43                 $('#downloadtext').html(mylink);
44
45                 var langiso = directory + "/iso/openSUSE-" + isos['lang' + arch_suffix] + ".iso";
46                 $('#md5_lang').attr('href', langiso + ".md5");
47                 $('#sha1_lang').attr('href', langiso + ".sha1");
48                 $('#gpg_lang').attr('href', langiso + ".asc");
49                 $('#iso_lang').attr('href', langiso + download_suffix);
50                 $('#iso_nonoss').attr('href', directory + "/iso/openSUSE-" + isos['nonoss'] + ".iso" + download_suffix);
51           }
52
53           $(function() { 
54           changeiso();
55           $('.helplink').show();
56           $('.script_only').show();
57
58           $('.changeiso').click(function(){  
59                 changeiso(); 
60                 return true; });
61
62           $('button.changeiso').click(function(){  
63                 mymedium = this.id.substr(3);
64                 changeiso();
65                 return false; });
66
67           $('#download').click(function() { 
68                 window.location = mylink;
69                 return false;
70           });
71           $('#help_64').click(function() { $("#arch_64").fadeIn("slow"); $("#link_64").hide();});
72           $('#help_32').click(function() { $("#arch_32").fadeIn("slow"); $("#link_32").hide();});
73           });
74         </script>  
75       <table>
76         <tr>
77           <td width="70%">
78             
79             <div class="helplink">
80               <a href="help_media.html" onclick="return popup(this.href,'Media','750','600')" title="<%= _("Popup: Help on Download Media") %>"><%= _("Help") %></a>
81             </div>
82             <h2><%= _("Choose an Installation Medium") %></h2>
83             <%= render(:partial => "change_install", :locals => { :medium => "dvd", :comment => _("DVD is the standard medium for most") }) %>
84             <%= render(:partial => "change_install", :locals => { :medium => "gnome", :comment => _("Live CD with GNOME desktop") }) %>
85             <%= render(:partial => "change_install", :locals => { :medium => "kde", :comment => _("Live CD with KDE desktop") }) %>
86             <%= render(:partial => "change_install", :locals => { :medium => "net", :comment => _("Network installation for experts") }) %>
87           </td>
88           <td>
89             
90             <form action="/main/download">
91             <div id="architecture">
92               <h4><%= _("Type of Computer") %></h4>
93               <div class="subcolumns">
94                 <label for="i686" id="l_i686">
95                   <input name="arch" value="i686" id="i686" checked="checked" type="radio" class="changeiso" /><%=_("32&nbsp;Bit&nbsp;PC")%>
96                     <span class="hidden helplink" id="link_32"><a href="#" id="help_32"><%= h(_("Help")) %></a></span><br />
97                   <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>
98                 </label>
99                 <label for="x86_64" id="l_x86_64" class="">
100                   <input name="arch" value="x86_64" id="x86_64" type="radio" class="changeiso" /><%=_("64 Bit PC")%> 
101                    <span class="hidden helplink" id="link_64"><a href="#" id="help_64"><%= _("Help")%></a></span><br />
102                   <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>
103                 </label>
104               </div>
105             </div>
106             <div id="protocol">
107               <div class="helplink">
108                 <a href="help_method.html" onclick="return popup(this.href,'Method','750','600')" title="<%=_("Popup: Help on Download Methods")%>"><%=_("Help")%></a>
109               </div>
110               <h4><%=_("Download Method")%></h4>
111               <label><input id="p_http" name="protocol" value="http" checked="checked" type="radio" class="changeiso"/><%=_("Direct Link")%></label>
112               <br/>
113               <label><input id="p_torrent" name="protocol" value="torrent" type="radio" class="changeiso"/><%=_("BitTorrent")%></label>
114               <br/>
115               <label><input id="p_metalink" name="protocol" value="metalink" type="radio" class="changeiso"/><%=_("Metalink")%></label>
116               <br/>
117               <label><input id="p_mirror" name="protocol" value="mirror" type="radio" class="changeiso"/><%=_("Pick Mirror")%></label>
118             </div>
119             <div style="text-align: top; ">
120               <div>
121                  <input type="image" src="/images/local/download-icon.png" alt="<%=_("Download")%>" style="width: 250px" id="download"/>
122                  <span id="downloadtext"></span>
123               </div>
124               <input type="hidden" name="medium" value="<%= @medium %>"/>
125               <input type="hidden" name="release" value="developer"/>       
126             </div>
127           </form>
128           </td></tr></table>
129       </form>
130
131       <hr/>
132
133       <div id="download_links" style="clear: right;">
134         <h2><%=_("Need help?")%></h2>
135         <p class="info_text">
136           <%=_("To download a medium, choose from the installation ways, possibly change the architecture and the download way and choose \"Save file\".")%>
137           <%=_("In case of problems with the download, please <a href=\"http://en.opensuse.org/Download_Help\">refer to the Download Help</a>.")%>
138         </p>
139
140         <h3><%=_("Verify your download (optional)")%></h3>
141         <p> 
142          <%=_("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:")%>
143          </p>
144          <noscript>
145          <dl>
146           <dt><%=_("gpg signature")%></dt>
147           <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>.
148                 (<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>)
149           </dd>
150           <dt><%=_("md5 checksum")%></dt>
151           <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>
152           <dt><%=_("sha1 checksum")%></dt>
153           <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>
154           </dl>
155          </noscript>
156          <ul class="hidden script_only">
157           <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>
158           <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>
159           <li><a id="sig_sha1" href="#"><%=_("sha1 checksum")%></a> <%=_("is the less known but more secure checksum than md5..")%></li>
160           </ul>
161
162         <h3><%=_("Add-On Downloads (optional)")%></h3>
163         <p>
164             <div class="media">
165                 <table><tr>
166                 <noscript>
167                 <td>
168                 <%= render(:partial => "download_link2", :locals => { :id => "lang32", :iso => "lang-32", :text => _("Extra Languages (32 Bit)") } ) %>
169                 </td><td>
170                 <%= render(:partial => "download_link2", :locals => { :id => "lang64", :iso => "lang-64", :text => _("Extra Languages (64 Bit)") } ) %>
171                 </td>
172                 </noscript>
173               <td class="hidden script_only">
174                  <%= render(:partial => "download_link2", :locals => { :id => "lang", :iso => "lang-32", :text => _("Extra Languages") } ) %>
175               </td>
176               <td>
177                  <%= render(:partial => "download_link2", :locals => { :id => "nonoss", :iso => "nonoss", :text => _("NonOSS CD") } )%>
178               </td>
179               </tr></table>
180             </div>
181         </p>
182       </div>
183     <div id="download_help" class="info_text">
184       <h3><%=_("How to Proceed")%></h3>
185       <ol style="list-style-type:lower-latin">
186         <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.")%>
187             <a href="http://en.opensuse.org/Download_Help#Burn_the_ISO_Image.28s.29"><%=_("More information")%></a></li>
188         <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>
189         <li><%=_("Instructions are available as follows:")%>
190           <dl>
191             <dt><%=_("Installation from DVD/CD:")%></dt>
192             <dd>
193               <a href="http://www.novell.com/documentation/opensuse110/opensuse110_startup/data/opensuse110_startup.html"><%=_("Official %s Start-Up guide") % @releasename %></a>
194               <br />
195               <a href="http://en.opensuse.org/INSTALL_Local"><%=_("Step-by-step installation guide")%></a>
196             </dd>
197             <dt><%=_("Network Installation")%></dt>
198             <dd>
199               <%= '<a href="%s">%s</a>' % [h(_("http://en.opensuse.org/INSTALL_Internet")) , h(_("Internet Installation"))] %>
200             </dd>
201           </dl>
202         </li>
203       </ol>
204     </div>
205     <div id="download_help" class="info_text">
206     <h3><%=_("Additional Information")%></h3>
207     <%= render(:partial => "eula_link") %>
208     </div> 
209