vagrant/website/www/source/downloads.html.erb

49 lines
1.3 KiB
Plaintext

---
layout: "inner"
sidebar_current: "downloads"
sidebar_template: "downloads"
sidebar_title: "Download"
page_title: "Download Vagrant"
---
<h2>Download Vagrant</h2>
<div class="downloads">
<div class="description">
<p>
Below are all available downloads for the latest version of Vagrant
(<%= latest_version %>). Please download the proper package for your
operating system and architecture. You can find SHA256 checksums
for packages <a href="https://dl.bintray.com/mitchellh/vagrant/<%= latest_version %>_SHA256SUMS?direct">here</a>.
</p>
</div>
<% if latest_version %>
<% $vagrant_os_order.each do |os| %>
<% downloads = $vagrant_downloads[latest_version] %>
<% if downloads[os] && !downloads[os].empty? %>
<div class="row">
<div class="span8 download">
<div class="icon pull-left"><%= image_tag "/images/icons/icon_#{os}.png" %></div>
<div class="details">
<h2 class="os-name"><%= download_os_human(os) %></h2>
<ul>
<% downloads[os].each do |file| %>
<li><a href="<%= download_url(file) %>"><%= download_arch(file) %></a></li>
<% end %>
</ul>
<div class="clearfix"></div>
</div>
</div>
</div>
<% end %>
<% end %>
<% end %>
<div class="poweredby">
<a href='http://www.bintray.com'>
<img src='http://www.bintray.com/docs/images/poweredByBintray_ColorTransparent.png'>
</a>
</div>
</div>