diff options
author | elijah <elijah@riseup.net> | 2013-06-23 22:18:28 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-07-04 04:04:55 -0700 |
commit | e5a37b4ed76df8aec6131789e7361ed6efa3394b (patch) | |
tree | 6dd2fae52b6c89db11794ace544bd1e831e022b5 /core/app/views | |
parent | d121373b7c21a29e47708e8b67aeb964202e52c5 (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) |