explorak5_canvas_login 3.0.0 → 3.1.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: 9f26f6a493e2ef17b9a9ceb2cc10cb11fe385112ee5c885ffdfe4a524f34c7fe
4
- data.tar.gz: 15d3e722b3f9ea97c255af7a3b26ae39b25fa356fc06c021bfd8f6754c02b682
3
+ metadata.gz: 9de458ee5b6729260a2ee2f3688a1e26791a96f837ad746ec80b15fa8a7ad3d5
4
+ data.tar.gz: b2b37ca16668286f425c2d06167993ecb825fdc996e4da04341686f3e2a4ede6
5
5
  SHA512:
6
- metadata.gz: 82d07bc58983e5499c4c695deef68e1b2247b771a95baa393ea98de3593334cf4aad887cceb3e8507d36f2b5bcd1f82841c816fe2df0b739ce14bee6cf6d3e48
7
- data.tar.gz: 6d377f7edaf848b03a7633e4a7f0ec4efec4e3bcfe0b2820b7c1dbf883158e5aaa4c797812cfd6431f2c8e35c0d514dedd42d806f2070211f747a5bc8ac01206
6
+ metadata.gz: db74668df7ac9ac30246351664397422eca1f78c867e67ee22ba1b357364532c8dab92e321e82703479b97179dc59596d95dfa310b51632267069adf499fc0ba
7
+ data.tar.gz: b8f15099f1a8ddf98b727beb297feef9672b7da58eb6e0557439403aa8554ffe7ef53a0ca88a88d06fd812046b19c9dd2d6cd78d901213854fffa91de49bc3ab
@@ -0,0 +1,131 @@
1
+ <style>
2
+ body{
3
+ font-size : 0.9rem !important;
4
+ }
5
+ body.ic-Login-Body {
6
+ background-image: url("/images/images_k5/fondo.png") !important;
7
+ }
8
+ .ic-Login__title {
9
+ text-align: center;
10
+ }
11
+
12
+ .btn-img-logout {
13
+ background-size: 100px;
14
+ background-repeat: no-repeat;
15
+ height: 125px;
16
+ width: 125px;
17
+ background-color: transparent;
18
+ border: none;
19
+ background-position: center;
20
+ }
21
+
22
+ .btn-img-login-espol {
23
+ float: left;
24
+ width: 6%;
25
+ margin-left: 30px;
26
+ margin-top: 10px;
27
+ background-repeat: no-repeat;
28
+ height: 120px;
29
+ background-position: center;
30
+ background-size: contain;
31
+ background-color: transparent;
32
+ border: none;
33
+ }
34
+ .login_links {
35
+ display: grid;
36
+ float: right;
37
+ grid-template-rows: 25px 25px 25px;
38
+ grid-row-gap: 75px;
39
+ margin-right: 50px;
40
+ width: 5%;
41
+ }
42
+
43
+ .btn-img-logout-text {
44
+ text-decoration: underline;
45
+ color: white;
46
+ background: transparent;
47
+ border: none;
48
+ }
49
+ .btn-img-login-vinculos {
50
+ width: auto;
51
+ margin-top: 15px;
52
+ background-repeat: no-repeat;
53
+ height: 120px;
54
+ background-position: center;
55
+ background-size: contain;
56
+ background-color: transparent;
57
+ border: none;
58
+ }
59
+ </style>
60
+ <%
61
+ # Copyright (C) 2014 - present Instructure, Inc.
62
+ #
63
+ # This file is part of Canvas.
64
+ #
65
+ # Canvas is free software: you can redistribute it and/or modify it under
66
+ # the terms of the GNU Affero General Public License as published by the Free
67
+ # Software Foundation, version 3 of the License.
68
+ #
69
+ # Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
70
+ # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
71
+ # A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
72
+ # details.
73
+ #
74
+ # You should have received a copy of the GNU Affero General Public License along
75
+ # with this program. If not, see <http://www.gnu.org/licenses/>.
76
+ %>
77
+
78
+ <%
79
+ css_bundle :login
80
+ @headers = false
81
+ provide :page_title, t(:page_title, "Log Out")
82
+ add_body_class "full-width ic-Login-Body"
83
+ %>
84
+ <div>
85
+ <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>
86
+ <!--button onclick="window.open('http://www.midi.espol.edu.ec')" style="background-image: url('/images/images_k5/logomidi.png')" class="btn-img-login-midi" alt="Logo Midi"></button-->
87
+ </div>
88
+
89
+ <div class="login_links">
90
+ <button onclick="window.open('http://www.vinculacion.espol.edu.ec')" style="background-image:url('/images/images_k5/logovinculos.png')" class="btn-img-login-vinculos" alt="Logo Vinculos"></button>
91
+ </div>
92
+
93
+ <div class="ic-Login">
94
+ <div class="ic-Login__container">
95
+ <div class="ic-Login__content">
96
+ <div class="ic-Login__innerContent">
97
+ <div class="ic-Login__header" style="max-width: 60%; margin-left: 27%;">
98
+ <div class="ic-Login-header__logo">
99
+ <img alt="Explora K5" style="max-width: 75%;" src="https://explorak5.espol.edu.ec/accounts/2/files/27/download?verifier=ptUlRoCsAAAu6FzgMPHeVcNlG7C38fqPE3c4X2vY">
100
+ </div>
101
+ </div>
102
+ <div class="ic-Login__body">
103
+ <h1 class="ic-Login__title" style="font-family: Quicksand">
104
+ <%= t 'log_out', 'Log Out' %>
105
+ </h1>
106
+ <p class="ic-Login__text" style="font-family: Quicksand; text-align: center">
107
+ <%= t 'details.log_out', 'Are you sure you want to log out of Canvas?' %>
108
+ </p>
109
+ <%= form_tag logout_path, method: :delete do %>
110
+ <div class="ic-Login__actions" style="display: flex; gap: 10%; margin-right: 10%; margin-left: 10%;">
111
+ <div style="display: grid;">
112
+ <button type="submit" class="btn-img-logout" id="Button--logout-confirm" style="background-image: url('/images/images_k5/salir.svg'); background-size: 90px" alt="Cerrar sesión"></button>
113
+ <button type="submit" id="Button--logout-confirm" class="btn-img-logout-text" style="font-family: Quicksand">
114
+ <%= t("Log Out") %>
115
+ </button>
116
+ </div>
117
+ <div style="display: grid;">
118
+ <button class="btn-img-logout" style="background-image:url('/images/images_k5/cancelar.svg'); font-family: Quicksand" alt="Cancelar">
119
+ <%= link_to(t(:cancel, "Cancel"), '/', :class => "ic-Login__link", :style => "color: transparent !important") %>
120
+ </button>
121
+ <button class="btn-img-logout-text" style="font-family: Quicksand">
122
+ <%= link_to(t(:cancel, "Cancel"), '/', :class => "ic-Login__link") %>
123
+ </button>
124
+ </div>
125
+ </div>
126
+ <% end %>
127
+ </div> <!-- end ic-Login__body -->
128
+ </div> <!-- end ic-Login__innerContent -->
129
+ </div> <!-- end ic-Login__content -->
130
+ </div> <!-- end ic-Login__content -->
131
+ </div> <!-- end ic-Login__container -->
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Explorak5CanvasLogin
4
- VERSION = "3.0.0"
4
+ VERSION = "3.1.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: explorak5_canvas_login
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Explorak5
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-09-24 00:00:00.000000000 Z
11
+ date: 2024-09-25 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,
@@ -20,6 +20,7 @@ extensions: []
20
20
  extra_rdoc_files: []
21
21
  files:
22
22
  - lib/explorak5_canvas_login/app/views/login/_login_content.html.erb
23
+ - lib/explorak5_canvas_login/app/views/login/_logout_confirm_content.html.erb
23
24
  - lib/explorak5_canvas_login/app/views/navbar/_new_nav_header.html.erb
24
25
  - lib/explorak5_canvas_login/version.rb
25
26
  homepage: https://github.com/kevin523523/explorak5_canvas_login