avm99963 | 4f7c03c | 2020-09-29 00:08:12 +0200 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | |
| 3 | <html lang="ca"> |
| 4 | <head> |
delefme | efcc030 | 2020-09-30 09:26:12 +0200 | [diff] [blame] | 5 | <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 | |
avm99963 | 4f7c03c | 2020-09-29 00:08:12 +0200 | [diff] [blame] | 17 | <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 Huguet | 898768a | 2020-09-29 00:30:23 +0200 | [diff] [blame] | 19 | <link rel="stylesheet" href="./css/bulma-adjustments.css"> |
avm99963 | 4f7c03c | 2020-09-29 00:08:12 +0200 | [diff] [blame] | 20 | </head> |
| 21 | <body> |
Ferran López | a514bea | 2020-10-03 23:02:10 +0200 | [diff] [blame] | 22 | <script></script> |
avm99963 | 4f7c03c | 2020-09-29 00:08:12 +0200 | [diff] [blame] | 23 | |
Ferran López | 819a9bb | 2020-10-04 12:23:51 +0200 | [diff] [blame] | 24 | <span id="dev-mode" class="is-hidden">Dev mode</span> |
avm99963 | 4f7c03c | 2020-09-29 00:08:12 +0200 | [diff] [blame] | 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"> |
Ferran López | 849a01e | 2020-10-04 14:37:18 +0200 | [diff] [blame] | 33 | <nav class="level"> |
| 34 | <div class="level-item"> |
| 35 | <div class="field has-addons has-addons-centered"> |
| 36 | <p class="control"> |
| 37 | <button id="date-prev" class="button"><</button> |
| 38 | </p> |
| 39 | <p class="control"> |
| 40 | <input id="date-selector" type="button" class="button"> |
| 41 | </p> |
| 42 | <p class="control"> |
| 43 | <button id="date-next" class="button">></button> |
| 44 | </p> |
| 45 | </div> |
| 46 | </div> |
| 47 | <div class="level-item"> |
| 48 | <div class="field has-addons has-addons-centered"> |
| 49 | <p class="control"> |
| 50 | <button id="time-prev" class="button"><</button> |
| 51 | </p> |
| 52 | <p class="control"> |
| 53 | <input id="time-selector" type="button" class="button" value="08:00 - 08:30"> |
| 54 | </p> |
| 55 | <p class="control"> |
| 56 | <button id="time-next" class="button">></button> |
| 57 | </p> |
| 58 | </div> |
| 59 | </div> |
| 60 | </nav> |
Ferran López | 7a4f60f | 2020-10-04 01:55:47 +0200 | [diff] [blame] | 61 | |
avm99963 | 3c6f7fb | 2020-10-01 01:38:25 +0200 | [diff] [blame] | 62 | <div id="subject-container" class="grid buttons"></div> |
Ferran López | 819a9bb | 2020-10-04 12:23:51 +0200 | [diff] [blame] | 63 | <div id="no-subjects" class="is-hidden">No s'està impartint cap classe en aquests moments.</div> |
| 64 | <div id="fme-maps-container" class="is-hidden"> |
Ferran López | 849a01e | 2020-10-04 14:37:18 +0200 | [diff] [blame] | 65 | <h4>Plànols de les aules de l'FME</h4> |
| 66 | <div class="maps"> |
| 67 | <div class="map"> |
| 68 | <img src="img/ps.png"> |
| 69 | <div class="map--label">Planta <b>-1</b></div> |
| 70 | </div> |
| 71 | <div class="map"> |
| 72 | <img src="img/p0.png"> |
| 73 | <div class="map--label">Planta <b>0</b></div> |
| 74 | </div> |
| 75 | <div class="map"> |
| 76 | <img src="img/p1.png"> |
| 77 | <div class="map--label">Planta <b>1</b></div> |
| 78 | </div> |
avm99963 | 3c6f7fb | 2020-10-01 01:38:25 +0200 | [diff] [blame] | 79 | </div> |
avm99963 | 3c6f7fb | 2020-10-01 01:38:25 +0200 | [diff] [blame] | 80 | </div> |
Ferran López | 849a01e | 2020-10-04 14:37:18 +0200 | [diff] [blame] | 81 | |
avm99963 | 4f7c03c | 2020-09-29 00:08:12 +0200 | [diff] [blame] | 82 | </section> |
| 83 | |
Ferran López | 819a9bb | 2020-10-04 12:23:51 +0200 | [diff] [blame] | 84 | <section id="section-2" class="section is-hidden"> |
avm99963 | 4f7c03c | 2020-09-29 00:08:12 +0200 | [diff] [blame] | 85 | <button class="button is-link is-light" onclick="switchSection('section-1')">Torna enrere (Classe)</button> |
| 86 | |
Ferran López | 819a9bb | 2020-10-04 12:23:51 +0200 | [diff] [blame] | 87 | <div id="repeated-subject-warning" class="is-hidden"> |
Ferran López | 4138be8 | 2020-10-03 23:48:54 +0200 | [diff] [blame] | 88 | <br><article class="message is-warning"> |
| 89 | <div class="message-body"> |
| 90 | Heu triat una assignatura que es fa en dues aules alhora. Comproveu que sou a l'aula <strong id="repeated-subject-warning-class">aula</strong>. |
| 91 | </div> |
| 92 | </article> |
delefme | 94832b1 | 2020-10-04 19:12:41 +0200 | [diff] [blame] | 93 | </div> --> |
Ferran López | 4138be8 | 2020-10-03 23:48:54 +0200 | [diff] [blame] | 94 | |
avm99963 | 4f7c03c | 2020-09-29 00:08:12 +0200 | [diff] [blame] | 95 | <div id="letter-container" class="buttons grid"> |
| 96 | <button class="button" id="letter-A" data-letter="A">A</button> |
| 97 | <button class="button" id="letter-B" data-letter="B">B</button> |
| 98 | <button class="button" id="letter-C" data-letter="C">C</button> |
| 99 | <button class="button" id="letter-D" data-letter="D">D</button> |
| 100 | <button class="button" id="letter-E" data-letter="E">E</button> |
| 101 | <button class="button" id="letter-F" data-letter="F">F</button> |
| 102 | <button class="button" id="letter-G" data-letter="G">G</button> |
| 103 | <button class="button" id="letter-H" data-letter="H">H</button> |
| 104 | <button class="button" id="letter-I" data-letter="I">I</button> |
| 105 | <button class="button" id="letter-J" data-letter="J">J</button> |
| 106 | <button class="button" id="letter-K" data-letter="K">K</button> |
| 107 | <button class="button" id="letter-L" data-letter="L">L</button> |
| 108 | </div> |
| 109 | </section> |
| 110 | |
Ferran López | 819a9bb | 2020-10-04 12:23:51 +0200 | [diff] [blame] | 111 | <section id="section-3" class="section is-hidden"> |
avm99963 | 4f7c03c | 2020-09-29 00:08:12 +0200 | [diff] [blame] | 112 | <button class="button is-link is-light" onclick="switchSection('section-2')">Torna enrere (Lletra)</button> |
Ferran López | 849a01e | 2020-10-04 14:37:18 +0200 | [diff] [blame] | 113 | |
avm99963 | 4f7c03c | 2020-09-29 00:08:12 +0200 | [diff] [blame] | 114 | <div id="number-container" class="buttons grid"> |
| 115 | <button class="button" id="number-1" data-number="1">1</button> |
| 116 | <button class="button" id="number-2" data-number="2">2</button> |
| 117 | <button class="button" id="number-3" data-number="3">3</button> |
| 118 | <button class="button" id="number-4" data-number="4">4</button> |
| 119 | <button class="button" id="number-5" data-number="5">5</button> |
| 120 | <button class="button" id="number-6" data-number="6">6</button> |
| 121 | <button class="button" id="number-7" data-number="7">7</button> |
| 122 | <button class="button" id="number-8" data-number="8">8</button> |
| 123 | <button class="button" id="number-9" data-number="9">9</button> |
| 124 | <button class="button" id="number-10" data-number="10">10</button> |
| 125 | </div> |
| 126 | </section> |
Ferran López | 819a9bb | 2020-10-04 12:23:51 +0200 | [diff] [blame] | 127 | <section id="section-send" class="section is-hidden"> |
avm99963 | 4f7c03c | 2020-09-29 00:08:12 +0200 | [diff] [blame] | 128 | <button class="button is-link is-light" onclick="switchSection('section-3')">Torna enrere (Número)</button> |
| 129 | <br/><br/> |
| 130 | <span class="has-text-weight-bold">Assignatura:</span> |
Andreu Huguet | 898768a | 2020-09-29 00:30:23 +0200 | [diff] [blame] | 131 | <span id="subject-final">ASSIGNATURA ESCOLLIDA</span><br> |
avm99963 | 4f7c03c | 2020-09-29 00:08:12 +0200 | [diff] [blame] | 132 | <span class="has-text-weight-bold">Aula:</span> |
Andreu Huguet | 898768a | 2020-09-29 00:30:23 +0200 | [diff] [blame] | 133 | <span id="classroom-final">AULA ESCOLLIDA</span><br> |
avm99963 | 4f7c03c | 2020-09-29 00:08:12 +0200 | [diff] [blame] | 134 | <span class="has-text-weight-bold">Data:</span> |
Andreu Huguet | 898768a | 2020-09-29 00:30:23 +0200 | [diff] [blame] | 135 | <span id="date-final">DD/MM/YYYY</span><br> |
avm99963 | 4f7c03c | 2020-09-29 00:08:12 +0200 | [diff] [blame] | 136 | <span class="has-text-weight-bold">Hora:</span> |
Andreu Huguet | 898768a | 2020-09-29 00:30:23 +0200 | [diff] [blame] | 137 | <span id="time-final">HH:MM - HH:MM</span><br> |
avm99963 | 4f7c03c | 2020-09-29 00:08:12 +0200 | [diff] [blame] | 138 | <span class="has-text-weight-bold">Posició:</span> |
Andreu Huguet | 898768a | 2020-09-29 00:30:23 +0200 | [diff] [blame] | 139 | <span id="letter-final">A</span><span id="number-final">1</span><br><br> |
avm99963 | 4f7c03c | 2020-09-29 00:08:12 +0200 | [diff] [blame] | 140 | |
| 141 | <button id="send-button" class="button is-link is-large">Omple el formulari</button><br><br> |
Ferran López | 849a01e | 2020-10-04 14:37:18 +0200 | [diff] [blame] | 142 | |
avm99963 | 4f7c03c | 2020-09-29 00:08:12 +0200 | [diff] [blame] | 143 | 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> |
delefme | 33a8533 | 2020-10-03 10:54:30 +0200 | [diff] [blame] | 144 | |
| 145 | |
flopgui | 0a80b59 | 2020-09-30 11:52:12 +0200 | [diff] [blame] | 146 | <br><br><article class="message is-warning"> |
flopgui | 53b67b4 | 2020-09-30 11:48:34 +0200 | [diff] [blame] | 147 | <div class="message-body"> |
avm99963 | a6e546a | 2020-09-30 20:46:59 +0200 | [diff] [blame] | 148 | 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>. |
flopgui | 53b67b4 | 2020-09-30 11:48:34 +0200 | [diff] [blame] | 149 | </div> |
| 150 | </article> |
Ferran López | 6759ecf | 2020-09-30 11:32:44 +0200 | [diff] [blame] | 151 | </section> |
avm99963 | 4f7c03c | 2020-09-29 00:08:12 +0200 | [diff] [blame] | 152 | |
Ferran López | a514bea | 2020-10-03 23:02:10 +0200 | [diff] [blame] | 153 | <script src="./js/build_page.js"></script> |
avm99963 | 4f7c03c | 2020-09-29 00:08:12 +0200 | [diff] [blame] | 154 | </body> |
| 155 | </html> |