diff options
author | elijah <elijah@riseup.net> | 2013-06-23 22:18:28 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-06-23 22:18:28 -0700 |
commit | 7190ef710f246ddd86faed3c62bcfb5026fcbf83 (patch) | |
tree | 2fd0ee912c24556ec936c70850a94cbea8a3c7f7 /core/app/views | |
parent | fdf67344a80fcde0aab21c27d00412eeca609ca1 (diff) |
new home page
Diffstat (limited to 'core/app/views')
-rw-r--r-- | core/app/views/common/_home_page_buttons.html.haml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/core/app/views/common/_home_page_buttons.html.haml b/core/app/views/common/_home_page_buttons.html.haml new file mode 100644 index 0000000..ed70ff7 --- /dev/null +++ b/core/app/views/common/_home_page_buttons.html.haml @@ -0,0 +1,18 @@ +- link_class = 'btn' +- icon_color = :black + +.home-buttons + .row-fluid.first + .login.span6 + %span.link= link_to(icon('ok-sign', icon_color) + t(:login), new_session_path, :class => link_class) + %span.info= t(:login_info) + .signup.span6 + %span.link= link_to(icon('user', icon_color) + t(:signup), new_user_path, :class => link_class) + %span.info= t(:signup_info) + .row-fluid.second + .download.span6 + %span.link= link_to(icon('arrow-down', icon_color) + t(:download_client), "https://downloads.leap.se/client", :class => link_class) + %span.info= t(:download_client_info, :provider => content_tag(:b,APP_CONFIG[:domain])).html_safe + .help.span6 + %span.link= link_to(icon('question-sign', icon_color) + t(:get_help), "/tickets/new", :class => link_class) + %span.info= t(:help_info) |