diff options
author | Drew Blessing <drew.blessing@buckle.com> | 2014-01-22 20:07:01 -0600 |
---|---|---|
committer | Drew Blessing <drew.blessing@buckle.com> | 2014-01-25 10:07:39 -0600 |
commit | 8b3b6f1096497ad63bbd4cd9bf78fa913ae345b5 (patch) | |
tree | 479e1fbdfce5047221cb397fe8ca0354c54b7ac8 /app/views/shared | |
parent | 8f8db776858be45845d18122761fdc09d5989368 (diff) | |
download | gitlab-ce-8b3b6f1096497ad63bbd4cd9bf78fa913ae345b5.tar.gz |
Mobile UI improvements for dashboard/nav
Style navbar toggle button
Style navbar toggle manually instead of with button classes
Style navbar
Modify color
Turn off all tooltips for touch devices
Style main nav
Fix scrolling navbar collapse
Style tweaks
Minor tweaks
Style no ssh key message
Diffstat (limited to 'app/views/shared')
-rw-r--r-- | app/views/shared/_no_ssh.html.haml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/views/shared/_no_ssh.html.haml b/app/views/shared/_no_ssh.html.haml index 077e6c6a808..e70eb4d01b9 100644 --- a/app/views/shared/_no_ssh.html.haml +++ b/app/views/shared/_no_ssh.html.haml @@ -2,7 +2,13 @@ .no-ssh-key-message .container You won't be able to pull or push project code via SSH until you #{link_to 'add an SSH key', new_profile_key_path} to your profile - %div.pull-right + .pull-right.hidden-xs = link_to "Don't show again", profile_path(user: {hide_no_ssh_key: true}), method: :put, class: 'hide-no-ssh-message', remote: true | = link_to 'Remind later', '#', class: 'hide-no-ssh-message' + .links-xs.visible-xs + = link_to "Add key", new_profile_key_path + | + = link_to "Don't show again", profile_path(user: {hide_no_ssh_key: true}), method: :put, class: 'hide-no-ssh-message', remote: true + | + = link_to 'Later', '#', class: 'hide-no-ssh-message' |