Skip to content
This repository was archived by the owner on Apr 3, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
engines:
bundler-audit:
enabled: true
coffelint:
coffeelint:
enabled: true
csslint:
enabled: true
Expand All @@ -15,16 +15,14 @@ engines:
languages:
- ruby
- javascript
rubocop:
enabled: true
ratings:
enabled: true
paths:
- Gemfile.lock
- app/**
- lib/**
- "**.js"
- "app/**/*"
- "lib/**/*"
- "**.rb"
rubocop:
enabled: true
exclude_paths:
- app/assets/javascripts/admin.js
- app/assets/javascripts/app.js
Expand Down
7 changes: 0 additions & 7 deletions app/assets/stylesheets/admin.css.sass

This file was deleted.

8 changes: 8 additions & 0 deletions app/assets/stylesheets/admin.css.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*
*= require_tree ./admin
*= require_self
*/

@import "bootstrap-sprockets";
@import "bootstrap";
@import "font-awesome";
29 changes: 29 additions & 0 deletions app/assets/stylesheets/admin/sessions.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#sessions {

&.new {

.panel {
margin: 15% auto 0 auto;
width: 350px;

.panel-heading {
h3 {
text-align: center;
}
}

.panel-body {
.oauth-providers {
display: flex;

a {
flex-grow: 1;
margin: 0 15px;
width: 100px;
}
}
}
}

}
}
10 changes: 5 additions & 5 deletions app/views/admin/sessions/new.html.slim
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.row
.col-md-offset-4.col-md-4 style='margin-top: 15%'
#sessions.new
.row
.panel.panel-default
.panel-heading
h3 style='text-align: center'
= image_tag 'favicon.png', width: 35
h3
= image_tag('favicon.png', width: 35)
| Iniciar sesión
.panel-body
.col-md-offset-4.col-md-2
.oauth-providers
= render_login_links