-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathactivities.html
More file actions
79 lines (72 loc) · 3.25 KB
/
activities.html
File metadata and controls
79 lines (72 loc) · 3.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<title>LibreLabUCM - Software Libre Made in UCM</title>
<link href='//fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Orbitron:700' rel='stylesheet' type='text/css'>
<script>
var addAct = function(Table,Title,Desc){
var ndiv = document.createElement("div");
ndiv.innerHTML = "<div class='act'><p aling='justify'><b>"+Title+"</b><br/>"+Desc+"</p></div>";
Table.appendChild(ndiv);
};
var onLoadFunc = function (){
var Table = document.getElementById("actTable");
var xobj = new XMLHttpRequest();
xobj.overrideMimeType("application/json");
xobj.open('GET', './data/webdata.json?'+ new Date().getDay(), true);
xobj.onreadystatechange = function () {
if (xobj.readyState == 4) {
var jsonVar = JSON.parse(xobj.responseText);
var n = 0;
for(var k in jsonVar){
if (jsonVar[k]["active"]) {
addAct(Table,jsonVar[k]["title"],jsonVar[k]["desc"]);
}
n += 1;
}
if (n == 0) addAct(Table,"No hay actividades","Por algún motivo no hay actividades, esto es raro... habla con el administrador");
}
}
xobj.send(null);
}
</script>
</head>
<link rel="stylesheet" href="style.css">
<body onload="onLoadFunc()">
<div class="container">
<header>
<h1>LibreLabUCM</h1>
<a href="./index.html">
<img src="./img/llu_transparente.png" alt="logo LibreLabUCM"/>
</a>
</header>
<main>
<div id='buttoner'>
<button onclick="submit()">Suscribirse <small>(lista de correo)</small></button>
<a href="./activities.html" ><button>Ver Actividades</button></a>
</div>
<p align="justify">
Como sabéis todavía somos una asociación muy joven pero estamos abiertos a nuevas propuestas, así que cualquier idea nueva siempre será bienvenida!!
</p>
<p align="justify">
Algunas de nuestras actividades actuales son:
</p>
<div id="actTable">
</div>
<p align="justify">
Hacerse miembro es gratuito, no obliga a nada y lo puede ser cualquier persona mayor de edad. Si te parece interesante lo que hacemos, puedes empezar suscribiéndote a la lista (deja un pequeño mensaje de quién eres y por qué te interesa la asociación) o puedes contactar con nosotros mediante correo electrónico: <a href="mailto:librelab@ucm.es">librelab@ucm.es</a>.
</p>
<p align="justify">
Para poder promover el Software Libre en todos los ámbitos de esta era tecnológica disponemos de diferentes redes sociales (las cuales no aprobamos) donde puedes seguirnos: <a href="https://www.facebook.com/librelabucm/">Facebook</a> y <a href="https://twitter.com/LibreLabUCM">Twitter</a>. Pero, por supuesto también estamos en una red social libre y esperamos estar pronto en muchas más!!! Siguenos en <a href="https://quitter.se/librelabucm">Quitter.se</a>
</p>
</main>
</div>
<script type="text/javascript">
function submit () {
window.open('https://groups.google.com/forum/#!forum/librelabucm/join', '_blank');
}
</script>
</body>
</html>