Skip to content

Commit

Permalink
Adding download buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-singer committed Nov 8, 2013
1 parent d1e2cf1 commit d5a7199
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/site/_includes/downloads/_dart-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@
<div class="{{ editor.os }} downloads">
{% if editor.os == 'macos' %}
<a data-bits="64" data-os="{{ editor.os }}" data-build="integration" href="{{ site.custom.downloads.dartarchive-stable-url-prefix }}/latest/editor/darteditor-{{ editor.os }}-x64.{{ editor.editor-ext }}">
<button class="btn btn-primary btn-lg">
<button class="{{ include.buttonclass }}">
<i class="icon-download-alt"> </i>
Download Dart ({{ editor.name }})
</button>
</a>
{% else %}
<a data-bits="64" data-os="{{ editor.os }}" data-build="integration" href="{{ site.custom.downloads.dartarchive-stable-url-prefix }}/latest/editor/darteditor-{{ editor.os }}-x64.{{ editor.editor-ext }}">
<button class="btn btn-primary btn-lg">
<button class="{{ include.buttonclass }}">
<i class="icon-download-alt"> </i>
Download Dart (64-bit {{ editor.name }})
</button>
</a>

<a data-bits="32" data-os="{{ editor.os }}" data-build="integration" href="{{ site.custom.downloads.dartarchive-stable-url-prefix }}/latest/editor/darteditor-{{ editor.os }}-ia32.{{ editor.editor-ext }}">
<button class="btn btn-primary btn-lg">
<button class="{{ include.buttonclass }}">
<i class="icon-download-alt"> </i>
Download Dart (32-bit {{ editor.name }})
</button>
Expand Down
5 changes: 2 additions & 3 deletions src/site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
<div class="col-md-10 col-md-offset-1">
<h5>1.0 JUST RELEASED</h5>
<h1>A new language, with tools and libraries, for scalable web app engineering.</h1>
<button type="button" class="btn btn-default btn-lg download-btn">Download</button>
<p class="editor-current-version version">Current version of Dart: <span class="editor-build-rev-stable">[calculating]</span></p>
{% include downloads/_dart-editor.html buttonclass="btn btn-default btn-lg download-btn" %}
</div>
</div>
</div>
Expand Down Expand Up @@ -398,7 +397,7 @@ <h6>Dartium</h6>

<div class="row">
<div class="col-md-12">
{% include downloads/_dart-editor.html %}
{% include downloads/_dart-editor.html buttonclass="btn btn-primary btn-lg" %}
</div>
<aside class="alert alert-info">
<b>Note:</b>
Expand Down

0 comments on commit d5a7199

Please sign in to comment.