comfortable_mexican_loveseat 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ecc16467331f51889d0f6b7d64863f17b5f5b09e
4
- data.tar.gz: 9c77cefafe59c0d1d5ea37d8152b3e520db07f4e
3
+ metadata.gz: 7011356faee82e6d507029e20ffc3bdfd20eefbe
4
+ data.tar.gz: 2857d123f1141141ff40ea0d7b996e423ddc430f
5
5
  SHA512:
6
- metadata.gz: 5e5e71a3474bcb3bd081afe6de9295bef193c4bff4a293240790e761225f16c1c272f62d587a9635b2b491b0d755037daafa8b21e66a4add3de1b7b6b70c6ad1
7
- data.tar.gz: c0fa3ccfb753a5ddd44cdcf6136e4697c332834a661342b3fb5d3c590aa27aeb8dc714618a5fe696e2927a9a042992794122ef9101a07f0702c6761fd60b6bb7
6
+ metadata.gz: f528dff25eff29484514dd4d506545290415bab8f3f2c757110bced3605163e819aadcf84faac1a68542b13133d13cbc4064db99bd1f8a4f6b5749c7c85b8e74
7
+ data.tar.gz: 48608f9dc027dba2f3a3ef8d112802588af16a12f2691d43c9084a2de7779f745524a81dbe3df79e0e8b383e4882e0300253798326ab57024f420055c6b45faf
data/README.rdoc CHANGED
@@ -48,3 +48,7 @@ The Loveseat provides some helpful hints to admins when they're uploading images
48
48
  images_need_seo_friendly_names
49
49
  files_alt_tag
50
50
 
51
+ === Styled login page
52
+
53
+ There is a more styled version of the CMS login page in the templates/devise folder.
54
+
@@ -0,0 +1,40 @@
1
+ body#auth {
2
+ padding-top: 40px;
3
+ padding-bottom: 40px;
4
+ background-color: #eee;
5
+ }
6
+
7
+ .form-signin {
8
+ max-width: 330px;
9
+ padding: 15px;
10
+ margin: 0 auto;
11
+ }
12
+ .form-signin .form-signin-heading,
13
+ .form-signin .checkbox {
14
+ margin-bottom: 10px;
15
+ }
16
+ .form-signin .checkbox {
17
+ font-weight: normal;
18
+ }
19
+ .form-signin .form-control {
20
+ position: relative;
21
+ height: auto;
22
+ -webkit-box-sizing: border-box;
23
+ -moz-box-sizing: border-box;
24
+ box-sizing: border-box;
25
+ padding: 10px;
26
+ font-size: 16px;
27
+ }
28
+ .form-signin .form-control:focus {
29
+ z-index: 2;
30
+ }
31
+ .form-signin input[type="email"] {
32
+ margin-bottom: -1px;
33
+ border-bottom-right-radius: 0;
34
+ border-bottom-left-radius: 0;
35
+ }
36
+ .form-signin input[type="password"] {
37
+ margin-bottom: 10px;
38
+ border-top-left-radius: 0;
39
+ border-top-right-radius: 0;
40
+ }
@@ -0,0 +1,7 @@
1
+ !!!
2
+ %html{:lang => I18n.locale}
3
+ = render 'layouts/comfy/admin/cms/head'
4
+ = stylesheet_link_tag 'devise'
5
+ %body#auth
6
+ .container
7
+ = yield
@@ -27,3 +27,10 @@ de:
27
27
  section: Abteilung
28
28
  tag: Tag
29
29
  admins: Admins
30
+ devise:
31
+ signin: Login
32
+ admin:
33
+ roles:
34
+ sync_and_permit:
35
+ sync_and_permit: Rechte synchronisierung
36
+
@@ -4,3 +4,9 @@ en:
4
4
  meta_description: Meta Description
5
5
  page_title: Page Title
6
6
  canonical_href: Canonical link
7
+ devise:
8
+ signin: Login
9
+ admin:
10
+ roles:
11
+ sync_and_permit:
12
+ sync_and_permit: Permission levels sync
@@ -3,6 +3,7 @@ module ComfortableMexicanLoveseat
3
3
  initializer "redirect trailing slash urls" do |app|
4
4
  app.middleware.insert_before(Rack::Runtime, Rack::Rewrite) do
5
5
  r301 %r{^/(.*)/$}, '/$1'
6
+ app.config.assets.precompile += %w( devise.css )
6
7
  end
7
8
  end
8
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comfortable_mexican_loveseat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Bahlke
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-08-20 00:00:00.000000000 Z
12
+ date: 2015-08-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -106,6 +106,7 @@ files:
106
106
  - MIT-LICENSE
107
107
  - README.rdoc
108
108
  - Rakefile
109
+ - app/assets/stylesheets/devise.css.scss
109
110
  - app/controllers/comfy/admin/cms/base_controller.rb
110
111
  - app/controllers/comfy/admin/cms/layouts_controller.rb
111
112
  - app/controllers/comfy/cms/content_controller.rb
@@ -122,6 +123,7 @@ files:
122
123
  - app/views/comfy/admin/cms/pages/_form_blocks.html.haml
123
124
  - app/views/comfy/cms/content/render_sitemap.xml.builder
124
125
  - app/views/layouts/comfy/admin/cms/_flash.html.haml
126
+ - app/views/layouts/devise.html.haml
125
127
  - config/locales/de.yml
126
128
  - config/locales/en.yml
127
129
  - lib/comfortable_mexican_loveseat.rb