blob: 67d5b8231624da94ce86b92b47403fcab55a383f [file] [log] [blame]
Dani Vilardell996d8692020-09-21 23:48:12 +02001<!DOCTYPE html>
Dani Vilardell21dacea2020-09-21 14:25:20 +02002<script type="text/javascript" src="./horaris.json"></script>
Dani Vilardelld4bfb752020-09-21 21:32:55 +02003<script type="text/javascript" src="./autocomplete.js"></script>
Dani Vilardellaae4e2d2020-09-22 17:33:39 +02004<script type="text/javascript" src="./completeLink.js"></script>
5<script type="text/javascript" src="./completeSubjectListInHTML.js"></script>
6<script type="text/javascript" src="./getTimeAndDate.js"></script>
Dani Vilardelld4f2c902020-09-23 13:54:19 +02007<script type="text/javascript" src="./completeHTML.js"></script>
8<script type="text/css" src="./autocomplete.css"></script>
9<script type="text/css" src="./generalStyle.css"></script>
Dani Vilardell12518e22020-09-21 16:00:07 +020010<meta charset="utf-8">
Dani Vilardell21dacea2020-09-21 14:25:20 +020011
Andreu Huguet8d2e08f2020-09-17 14:15:23 +020012<html>
13 <head>
Dani Vilardelld4f2c902020-09-23 13:54:19 +020014 <style type="text/css">
15 .myButton {
16 box-shadow:inset 0px 1px 0px 0px #6e9eb8;
17 background:linear-gradient(to bottom, #1a5b8c 5%, #4b84a3 100%);
18 background-color:#1a5b8c;
19 border:1px solid #22536e;
20 display:inline-block;
21 cursor:pointer;
22 color:#ffffff;
23 font-family:Arial;
24 font-size:13px;
25 font-weight:bold;
26 padding:6px 12px;
27 text-decoration:none;
28 }
29 .myButton:hover {
30 background:linear-gradient(to bottom, #4b84a3 5%, #1a5b8c 100%);
31 background-color:#4b84a3;
32 }
33 .myButton:active {
34 position:relative;
35 top:1px;
36 }
37 </style>
Andreu Huguet8d2e08f2020-09-17 14:15:23 +020038 </head>
Dani Vilardelld4f2c902020-09-23 13:54:19 +020039 <center>
40 <link rel="stylesheet" href="autocomplete.css">
41 <body>
42 <h1>App de traçabilitat DAFME</h1>
43 <h2 id = "assignatura"></h2>
44 <h3 id = "aula"></h3>
45
46 <h2 id="hora">
47 <span id="inici"></span> -
48 <span id="fi"></span>
49 </h2>
50 <h3 id="data"></h3>
51 <p> <br></p>
Dani Vilardell12518e22020-09-21 16:00:07 +020052
Dani Vilardelld4f2c902020-09-23 13:54:19 +020053 <form id="subjectListInput" autocomplete="off">
54 <div class="autocomplete" id="input2" style="width:300px;">
55 <input id="myInput" type="text" name="mySubject" placeholder="Subject">
56 </div>
57 </form>
Dani Vilardell996d8692020-09-21 23:48:12 +020058
Dani Vilardelld4f2c902020-09-23 13:54:19 +020059 <a class="myButton" onclick="completeSubjectList()">Afegeix</a>
Dani Vilardell996d8692020-09-21 23:48:12 +020060
Dani Vilardelld4f2c902020-09-23 13:54:19 +020061 <p id="alert" style="opacity: 0; color:red;">
62
63 </p>
64 <div id="subjectList"><b>Assignatures Cursades:</b></div>
Dani Vilardelld4bfb752020-09-21 21:32:55 +020065
Dani Vilardelld4f2c902020-09-23 13:54:19 +020066 <form>
67 <label for="seient" id="seient"></label><br>
68 <input type="text" id="seientInput" placeholder="Seient" style="width:300px;"><br>
69 </form>
Dani Vilardell12518e22020-09-21 16:00:07 +020070
Dani Vilardelld4f2c902020-09-23 13:54:19 +020071 <form id = "link">
72 <!--<form id = "link" action = https://docs.google.com/forms/d/e/1FAIpQLSfT9o287VqLyhwR8LPdloAQWhuqCgA3NfdhgP5vb9_sVQHL-g/viewform?entry.1063142948=S03&entry.2115504093=2020-09-14&entry.1749141911=9:00&entry.1827359679=10:00&entry.208184485=Columna+3&entry.1600275159=[Autogenerat+per+delefme/covid-tracability]>-->
Dani Vilardell21dacea2020-09-21 14:25:20 +020073
Dani Vilardelld4f2c902020-09-23 13:54:19 +020074 <a class="myButton" type="reset" onclick="completaLink()">Continua</a>
75 </form>
Dani Vilardelld4bfb752020-09-21 21:32:55 +020076
Dani Vilardelld4f2c902020-09-23 13:54:19 +020077 <p> <br></p>
78 <a class="myButton" href="https://docs.google.com/forms/d/e/1FAIpQLSfT9o287VqLyhwR8LPdloAQWhuqCgA3NfdhgP5vb9_sVQHL-g/viewform">Hi ha errors? Completa formulari manualment</a>
Dani Vilardell996d8692020-09-21 23:48:12 +020079
Dani Vilardelld4f2c902020-09-23 13:54:19 +020080 <script>
81 //localStorage.clear();
Dani Vilardell996d8692020-09-21 23:48:12 +020082
Dani Vilardelld4f2c902020-09-23 13:54:19 +020083 var codisFiles = ["208184485", "1077148310", "642851281", "1686039024", "697835787", "1511799646", "809853432", "182597499", "1890539481", "529159478", "1615241874", "1334263875"];
84 var subjects = [];
85 var linkOutput = "";
86 var totesLesClasses = JSON.parse(classes);
87 var dataHorarisAlumne = [];
88 var hora_actual = new Date();
89 var minuts, dia, mes, any, data;
90
91 if(localStorage.dataHorarisAlumne != null) dataHorarisAlumne = JSON.parse(localStorage.dataHorarisAlumne);
92
93 console.log(localStorage.dataHorarisAlumne);
94
95 //localStorage.clear();
96 returnAllSubjectArray();
97 autocomplete(document.getElementById("myInput"), subjects);
98 getTimeAndDate();
99 completaHTML();
100 writeSubjectList();
101
102 </script>
Dani Vilardell12518e22020-09-21 16:00:07 +0200103
Dani Vilardellaae4e2d2020-09-22 17:33:39 +0200104
Dani Vilardelld4f2c902020-09-23 13:54:19 +0200105 </body>
106 </center>
Andreu Huguet8d2e08f2020-09-17 14:15:23 +0200107</html>