dash-docs/_templates/download.html
Saivann 1babe1c413 Add bootstrap.dat to the download page
Mention short instructions about how to use bootstrap.dat
Add a warning icon and title to grab attention to the text
2013-11-30 23:26:49 -05:00

45 lines
3.8 KiB
HTML
Executable file

---
layout: base
id: download
---
<link rel="alternate" type="application/rss+xml" href="/en/rss/releases.rss" title="Bitcoin-Qt releases">
<div class="download">
<h1>{% translate pagetitle %}</h1>
<h2>{% translate latestversion %}{{site.DOWNLOAD_VERSION}}<a type="application/rss+xml" href="/en/rss/releases.rss"><img src="/img/icon_rss.svg" alt="rss" class="rssicon"></a></h2>
<div class="mainbutton"><a id="downloadbutton" href="http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-{{site.DOWNLOAD_VERSION}}/bitcoin-{{site.DOWNLOAD_VERSION}}-win32-setup.exe/download"><img src="/img/but_windows.svg" alt="icon">{% translate download %}</a></div>
<div class="downloadbox">
<p>{% translate downloados %}</p>
<div><img src="/img/dow-win.png" alt="windows"> <a href="http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-{{site.DOWNLOAD_VERSION}}/bitcoin-{{site.DOWNLOAD_VERSION}}-win32.zip/download">{% translate downloadwinzip %}</a> <small>~16MB</small></div>
<div id="download_windows"><img src="/img/dow-win.png" alt="windows"> <a href="http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-{{site.DOWNLOAD_VERSION}}/bitcoin-{{site.DOWNLOAD_VERSION}}-win32-setup.exe/download">{% translate downloadwinexe %}</a> <small>~12MB</small></div>
<div><img src="/img/dow-ubuntu.png" alt="ubuntu"> <a href="https://launchpad.net/~bitcoin/+archive/bitcoin">{% translate downloadubu %}</a> <small>~4MB</small></div>
<div><img src="/img/dow-linux.png" alt="linux"> <a href="http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-{{site.DOWNLOAD_VERSION}}/bitcoin-{{site.DOWNLOAD_VERSION}}-linux.tar.gz/download">{% translate downloadlin %}</a> <small>~16MB</small></div>
<div><img src="/img/dow-osx-uni.png" alt="osx"> <a href="http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-{{site.DOWNLOAD_VERSION}}/bitcoin-{{site.DOWNLOAD_VERSION}}-macosx.dmg/download">{% translate downloadmac %}</a> <small>~14MB</small></div>
{% case page.lang %}
{% when 'ar' or 'de' or 'es' or 'fa' or 'id' or 'it' or 'nl' or 'pl' or 'ru' or 'tr' or 'zh_CN' or 'zh_TW' %}
<div><img src="/img/dow_sig.svg" alt="signature"> <a href="http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-{{site.DOWNLOAD_VERSION}}/SHA256SUMS.asc/view">{% translate downloadsig download en %}</a></div>
{% else %}
<div><img src="/img/dow_sig.svg" alt="signature"> <a href="http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-{{site.DOWNLOAD_VERSION}}/SHA256SUMS.asc/view">{% translate downloadsig %}</a></div>
{% endcase %}
<div><span></span> <a href="https://github.com/bitcoin/bitcoin">{% translate downloadsource %}</a> (GitHub)</div>
<p><a href="/en/version-history">{% translate versionhistory %}</a></p>
</div>
{% case page.lang %}
{% when 'ar' or 'de' or 'es' or 'fa' or 'fr' or 'id' or 'it' or 'nl' or 'pl' or 'ru' or 'tr' or 'zh_CN' or 'zh_TW' %}
{% else %}
<h2><img src="/img/warning.svg" class="warningicon">{% translate patient %}</h2>
{% endcase %}
<p>{% translate notesync %}</p>
<p>{% translate notelicense %}</p>
</div>
<script type="text/javascript">
var os='windows';
if(navigator.userAgent.indexOf('Mac')!=-1)var os='mac'
if(navigator.userAgent.indexOf('Linux')!=-1)var os='ubuntu';
var but=document.getElementById('downloadbutton');
but.getElementsByTagName('IMG')[0].src='/img/but_'+os+'.svg';
switch(os){
case 'windows':but.href='http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-{{site.DOWNLOAD_VERSION}}/bitcoin-{{site.DOWNLOAD_VERSION}}-win32-setup.exe/download';break;
case 'ubuntu':but.href='https://launchpad.net/~bitcoin/+archive/bitcoin';break;
case 'mac':but.href='http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-{{site.DOWNLOAD_VERSION}}/bitcoin-{{site.DOWNLOAD_VERSION}}-macosx.dmg/download';break;
}
</script>