summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-04-29 12:23:22 +0200
committerAzul <azul@leap.se>2014-04-29 12:23:22 +0200
commitc75268538a63692a371fd03a999721f252af2a98 (patch)
treee98ca189d4bf954a13aba6b9eae719c2e2fec9d4 /app
parent55fcdd3975baf6f6e167ab5164203ab9a2245186 (diff)
simplify download button
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/leap.scss2
-rw-r--r--app/views/common/_download_button.html.haml4
2 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/stylesheets/leap.scss b/app/assets/stylesheets/leap.scss
index 4c0dfe3..2a0c100 100644
--- a/app/assets/stylesheets/leap.scss
+++ b/app/assets/stylesheets/leap.scss
@@ -231,13 +231,13 @@ input, textarea {
.download {
a.btn {
width: 14em;
+ font-weight: bold;
small {
font-weight: normal;
}
}
}
a.btn {
- font-weight: bold;
width: 11em;
margin: 10px auto;
display: block;
diff --git a/app/views/common/_download_button.html.haml b/app/views/common/_download_button.html.haml
index 157c40a..e57c56b 100644
--- a/app/views/common/_download_button.html.haml
+++ b/app/views/common/_download_button.html.haml
@@ -2,5 +2,7 @@
.row-fluid.first
.span2
.download.span8
- = render partial: 'common/download_for_os', collection: available_clients + ['other']
+ = link_to client_download_url, class: "btn btn-large btn-primary" do
+ = big_icon('download')
+ = t(:download_client)
.span2