blob: 4132f60747f6b28e6032c633e7c1f450b9fe572d [file] [log] [blame]
avm999634f7c03c2020-09-29 00:08:12 +02001<!DOCTYPE html>
2
3<html lang="ca">
4 <head>
delefmeefcc0302020-09-30 09:26:12 +02005 <meta charset="UTF-8">
6 <title>Seients DAFME</title>
7
8 <meta name="viewport" content="width=device-width, initial-scale=1">
9 <link rel="manifest" href="manifest.json">
10
11 <!-- Apple web app -->
12 <link rel="apple-touch-icon" href="./images/icon-64.png">
13 <meta name="apple-mobile-web-app-title" content="Seients DAFME">
14 <meta name="apple-mobile-web-app-capable" content="yes">
15 <meta name="apple-mobile-web-app-status-bar-style" content="white">
16
avm999634f7c03c2020-09-29 00:08:12 +020017 <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
18 <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.0/css/bulma.min.css">
Andreu Huguet898768a2020-09-29 00:30:23 +020019 <link rel="stylesheet" href="./css/bulma-adjustments.css">
avm999634f7c03c2020-09-29 00:08:12 +020020 </head>
21 <body>
Ferran Lópeza514bea2020-10-03 23:02:10 +020022 <script></script>
avm999634f7c03c2020-09-29 00:08:12 +020023
24 <span id="dev-mode" class="hidden">Dev mode</span>
25
26 <nav class="navbar is-link">
27 <div class="navbar-brand">
28 <div class="navbar-item has-text-weight-bold">Traçabilitat DAFME</div>
29 </div>
30 </nav>
31
32 <section id="section-1" class="section">
33 <!--
34 <div class="field has-addons">
35 <p class="control">
36 <button class="button">&lt;</button>
37 </p>
38 <p class="control">
39 <input type="date" class="button">
40 </p>
41 <p class="control">
42 <button class="button">&gt;</button>
43 </p>
44 </div>
45 <div class="field has-addons">
46 <p class="control">
47 <button class="button">&lt;</button>
48 </p>
49 <p class="control">
50 <input type="button" class="button" value="08:00 - 08:30">
51 </p>
52 <p class="control">
53 <button class="button">&gt;</button>
54 </p>
55 </div><br>
56 -->
avm999633c6f7fb2020-10-01 01:38:25 +020057 <div id="subject-container" class="grid buttons"></div>
avm99963154e51a2020-10-01 01:16:38 +020058 <div id="no-subjects" class="hidden">No s'està impartint cap classe en aquests moments.</div>
avm999633c6f7fb2020-10-01 01:38:25 +020059 <div id="fme-maps-container" class="hidden">
60 <h4>Mapes de les aules de l'FME</h4>
61 <div class="maps">
62 <div class="map">
63 <img src="img/ps.png">
64 <div class="map--label">Planta <b>-1</b></div>
65 </div>
66 <div class="map">
67 <img src="img/p0.png">
68 <div class="map--label">Planta <b>0</b></div>
69 </div>
70 <div class="map">
71 <img src="img/p1.png">
72 <div class="map--label">Planta <b>1</b></div>
73 </div>
74 </div>
75 </div>
avm999634f7c03c2020-09-29 00:08:12 +020076
77 </section>
78
79 <section id="section-2" class="section" style="display: none;">
80 <button class="button is-link is-light" onclick="switchSection('section-1')">Torna enrere (Classe)</button>
81
82 <div id="letter-container" class="buttons grid">
83 <button class="button" id="letter-A" data-letter="A">A</button>
84 <button class="button" id="letter-B" data-letter="B">B</button>
85 <button class="button" id="letter-C" data-letter="C">C</button>
86 <button class="button" id="letter-D" data-letter="D">D</button>
87 <button class="button" id="letter-E" data-letter="E">E</button>
88 <button class="button" id="letter-F" data-letter="F">F</button>
89 <button class="button" id="letter-G" data-letter="G">G</button>
90 <button class="button" id="letter-H" data-letter="H">H</button>
91 <button class="button" id="letter-I" data-letter="I">I</button>
92 <button class="button" id="letter-J" data-letter="J">J</button>
93 <button class="button" id="letter-K" data-letter="K">K</button>
94 <button class="button" id="letter-L" data-letter="L">L</button>
95 </div>
96 </section>
97
98 <section id="section-3" class="section" style="display: none;">
99 <button class="button is-link is-light" onclick="switchSection('section-2')">Torna enrere (Lletra)</button>
100
101 <div id="number-container" class="buttons grid">
102 <button class="button" id="number-1" data-number="1">1</button>
103 <button class="button" id="number-2" data-number="2">2</button>
104 <button class="button" id="number-3" data-number="3">3</button>
105 <button class="button" id="number-4" data-number="4">4</button>
106 <button class="button" id="number-5" data-number="5">5</button>
107 <button class="button" id="number-6" data-number="6">6</button>
108 <button class="button" id="number-7" data-number="7">7</button>
109 <button class="button" id="number-8" data-number="8">8</button>
110 <button class="button" id="number-9" data-number="9">9</button>
111 <button class="button" id="number-10" data-number="10">10</button>
112 </div>
113 </section>
114 <section id="section-send" class="section" style="display: none;">
115 <button class="button is-link is-light" onclick="switchSection('section-3')">Torna enrere (Número)</button>
116 <br/><br/>
117 <span class="has-text-weight-bold">Assignatura:</span>
Andreu Huguet898768a2020-09-29 00:30:23 +0200118 <span id="subject-final">ASSIGNATURA ESCOLLIDA</span><br>
avm999634f7c03c2020-09-29 00:08:12 +0200119 <span class="has-text-weight-bold">Aula:</span>
Andreu Huguet898768a2020-09-29 00:30:23 +0200120 <span id="classroom-final">AULA ESCOLLIDA</span><br>
avm999634f7c03c2020-09-29 00:08:12 +0200121 <span class="has-text-weight-bold">Data:</span>
Andreu Huguet898768a2020-09-29 00:30:23 +0200122 <span id="date-final">DD/MM/YYYY</span><br>
avm999634f7c03c2020-09-29 00:08:12 +0200123 <span class="has-text-weight-bold">Hora:</span>
Andreu Huguet898768a2020-09-29 00:30:23 +0200124 <span id="time-final">HH:MM - HH:MM</span><br>
avm999634f7c03c2020-09-29 00:08:12 +0200125 <span class="has-text-weight-bold">Posició:</span>
Andreu Huguet898768a2020-09-29 00:30:23 +0200126 <span id="letter-final">A</span><span id="number-final">1</span><br><br>
avm999634f7c03c2020-09-29 00:08:12 +0200127
128 <button id="send-button" class="button is-link is-large">Omple el formulari</button><br><br>
129
130 Hi ha errors? <br /><a class="button is-link is-light" href="https://docs.google.com/forms/d/e/1FAIpQLSfT9o287VqLyhwR8LPdloAQWhuqCgA3NfdhgP5vb9_sVQHL-g/viewform">Completa el formulari manualment</a>
delefme33a85332020-10-03 10:54:30 +0200131
132
flopgui0a80b592020-09-30 11:52:12 +0200133 <br><br><article class="message is-warning">
flopgui53b67b42020-09-30 11:48:34 +0200134 <div class="message-body">
avm99963a6e546a2020-09-30 20:46:59 +0200135 Aquest primers dies estem de prova! Mireu bé la informació, si hi ha res malament <a href="https://docs.google.com/forms/d/e/1FAIpQLScZliauRiLzGCn7DrnKZCjGwiefNltI9N8-hUtO_Q0NGInHsg/viewform">envieu-nos un missatge</a>.
flopgui53b67b42020-09-30 11:48:34 +0200136 </div>
137 </article>
Ferran López6759ecf2020-09-30 11:32:44 +0200138 </section>
avm999634f7c03c2020-09-29 00:08:12 +0200139
Ferran Lópeza514bea2020-10-03 23:02:10 +0200140 <script src="./js/build_page.js"></script>
141 <script src="./js/page_functionality.js"></script>
avm999634f7c03c2020-09-29 00:08:12 +0200142 </body>
143</html>