explorak5_login_prueba 4.1.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/explorak5_login_prueba/version.rb +1 -1
- metadata +1 -4
- data/lib/explorak5_login_prueba/app/assets/images/images_k5/_logoespol.png +0 -0
- data/lib/explorak5_login_prueba/app/assets/images/images_k5/logovinculos.png +0 -0
- data/lib/explorak5_login_prueba/app/views/login/_login_content.html.erb +0 -141
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e23dad7b70ab82635b7bcd67ff7c1b0500a02de00324f18bb40bac6239d4c63f
|
4
|
+
data.tar.gz: 2b34380431920c6cef247e9b9f4e964c0a2d54df6394850870a78a520dbf09a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab71ee4723512d2f162f6420d93e90dad1babb0645f5861cc249c8f65c78d19bd78c5b2aab34efab4ac539180314c5247c523106a3ab003799ea9f61392c4d17
|
7
|
+
data.tar.gz: 238236b051451fd97ddd0eb69c67071e3a026ae29446f946abc18803212554ac05579ee6e0e38fede640eec956c58b6d8e76a41fd782bc008b5fb016bddd872b
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: explorak5_login_prueba
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Ibarra
|
@@ -19,9 +19,6 @@ executables: []
|
|
19
19
|
extensions: []
|
20
20
|
extra_rdoc_files: []
|
21
21
|
files:
|
22
|
-
- lib/explorak5_login_prueba/app/assets/images/images_k5/_logoespol.png
|
23
|
-
- lib/explorak5_login_prueba/app/assets/images/images_k5/logovinculos.png
|
24
|
-
- lib/explorak5_login_prueba/app/views/login/_login_content.html.erb
|
25
22
|
- lib/explorak5_login_prueba/version.rb
|
26
23
|
homepage: https://github.com/kevin523523/explorak5_login
|
27
24
|
licenses: []
|
Binary file
|
Binary file
|
@@ -1,141 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
# Copyright (C) 2015 - present Instructure, Inc.
|
3
|
-
#
|
4
|
-
# This file is part of Canvas.
|
5
|
-
#
|
6
|
-
# Canvas is free software: you can redistribute it and/or modify it under
|
7
|
-
# the terms of the GNU Affero General Public License as published by the Free
|
8
|
-
# Software Foundation, version 3 of the License.
|
9
|
-
#
|
10
|
-
# Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
|
13
|
-
# details.
|
14
|
-
#
|
15
|
-
# You should have received a copy of the GNU Affero General Public License along
|
16
|
-
# with this program. If not, see <http://www.gnu.org/licenses/>.
|
17
|
-
%>
|
18
|
-
|
19
|
-
<%
|
20
|
-
login_handle_name = @domain_root_account.login_handle_name_with_inference
|
21
|
-
# disable form submission when previewing from theme editor
|
22
|
-
if params[:previewing_from_themeeditor]
|
23
|
-
login_btn_type = forgot_password_btn_type = "button"
|
24
|
-
else
|
25
|
-
login_btn_type = forgot_password_btn_type = "submit"
|
26
|
-
end
|
27
|
-
unique_id = begin
|
28
|
-
params.dig(:pseudonym_session, :unique_id)&.to_s
|
29
|
-
rescue TypeError
|
30
|
-
nil
|
31
|
-
end
|
32
|
-
%>
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
<div class="ic-Login<%= params[:previewing_from_themeeditor] ? ' ic-Login--previewing' : '' %>">
|
38
|
-
<div class="ic-Login__container">
|
39
|
-
<div class="ic-Login__content">
|
40
|
-
<div class="ic-Login__innerContent">
|
41
|
-
<div>
|
42
|
-
<%= image_tag 'images/images_k5/logovinculos.png' %>
|
43
|
-
</div>
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
<h1>
|
48
|
-
<%= t('hola') %>
|
49
|
-
</h1>
|
50
|
-
<div class="ic-Login-header">
|
51
|
-
<%= render :partial => 'login/shared/header_logo' %>
|
52
|
-
<div class="ic-Login-header__links">
|
53
|
-
<%= render "login/canvas/login_banner" %>
|
54
|
-
<% if @domain_root_account.enable_course_catalog? %>
|
55
|
-
<a href="/search/all_courses" class="ic-Login__link">
|
56
|
-
<%= t('browse_courses', 'Browse courses') %>
|
57
|
-
</a>
|
58
|
-
<% end %>
|
59
|
-
</div>
|
60
|
-
</div>
|
61
|
-
|
62
|
-
<div class="ic-Login__body">
|
63
|
-
<%= render "shared/login_fft_helper" %>
|
64
|
-
<%= form_for :pseudonym_session, :url => url_for({ action: :create }.merge(params.slice(:id).to_unsafe_h)), :html => {:id => "login_form"} do |f| %>
|
65
|
-
<h1 class="ui-helper-hidden-accessible">
|
66
|
-
<%= t('log_in', 'Log In') %>
|
67
|
-
</h1>
|
68
|
-
<% login_inner_dialog = yield :login_inner_dialog %>
|
69
|
-
<%= login_inner_dialog if login_inner_dialog && !login_inner_dialog.strip.empty? %>
|
70
|
-
<input type="hidden" name="redirect_to_ssl" value="1"/>
|
71
|
-
<div class="ic-Form-control ic-Form-control--login">
|
72
|
-
<%= f.label :unique_id, login_handle_name, :class => "ic-Label" %>
|
73
|
-
<%= f.text_field :unique_id, :class => "ic-Input text", :value => unique_id, :autofocus => !params[:previewing_from_themeeditor] %>
|
74
|
-
</div>
|
75
|
-
<div class="ic-Form-control ic-Form-control--login">
|
76
|
-
<%= f.label :password, :en => "Password", :class => "ic-Label" %>
|
77
|
-
<%= f.password_field :password, :class => "ic-Input text", :role => "textbox" %>
|
78
|
-
</div>
|
79
|
-
<div class="ic-Login__actions">
|
80
|
-
<div class="ic-Login__actions-timeout">
|
81
|
-
<% unless session_timeout_enabled? %>
|
82
|
-
<%= f.check_box :remember_me, :checked => session[:used_remember_me_token] %>
|
83
|
-
<%= f.label :remember_me, :en => "Stay signed in" %>
|
84
|
-
<% end %>
|
85
|
-
|
86
|
-
<div class="ic-Login__forgot">
|
87
|
-
<%= render "login/canvas/forgot_password_link" %>
|
88
|
-
</div>
|
89
|
-
</div>
|
90
|
-
<div class="ic-Form-control ic-Form-control--login">
|
91
|
-
<%= submit_tag t('log_in', 'Log In'), type: login_btn_type, class: "Button Button--login" %>
|
92
|
-
</div>
|
93
|
-
</div> <!-- ic-Login__actions -->
|
94
|
-
<%= render partial: "sso_buttons", locals: { aacs: @aacs_with_buttons } %>
|
95
|
-
<% end %>
|
96
|
-
<%= form_for :pseudonym_session, :url => forgot_password_path, :html => {:id => "forgot_password_form", :style => "display: none;"} do |f| %>
|
97
|
-
<h1 class="ui-helper-hidden-accessible"><%= t('ESPOL?') %></h1>
|
98
|
-
<p id="forgot_password_instructions" class="ic-Login__forgot-text">
|
99
|
-
<%= t('login_handle', "Enter your %{login_handle_name} and we'll send you a link to change your password.", :login_handle_name => login_handle_name) %>
|
100
|
-
</p>
|
101
|
-
<div class="ic-Form-control ic-Form-control--login">
|
102
|
-
<label for="pseudonym_session_unique_id_forgot" class="ic-Label">
|
103
|
-
<%= login_handle_name %>
|
104
|
-
</label>
|
105
|
-
<input aria-describedby="forgot_password_instructions" class="ic-Input email_address text" type="text" name="pseudonym_session[unique_id_forgot]" value="" id="pseudonym_session_unique_id_forgot" />
|
106
|
-
|
107
|
-
</div>
|
108
|
-
<div class="ic-Form-control ic-Form-control--login">
|
109
|
-
<div class="ic-Login__actions">
|
110
|
-
<%= link_to t('back_to_login', "Back to Login"), login_path, :class => "ic-Login__actions--left ic-Login__link login_link"%>
|
111
|
-
<button type="<%= forgot_password_btn_type %>" class="Button Button--login">
|
112
|
-
<%= t('buttons.request_password', 'Request Password') %>
|
113
|
-
</button>
|
114
|
-
</div> <!-- end ic-Login__actions -->
|
115
|
-
</div>
|
116
|
-
<% end %>
|
117
|
-
</div> <!-- end ic-Login__body -->
|
118
|
-
</div> <!-- end ic-Login__innerContent -->
|
119
|
-
<footer role="contentinfo" id="footer" class="ic-Login-footer">
|
120
|
-
|
121
|
-
<div id="footer-links" class="ic-Login-footer__links">
|
122
|
-
<% if Setting.get("show_opensource_linkback", "false") == "true" %>
|
123
|
-
<a href="http://instructure.com">
|
124
|
-
<%= t('open_source_learning_management_system', 'Open Source LMS') %>
|
125
|
-
</a>
|
126
|
-
<% end %>
|
127
|
-
<%= help_link %>
|
128
|
-
<%= render :partial => 'shared/footer_links' %>
|
129
|
-
</div>
|
130
|
-
<a href="http://www.espol.edu.ec" class="ic-Login-footer__logo-link" aria-label="By Instructure">
|
131
|
-
<img src="/images/imagenes_k5/logoespol.png" alt="Logo Espol" class="btn-img-login-espol" />
|
132
|
-
</a>
|
133
|
-
|
134
|
-
|
135
|
-
<div id="footer-epilogue" class="ic-Login-footer__links">
|
136
|
-
<%= render :partial => 'shared/footer_epilogue' %>
|
137
|
-
</div>
|
138
|
-
</footer>
|
139
|
-
</div> <!-- end ic-Login__content -->
|
140
|
-
</div>
|
141
|
-
</div> <!-- end ic-Login -->
|