constructor-core 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/constructor_core/users_controller.rb +0 -2
- data/app/views/constructor_core/sessions/new.html.haml +5 -5
- data/app/views/constructor_core/users/profile.haml +3 -3
- data/app/views/layouts/constructor_core/application.haml +12 -12
- data/config/routes.rb +1 -1
- data/lib/constructor_core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70eef55d07664da4e1d52479a5483394b92e812b
|
4
|
+
data.tar.gz: 227e2397a54addfa82e3395d990e5aab2c852a7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b84cbcfb9c6c6a5b6c486aacb26714e9386c6f34e3979645677c65bc4928ff67cb57427b89f145467bb2c02fb5ebace67f5bb41375c5ef0f57b5c691935ddddf
|
7
|
+
data.tar.gz: c2c5bd1ff6dbf9a1cd52bd5dafd857f29bf9793b76c2727ed6df54394bce7db851f174abdcbacc8f97ab8b1e5976c1e45a9f6f00e52a229c5614d81bad9bd5bc
|
@@ -1,22 +1,22 @@
|
|
1
1
|
- content_for :page_title do
|
2
2
|
=t :login
|
3
3
|
|
4
|
-
= form_for(resource, :
|
4
|
+
= form_for(resource, as: resource_name, url: '/login') do |f|
|
5
5
|
.form-horizontal
|
6
6
|
.control-group
|
7
|
-
= f.label :email, :
|
7
|
+
= f.label :email, class: 'control-label'
|
8
8
|
.controls
|
9
9
|
= f.email_field :email
|
10
10
|
.control-group
|
11
|
-
= f.label :password, :
|
11
|
+
= f.label :password, class: 'control-label'
|
12
12
|
.controls
|
13
13
|
= f.password_field :password
|
14
14
|
|
15
15
|
- if devise_mapping.rememberable?
|
16
16
|
.control-group
|
17
17
|
.controls
|
18
|
-
%label.checkbox.inline{:
|
18
|
+
%label.checkbox.inline{for: 'remember_me'}
|
19
19
|
= f.check_box :remember_me
|
20
20
|
=t :remember_me
|
21
21
|
.controls
|
22
|
-
= f.submit t(:login), :
|
22
|
+
= f.submit t(:login), class: 'btn btn-primary'
|
@@ -4,13 +4,13 @@
|
|
4
4
|
= form_for @current_user, method: :post do |f|
|
5
5
|
.form-horizontal
|
6
6
|
.control-group
|
7
|
-
= f.label :password, :
|
7
|
+
= f.label :password, class: 'control-label'
|
8
8
|
.controls
|
9
9
|
= f.password_field :password, required: true
|
10
10
|
.control-group
|
11
|
-
= f.label :password_confirmation, :
|
11
|
+
= f.label :password_confirmation, class: 'control-label'
|
12
12
|
.controls
|
13
13
|
= f.password_field :password_confirm, required: true
|
14
14
|
.control-group
|
15
15
|
.controls
|
16
|
-
= f.submit t(:save_password), :
|
16
|
+
= f.submit t(:save_password), class: 'btn btn-primary'
|
@@ -1,12 +1,12 @@
|
|
1
1
|
!!!
|
2
|
-
%html{:
|
2
|
+
%html{lang: 'ru'}
|
3
3
|
%head
|
4
|
-
%meta{:
|
5
|
-
%meta{'http-equiv' => 'X-UA-Compatible', :
|
4
|
+
%meta{charset: 'utf-8'}/
|
5
|
+
%meta{'http-equiv' => 'X-UA-Compatible', content: 'IE=edge,chrome=1'}/
|
6
6
|
%title=t :dashboard
|
7
7
|
|
8
8
|
/ [if lt IE 9]
|
9
|
-
%script{:
|
9
|
+
%script{src: 'http://html5shim.googlecode.com/svn/trunk/html5.js'}
|
10
10
|
|
11
11
|
:javascript
|
12
12
|
var CKEDITOR_BASEPATH = '/assets/ckeditor/'
|
@@ -16,15 +16,15 @@
|
|
16
16
|
= csrf_meta_tag
|
17
17
|
= favicon_link_tag
|
18
18
|
|
19
|
-
%link{:
|
20
|
-
%link{:
|
21
|
-
%link{:
|
19
|
+
%link{rel: 'apple-touch-icon', href: 'images/apple-touch-icon.png'}
|
20
|
+
%link{rel: 'apple-touch-icon', sizes: '72x72', href: 'images/apple-touch-icon-72x72.png'}
|
21
|
+
%link{rel: 'apple-touch-icon', sizes: '114x114', href: 'images/apple-touch-icon-114x114.png'}
|
22
22
|
|
23
23
|
%body
|
24
24
|
.navbar.navbar-constructor
|
25
25
|
.navbar-inner
|
26
26
|
.container-fluid
|
27
|
-
= link_to t(:homepage), '/', :
|
27
|
+
= link_to t(:homepage), '/', class: 'brand'
|
28
28
|
%a.btn.btn-navbar{'data-toggle' => 'collapse', 'data-target' => '.nav-collapse'}
|
29
29
|
%span.icon-bar
|
30
30
|
%span.icon-bar
|
@@ -63,7 +63,7 @@
|
|
63
63
|
%i.icon-question-sign
|
64
64
|
=t :help
|
65
65
|
%li
|
66
|
-
= link_to core.
|
66
|
+
= link_to core.logout_path, method: :delete do
|
67
67
|
%i.icon-signout
|
68
68
|
=t :logout
|
69
69
|
|
@@ -75,11 +75,11 @@
|
|
75
75
|
.span4
|
76
76
|
- unless notice.nil?
|
77
77
|
.alert.fade.in
|
78
|
-
= link_to '×', '#', :
|
78
|
+
= link_to '×', '#', class: 'close', 'data-dismiss' => 'alert'
|
79
79
|
= notice
|
80
80
|
- unless alert.nil?
|
81
81
|
.alert.alert-error.fade.in
|
82
|
-
= link_to '×', '#', :
|
82
|
+
= link_to '×', '#', class: 'close', 'data-dismiss' => 'alert'
|
83
83
|
= alert
|
84
84
|
|
85
85
|
= yield :actions
|
@@ -88,6 +88,6 @@
|
|
88
88
|
= yield
|
89
89
|
|
90
90
|
/ [if lt IE 7 ]
|
91
|
-
%script{:
|
91
|
+
%script{src: '//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js'}
|
92
92
|
%script
|
93
93
|
window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})
|
data/config/routes.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: constructor-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Zotov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-06-
|
11
|
+
date: 2013-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|