From 1eb7d8b27728febe325cfa7ecde5f84ef45dcba0 Mon Sep 17 00:00:00 2001 From: elijah Date: Thu, 16 Jan 2014 00:08:47 -0800 Subject: switch to using dl.bitmask.net --- app/assets/stylesheets/leap.scss | 14 +++++++------- config/defaults.yml | 17 +++++++---------- core/app/views/common/_download_for_os.html.haml | 9 +++++---- core/config/locales/en.yml | 3 ++- public/leap-img/32/arrow-down.png | Bin 453 -> 0 bytes public/leap-img/32/download.png | Bin 0 -> 616 bytes public/leap-img/64/download.png | Bin 0 -> 1078 bytes 7 files changed, 21 insertions(+), 22 deletions(-) delete mode 100644 public/leap-img/32/arrow-down.png create mode 100644 public/leap-img/32/download.png create mode 100644 public/leap-img/64/download.png diff --git a/app/assets/stylesheets/leap.scss b/app/assets/stylesheets/leap.scss index abfea05..02b6241 100644 --- a/app/assets/stylesheets/leap.scss +++ b/app/assets/stylesheets/leap.scss @@ -110,9 +110,9 @@ html.oldmac, html.oldwin, html.ios, html.fxos, html.other { [class^="big-icon-"], [class*=" big-icon-"] { - width: 32px; - height: 32px; - line-height: 32px; + width: 64px; + height: 64px; + line-height: 64px; } [class^="huge-icon-"], @@ -122,14 +122,14 @@ html.oldmac, html.oldwin, html.ios, html.fxos, html.other { line-height: 128px; } - -.big-icon-arrow-down { - background-image: url(/leap-img/32/arrow-down.png) +.big-icon-download { + height: 42px; + background: url(/leap-img/64/download.png) 50% 50%; } .huge-icon-mask { height: 64px; - background-image: url(/leap-img/128/mask.png) + background-image: url(/leap-img/128/mask.png); } // diff --git a/config/defaults.yml b/config/defaults.yml index 6e14623..cb18795 100644 --- a/config/defaults.yml +++ b/config/defaults.yml @@ -14,21 +14,18 @@ cert_options: &cert_options unlimited_cert_prefix: "UNLIMITED" downloads: &downloads - client_download_domain: https://downloads.leap.se + client_download_domain: https://dl.bitmask.net available_clients: - - linux32 - - linux64 + - linux - osx - windows - android download_paths: - android: /client/android/Bitmask-Android-latest.apk - linux: /client/linux - linux32: /client/linux/Bitmask-linux32-latest.tar.bz2 - linux64: /client/linux/Bitmask-linux64-latest.tar.bz2 - osx: /client/osx/Bitmask-OSX-latest.dmg - windows: /client/windows/Bitmask-win32-latest.zip - other: /client + android: /android/ + linux: /linux/ + osx: /mac/ + windows: /windows/ + other: / common: &common force_ssl: false diff --git a/core/app/views/common/_download_for_os.html.haml b/core/app/views/common/_download_for_os.html.haml index 4c096ce..3a11d10 100644 --- a/core/app/views/common/_download_for_os.html.haml +++ b/core/app/views/common/_download_for_os.html.haml @@ -3,10 +3,11 @@ %span.link - btn_class = (os == "other") ? "disabled" : "btn-primary" = link_to client_download_url(os), :class => "btn btn-large #{btn_class}" do - .pull-left= huge_icon('mask') - = t(:download_client) - %br/ - %small= I18n.t("os.#{os}") + = big_icon('download') + .pull-right + = t(:download_client) + %br/ + %small= I18n.t("os.#{os}") %span.info %div= t(:client_info, :provider => content_tag(:b,APP_CONFIG[:domain])).html_safe %div diff --git a/core/config/locales/en.yml b/core/config/locales/en.yml index 4abf4e8..bb510d4 100644 --- a/core/config/locales/en.yml +++ b/core/config/locales/en.yml @@ -33,8 +33,9 @@ en: os: linux32: "Linux (32 bit)" linux64: "Linux (64 bit)" + linux: "GNU/Linux" windows: "Windows" android: "Android" osx: "Mac OS" - other: "(not available for your OS.)" + other: "(not available for your OS)" diff --git a/public/leap-img/32/arrow-down.png b/public/leap-img/32/arrow-down.png deleted file mode 100644 index 3b16e6d..0000000 Binary files a/public/leap-img/32/arrow-down.png and /dev/null differ diff --git a/public/leap-img/32/download.png b/public/leap-img/32/download.png new file mode 100644 index 0000000..7dc2a68 Binary files /dev/null and b/public/leap-img/32/download.png differ diff --git a/public/leap-img/64/download.png b/public/leap-img/64/download.png new file mode 100644 index 0000000..bac9a85 Binary files /dev/null and b/public/leap-img/64/download.png differ -- cgit v1.2.3