explorak5_login_prueba 3.1.0 → 3.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9eda31fa6343bd984c1b52a6cf471aa6b4866dcb832a5bd47e26dc14c95f7b0
4
- data.tar.gz: 63fc004c3b548dfad00f9fea92250a33b10818b02a593b5127a0763d76ba2cb4
3
+ metadata.gz: 862d51e87954b8aa08f03d05bd18f524407a2b61ebfdcb6c3dffa7fe6404d545
4
+ data.tar.gz: 7715ad39ebdeedfdcc95c30a648c34482c7c23d08b148e1377cceaba874e6768
5
5
  SHA512:
6
- metadata.gz: 30c251383eb431cac4a068b109ffd6d6bef91c4295376862b8a007e1ad635ac0841de6f7336f27c84ada156ccc063079e40e3d26a099add1ada215494bc422e3
7
- data.tar.gz: d1d7cdf420101c8cf1db8077607732f5ce3abbee66e9be0f7793fc5a14c9e6b716b6dcd9d78e1d4173fa3954fb8ae4b7a1e62cd1a18e54d53b236ecf3a9e824e
6
+ metadata.gz: a923555cba81185b9ed493c8e8b571a1acb818cb70b7718c287aae363a8718ce063cccb5b937b968112e0cc2eb012b71f9c0fea73febbd8ef8543a0d678a86b9
7
+ data.tar.gz: b445beb0e9b49edb566a032794e296711ac36ff9223426379d8581dd3688b874912a7bc3f2671f94471b7638155c92adb59b2d1806ed830c16f445f838ad8272
@@ -39,8 +39,9 @@
39
39
  <div class="ic-Login__content">
40
40
  <div class="ic-Login__innerContent">
41
41
  <div>
42
- <button onclick="window.open('http://www.espol.edu.ec')" style="background-image:url('/images/images_k5/logoespol.png')" class="btn-img-login-espol" alt="Logo Espol"></button>
43
- </div>
42
+ <button onclick="window.open('http://www.espol.edu.ec')" style="background-image:url('<%= asset_path('images_k5/logovinculos.png') %>')" class="btn-img-login-espol" alt="Logo Espol"></button>
43
+ </div>
44
+
44
45
 
45
46
  <h1>
46
47
  <%= t('hola') %>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Explorak5LoginPrueba
4
- VERSION = "3.1.0"
4
+ VERSION = "3.3.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: explorak5_login_prueba
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Ibarra
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-16 00:00:00.000000000 Z
11
+ date: 2024-08-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'This gem provides a comprehensive solution for implementing login functionality
14
14
  in Ruby applications. Features include user authentication, password management,
@@ -19,14 +19,9 @@ executables: []
19
19
  extensions: []
20
20
  extra_rdoc_files: []
21
21
  files:
22
+ - app/assets/images/images_k5/_logoespol.png
23
+ - app/assets/images/images_k5/logovinculos.png
22
24
  - app/views/explorak5_login_prueba/_login_content.html.erb
23
- - app/views/explorak5_login_prueba/images/imagenes_k5/_logoespol.png
24
- - lib/explorak5_login_prueba/app/views/_login_content.html.erb
25
- - lib/explorak5_login_prueba/src/images/images_k5/flecha.png
26
- - lib/explorak5_login_prueba/src/images/images_k5/flecha.svg
27
- - lib/explorak5_login_prueba/src/images/images_k5/fondo.png
28
- - lib/explorak5_login_prueba/src/images/images_k5/logo_k5.png
29
- - lib/explorak5_login_prueba/src/images/images_k5/logovinculos.png
30
25
  - lib/explorak5_login_prueba/version.rb
31
26
  homepage: https://github.com/kevin523523/explorak5_login
32
27
  licenses: []
@@ -1,128 +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
- <div class="ic-Login<%= params[:previewing_from_themeeditor] ? ' ic-Login--previewing' : '' %>">
35
- <div class="ic-Login__container">
36
- <div class="ic-Login__content">
37
- <div class="ic-Login__innerContent">
38
-
39
- <div class="ic-Login-header">
40
- <%= render :partial => 'login/shared/header_logo' %>
41
- <div class="ic-Login-header__links">
42
- <%= render "login/canvas/login_banner" %>
43
- <% if @domain_root_account.enable_course_catalog? %>
44
- <a href="/search/all_courses" class="ic-Login__link">
45
- <%= t('browse_courses', 'Browse courses') %>
46
- </a>
47
- <% end %>
48
- </div>
49
- </div>
50
-
51
- <div class="ic-Login__body">
52
- <%= render "shared/login_fft_helper" %>
53
- <%= form_for :pseudonym_session, :url => url_for({ action: :create }.merge(params.slice(:id).to_unsafe_h)), :html => {:id => "login_form"} do |f| %>
54
- <h1 class="ui-helper-hidden-accessible">
55
- <%= t('log_in', 'Log In') %>
56
- </h1>
57
- <% login_inner_dialog = yield :login_inner_dialog %>
58
- <%= login_inner_dialog if login_inner_dialog && !login_inner_dialog.strip.empty? %>
59
- <input type="hidden" name="redirect_to_ssl" value="1"/>
60
- <div class="ic-Form-control ic-Form-control--login">
61
- <%= f.label :unique_id, login_handle_name, :class => "ic-Label" %>
62
- <%= f.text_field :unique_id, :class => "ic-Input text", :value => unique_id, :autofocus => !params[:previewing_from_themeeditor] %>
63
- </div>
64
- <div class="ic-Form-control ic-Form-control--login">
65
- <%= f.label :password, :en => "Password", :class => "ic-Label" %>
66
- <%= f.password_field :password, :class => "ic-Input text", :role => "textbox" %>
67
- </div>
68
- <div class="ic-Login__actions">
69
- <div class="ic-Login__actions-timeout">
70
- <% unless session_timeout_enabled? %>
71
- <%= f.check_box :remember_me, :checked => session[:used_remember_me_token] %>
72
- <%= f.label :remember_me, :en => "Stay signed in" %>
73
- <% end %>
74
-
75
- <div class="ic-Login__forgot">
76
- <%= render "login/canvas/forgot_password_link" %>
77
- </div>
78
- </div>
79
- <div class="ic-Form-control ic-Form-control--login">
80
- <%= submit_tag t('log_in', 'Log In'), type: login_btn_type, class: "Button Button--login" %>
81
- </div>
82
- </div> <!-- ic-Login__actions -->
83
- <%= render partial: "sso_buttons", locals: { aacs: @aacs_with_buttons } %>
84
- <% end %>
85
- <%= form_for :pseudonym_session, :url => forgot_password_path, :html => {:id => "forgot_password_form", :style => "display: none;"} do |f| %>
86
- <h1 class="ui-helper-hidden-accessible"><%= t('ESPOL?') %></h1>
87
- <p id="forgot_password_instructions" class="ic-Login__forgot-text">
88
- <%= 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) %>
89
- </p>
90
- <div class="ic-Form-control ic-Form-control--login">
91
- <label for="pseudonym_session_unique_id_forgot" class="ic-Label">
92
- <%= login_handle_name %>
93
- </label>
94
- <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" />
95
-
96
- </div>
97
- <div class="ic-Form-control ic-Form-control--login">
98
- <div class="ic-Login__actions">
99
- <%= link_to t('back_to_login', "Back to Login"), login_path, :class => "ic-Login__actions--left ic-Login__link login_link"%>
100
- <button type="<%= forgot_password_btn_type %>" class="Button Button--login">
101
- <%= t('buttons.request_password', 'Request Password') %>
102
- </button>
103
- </div> <!-- end ic-Login__actions -->
104
- </div>
105
- <% end %>
106
- </div> <!-- end ic-Login__body -->
107
- </div> <!-- end ic-Login__innerContent -->
108
- <footer role="contentinfo" id="footer" class="ic-Login-footer">
109
-
110
- <div id="footer-links" class="ic-Login-footer__links">
111
- <% if Setting.get("show_opensource_linkback", "false") == "true" %>
112
- <a href="http://instructure.com">
113
- <%= t('open_source_learning_management_system', 'Open Source LMS') %>
114
- </a>
115
- <% end %>
116
- <%= help_link %>
117
- <%= render :partial => 'shared/footer_links' %>
118
- </div>
119
- <a href="http://www.instructure.com" class="ic-Login-footer__logo-link" aria-label="By Instructure">
120
- <%= render partial: "login/canvas/instructure_logo", formats: [:svg] %>
121
- </a>
122
- <div id="footer-epilogue" class="ic-Login-footer__links">
123
- <%= render :partial => 'shared/footer_epilogue' %>
124
- </div>
125
- </footer>
126
- </div> <!-- end ic-Login__content -->
127
- </div>
128
- </div> <!-- end ic-Login -->
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 56.42 42.82"><defs><style>.cls-1{fill:#fffefd;}</style></defs><g id="Capa_2" data-name="Capa 2"><g id="Capa_2-2" data-name="Capa 2"><g id="T"><path class="cls-1" d="M25.44,3.19a13.87,13.87,0,0,0-.23,1.64,15.27,15.27,0,0,0,0,1.66v7.23L3.76,13.64A3.56,3.56,0,0,0,0,17c.05,2.5.09,5,.14,7.49A3.55,3.55,0,0,0,3.88,27.8l21.41,0v9.9c0,2.57,1.53,4.77,3.63,5.14a24.08,24.08,0,0,0,3.41-1.7q10.43-7.35,20.82-14.83A14.63,14.63,0,0,0,54.71,25a5.3,5.3,0,0,0,1-6.49,4.51,4.51,0,0,0-1-1.27A14.1,14.1,0,0,0,53,15.87Q42.8,8.48,32.53,1.28A4.27,4.27,0,0,0,30.43,0,5,5,0,0,0,25.44,3.19Z"/></g></g></g></svg>