Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
198 commits
Select commit Hold shift + click to select a range
0a1a2fa
nueva interfaz
fdnk Apr 3, 2020
be239c7
algo 3 y cambios menores
fdnk Apr 3, 2020
52e27f4
cambiada descripcion
fdnk Apr 3, 2020
76c8aa5
etiqueta
fdnk Apr 3, 2020
d6640f5
typo
fdnk Apr 3, 2020
919bf6d
Agregada materia "Computación"
DetectivesSchool Apr 3, 2020
8a7cee6
edit on github test en produccion
fdnk Apr 3, 2020
60bee8d
fix editar github
fdnk Apr 3, 2020
7723be1
editar en github
fdnk Apr 3, 2020
4d6b03d
comentario de protectyourlinks.com
fdnk Apr 3, 2020
b89a24b
Agregado grupos de Ocio
DetectivesSchool Apr 3, 2020
01d530d
Agregado Código de conducta y cambios menores
DetectivesSchool Apr 3, 2020
352aadd
Update 2000-01-05-electronica.md
fdnk Apr 4, 2020
3e63a49
Agregado grupo "Servicio Técnico" y "Offtopic"
DetectivesSchool Apr 9, 2020
5a8d114
Agregado grupo "Orga del computador (Moreno)"
DetectivesSchool Apr 10, 2020
d4b29fa
Cambios menores
DetectivesSchool Apr 10, 2020
dc0fcc1
Agregado grupo "Análisis de la información"
DetectivesSchool Apr 14, 2020
78c642b
Agregado "Modelos y Optimización I - sabados"
DetectivesSchool Apr 15, 2020
f88beb5
Actualizado "Análisis 2"
DetectivesSchool Apr 15, 2020
9a428a4
Actualizado enlace "Física I"
DetectivesSchool Apr 16, 2020
0814d76
Agregado "Normas Generales"
DetectivesSchool Apr 16, 2020
f445858
Actualizado "Grupo de Informáticos e Infotrónicos"
DetectivesSchool Apr 16, 2020
e9514d1
Actualizacion de links
MauricioFIUBA Apr 16, 2020
4e60fe4
Agregado "Matemática Discreta"
DetectivesSchool Apr 20, 2020
12fc57c
Merge pull request #1 from MauricioFIUBA/patch-1
DetectivesSchool May 9, 2020
dec390b
Cambiado "Analisis 3 y Proba", se Agrega "Proba B"
DetectivesSchool May 15, 2020
bca441c
Agregado "FIUBA Memes" y correcciones menores
DetectivesSchool May 17, 2020
564d1f2
Corrección menor
DetectivesSchool May 17, 2020
5aed4e7
Agrego plantitas
fdnk May 25, 2020
0d126fe
Correccion link FIUBA Memes
DetectivesSchool May 25, 2020
51ed4d7
Actualizado AdC
DetectivesSchool Jun 4, 2020
0dbb093
Agregado Indicador para Normas
DetectivesSchool Jun 14, 2020
65e0863
Agregado Electronicos Off-Topic, FIUBA Anime-Manga
DetectivesSchool Jul 9, 2020
703d7f1
Agregado FiuBaby y FIUBA Encuestas
DetectivesSchool Jul 26, 2020
159b861
Mueve general al principio
fdnk Jul 27, 2020
b4896de
Arregla problemas de fechas
fdnk Jul 27, 2020
70b09e6
cambia color general
fdnk Jul 27, 2020
2d067ff
typo
fdnk Jul 27, 2020
85a5a01
Solo una corrección ortográfica
DetectivesSchool Aug 25, 2020
82622f6
Agregado Pets y Lobo
DetectivesSchool Sep 10, 2020
40e31d0
Agregado Introducción a la Economía
DetectivesSchool Sep 13, 2020
916c723
Update 2000-01-03-general.md
fdnk Sep 14, 2020
3a3dc32
Update 2000-01-03-general.md
fdnk Sep 14, 2020
eb5a7ca
Update 2000-02-02-matematica.md
fdnk Sep 14, 2020
01d1df5
Update 2000-02-03-fisica.md
fdnk Sep 14, 2020
b544685
Update 2000-01-03-general.md
fdnk Sep 14, 2020
7bd8603
espacio para los iconitos - by Lucas
fdnk Sep 14, 2020
0d0fe5e
Update 2000-01-03-general.md
fdnk Sep 14, 2020
39b80d0
espacio
fdnk Sep 14, 2020
8dd1f3b
fix espacio
fdnk Sep 14, 2020
3e88bcd
fix espacio
fdnk Sep 14, 2020
d1fb4fa
icono
fdnk Sep 14, 2020
65bdfd7
Quimica I
fdnk Sep 15, 2020
6e8fbb0
fix typo
fdnk Sep 15, 2020
a22f3ff
fix fix
fdnk Sep 15, 2020
738bd5f
Fondo para botones marca Lafroce
fdnk Sep 15, 2020
e04ef4a
Borrado Química 1
DetectivesSchool Sep 16, 2020
d3b9898
Agregado DDR y Quimica 1
DetectivesSchool Sep 16, 2020
6fc3574
Agregado Grupo Qui/Alim
DetectivesSchool Sep 16, 2020
63ab89f
correcciones ortográficas
florpatrone Sep 16, 2020
de409ae
Corregido Diseño de Reactores
DetectivesSchool Sep 17, 2020
d4e9cfd
correcciones ortográficas
florpatrone Sep 17, 2020
9b4cb04
Merge pull request #2 from florpatrone/patch-1 (Correcciones ortograf…
DetectivesSchool Sep 17, 2020
f0b9f9a
Modificado FIUBA Noticias
DetectivesSchool Sep 18, 2020
3daa717
Update 2000-02-05-electronica.md
fdnk Sep 19, 2020
7a919ce
Agregado Seccion Civil
DetectivesSchool Sep 19, 2020
106e85e
Corregido Color
DetectivesSchool Sep 19, 2020
4cbb63b
Agregado Grupo de Civil
DetectivesSchool Sep 20, 2020
e8ec8b4
Agregado Comunicación de Datos
DetectivesSchool Sep 20, 2020
617e53e
Agregado Algo2 Electronica
DetectivesSchool Sep 22, 2020
edee236
Cambio descripción de la pagina
DetectivesSchool Sep 23, 2020
12de411
Correccion menor de formato
DetectivesSchool Sep 23, 2020
faa1a88
Cambio menor
DetectivesSchool Sep 23, 2020
e034b1d
Correcciones Gramaticales
DetectivesSchool Sep 23, 2020
dade531
Agregado Analisis Numerico (Sassano)
DetectivesSchool Sep 25, 2020
df9ab4f
Agregado Taller de Programación 1
DetectivesSchool Sep 26, 2020
9756e39
Agregado dpto Gestion
DetectivesSchool Sep 26, 2020
13c6e5b
Cambiado color del Dpto Gestion
DetectivesSchool Sep 26, 2020
61a5f10
Agregado (75.06) Organización de Datos
DetectivesSchool Sep 27, 2020
ad60360
Agregado Procesos Estocasticos
DetectivesSchool Sep 27, 2020
1698284
Agregado Criptografia y Seguridad Informatica
DetectivesSchool Sep 28, 2020
b860f97
Create 2000-02-08-idiomas.md
PipaPips Sep 28, 2020
250b441
Merge pull request #3 from PipaPips/patch-1
DetectivesSchool Sep 28, 2020
f1f7eef
Cambiado fondo y correcciones
DetectivesSchool Sep 28, 2020
51c9bf5
Correccion color de fondo
DetectivesSchool Sep 28, 2020
1b0cc79
Update 2000-02-08-idiomas.md
PipaPips Sep 28, 2020
4136ce5
Merge pull request #4 from PipaPips/patch-2
DetectivesSchool Sep 28, 2020
b4daed2
Agregado Modelos y Optimizacion 1
DetectivesSchool Sep 30, 2020
4666329
Arreglado enlace FIUBA(Grupo)
DetectivesSchool Oct 1, 2020
063164e
Agregado Grupo Legal
DetectivesSchool Oct 1, 2020
a6d0739
Corregido enlace Estructura y Procesos orga
DetectivesSchool Oct 2, 2020
edc08a8
Agregado Cristianos en Ingeniería
DetectivesSchool Nov 10, 2020
6ef0c76
Correfido logo Cristianos en Ingeniería
DetectivesSchool Nov 10, 2020
103cde0
Agregado DIY, Arte, Vampiros
DetectivesSchool Dec 22, 2020
2d70453
Reemplazo de propyl por ofuscasion de link en runtime
fdnk Jan 13, 2021
689a5e6
links ofuscados general
fdnk Jan 14, 2021
5fbae57
links ofuscados matematica
fdnk Jan 14, 2021
79d5eb2
links ofuscados fisica
fdnk Jan 14, 2021
794bbed
links ofuscados quimica
fdnk Jan 14, 2021
bf362aa
links ofuscados electronica
fdnk Jan 14, 2021
14986a6
captcha simple
fdnk Jan 14, 2021
b925c78
arreglado mixed content https
fdnk Jan 14, 2021
acfa63e
link ofuscados civil
fdnk Jan 14, 2021
415545d
links ofuscados computacion
fdnk Jan 14, 2021
4943fa2
links ofuscados gestion
fdnk Jan 14, 2021
9057c3a
links ofuscados idiomas
fdnk Jan 14, 2021
a1f333f
Incorpora LiveChatbot
fdnk Jan 15, 2021
bc8a49f
fix?
fdnk Jan 15, 2021
3623234
Chau LiveChat, hola ChatBro
fdnk Jan 15, 2021
febb2b0
Agregado Estabilidad I
DetectivesSchool Mar 13, 2021
27d6004
Agregado Proba A
DetectivesSchool Mar 13, 2021
ecc1df9
Correcciones menores
DetectivesSchool Mar 13, 2021
e303e54
Mejora la descripción del captcha
fdnk Mar 15, 2021
4a52755
Al completar mal el captcha cambia la página
fdnk Mar 15, 2021
7bc74ea
Vamo de vuelta
fdnk Mar 15, 2021
3d12acf
Juira economia
fdnk Mar 19, 2021
89f2efc
Venga economia a gestión
fdnk Mar 19, 2021
a0f4063
Revert "Vamo de vuelta"
Mar 19, 2021
950c739
Merge pull request #8 from MauricioFIUBA/revertir_economia
fdnk Mar 19, 2021
57e13d4
Ahora si esta arreglado, lo juro
Mar 19, 2021
9527dc6
Merge pull request #9 from MauricioFIUBA/revertir_economia
fdnk Mar 19, 2021
e6c486d
Agregado grupo Literatura
DetectivesSchool Mar 25, 2021
04f6093
Agregado Teoría de Algoritmos
DetectivesSchool Mar 25, 2021
90887cd
Agregado Economía 71.23/91.09
DetectivesSchool Mar 25, 2021
33b1f42
Agregado Inorgánica, Orgánica, Q. An. y Q. Fis.
DetectivesSchool Mar 25, 2021
5d5e700
Usa alertfy para los dialogos
Mar 26, 2021
476391a
Merge branch 'master' of github.com:fiubaverse/fiubaverse.github.io
Mar 26, 2021
e1329b5
Fix rose no se cierra
fdnk Mar 26, 2021
3b8222a
Fix2
fdnk Mar 26, 2021
3b4569f
Fix?
fdnk Mar 26, 2021
0783542
agregado cookie para no verificar humanidad siempre
fdnk Mar 26, 2021
57c8172
me olvide del pull
fdnk Mar 26, 2021
edabd5c
Agregado sección Dpto. Ing. Quim.
DetectivesSchool Mar 26, 2021
f9ed3a6
Correccion menor
DetectivesSchool Mar 26, 2021
3237755
Rverify
fdnk Mar 26, 2021
6cd9960
Merge branch 'master' of github.com:fiubaverse/fiubaverse.github.io
fdnk Mar 26, 2021
e00562d
actualizado link a algebra II
fdnk Mar 29, 2021
0bdf6fe
dolly agregada
verosupervero Apr 1, 2021
59e9450
Merge pull request #11 from verosupervero/patch-1
DetectivesSchool Apr 3, 2021
308d706
config rose
fdnk Apr 8, 2021
31d7085
Agregadas materias
fdnk Apr 8, 2021
87424fa
Departamento de energía y maquinas eléctricas
fdnk Apr 8, 2021
4e6e4e4
Merge branch 'master' of github.com:fiubaverse/fiubaverse.github.io
fdnk Apr 8, 2021
5778bfa
fix
fdnk Apr 8, 2021
180c7f9
fix
fdnk Apr 8, 2021
a80168d
listo energia
fdnk Apr 8, 2021
bbd7d2c
agregado circuitos ii y ps1
verosupervero Apr 9, 2021
342cdcf
circuitos ii link expiro
verosupervero Apr 9, 2021
f32bb7e
Merge pull request #12 from verosupervero/patch-2
DetectivesSchool Apr 9, 2021
d2cea5f
Link de proba B reparado
Apr 9, 2021
a3696e6
Agregado grupo de legislacion de elctronica
Apr 9, 2021
b291629
Arreglado el link de legislacion (91.11)
Apr 9, 2021
571f57c
Reparado link de intro a CAD
Apr 9, 2021
a52f6b7
Arreglado (otra vez) el link de intro a CAD
Apr 9, 2021
e6001ad
Agregado Cafe Intergalactico
DetectivesSchool Apr 10, 2021
cf8c313
Corregido notas
DetectivesSchool Apr 11, 2021
941c935
Cambiado nombre Cafe Intergalactico
DetectivesSchool Apr 12, 2021
5ec7666
Correcciones menores
DetectivesSchool Apr 12, 2021
e780798
Agregado grupo de opto y micro
Apr 12, 2021
5dc02e6
Agregado 71.18
DetectivesSchool Apr 13, 2021
6142cce
Agregados SyRdC, Sis Emb y Redes Neuronales
DetectivesSchool Apr 14, 2021
3d96e40
Agregado Inteligencia Artificial
DetectivesSchool Apr 14, 2021
74450b5
Modificado el nombre para generalizar
Apr 15, 2021
abcbca5
Merge branch 'master' of https://github.com/fiubaverse/fiubaverse.git…
Apr 15, 2021
019b91e
Agregadogrupo de embebidos y gestion
Apr 15, 2021
c15c766
Agregado grupo de comunicaciones
Apr 15, 2021
1a7fa6d
Agregado el codigo de ambiental para evitar confusiones
Apr 15, 2021
7a5643f
fix: movido grupo de Modelos a la sección de "Gestion"
florpatrone Apr 15, 2021
5a8af35
fix: movido grupo de Criptografía a la sección de "Electrónica"
florpatrone Apr 15, 2021
7cf7c32
Arreglado simbolos HTML y borrado de comentario
Apr 18, 2021
3b56602
Merge branch 'master' of https://github.com/fiubaverse/fiubaverse.git…
Apr 18, 2021
21ad65e
Cambio de sigma unicode a fa
MauricioFIUBA Apr 18, 2021
f8ba7e6
Agregado de nuevo sigma debido a falta de equiv en fa
MauricioFIUBA Apr 18, 2021
575e7cf
Reparado link de Fisica 2
MauricioFIUBA Apr 18, 2021
c161d02
Completado los nombres con el codigo
MauricioFIUBA Apr 18, 2021
4f4710f
Correccion de codigo de proba b
MauricioFIUBA Apr 18, 2021
898dd87
Arreglo de Fisica
MauricioFIUBA Apr 18, 2021
a9c912d
Cambio de color en las letras en general
MauricioFIUBA Apr 18, 2021
3bb31bc
Agregado de parentesis en ing quimica
MauricioFIUBA Apr 19, 2021
6b9243d
Codigos de quimica agregados
MauricioFIUBA Apr 19, 2021
41d754c
Se movio electro al depto que corresponde
MauricioFIUBA Apr 19, 2021
b3a7736
Se movio algo2 de electronica al depto que corresponde
MauricioFIUBA Apr 19, 2021
9892caa
Se agregaron todos los codigos de las materias
MauricioFIUBA Apr 19, 2021
59e0911
Agregado ps1 y intro a proyectos
MauricioFIUBA Apr 20, 2021
1bc7dd7
Link arreglado de intro a proyectos
MauricioFIUBA Apr 20, 2021
5b2bbca
Corregido Quim y Alim
DetectivesSchool Apr 20, 2021
a898809
Corregido Quim y Alim
DetectivesSchool Apr 20, 2021
7762c1b
md2yml
fdnk Apr 20, 2021
846200b
Merge branch 'master' of https://github.com/fiubaverse/fiubaverse.git…
fdnk Apr 20, 2021
fab7311
Agregado proba A (ind) y arreglado los codigos de todas las proba
MauricioFIUBA Apr 21, 2021
c83c7e3
Merge branch 'master' of github.com:fiubaverse/fiubaverse.github.io
MauricioFIUBA Apr 21, 2021
d00edff
+utils
fdnk Apr 21, 2021
d46f54d
Raaar
fdnk Apr 21, 2021
c3d4a9d
Arreglado link del grupo de electronica
MauricioFIUBA Apr 21, 2021
ef619ee
Merge branch 'master' of github.com:fiubaverse/fiubaverse.github.io
MauricioFIUBA Apr 21, 2021
fa9c395
Reparado link de control II
MauricioFIUBA Apr 23, 2021
81c23e7
Agregado Emisiones contaminantes quim y bio
DetectivesSchool Apr 26, 2021
c6724e6
Agregados Ope3, DDR e Instru
DeniCabrera Apr 26, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
_site/
.DS_Store
.DS_Store
.jekyll-cache/
290 changes: 290 additions & 0 deletions RVerify.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,290 @@
/*
* RVerify.js v0.1.2
* (c) 2020 Feng L.H.
* Released under the MIT License.
*/
;(function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(factory);
} else if (typeof exports === 'object') {
module.exports = factory();
} else {
root.RVerify = factory();
}
})(this, function () {
'use strict';

var RVerify = {};

RVerify.version = '0.1.1';

var Settings = {
mask: 0.5,
maskClosable: false,
closeIcon:
'<svg t="1590331085919" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3734" width="20" height="20"><path d="M512 451.67l225.835-225.835a42.667 42.667 0 0 1 60.33 60.33L572.331 512l225.834 225.835a42.667 42.667 0 0 1-60.33 60.33L512 572.331 286.165 798.165a42.667 42.667 0 1 1-60.33-60.33L451.669 512 225.835 286.165a42.667 42.667 0 0 1 60.33-60.33L512 451.669z" p-id="3735" fill="#8a8a8a"></path></svg>',
sliderIcon:
'<svg t="1590338601818" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6547" width="20" height="20"><path d="M512.299934 1023.800044c-10.797617 0-21.595234-3.999117-29.993381-11.797396-17.496139-16.496359-18.195984-44.090269-1.799602-61.586408l412.508958-437.10353c8.398147-8.898036 8.298169-23.894726-0.599868-32.692784L481.606708 74.409578c-17.096227-16.896271-17.296183-44.490181-0.299934-61.586408 16.896271-16.896271 44.390203-17.196205 61.586408-0.299934l410.809333 406.11037c42.290666 41.790777 43.590379 111.075485 2.699404 154.465909l-412.508958 437.003552c-8.69808 9.097992-20.195543 13.696977-31.593027 13.696977z" p-id="6548"></path><path d="M86.093999 924.821889c-10.697639 0-21.495256-3.999117-29.793425-11.897374-17.496139-16.496359-18.295962-44.090269-1.799603-61.586408l315.930274-334.626147c8.398147-9.097992 8.298169-24.094682-0.599868-32.792762L55.500751 173.587689c-16.996249-16.896271-17.196205-44.490181-0.299934-61.686386 16.896271-16.996249 44.390203-17.296183 61.586408-0.199956L431.017873 422.032856c42.290666 41.790777 43.490402 111.075485 2.799382 154.465909l-315.930273 334.626147c-8.69808 9.097992-20.195543 13.696977-31.792983 13.696977z" p-id="6549"></path></svg>',
extraIcon:
'<svg t="1590289223124" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2770" width="15" height="15"><path d="M512.002558 64.24521c-247.292176 0-447.75786 200.464661-447.75786 447.756837 0 247.287059 200.464661 447.752744 447.75786 447.752744 247.286036 0 447.75172-200.464661 447.75172-447.752744C959.754279 264.710894 759.288594 64.24521 512.002558 64.24521zM512.010745 735.87586c-20.602224 0-37.319977-16.718777-37.319977-37.323047 0-20.597107 16.717753-37.319977 37.319977-37.319977 20.60427 0 37.297464 16.72287 37.297464 37.319977C549.308209 719.158107 532.613992 735.87586 512.010745 735.87586zM549.308209 567.969733c0 20.600177-16.693194 37.293371-37.297464 37.293371-20.602224 0-37.319977-16.693194-37.319977-37.293371L474.690768 325.420581c0-20.605294 16.717753-37.297464 37.319977-37.297464 20.60427 0 37.297464 16.693194 37.297464 37.297464L549.308209 567.969733z" p-id="2771" fill="#4E6EF2"></path></svg>',
tolerance: 10,
duration: 500,
title: '身份验证',
text: '拖动滑块,使图片角度为正',
extra: null,
extraColor: '#4E6EF2',
extraLink: 'https://github.com/zpfz',
zIndex: 9999,
album: [],
};

var checkFlag = false;

// Configure
RVerify.configure = function (options) {
checkFlag = true;
var key, value;
for (key in options) {
value = options[key];
if (value !== undefined && options.hasOwnProperty(key)){
Settings[key] = value;
}
}
return this;
};

// Action
RVerify.action = function (callback) {
if (!checkFlag){
throw new Error('Please make sure RVerify.configure method is executed before RVerify.action');
}

if (Settings.extra !== null && typeof Settings.extra !== 'undefined') {
var _extra;
_extra =
'<div class="rv-extra"><span>' +
Settings.extraIcon +
'</span><a href="' +
Settings.extraLink +
'" target="_blank" rel="noopener noreferrer">' +
Settings.extra +
'</a></div>';
} else {
_extra = '';
}

var modal =
'<div class="rv-root"><div class="rv-mask"></div><div class="rv-wrap"><div class="rv-close">' +
Settings.closeIcon +
'</div><div class="rv-title">' +
Settings.title +
'</div><div class="rv-content"><div class="rv-text">' +
Settings.text +
'</div><div class="rv-image"><img src="' +
getRandomImg(Settings.album) +
'" draggable="false" class="rv-img"><div class="rv-image-mask"><svg t="1590812400512" class="rv-image-mask-success" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2647" width="80" height="80"><path d="M927.97968 108.360629a50.575037 50.575037 0 0 0-69.085501 18.517689l-391.898737 678.933747-316.000056-182.409708A50.575037 50.575037 0 0 0 100.427574 711.005546l359.812488 207.690002a50.553362 50.553362 0 0 0 69.078276-18.517689L946.504593 177.44613a50.575037 50.575037 0 0 0-18.524913-69.085501z" fill="#ffffff" p-id="2648"></path></svg><svg t="1590815914523" class="rv-image-mask-error" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3574" width="80" height="80"><path d="M441.23 511.44L79.4 149.62c-17.44-19.25-16.72-48.81 1.65-67.18 18.38-18.37 47.93-19.1 67.18-1.65l361.83 361.82L871.89 80.79a48.718 48.718 0 0 1 47.95-14.55 48.725 48.725 0 0 1 35.43 35.43 48.728 48.728 0 0 1-14.54 47.95L578.89 511.44l361.83 361.83a48.734 48.734 0 0 1 14.54 47.95 48.709 48.709 0 0 1-35.43 35.43 48.768 48.768 0 0 1-47.95-14.55L510.06 580.27 148.23 942.1c-19.25 17.44-48.8 16.72-67.18-1.65-18.37-18.37-19.09-47.93-1.65-67.18l361.83-361.83z" p-id="3575" fill="#ffffff"></path></svg></div></div><div class="rv-control"><div class="rv-bar">' +
'</div><div class="rv-slider">' +
Settings.sliderIcon +
'</div></div>' +
_extra +
'</div></div></div>';

var createNode = document.createElement('div');
createNode.innerHTML = modal;
$('#main > nav').appendChild(createNode);

var root = $('.rv-root'),
bar = $('.rv-bar'),
slider = $('.rv-slider'),
close = $('.rv-close'),
img = $('.rv-img'),
control = $('.rv-control'),
wrap = $('.rv-wrap'),
mask = $('.rv-mask'),
maskImg = $('.rv-image-mask'),
maskSuccess = $('.rv-image-mask-success'),
maskError = $('.rv-image-mask-error'),
footer = $('.rv-extra');

var distance = bar.offsetWidth - slider.offsetWidth;
// Flag
var result = 0;

// Check isMobile and bind different events
var touchMove,
inMobile = isMobile(),
downX,
touching = false;
if (isMobile()) {
slider.ontouchstart = touchStart;
document.ontouchmove = touchMove;
document.ontouchend = touchEnd;
} else {
slider.onmousedown = touchStart;
document.onmousemove = touchMove;
document.onmouseup = touchEnd;
}

// Init
mask.style['background-color'] = 'rgba(0, 0, 0,' + Settings.mask + ')';
mask.style['z-index'] = Settings.zIndex;
wrap.style['z-index'] = Settings.zIndex;
img.style.transform = 'rotate(' + RandomAngle(Settings.tolerance) + 'deg)';
if (Settings.extra !== null && typeof Settings.extra !== 'undefined') {
footer.style.color = Settings.extraColor;
}

var currentAngle = getImgAngle();

// Close
close.onclick = function () {
result = 2;
root.parentNode.remove();
callback(result);
};

// Mask
mask.onclick = function () {
if (Settings.maskClosable == true) {
result = 2;
root.parentNode.remove();
callback(result);
}
};

// Touch Move
function touchMove(e) {
if (!touching) return;
var e = e || window.event;
var moveX = inMobile ? e.touches[0].clientX : e.clientX;
var offsetX = moveX - downX;
var targetAngle = (offsetX / distance) * 360;

if (offsetX > distance) {
offsetX = distance;
} else if (offsetX < 0) {
offsetX = 0;
} else {
slider.style.left = offsetX + 'px';
targetAngle = currentAngle + targetAngle;
img.style.transform = 'rotate(' + targetAngle + 'deg)';
}
}

// Touch Start
function touchStart(e) {
// Clear transition
slider.style.transition = '';
img.style.transition = '';
slider.classList.add('rv-slider-normal');

var e = e || window.event;
downX = inMobile ? e.touches[0].clientX : e.clientX;
touching = true;
}

// Touch End
function touchEnd() {
slider.classList.remove('rv-slider-normal');

if (!touching) return;
if (ReturnResult(getImgAngle())) {
maskImg.style.cssText = 'visibility: visible;opacity: 1';
maskSuccess.style.cssText = 'visibility: visible;opacity: 1';
slider.style['pointer-events'] = 'none';
slider.classList.add('rv-slider-success');

// Call back
setTimeout(function () {
result = 1;
root.parentNode.remove();
callback(result);
}, Settings.duration);
} else {
maskImg.style.cssText = 'visibility: visible;opacity: 1';
maskError.style.cssText = 'visibility: visible;opacity: 1';
slider.style['pointer-events'] = 'none';
control.style.animation = 'shake .15s infinite';
slider.classList.add('rv-slider-error');
setTimeout(function () {
img.src = getRandomImg(Settings.album);
maskImg.style.cssText = '';
maskError.style.cssText = '';
slider.classList.remove('rv-slider-error');
control.style.animation = '';
slider.style.left = 0;
img.style.transform = 'rotate(' + RandomAngle(Settings.tolerance) + 'deg)';
currentAngle = getImgAngle();
slider.style.transition =
'background .2s ease-in-out,border-color .2s ease-in-out,box-shadow .2s ease-in-out,left .5s ease-in-out';
img.style.transition = 'transform .5s ease-in-out';
slider.style['pointer-events'] = '';
}, 500);
callback(result);
}
touching = false;
}
};

// Random number
function getRandomNumber(a, b) {
return Math.round(Math.random() * (b - a) + a);
}

// Random image
function getRandomImg(imgArr) {
return imgArr[getRandomNumber(0, imgArr.length - 1)];
}
// Random interval
function RandomAngle(tolerance) {
if (tolerance < 5 || tolerance > 45) {
console.error('Please make sure the tolerance value is between 5°~45°.');
} else {
return (
Math.floor(Math.random() * (360 - tolerance - 1 - (tolerance + 1))) +
(tolerance + 1)
);
}
}

// Get image angle
function getImgAngle() {
return parseFloat(
$('.rv-img').style['transform'].replace(/[^0-9\\.\\^0-9]/gi, '')
);
}

// Check result
function ReturnResult(angle) {
if (angle > 360) {
angle = angle - 360;
return VerifyAngle(angle);
} else {
return VerifyAngle(angle);
}
}
// Verify angle
function VerifyAngle(angle) {
if (angle <= Settings.tolerance || angle >= 360 - Settings.tolerance) {
return true;
} else {
return false;
}
}

// Check isMobile
function isMobile() {
return 'ontouchstart' in window;
}

// Global query selector
var $ = function (selector) {
return document.querySelector(selector);
};

if (typeof window !== 'undefined') {
window.RVerify = RVerify;
}

return RVerify;
});
1 change: 1 addition & 0 deletions RVerify.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ markdown: kramdown


### content configuration ###
title: "SinglePaged - Simple Jekyll template"
keywords: "SinglePaged, jekyll, template, github, blog, single page"
description: "A single-page template for Jekyll based blogs (like what you'd use on github pages!)"
source_link: "https://github.com/t413/SinglePaged"
favicon: "img/favicon.ico"
touch_icon: "img/apple-touch-icon.png"
google_analytics_key: UA-49607422-1 ## put YOUR key here to enable tracking! (blank to disable)
title: "FIUBA-verse"
keywords: "FIUBA, telegram, grupos, estudio"
description: "Una lista de grupos de estudio y canales de Telegram sobre FIUBA"
source_link: "https://github.com/fiubaverse/fiubaverse.github.io"
favicon: "favicon.ico"
touch_icon: "apple-touch-icon.png"
google_analytics_key: ## put YOUR key here to enable tracking! (blank to disable)


### template colors, used site-wide via css ###
Expand Down
25 changes: 24 additions & 1 deletion _includes/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,30 @@
a:hover, a:focus { }
p a, p a:visited { line-height: inherit; }

.btn {
background-color: #323232; /* Blue background */
border: none; /* Remove borders */
color: white !important; /* White text */
padding: 12px 16px; /* Some padding */
font-size: 16px; /* Set a font size */
cursor: pointer; /* Mouse pointer on hover */
list-style-type: none;
}

.btn > a, .btn > a:visited { text-decoration: none; outline: 0; color: white !important; /* White text */}

/* Darker background on mouse-over */
.btn:hover {
background-color: RoyalBlue;
list-style-type: none;
text-decoration: underline;
}

.editongithub{
display:flex;
justify-content:flex-end;
align-items:center;
}

/* #Lists
================================================== */
Expand Down Expand Up @@ -262,7 +286,6 @@
.add-bottom { margin-bottom: 20px !important; }



/* #Syntax highlighting
================================================== */

Expand Down
12 changes: 12 additions & 0 deletions _includes/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -355,3 +355,15 @@ nav ul li:hover, nav ul li.active {
column-count: 2;
}
}

.btn i{
width: 2em;
padding: 12px 8px;
background: gray;
text-align: center;
}

.btn > a{
padding: 12px 8px;
display: inline-block;
}
Loading