diff --git a/app/assets/stylesheets/errbit.css b/app/assets/stylesheets/errbit.css index b0f2b5a..da91296 100644 --- a/app/assets/stylesheets/errbit.css +++ b/app/assets/stylesheets/errbit.css @@ -224,6 +224,8 @@ a.action { float: right; font-size: 0.9em;} padding-left: 47px; } +#action-bar span.github a { background: url(images/icons/github.png) no-repeat 6px 5px; } + /* Content */ #content { @@ -851,5 +853,3 @@ table.errs tr td.message .inline_comment em.commenter { .current.asc:after { content: ' ↑'; } .current.desc:after { content: ' ↓'; } - -span.github a { background: url(../images/github.png) no-repeat 5px 5px; } diff --git a/app/assets/stylesheets/images/icons/github.png b/app/assets/stylesheets/images/icons/github.png new file mode 100644 index 0000000..ab2adc4 Binary files /dev/null and b/app/assets/stylesheets/images/icons/github.png differ diff --git a/app/views/devise/sessions/new.html.haml b/app/views/devise/sessions/new.html.haml index 9d13daf..5fd9caa 100644 --- a/app/views/devise/sessions/new.html.haml +++ b/app/views/devise/sessions/new.html.haml @@ -4,7 +4,7 @@ - if Errbit::Config.github_authentication - content_for :action_bar do %div.action-bar - %span.github= link_to "Sign in with GitHub", user_omniauth_authorize_path(:github), :style => 'background: url(/images/github.png) no-repeat 5px 5px' + %span.github= link_to "Sign in with GitHub", user_omniauth_authorize_path(:github) = form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| .required diff --git a/public/images/github.png b/public/images/github.png deleted file mode 100644 index ab2adc4..0000000 Binary files a/public/images/github.png and /dev/null differ -- libgit2 0.21.2