diff --git a/2021y22.csv b/2021y22.csv index ebf41cc..b0732a7 100644 --- a/2021y22.csv +++ b/2021y22.csv @@ -1,2 +1,5 @@ Nombre,Apellido,TipoDoc,Documento,Direccion,Pais,Ciudad,Telefono,Email,Profesión,"Trabaja en",Financiación,"Detalle Financiación" -German,Correa,Otro,234,"Salvador Garcia Pintos 1114",Alemania,Montevideo,091432378,german.correa.balier@gmail.com,Estudiante,Primaria,no, +German,Correa,Otro,324,"Salvador Garcia Pintos 1114",Uruguay,Montevideo,091432378,german.correa.balier@gmail.com,Profesor,Universidad,si,"Preciso el pow" +German,Correa,Otro,324,"Salvador Garcia Pintos 1114",Uruguay,Montevideo,091432378,german.correa.balier@gmail.com,Profesor,Universidad,si,"Preciso el pow" +Peter,Capusoto,C.I.,4596793-2,"18 de Julio 1199",Uruguay,Montevideo,123083,mail@example.com,Profesor,Primaria,si,"Preciso 500$ para el pasaje +200$ para el almuerzo" diff --git a/contact.html b/contact.html index 9544bc6..4014bd0 100644 --- a/contact.html +++ b/contact.html @@ -2,16 +2,17 @@ - 6to Coloquio Uruguayo de Matémática + 6to CUM - Contacto - + - + + @@ -22,32 +23,32 @@

Contáctenos

-
-
- -
- + +
+ +
+ +
-
-
- -
- +
+ +
+ +
-
-
- -
- +
+ +
+ +
-
-
-
- -
-
- +
+
+ +
+
+
Success! Indicates a successful or positive action. diff --git a/js/app.js b/js/app.js index 3d27c9f..3c115ed 100644 --- a/js/app.js +++ b/js/app.js @@ -35,24 +35,40 @@ function validateTextarea(){ } } +function loadFragments(){ + $("#header").load("snippets/header.html",routeMenu); + $("#footer").load("snippets/footer.html"); + $(".sidebar").load("snippets/sidebar.html"); +} +function routeMenu(){ + var ruta = window.location.pathname.split(".")[0]; + $("ul#menu li").removeClass("selected"); + switch(ruta){ + case "/": + $("li#home").addClass("selected"); + break; + case "/contact": + $("li#contacto").addClass("selected"); + break; + case "/register": + $("li#registro").addClass("selected"); + break; + case "/location": + $("li#mapa").addClass("selected"); + break; + default: + } +} $(document).ready(function(){ - var ruta = window.location.pathname; - + loadFragments(); $("#statusmsg").hide(); - $("#header").load("snippets/header.html"); - $("#footer").load("snippets/footer.html"); - $(".sidebar").load("snippets/sidebar.html"); - $("#menu li a").click(function(){ - $(this).addClass("selected").siblings().removeClass("selected"); - }); $('input').focusin(inputvalidate); $('input').focusout(inputvalidate); $('input').keyup(inputvalidate); $("#detallefinan textarea").focusin(validateTextarea); $("#detallefinan textarea").focusout(validateTextarea); - $("#detallefinan textarea").keyup(validateTextarea); - //$('input:invalid').parents('div.form-group').addClass('has-warning'); + $("#detallefinan textarea").keyup(validateTextarea); $('#contactform').submit(function(event){ $("#statusmsg").hide(); diff --git a/location.html b/location.html index a0dafe4..3b2fd78 100644 --- a/location.html +++ b/location.html @@ -2,16 +2,16 @@ - 6to Coloquio Uruguayo de Matémática + 6to CUM - Mapa - + - - + + diff --git a/register.html b/register.html index 3a8eacb..917a6bd 100644 --- a/register.html +++ b/register.html @@ -2,7 +2,7 @@ - 6to Coloquio Uruguayo de Matémática + 6to CUM - Registro @@ -155,12 +155,12 @@
-
+
-
- -
+
+ +
diff --git a/register.php b/register.php index ca977d2..5f5fbe5 100644 --- a/register.php +++ b/register.php @@ -16,7 +16,7 @@ function verifyCaptcha(){ $context = stream_context_create($options); $verify = file_get_contents($url, false, $context); $captcha_success=json_decode($verify); - return captcha_success; + return $captcha_success; } function setheaders() { @@ -37,10 +37,8 @@ function registrar($fila) { $fp = fopen("2021y22.csv", 'a'); if($fp){ fputcsv($fp,$fila); - fclose($fp); - exec("git add 2021y22.csv"); - $cmd = "git commit -m 'Se registra a '".$fila[0]." ".$fila[1]."-".$fila[3]; - exec($cmd); + fclose($fp); + } else{ die("unable to open file"); diff --git a/snippets/header.html b/snippets/header.html index 2726563..764d097 100644 --- a/snippets/header.html +++ b/snippets/header.html @@ -9,10 +9,10 @@ diff --git a/style/style.css b/style/style.css index 8934d0f..4f7712f 100644 --- a/style/style.css +++ b/style/style.css @@ -172,10 +172,6 @@ ol li border-radius: 0px; } @media screen and (max-width: 600px){ - ul#menu{ - margin:auto!important; - float:none!important; - } #logo_text h1{font-size:30px;} #logo_text h2{font-size:20px!important;} #logo_text h1 a .logo_init{font-size:60px;}