- make the whole thing generic so it can also be used
[opensuse:software-o-o.git] / app / views / main / developer2.rhtml
1 <% 
2 @right_box = :search 
3 @page_title = _("Download %s") % @releasename
4 -%>
5
6 <script language="javascript" type="text/javascript" src="/<%= @release %>/download.js"></script>
7 <script language="javascript" type="text/javascript">
8   // overwrite in case of changed installation medium
9   var mymedium = "<%= @medium %>";
10 </script>
11
12 <div style="margin-top: 1em; padding: 0">
13
14 <div id="popup" style="display: none;">
15 <a href="#" id="popup_close" style="display: block; float: right; padding: 10px">Close</a>
16 <div id="popup_content"></div>
17 </div>
18
19 <div style="float: right; width: 14em;">
20       <form action="/main/download">
21         <div>
22           <h4><%= _("Type of Computer") %><img src="/images/local/help-browser.png" id="help_arch" class="help_icon" alt="?"/></h4>
23           <div>
24             <label class="l_change"><input id="i686" name="arch" value="i686" checked="checked" type="radio" class="changeiso" /><%=_("32&nbsp;Bit&nbsp;PC")%></label>
25             <label class="l_change"><input id="x86_64" name="arch" value="x86_64" type="radio" class="changeiso" /><%=_("64 Bit PC")%></label>
26             <div id="help_arch_content" class="hidden">
27               <h2><%=_("Help on Type of Computer")%></h2>
28               <p>
29               <%= _("openSUSE only supports PCs with 32 Bits and 64 Bits.") %>
30               </p>
31               <h3><%=_("64 Bit PC")%></h3>
32               <p>
33               <%= _("Most new computers support <a href=\"http://en.wikipedia.org/wiki/X86-64\">x86-64</a> (also known as AMD64 and Intel64), but some laptop processors and netbook processors do not support it. So you need to check wikipedia if you want to be sure your computer supports it.") %>
34               </p>
35               <h3><%=_("32 Bit PC")%></h3>
36               <p>
37               <%= _("This version runs on all PCs including those that support 64 Bit. If you have more than 3 GB of RAM you should prefer the 64 Bit version though. openSUSE does not support processors before Pentium - the live CDs even support only i686 (Pentium Pro and later).") %>
38               </p>
39             </div>
40           </div>
41         </div>
42         <div>
43           <h4><%=_("Download Method")%><img src="/images/local/help-browser.png" id="help_method" class="help_icon" alt="?"/></h4>
44           <label class="l_change"><input id="p_http" name="protocol" value="http" checked="checked" type="radio" class="changeiso"/><%=_("Direct Link")%></label>
45           <label class="l_change <%= if @medium == 'net': "notavailable" end %>" id="l_torrent"><input id="p_torrent" name="protocol" value="torrent" type="radio" class="changeiso"/><%=_("BitTorrent")%></label>
46           <label class="l_change"><input id="p_metalink" name="protocol" value="metalink" type="radio" class="changeiso"/><%=_("Metalink")%></label>
47           <label class="l_change"><input id="p_mirror" name="protocol" value="mirror" type="radio" class="changeiso"/><%=_("Pick Mirror")%></label>
48    <div class="hidden" id="help_method_content">
49    <h2><%=_("Help on Download Method")%></h2>
50    <p>
51      <%=_("openSUSE is available via http (direct link) or BitTorrent. The CD for network installation is only vailable via http.")%>
52    </p>
53    <h3><%=_("Direct Link")%></h3>
54    <p>
55     <%=_("When downloading images other than the CD for network installation, it is <i>strongly</i> recommended to use a proper download manager to reduce the risk of corrupted data.")%>
56    </p>
57    <h3><%=_("BitTorrent")%></h3>
58    <p>
59     <%=_("Using BitTorrent is recommended on slow links, especially when downloading the DVD image. BitTorrent downloads have several benefits, the clients protect against data corruption and you help relieving the load on the servers by participating in the upload - if enough people participate it will also be faster than the centralized servers - for everybody. Whatsmore, it allows you to stop the download at any time and resume it later. More information is available at <a href=\"http://en.opensuse.org/BitTorrent_and_openSUSE\">BitTorrent and openSUSE</a>.")%>
60    </p>
61    <h3><%=_("Metalink")%></h3>
62    <p>
63     <%=_("<a href=\"http://en.opensuse.org/Metalink\">Metalink</a> is an open standard that bundles the various ways (FTP/HTTP/BitTorrent) to get files into one format for easier downloads. This makes it good for downloading ISOs; particularly for people who can't use P2P because of restrictions from their ISP or University. It can deliver very fast download speeds since most clients support multiple connections, to multiple mirrors, automatically. In addition, it can do automatic error detection, and correction. It needs a special client to handle it though.")%>
64    </p>
65    <h3><%=_("Pick Mirror")%></h3>
66    <p>
67      <%=_("If you want to use a direct link but live in a place in the world where our download redirector has not enough information to redirect to the fastest mirror, you can pick a mirror yourself.")%>
68    </p>
69   </div>
70   </div>
71         <div>
72           <p>
73             <button id="download_button">
74               <%= _("Download") %>
75             </button>
76             <span class="hidden" id="download_kde"><span id="download-icon"> </span><%= _("Download&nbsp;KDE") %></span>
77             <span class="hidden" id="download_gnome"><%= _("Download&nbsp;GNOME") %></span>
78             <span class="hidden" id="download_dvd"><%= _("Download&nbsp;DVD") %></span>
79             <span class="hidden" id="download_net"><%= _("Download&nbsp;Network") %></span>
80             <input type="hidden" name="medium" value="<%= @medium %>"/>
81             <input type="hidden" name="release" value="<%= @release %>"/>
82           </p>
83         </div>
84       </form>
85 </div>
86
87 <div id="iso-wrapper">
88       <h4 style="margin-bottom: 15px"><%= _("Installation Medium") %></h4>
89        <%= render(:partial => "change_install", :locals => { :medium => "dvd", :shorttext => _("4.7GB DVD"), :longtext => _("Contains a large collection of software for desktop or server use. Suitable for installation or upgrade.") }) %>
90       <%= render(:partial => "change_install", :locals => { :medium => "gnome", :shorttext => _("Live GNOME"), :longtext => _("A GNOME desktop you can run from CD or from USB stick. Can be installed as is (no upgrade).") }) %>
91       <%= render(:partial => "change_install", :locals => { :medium => "kde", :shorttext => _("Live KDE"), :longtext => _("A KDE desktop you can run from CD or from USB stick. Can be installed as is (no upgrade).") }) %>
92       <%= render(:partial => "change_install", :locals => { :medium => "net", :shorttext => _("Network"), :longtext => _("Downloads the installation system and all packages from online repositories.  Suitable for installation or upgrade.") }) %>
93 </div>
94
95 </div>
96
97 <hr style="clear: both"/>
98
99 <div id="download_links">
100   <p class="info_text">
101   <%=_("Choose an installation medium by clicking it and hit the Download button to start the download. Optionally choose your computer type or an alternative download method.") %>
102   </p>
103   <h3><%=_("Need help?")%></h3>
104   <p>
105   <%= _("More information on downloading openSUSE is available from the <a href=\"http://en.opensuse.org/Download_Help\">Download Help.</a>") %>
106   </p>
107
108   <h3><%=_("Verify your download (optional, for experts)")%></h3>
109   <p class="info_text">
110     <%=_("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:")%>
111   </p>
112   <noscript>
113     <dl>
114       <dt><%=_("gpg signature")%></dt>
115       <dd><%=_("offers the most security as you can verify who signed it. It should be <tt>%s</tt>.") % "79C1 79B2 E1C8 20C1 890F  9994 A84E DAE8 9C80 0ACA" %>
116         (<a href="<%= @directory %>/iso/openSUSE-<%= @isos[@medium + "-32"] %>.iso.asc">32 Bit</a> or <a href="<%= @directory %>/iso/openSUSE-<%= @isos[@medium + "-64"] %>.iso.asc">64 Bit</a>)
117       </dd>
118       <dt><%=_("md5 checksum")%></dt>
119       <dd><%=_("is still the most commonly used checksum. Many ISO burners display it right before burning.")%> (<a href="<%= @directory %>/iso/openSUSE-<%= @isos[@medium + "-32"] %>.iso.md5">32 Bit</a> or <a href="<%= @directory %>/iso/openSUSE-<%= @isos[@medium + "-64"] %>.iso.md5">64 Bit</a>)</dd>
120       <dt><%=_("sha1 checksum")%></dt>
121       <dd><%=_("is the less known but more secure checksum than md5.")%> (<a href="<%= @directory %>/iso/openSUSE-<%= @isos[@medium + "-32"] %>.iso.sha1">32 Bit</a> or <a href="<%= @directory %>/iso/openSUSE-<%= @isos[@medium + "-64"] %>.iso.sha1">64 Bit</a>)</dd>
122     </dl>
123   </noscript>
124   <ul class="hidden script_only">
125     <li><a id="sig_gpg" href="#"><%=_("gpg signature")%></a> <%=_("offers the most security as you can verify who signed it. It should be <tt>%s</tt>.") % "79C1 79B2 E1C8 20C1 890F  9994 A84E DAE8 9C80 0ACA" %></li>
126     <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>
127     <li><a id="sig_sha1" href="#"><%=_("sha1 checksum")%></a> <%=_("is the less known but more secure checksum than md5.")%></li>
128   </ul>
129
130   <h3><%=_("Add-On Downloads (optional)")%></h3>
131    <table><tr>
132     <td class="noscript">
133       <%= render(:partial => "download_link2", :locals => { :id => "lang32", :iso => "lang-32", :text => _("Extra Languages (32 Bit)") } ) %>
134     </td>
135     <td class="noscript">
136       <%= render(:partial => "download_link2", :locals => { :id => "lang64", :iso => "lang-64", :text => _("Extra Languages (64 Bit)") } ) %>
137     </td>
138           <td class="hidden script_only">
139             <%= render(:partial => "download_link2", :locals => { :id => "lang", :iso => "lang-32", :text => _("Extra Languages") } ) %>
140           </td>
141           <td>
142             <%= render(:partial => "download_link2", :locals => { :id => "nonoss", :iso => "nonoss", :text => _("NonOSS CD") } )%>
143           </td>
144       </tr></table>
145 </div>
146 <div id="download_help" class="info_text">
147   <h3><%=_("How to Proceed")%></h3>
148   <ol style="list-style-type:lower-latin">
149     <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.")%>
150     <a href="<%= _("http://en.opensuse.org/Download_Help#Burn_the_ISO_Image.28s.29")%>"><%=_("More information")%></a></li>
151     <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>
152     <li><%=_("Instructions are available as follows:")%>
153       <dl>
154         <dt><%=_("Installation from DVD/CD:")%></dt>
155         <dd>
156           <a href="http://www.novell.com/documentation/opensuse110/opensuse110_startup/data/opensuse110_startup.html"><%=_("Official %s Start-Up guide") % @releasename %></a>
157           <br />
158           <a href="<%= _("http://en.opensuse.org/INSTALL_Local")%>"><%=_("Step-by-step installation guide")%></a>
159         </dd>
160         <dt><%=_("Network Installation")%></dt>
161         <dd>
162           <%= '<a href="%s">%s</a>' % [h(_("http://en.opensuse.org/INSTALL_Internet")) , h(_("Internet Installation"))] %>
163         </dd>
164       </dl>
165     </li>
166   </ol>
167 </div>
168 <div class="info_text">
169   <h3><%=_("Additional Information")%></h3>
170   <%= render(:partial => "eula_link") %>
171 </div> 
172