diff options
author | Azul <azul@leap.se> | 2014-04-29 12:34:32 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-04-29 12:34:32 +0200 |
commit | 5b3d92e40000e14c913c52227b5a717201cc5074 (patch) | |
tree | e77e5c8b9f4d5ffd075187bcd01c718f6762cd77 /app | |
parent | 8219db0c388f8b8caf7293cbd60086a1aeef8eb4 (diff) |
remove os specific download buttons
keeping the platform detection for now.
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/leap.scss | 59 | ||||
-rw-r--r-- | app/views/common/_download_for_os.html.haml | 17 |
2 files changed, 0 insertions, 76 deletions
diff --git a/app/assets/stylesheets/leap.scss b/app/assets/stylesheets/leap.scss index 2a0c100..d4db879 100644 --- a/app/assets/stylesheets/leap.scss +++ b/app/assets/stylesheets/leap.scss @@ -44,65 +44,6 @@ } // -// OS specific -// - -.os-android { - display: none !important; -} - -html.android .os-android { - display: inherit !important; -} - -.os-linux { - display: none !important; -} - -html.linux .os-linux { - display: inherit !important; -} - -// .os-linux32 { -// display: none !important; -// } -// html.linux32 .os-linux32 { -// display: inherit !important; -// } -// .os-linux64 { -// display: none !important; -// } -// html.linux64 .os-linux64 { -// display: inherit !important; -// } - -.os-windows { - display: none !important; -} - -html.windows .os-windows { - display: inherit !important; -} - -.os-osx { - display: none !important; -} - -html.osx .os-osx { - display: inherit !important; -} - -.os-other { - display: none !important; -} - -html.oldmac, html.oldwin, html.ios, html.fxos, html.other { - .os-other { - display: inherit !important; - } -} - -// // ICONS // diff --git a/app/views/common/_download_for_os.html.haml b/app/views/common/_download_for_os.html.haml deleted file mode 100644 index 3a11d10..0000000 --- a/app/views/common/_download_for_os.html.haml +++ /dev/null @@ -1,17 +0,0 @@ -- os = download_for_os -%div{:class => "os-#{os}"} - %span.link - - btn_class = (os == "other") ? "disabled" : "btn-primary" - = link_to client_download_url(os), :class => "btn btn-large #{btn_class}" do - = 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 - - if os == "other" - = t(:all_downloads_info, :clients => alternative_client_links(os).to_sentence).html_safe - - else - = t(:other_downloads_info, :clients => alternative_client_links(os).to_sentence).html_safe |