authentifyd 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/authentifyd/authentications/index.html.erb +6 -4
- data/app/views/authentifyd/confirmations/new.html.erb +28 -16
- data/app/views/authentifyd/devise/shared/_links.erb +1 -1
- data/app/views/authentifyd/layouts/_account_menu.html.haml +5 -5
- data/app/views/authentifyd/passwords/edit.html.erb +36 -20
- data/app/views/authentifyd/passwords/new.html.erb +28 -16
- data/app/views/authentifyd/registrations/_authentifyd_form.html.erb +22 -16
- data/app/views/authentifyd/registrations/new.html.erb +25 -16
- data/app/views/authentifyd/sessions/new.html.erb +37 -22
- data/app/views/authentifyd/unlocks/new.html.erb +29 -16
- data/app/views/layouts/authentifyd/_navbar.html.haml +41 -38
- data/app/views/layouts/authentifyd/application.html.erb +3 -1
- data/lib/authentifyd/version.rb +1 -1
- metadata +47 -78
- checksums.yaml +0 -15
@@ -7,8 +7,10 @@
|
|
7
7
|
<%= t("You_have_not_linked_any_account_yet") %>
|
8
8
|
<% end %>
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
10
|
+
<% if @authentications.count < 3 %>
|
11
|
+
</br>
|
12
|
+
</br>
|
13
|
+
<legend><%= t("Link_other_accounts") %></legend>
|
14
|
+
<%= render :partial => "authentifyd/sessions/social_networks" %>
|
15
|
+
<% end %>
|
14
16
|
<% end %>
|
@@ -1,25 +1,37 @@
|
|
1
|
-
<div class="container main">
|
1
|
+
<div class="container-fluid main">
|
2
2
|
<div id="allaround-wraper">
|
3
3
|
<div class="authentifyd-form">
|
4
|
-
|
5
|
-
<
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
4
|
+
<div class='row'>
|
5
|
+
<div class='col-md-6'>
|
6
|
+
<%= form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post }) do |f| %>
|
7
|
+
<legend><%= t('Resend_confirmation_instructions') %></legend>
|
8
|
+
<%= devise_error_messages! %>
|
9
|
+
|
10
|
+
<div class="body">
|
11
|
+
<div class='form-group'>
|
12
|
+
<%= f.label :email, t('Email') %>
|
13
|
+
<%= f.email_field :email, :class => 'form-control' %>
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
|
17
|
+
<div class="footer">
|
18
|
+
<div class='form-group'>
|
19
|
+
<%= button_tag t("Send"), :type => "submit", :class => "btn btn-primary" %>
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
<% end %>
|
11
23
|
</div>
|
12
|
-
|
13
|
-
<div class=
|
14
|
-
|
24
|
+
<div class='col-md-1'></div>
|
25
|
+
<div class='col-md-5'>
|
26
|
+
<div class="devise-shared-links">
|
27
|
+
<%= render :partial => "authentifyd/devise/shared/links" %>
|
28
|
+
</div>
|
29
|
+
<br/>
|
30
|
+
<br/>
|
15
31
|
</div>
|
16
|
-
|
17
|
-
<% end %>
|
32
|
+
</div>
|
18
33
|
</div>
|
19
34
|
</div>
|
20
35
|
<div class='row-fluid'>
|
21
|
-
<div class="devise-shared-links">
|
22
|
-
<%= render :partial => "authentifyd/devise/shared/links" %>
|
23
|
-
</div>
|
24
36
|
</div>
|
25
37
|
</div>
|
@@ -25,6 +25,6 @@
|
|
25
25
|
<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
|
26
26
|
<br/>
|
27
27
|
<legend><%= t('Not_already_a_member') %></legend>
|
28
|
-
<%= link_to t("Sign_up"), new_registration_path(resource_name), :class => "sign_up_link_in_links btn" %><br />
|
28
|
+
<%= link_to t("Sign_up"), new_registration_path(resource_name), :class => "sign_up_link_in_links btn btn-warning" %><br />
|
29
29
|
<% end -%>
|
30
30
|
|
@@ -1,13 +1,13 @@
|
|
1
|
-
.container.main
|
1
|
+
.container-fluid.main
|
2
2
|
.row-fluid
|
3
3
|
#allaround-wraper.big
|
4
|
-
.row
|
5
|
-
.
|
4
|
+
.row
|
5
|
+
.col-md-4
|
6
6
|
.padded-right
|
7
7
|
%ul.padded-right.nav.nav-pills.nav-stacked
|
8
8
|
%li.nav-header
|
9
9
|
%legend= current_user.email
|
10
|
-
%ul.
|
10
|
+
%ul.nav.nav-pills.nav-stacked
|
11
11
|
- is_on_edit_account_page = controller_name == 'registrations' && action_name == 'edit'
|
12
12
|
%li{class: "#{is_on_edit_account_page ? 'active' : ''}"}
|
13
13
|
= link_to is_on_edit_account_page ? '#' : edit_user_registration_path do
|
@@ -20,5 +20,5 @@
|
|
20
20
|
%i.icon-link.inline
|
21
21
|
|
22
22
|
= t('Linked_accounts')
|
23
|
-
.
|
23
|
+
.col-md-8
|
24
24
|
= yield
|
@@ -1,30 +1,46 @@
|
|
1
|
-
<div class="container main">
|
1
|
+
<div class="container-fluid main">
|
2
2
|
<div id="allaround-wraper">
|
3
3
|
<div class="authentifyd-form">
|
4
|
-
|
5
|
-
|
6
|
-
|
4
|
+
<div class='col-md-6'>
|
5
|
+
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f| %>
|
6
|
+
<legend><%= t('Change_your_password') %></legend>
|
7
|
+
<%= devise_error_messages! %>
|
7
8
|
|
8
|
-
|
9
|
-
|
9
|
+
<div class="body">
|
10
|
+
<%= f.hidden_field :reset_password_token %>
|
10
11
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
12
|
+
<div class='form-group'>
|
13
|
+
<%= f.label :password, t("New_password") %>
|
14
|
+
<%= f.password_field :password, :class => 'form-control' %>
|
15
|
+
</div>
|
16
|
+
|
17
|
+
<div class='form-group'>
|
18
|
+
<%= f.label :password_confirmation, t("Confirm_new_password") %>
|
19
|
+
<%= f.password_field :password_confirmation, :class => 'form-control' %>
|
20
|
+
</div>
|
16
21
|
|
17
|
-
|
22
|
+
</div>
|
18
23
|
|
19
|
-
|
20
|
-
|
21
|
-
|
24
|
+
<div class="footer">
|
25
|
+
<div class='form-group'>
|
26
|
+
<%= button_tag t("Change_my_password"), :type => "submit", :class => "btn btn-primary" %>
|
27
|
+
</div>
|
28
|
+
</div>
|
22
29
|
|
23
|
-
|
30
|
+
<% end %>
|
31
|
+
</div>
|
32
|
+
<div class='col-md-1'></div>
|
33
|
+
<div class='col-md-5'>
|
34
|
+
<div class='form-group'>
|
35
|
+
<div class="devise-shared-links">
|
36
|
+
<%= render :partial => "authentifyd/devise/shared/links" %>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
<br/>
|
40
|
+
<br/>
|
41
|
+
</div>
|
42
|
+
</div>
|
43
|
+
<div class='row-fluid'>
|
24
44
|
</div>
|
25
45
|
</div>
|
26
|
-
</div>
|
27
|
-
|
28
|
-
<div class="devise-shared-links">
|
29
|
-
<%= render :partial => "authentifyd/devise/shared/links" %>
|
30
46
|
</div>
|
@@ -1,27 +1,39 @@
|
|
1
|
-
<div class="container main">
|
1
|
+
<div class="container-fluid main">
|
2
2
|
<div id="allaround-wraper">
|
3
3
|
<div class="authentifyd-form">
|
4
|
-
|
5
|
-
<
|
6
|
-
|
4
|
+
<div class='row'>
|
5
|
+
<div class='col-md-6'>
|
6
|
+
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }) do |f| %>
|
7
|
+
<legend><%= t('Forgot_your_password') %></legend>
|
8
|
+
<%= devise_error_messages! %>
|
7
9
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
10
|
+
<div class="body">
|
11
|
+
<div class='form-group'>
|
12
|
+
<%= f.label :email, t('Email') %>
|
13
|
+
<%= f.email_field :email, :class => 'form-control' %>
|
14
|
+
</div>
|
12
15
|
|
13
|
-
|
16
|
+
</div>
|
14
17
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
+
<div class="footer">
|
19
|
+
<div class='form-group'>
|
20
|
+
<%= button_tag t("Send_me_reset_password_instructions"), :type => "submit", :class => "btn btn-primary" %>
|
21
|
+
</div>
|
22
|
+
</div>
|
18
23
|
|
19
|
-
|
24
|
+
<% end %>
|
25
|
+
</div>
|
26
|
+
<div class='col-md-1'></div>
|
27
|
+
<div class='col-md-5'>
|
28
|
+
<div class="devise-shared-links">
|
29
|
+
<%= render :partial => "authentifyd/devise/shared/links" %>
|
30
|
+
</div>
|
31
|
+
<br/>
|
32
|
+
<br/>
|
33
|
+
</div>
|
34
|
+
</div>
|
20
35
|
</div>
|
21
36
|
</div>
|
22
37
|
<div class='row-fluid'>
|
23
|
-
<div class="devise-shared-links">
|
24
|
-
<%= render :partial => "authentifyd/devise/shared/links" %>
|
25
|
-
</div>
|
26
38
|
</div>
|
27
39
|
</div>
|
@@ -6,24 +6,28 @@
|
|
6
6
|
<%= devise_error_messages! %>
|
7
7
|
|
8
8
|
<div class="body">
|
9
|
-
<
|
9
|
+
<div class='form-group'>
|
10
10
|
<%= f.label :email, t('Email') %>
|
11
|
-
<%= f.email_field :email %>
|
12
|
-
</
|
13
|
-
<
|
11
|
+
<%= f.email_field :email, :class => 'form-control' %>
|
12
|
+
</div>
|
13
|
+
<div class='form-group'>
|
14
14
|
<%= f.label :password, t('Password') %> <i><%= t("leave_blank_if_you_dont_want_to_change_it") %></i>
|
15
|
-
<%= f.password_field :password %>
|
16
|
-
|
15
|
+
<%= f.password_field :password, :class => 'form-control' %>
|
16
|
+
</div>
|
17
|
+
<div class='form-group'>
|
17
18
|
<%= f.label :password_confirmation, t('Password_confirmation') %>
|
18
|
-
<%= f.password_field :password_confirmation %>
|
19
|
-
|
19
|
+
<%= f.password_field :password_confirmation, :class => 'form-control' %>
|
20
|
+
</div>
|
21
|
+
<div class='form-group'>
|
20
22
|
<%= f.label :current_password, t('Current_password') %> <i><%= t("we_need_your_current_password_to_confirm_your_changes") %></i>
|
21
|
-
<%= f.password_field :current_password %>
|
22
|
-
</
|
23
|
+
<%= f.password_field :current_password, :class => 'form-control' %>
|
24
|
+
</div>
|
23
25
|
</div>
|
24
26
|
|
25
27
|
<div class="footer">
|
26
|
-
|
28
|
+
<div class='form-group'>
|
29
|
+
<%= button_tag t("Update"), :type => "submit", :class => "btn btn-primary" %>
|
30
|
+
</div>
|
27
31
|
</div>
|
28
32
|
<% end %>
|
29
33
|
<div class='row-fluid'>
|
@@ -32,21 +36,23 @@
|
|
32
36
|
</div>
|
33
37
|
</div>
|
34
38
|
|
35
|
-
|
36
|
-
|
39
|
+
<br/>
|
40
|
+
<br/>
|
37
41
|
<div class="footer">
|
38
42
|
<%= link_to registration_path(resource_name), :confirm => t("Are_you_sure"), :method => :delete, class: 'btn btn-danger' do %>
|
39
43
|
<i class='icon-remove'></i>
|
40
44
|
|
41
45
|
<%= t("Cancel_my_account") %>
|
42
46
|
<% end %>
|
43
|
-
|
44
|
-
|
45
|
-
|
47
|
+
<br/>
|
48
|
+
<br/>
|
49
|
+
<br/>
|
46
50
|
<%= link_to :back do %>
|
47
51
|
<i class='icon-arrow-left'></i>
|
48
52
|
|
49
53
|
<%= t("Back") %>
|
50
54
|
<% end %>
|
55
|
+
<br/>
|
56
|
+
<br/>
|
51
57
|
</div>
|
52
58
|
</div>
|
@@ -1,21 +1,28 @@
|
|
1
|
-
<div class="container main">
|
1
|
+
<div class="container-fluid main">
|
2
2
|
<div class="row-fluid">
|
3
|
-
<div id="register-wraper"
|
4
|
-
<div class='
|
3
|
+
<div id="register-wraper">
|
4
|
+
<div class='col-md-6 register-form-container'>
|
5
5
|
<div id="register-form">
|
6
|
+
|
6
7
|
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :class => "form register-form") do |f| %>
|
7
8
|
<legend><%= t('Sign_up_with_your_email') %></legend>
|
8
9
|
<%= devise_error_messages! %>
|
9
10
|
|
10
11
|
<div class="body">
|
12
|
+
<div class='form-group'>
|
13
|
+
|
11
14
|
<%= f.label :email, t('Email') %>
|
12
|
-
<%= f.email_field :email %>
|
13
|
-
|
15
|
+
<%= f.email_field :email, :class => 'form-control' %>
|
16
|
+
</div>
|
17
|
+
<div class='form-group'>
|
14
18
|
<%= f.label :password, t('Password') %>
|
15
|
-
<%= f.password_field :password %>
|
16
|
-
|
19
|
+
<%= f.password_field :password, :class => 'form-control' %>
|
20
|
+
</div>
|
21
|
+
<div class='form-group'>
|
17
22
|
<%= f.label :password_confirmation, t('Password_confirmation') %>
|
18
|
-
<%= f.password_field :password_confirmation %>
|
23
|
+
<%= f.password_field :password_confirmation, :class => 'form-control' %>
|
24
|
+
</div>
|
25
|
+
|
19
26
|
</div>
|
20
27
|
|
21
28
|
<div class="footer">
|
@@ -24,21 +31,23 @@
|
|
24
31
|
|
25
32
|
<% end %>
|
26
33
|
</div>
|
27
|
-
|
28
|
-
|
29
|
-
<div class='span5 register-providers-container'>
|
34
|
+
<br/>
|
35
|
+
<br/>
|
30
36
|
<div class="login-form">
|
31
37
|
<legend><%= t('or_use_your_prefered_profile')%></legend>
|
32
38
|
<div class="body">
|
33
39
|
<%= render :partial => "authentifyd/sessions/social_networks" %>
|
34
40
|
</div>
|
35
41
|
</div>
|
42
|
+
<br/>
|
43
|
+
<br/>
|
44
|
+
</div>
|
45
|
+
<div class='col-md-1'> </div>
|
46
|
+
<div class='col-md-5 register-providers-container'>
|
47
|
+
<div class="devise-shared-links">
|
48
|
+
<%= render :partial => "authentifyd/devise/shared/links" %>
|
49
|
+
</div>
|
36
50
|
</div>
|
37
|
-
</div>
|
38
|
-
</div>
|
39
|
-
<div class='row-fluid'>
|
40
|
-
<div class="devise-shared-links">
|
41
|
-
<%= render :partial => "authentifyd/devise/shared/links" %>
|
42
51
|
</div>
|
43
52
|
</div>
|
44
53
|
</div>
|
@@ -1,37 +1,41 @@
|
|
1
|
-
<div class="container main">
|
1
|
+
<div class="container-fluid main">
|
2
2
|
|
3
|
-
<div class="row
|
4
|
-
<div id="login-wraper"
|
5
|
-
<div class='
|
3
|
+
<div class="row">
|
4
|
+
<div id="login-wraper">
|
5
|
+
<div class='col-md-6 login-form-container'>
|
6
6
|
<div class="login-form">
|
7
7
|
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :class => "form login-form") do |f| %>
|
8
8
|
<legend><%= t('Sign_in_with_your_email') %></legend>
|
9
9
|
<%= devise_error_messages! %>
|
10
10
|
|
11
11
|
<div class="body">
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
12
|
+
<div class='form-group'>
|
13
|
+
<%= f.label :email, t('Email') %>
|
14
|
+
<%= f.email_field :email, :class => 'form-control' %>
|
15
|
+
</div>
|
16
|
+
<div class='form-group'>
|
17
|
+
<%= f.label :password, t('Password') %>
|
18
|
+
<%= f.password_field :password, :class => 'form-control' %>
|
19
|
+
</div>
|
17
20
|
</div>
|
18
21
|
|
19
22
|
<div class="footer">
|
20
23
|
<% if devise_mapping.rememberable? -%>
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
+
<div class="checkbox">
|
25
|
+
<%= f.label :remember_me, t('Remember_me'), :class => "checkbox inline" do %>
|
26
|
+
<%= f.check_box :remember_me, :id => "inlineCheckbox1" %><%= t('Remember_me') %>
|
27
|
+
<% end %>
|
28
|
+
</div>
|
24
29
|
<% end %>
|
25
|
-
|
26
|
-
|
27
|
-
|
30
|
+
<div class='form-group'>
|
31
|
+
<%= button_tag t("Sign_in"), :type => "submit", :class => "btn btn-primary" %>
|
32
|
+
</div>
|
28
33
|
</div>
|
29
34
|
|
30
35
|
<% end %>
|
31
36
|
</div>
|
32
|
-
|
33
|
-
|
34
|
-
<div class='span5 login-providers-container'>
|
37
|
+
<br/>
|
38
|
+
<br/>
|
35
39
|
<div class="login-form">
|
36
40
|
<legend><%= t('or_use_your_prefered_profile')%></legend>
|
37
41
|
</div>
|
@@ -39,11 +43,22 @@
|
|
39
43
|
<%= render :partial => "social_networks" %>
|
40
44
|
</div>
|
41
45
|
</div>
|
46
|
+
<div class='col-md-1'></div>
|
47
|
+
<div class='col-md-5 login-providers-container'>
|
48
|
+
<div class="login-form">
|
49
|
+
<legend><%= t('issue_signing_up')%></legend>
|
50
|
+
</div>
|
51
|
+
<div class="devise-shared-links body">
|
52
|
+
<%= render :partial => "authentifyd/devise/shared/links" %>
|
53
|
+
</div>
|
54
|
+
</div>
|
42
55
|
</div>
|
56
|
+
<div class='clearer'></div>
|
57
|
+
<br/>
|
58
|
+
<br/>
|
43
59
|
</div>
|
44
|
-
<div class='row
|
45
|
-
<div class="devise-shared-links">
|
46
|
-
<%= render :partial => "authentifyd/devise/shared/links" %>
|
47
|
-
</div>
|
60
|
+
<div class='row'>
|
48
61
|
</div>
|
62
|
+
<br/>
|
63
|
+
<br/>
|
49
64
|
</div>
|
@@ -1,28 +1,41 @@
|
|
1
|
-
<div class="container main">
|
1
|
+
<div class="container-fluid main">
|
2
2
|
<div id="allaround-wraper">
|
3
3
|
<div class="authentifyd-form">
|
4
|
-
|
5
|
-
<
|
6
|
-
|
4
|
+
<div class='row'>
|
5
|
+
<div class='col-md-6'>
|
6
|
+
<%= form_for(resource, :as => resource_name, :url => unlock_path(resource_name), :html => { :method => :post }) do |f| %>
|
7
|
+
<legend><%= t('Resend_unlock_instructions?') %></legend>
|
8
|
+
<%= devise_error_messages! %>
|
7
9
|
|
8
|
-
|
10
|
+
<div class="body">
|
11
|
+
<div class='form-group'>
|
9
12
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
13
|
+
<%= f.label :email, t('Email') %>
|
14
|
+
<%= f.email_field :email, :class => 'form-control' %>
|
15
|
+
</div>
|
16
|
+
</div>
|
14
17
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
+
<div class="footer">
|
19
|
+
<div class='form-group'>
|
20
|
+
|
21
|
+
<%= button_tag t("Send"), :type => "submit", :class => "btn btn-primary" %>
|
22
|
+
</div>
|
23
|
+
</div>
|
18
24
|
|
19
|
-
|
25
|
+
<% end %>
|
26
|
+
</div>
|
27
|
+
<div class='col-md-1'></div>
|
28
|
+
<div class='col-md-5'>
|
29
|
+
<div class="devise-shared-links">
|
30
|
+
<%= render :partial => "authentifyd/devise/shared/links" %>
|
31
|
+
</div>
|
32
|
+
<br/>
|
33
|
+
<br/>
|
34
|
+
|
35
|
+
</div>
|
20
36
|
</div>
|
21
37
|
</div>
|
22
38
|
<div class='row-fluid'>
|
23
|
-
<div class="devise-shared-links">
|
24
|
-
<%= render :partial => "authentifyd/devise/shared/links" %>
|
25
|
-
</div>
|
26
39
|
</div>
|
27
40
|
</div>
|
28
41
|
|
@@ -1,41 +1,44 @@
|
|
1
|
-
#header.navbar
|
1
|
+
#header.navbar.navbar-fixed-top
|
2
2
|
.navbar-inner.clearfix
|
3
|
-
|
4
|
-
|
5
|
-
-
|
6
|
-
%li.dropdown.pull-right
|
7
|
-
= link_to"#", class:"dropdown-toggle", id:"dLabel", role:"button", :'data-toggle'=>"dropdown", :'data-target'=>"#" do
|
8
|
-
=
|
9
|
-
|
10
|
-
%i.icon-caret-down.inline
|
3
|
+
#header_in_in
|
4
|
+
.container-fluid
|
5
|
+
%ul.sign_in_block.nav.navbar-nav
|
6
|
+
%li#authentifyd_language_selector.dropdown.pull-right
|
7
|
+
= link_to "#", class:"dropdown-toggle", id:"dLabel", role:"button", :'data-toggle'=>"dropdown", :'data-target'=>"#" do
|
8
|
+
= image_tag "authentifyd/#{I18n.locale}.png", width: '18'
|
9
|
+
%b.caret
|
11
10
|
%ul.dropdown-menu{role:"menu", :'aria-labelledby'=>"dLabel"}
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
11
|
+
- I18n.available_locales.select{|ll| ll != I18n.locale }.each do |l|
|
12
|
+
%li
|
13
|
+
= link_to url_for(params.merge(locale: l)), class: 'btn no_btn' do
|
14
|
+
= image_tag "authentifyd/#{l}.png", width: '15'
|
15
|
+
- if user_signed_in?
|
16
|
+
%li.dropdown.pull-right
|
17
|
+
= link_to"#", class:"dropdown-toggle", id:"dLabel", role:"button", :'data-toggle'=>"dropdown", :'data-target'=>"#" do
|
18
|
+
= current_user.email
|
19
|
+
|
20
|
+
%b.caret
|
21
|
+
%i.icon-caret-down.inline
|
22
|
+
%ul.dropdown-menu{role:"menu", :'aria-labelledby'=>"dLabel"}
|
23
|
+
%li
|
24
|
+
= link_to edit_user_registration_path, class: 'btn no_btn' do
|
25
|
+
%i.icon-cog.inline
|
26
|
+
|
27
|
+
= t('My_account')
|
28
|
+
%li
|
29
|
+
= link_to accounts_path, class: 'btn no_btn' do
|
30
|
+
%i.icon-link.inline
|
31
|
+
|
32
|
+
= t('Linked_accounts')
|
33
|
+
%li
|
34
|
+
= link_to destroy_session_path(:user), class: 'btn no_btn' do
|
35
|
+
%i.icon-signout.inline
|
36
|
+
|
37
|
+
= t('Sign_out')
|
38
|
+
- else
|
39
|
+
%li.pull-right
|
40
|
+
= link_to new_session_path(:user), class: 'btn no_btn icon_btn' do
|
41
|
+
%i.icon-user.icon-4x
|
42
|
+
= t('Connect')
|
40
43
|
|
41
|
-
|
44
|
+
= Authentifyd.top_navbar_snippet.try(:call).try(:html_safe)
|
data/lib/authentifyd/version.rb
CHANGED
metadata
CHANGED
@@ -1,169 +1,137 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authentifyd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- NicoArbogast
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2014-02-06 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: rails
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70342333226680 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: 3.2.9
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
|
-
version_requirements:
|
23
|
-
requirements:
|
24
|
-
- - ~>
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 3.2.9
|
24
|
+
version_requirements: *70342333226680
|
27
25
|
- !ruby/object:Gem::Dependency
|
28
26
|
name: devise
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
27
|
+
requirement: &70342333226160 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
30
29
|
requirements:
|
31
|
-
- -
|
30
|
+
- - =
|
32
31
|
- !ruby/object:Gem::Version
|
33
32
|
version: 2.1.2
|
34
33
|
type: :runtime
|
35
34
|
prerelease: false
|
36
|
-
version_requirements:
|
37
|
-
requirements:
|
38
|
-
- - '='
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 2.1.2
|
35
|
+
version_requirements: *70342333226160
|
41
36
|
- !ruby/object:Gem::Dependency
|
42
37
|
name: devise-encryptable
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
38
|
+
requirement: &70342333225660 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
44
40
|
requirements:
|
45
|
-
- -
|
41
|
+
- - =
|
46
42
|
- !ruby/object:Gem::Version
|
47
43
|
version: 0.1.2
|
48
44
|
type: :runtime
|
49
45
|
prerelease: false
|
50
|
-
version_requirements:
|
51
|
-
requirements:
|
52
|
-
- - '='
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 0.1.2
|
46
|
+
version_requirements: *70342333225660
|
55
47
|
- !ruby/object:Gem::Dependency
|
56
48
|
name: omniauth
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
+
requirement: &70342333225200 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - =
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: 1.1.4
|
62
55
|
type: :runtime
|
63
56
|
prerelease: false
|
64
|
-
version_requirements:
|
65
|
-
requirements:
|
66
|
-
- - '='
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 1.1.4
|
57
|
+
version_requirements: *70342333225200
|
69
58
|
- !ruby/object:Gem::Dependency
|
70
59
|
name: omniauth-facebook
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirement: &70342333224740 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
72
62
|
requirements:
|
73
|
-
- -
|
63
|
+
- - =
|
74
64
|
- !ruby/object:Gem::Version
|
75
65
|
version: 1.4.0
|
76
66
|
type: :runtime
|
77
67
|
prerelease: false
|
78
|
-
version_requirements:
|
79
|
-
requirements:
|
80
|
-
- - '='
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 1.4.0
|
68
|
+
version_requirements: *70342333224740
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: omniauth-twitter
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
71
|
+
requirement: &70342333224020 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
86
73
|
requirements:
|
87
|
-
- -
|
74
|
+
- - =
|
88
75
|
- !ruby/object:Gem::Version
|
89
76
|
version: 1.0.0
|
90
77
|
type: :runtime
|
91
78
|
prerelease: false
|
92
|
-
version_requirements:
|
93
|
-
requirements:
|
94
|
-
- - '='
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 1.0.0
|
79
|
+
version_requirements: *70342333224020
|
97
80
|
- !ruby/object:Gem::Dependency
|
98
81
|
name: omniauth-google-oauth2
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
82
|
+
requirement: &70342333223400 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
100
84
|
requirements:
|
101
|
-
- -
|
85
|
+
- - =
|
102
86
|
- !ruby/object:Gem::Version
|
103
87
|
version: 0.2.1
|
104
88
|
type: :runtime
|
105
89
|
prerelease: false
|
106
|
-
version_requirements:
|
107
|
-
requirements:
|
108
|
-
- - '='
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: 0.2.1
|
90
|
+
version_requirements: *70342333223400
|
111
91
|
- !ruby/object:Gem::Dependency
|
112
92
|
name: haml-rails
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
93
|
+
requirement: &70342333222960 !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
114
95
|
requirements:
|
115
96
|
- - ! '>='
|
116
97
|
- !ruby/object:Gem::Version
|
117
98
|
version: '0'
|
118
99
|
type: :runtime
|
119
100
|
prerelease: false
|
120
|
-
version_requirements:
|
121
|
-
requirements:
|
122
|
-
- - ! '>='
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
101
|
+
version_requirements: *70342333222960
|
125
102
|
- !ruby/object:Gem::Dependency
|
126
103
|
name: localyzed
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
104
|
+
requirement: &70342333222420 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
128
106
|
requirements:
|
129
|
-
- -
|
107
|
+
- - =
|
130
108
|
- !ruby/object:Gem::Version
|
131
109
|
version: 0.0.3.6
|
132
110
|
type: :runtime
|
133
111
|
prerelease: false
|
134
|
-
version_requirements:
|
135
|
-
requirements:
|
136
|
-
- - '='
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: 0.0.3.6
|
112
|
+
version_requirements: *70342333222420
|
139
113
|
- !ruby/object:Gem::Dependency
|
140
114
|
name: mysql2
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirement: &70342333221980 !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
142
117
|
requirements:
|
143
118
|
- - ! '>='
|
144
119
|
- !ruby/object:Gem::Version
|
145
120
|
version: '0'
|
146
121
|
type: :development
|
147
122
|
prerelease: false
|
148
|
-
version_requirements:
|
149
|
-
requirements:
|
150
|
-
- - ! '>='
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '0'
|
123
|
+
version_requirements: *70342333221980
|
153
124
|
- !ruby/object:Gem::Dependency
|
154
125
|
name: rspec-rails
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
126
|
+
requirement: &70342333221520 !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
156
128
|
requirements:
|
157
129
|
- - ! '>='
|
158
130
|
- !ruby/object:Gem::Version
|
159
131
|
version: '0'
|
160
132
|
type: :development
|
161
133
|
prerelease: false
|
162
|
-
version_requirements:
|
163
|
-
requirements:
|
164
|
-
- - ! '>='
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '0'
|
134
|
+
version_requirements: *70342333221520
|
167
135
|
description: Devise + Omniauth Authentication encapsulated in an Engine. Uses Devise.
|
168
136
|
Parts taken from perens-instant-user and sso-devise-omniauth-provider
|
169
137
|
email:
|
@@ -232,25 +200,26 @@ files:
|
|
232
200
|
- README.rdoc
|
233
201
|
homepage: https://github.com/NicoArbogast/authentifyd.git
|
234
202
|
licenses: []
|
235
|
-
metadata: {}
|
236
203
|
post_install_message:
|
237
204
|
rdoc_options: []
|
238
205
|
require_paths:
|
239
206
|
- lib
|
240
207
|
required_ruby_version: !ruby/object:Gem::Requirement
|
208
|
+
none: false
|
241
209
|
requirements:
|
242
210
|
- - ! '>='
|
243
211
|
- !ruby/object:Gem::Version
|
244
212
|
version: '0'
|
245
213
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
214
|
+
none: false
|
246
215
|
requirements:
|
247
216
|
- - ! '>='
|
248
217
|
- !ruby/object:Gem::Version
|
249
218
|
version: '0'
|
250
219
|
requirements: []
|
251
220
|
rubyforge_project:
|
252
|
-
rubygems_version:
|
221
|
+
rubygems_version: 1.8.17
|
253
222
|
signing_key:
|
254
|
-
specification_version:
|
223
|
+
specification_version: 3
|
255
224
|
summary: Devise + Omniauth Authentication encapsulated in an Engine.
|
256
225
|
test_files: []
|
checksums.yaml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
!binary "U0hBMQ==":
|
3
|
-
metadata.gz: !binary |-
|
4
|
-
NjQ0NzE2OGRkMDhhMmFmMmY3OTY2Yjc1YWQ3MzhlOWZmN2YwMTFiZA==
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
ZDA2ZDc3MTc0YmVkNTkxMGM5ZWQ3YzdmOWYxODJmZGQ3YmM0ODNjNg==
|
7
|
-
!binary "U0hBNTEy":
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
NWFlZDAxODNiZjNiMzYwM2UyYTU5MGZiMGI0NDRkN2ZlZTU5ZjRiOWQ5Mzg1
|
10
|
-
NGI5NWE0OTg5Yjg3ZDM2NzFlODA3YmQxMWIxMDE0YzRiYjllNDYzNGEwNGU0
|
11
|
-
ZjljOThlOTdiODVjNzQxZjYzZGI2YTRkMmZiNTAzYzBiMmQwZWY=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
NGQzYTFlNjU1NjM0YzQ2ZTNjMWIyOTk5NjJlNmRiN2M5YTBhZDE5YzhjZDY4
|
14
|
-
NjdiZTU3OWI2OWYzZDgxMDYyYmRkZjQzOGQ5MjhmZDBkYmMyNWJjNWJhMDRj
|
15
|
-
YjRmZTNjMDE5OWNlNDkxZjU3YzdmMmNhZmE2YmZhYWI4MTEzZjg=
|