diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-11-11 19:17:17 +0100 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-11-11 19:17:17 +0100 |
| commit | 7523a633d93a2506f74dea899e43a8ae4abe1ea3 (patch) | |
| tree | c366379b171263dc5fa7673981197e93c5f6f3f8 | |
| parent | bfa1dfa2b79396f8bcc549c3a506105d097ee0b0 (diff) | |
Serve 40C3
| -rw-r--r-- | static/faq.html | 6 | ||||
| -rw-r--r-- | static/fullnarp.html | 8 | ||||
| -rw-r--r-- | static/halfnarp.js | 103 | ||||
| -rw-r--r-- | static/index.html | 45 |
4 files changed, 112 insertions, 50 deletions
diff --git a/static/faq.html b/static/faq.html index e5f53cd..7deaad1 100644 --- a/static/faq.html +++ b/static/faq.html | |||
| @@ -3,11 +3,11 @@ | |||
| 3 | <head> | 3 | <head> |
| 4 | <meta charset="utf-8"> | 4 | <meta charset="utf-8"> |
| 5 | <title>halfnarp FAQ</title> | 5 | <title>halfnarp FAQ</title> |
| 6 | <link rel="stylesheet" href="style_39c3.css"> | 6 | <link rel="stylesheet" href="style_40c3.css"> |
| 7 | </head> | 7 | </head> |
| 8 | <body> | 8 | <body> |
| 9 | 9 | ||
| 10 | <div class="headline">The 39C3 halfnarp FAQ</div> | 10 | <div class="headline">The 40C3 halfnarp FAQ</div> |
| 11 | 11 | ||
| 12 | <dl> | 12 | <dl> |
| 13 | <dt>Q: What is halfnarp?</dt> | 13 | <dt>Q: What is halfnarp?</dt> |
| @@ -18,7 +18,7 @@ | |||
| 18 | </dd> | 18 | </dd> |
| 19 | <dt>Q: How does it work?</dt> | 19 | <dt>Q: How does it work?</dt> |
| 20 | <dd> | 20 | <dd> |
| 21 | <p>A: 39C3 Fahrplan is curated by six teams each responsible for one track. By default, lectures are sorted by these tracks.</p> | 21 | <p>A: 40C3 Fahrplan is curated by six teams each responsible for one track. By default, lectures are sorted by these tracks.</p> |
| 22 | <ul> | 22 | <ul> |
| 23 | <li>On a desktop browser, hovering over an event’s description reveals the full abstract. Clicking on an event adds or removes events to/from your favorites list – they turn green.</li> | 23 | <li>On a desktop browser, hovering over an event’s description reveals the full abstract. Clicking on an event adds or removes events to/from your favorites list – they turn green.</li> |
| 24 | <li>On mobile browsers, tapping an event once selects it and reveals the whole content. Tapping a selected event adds or removes events to/from your favorites list – they turn green.</li> | 24 | <li>On mobile browsers, tapping an event once selects it and reveals the whole content. Tapping a selected event adds or removes events to/from your favorites list – they turn green.</li> |
diff --git a/static/fullnarp.html b/static/fullnarp.html index 3b86d6c..f535937 100644 --- a/static/fullnarp.html +++ b/static/fullnarp.html | |||
| @@ -3,9 +3,9 @@ | |||
| 3 | <head> | 3 | <head> |
| 4 | <meta charset="utf-8"> | 4 | <meta charset="utf-8"> |
| 5 | <title>FULLnarp web scheduling helper app</title> | 5 | <title>FULLnarp web scheduling helper app</title> |
| 6 | <link rel="stylesheet" href="style_39c3.css"> | 6 | <link rel="stylesheet" href="style_40c3.css"> |
| 7 | <link rel="stylesheet" href="style_39c3_tables.css"> | 7 | <link rel="stylesheet" href="style_40c3_tables.css"> |
| 8 | <script src="fullnarp.js"></script> | 8 | <script src="fullnarp.js?v2025-11-09"></script> |
| 9 | <script> | 9 | <script> |
| 10 | document.addEventListener('DOMContentLoaded', () => { do_the_fullnarp(); }); | 10 | document.addEventListener('DOMContentLoaded', () => { do_the_fullnarp(); }); |
| 11 | </script> | 11 | </script> |
| @@ -20,7 +20,7 @@ | |||
| 20 | </div> | 20 | </div> |
| 21 | <div class="trashbin">🗑️</div> | 21 | <div class="trashbin">🗑️</div> |
| 22 | <div class="version">version</div> | 22 | <div class="version">version</div> |
| 23 | <div class="headline">The 39C3 fullnarp</div> | 23 | <div class="headline">The 40C3 fullnarp</div> |
| 24 | <div class="header"> | 24 | <div class="header"> |
| 25 | <div class="leftbox"> | 25 | <div class="leftbox"> |
| 26 | <input id="filter" type="text" placeholder="Filter events"/> | 26 | <input id="filter" type="text" placeholder="Filter events"/> |
diff --git a/static/halfnarp.js b/static/halfnarp.js index e40c84e..aac34e4 100644 --- a/static/halfnarp.js +++ b/static/halfnarp.js | |||
| @@ -102,14 +102,35 @@ function redraw_calendar(myuid, ids) { | |||
| 102 | } | 102 | } |
| 103 | }); | 103 | }); |
| 104 | calendar += 'END:VCALENDAR\r\n'; | 104 | calendar += 'END:VCALENDAR\r\n'; |
| 105 | $('.export-url-a').attr( 'href', "data:text/calendar;filename=39C3.ics," + encodeURIComponent(calendar) ); | 105 | $('.export-url-a').attr( 'href', "data:text/calendar;filename=40C3.ics," + encodeURIComponent(calendar) ); |
| 106 | $('.export-url').removeClass( 'hidden' ); | 106 | $('.export-url').removeClass( 'hidden' ); |
| 107 | } | 107 | } |
| 108 | 108 | ||
| 109 | function update_event_state(elem) { | ||
| 110 | elem.setAttribute( | ||
| 111 | 'aria-pressed', | ||
| 112 | elem.classList.contains('selected') ? 'true' : 'false' | ||
| 113 | ); | ||
| 114 | } | ||
| 115 | |||
| 116 | function update_size_aria() { | ||
| 117 | document.querySelector('.vsmallboxes') | ||
| 118 | .setAttribute('aria-pressed', | ||
| 119 | document.body.classList.contains('size-small')); | ||
| 120 | |||
| 121 | document.querySelector('.vmediumboxes') | ||
| 122 | .setAttribute('aria-pressed', | ||
| 123 | document.body.classList.contains('size-medium')); | ||
| 124 | |||
| 125 | document.querySelector('.vlargeboxes') | ||
| 126 | .setAttribute('aria-pressed', | ||
| 127 | document.body.classList.contains('size-large')); | ||
| 128 | } | ||
| 129 | |||
| 109 | function do_the_halfnarp() { | 130 | function do_the_halfnarp() { |
| 110 | // var halfnarpAPI = 'talks_36C3.json'; | 131 | // var halfnarpAPI = 'talks_36C3.json'; |
| 111 | var halfnarpAPI = '/-/talkpreferences'; | 132 | var halfnarpAPI = '/-/talkpreferences'; |
| 112 | var halfnarpCorrs = 'corr_array_39c3.json'; | 133 | var halfnarpCorrs = 'corr_array_40c3.json'; |
| 113 | var halfnarpPubAPI = halfnarpAPI + '/public/'; | 134 | var halfnarpPubAPI = halfnarpAPI + '/public/'; |
| 114 | var isTouch = (('ontouchstart' in window) || (navigator.msMaxTouchPoints > 0)); | 135 | var isTouch = (('ontouchstart' in window) || (navigator.msMaxTouchPoints > 0)); |
| 115 | window.top.all_events = new Object(); | 136 | window.top.all_events = new Object(); |
| @@ -117,6 +138,8 @@ function do_the_halfnarp() { | |||
| 117 | var myuid, mypid, newfriend = new Object(); | 138 | var myuid, mypid, newfriend = new Object(); |
| 118 | var allhours = ['10', '11','12','13','14','15','16','17','18','19','20','21','22','23','00','01','02','03']; | 139 | var allhours = ['10', '11','12','13','14','15','16','17','18','19','20','21','22','23','00','01','02','03']; |
| 119 | 140 | ||
| 141 | update_size_aria(); | ||
| 142 | |||
| 120 | $('.narpr_done').click( function(ev) { | 143 | $('.narpr_done').click( function(ev) { |
| 121 | $('.narpr').toggleClass('hidden', true); | 144 | $('.narpr').toggleClass('hidden', true); |
| 122 | if (!window.narpr_alerted) { | 145 | if (!window.narpr_alerted) { |
| @@ -157,13 +180,17 @@ function do_the_halfnarp() { | |||
| 157 | $('.narpr').on({ 'touchend' : function(ev) { | 180 | $('.narpr').on({ 'touchend' : function(ev) { |
| 158 | if (!window.touch_valid) | 181 | if (!window.touch_valid) |
| 159 | return; | 182 | return; |
| 183 | var ev = $('#event_'+window.narpr_event); | ||
| 160 | if (window.touch_curX > window.touch_startX + 100) { | 184 | if (window.touch_curX > window.touch_startX + 100) { |
| 161 | $('#event_'+window.narpr_event).toggleClass('selected', true); | 185 | ev.toggleClass('selected', true); |
| 186 | update_event_state(ev[0]); | ||
| 162 | set_random_event(); | 187 | set_random_event(); |
| 163 | } | 188 | } |
| 164 | if (window.touch_curX < window.touch_startX - 100) { | 189 | if (window.touch_curX < window.touch_startX - 100) { |
| 165 | $('#event_'+window.narpr_event).toggleClass('selected', false); | 190 | |
| 166 | $('#event_'+window.narpr_event).toggleClass('rejected', true); | 191 | ev.toggleClass('selected', false); |
| 192 | ev.toggleClass('rejected', true); | ||
| 193 | update_event_state(ev[0]); | ||
| 167 | set_random_event(); | 194 | set_random_event(); |
| 168 | } | 195 | } |
| 169 | 196 | ||
| @@ -179,8 +206,8 @@ function do_the_halfnarp() { | |||
| 179 | return $(this).attr('event_id'); | 206 | return $(this).attr('event_id'); |
| 180 | }).get(); | 207 | }).get(); |
| 181 | try { | 208 | try { |
| 182 | localStorage['39C3-halfnarp'] = ids; | 209 | localStorage['40C3-halfnarp'] = ids; |
| 183 | myapi = localStorage.getItem('39C3-halfnarp-api'); | 210 | myapi = localStorage.getItem('40C3-halfnarp-api'); |
| 184 | if (myapi) { | 211 | if (myapi) { |
| 185 | myapi = myapi.replace(/.*?:\//g, ""); | 212 | myapi = myapi.replace(/.*?:\//g, ""); |
| 186 | myapi = 'https:/' + myapi.replace(/.*?:\//g, ""); | 213 | myapi = 'https:/' + myapi.replace(/.*?:\//g, ""); |
| @@ -207,9 +234,9 @@ function do_the_halfnarp() { | |||
| 207 | $('.info').text('submitted'); | 234 | $('.info').text('submitted'); |
| 208 | $('.info').removeClass('hidden'); | 235 | $('.info').removeClass('hidden'); |
| 209 | try { | 236 | try { |
| 210 | localStorage['39C3-halfnarp-api'] = data['update_url']; | 237 | localStorage['40C3-halfnarp-api'] = data['update_url']; |
| 211 | localStorage['39C3-halfnarp-pid'] = mypid = data['hashed_uid']; | 238 | localStorage['40C3-halfnarp-pid'] = mypid = data['hashed_uid']; |
| 212 | localStorage['39C3-halfnarp-uid'] = myuid = data['uid']; | 239 | localStorage['40C3-halfnarp-uid'] = myuid = data['uid']; |
| 213 | window.location.hash = mypid; | 240 | window.location.hash = mypid; |
| 214 | } catch(err) {} | 241 | } catch(err) {} |
| 215 | }, 'json' ).fail(function() { | 242 | }, 'json' ).fail(function() { |
| @@ -225,9 +252,9 @@ function do_the_halfnarp() { | |||
| 225 | contentType: "application/json", | 252 | contentType: "application/json", |
| 226 | dataType: 'json', | 253 | dataType: 'json', |
| 227 | }).done(function(data) { | 254 | }).done(function(data) { |
| 228 | localStorage['39C3-halfnarp-uid'] = myuid = data['uid']; | 255 | localStorage['40C3-halfnarp-uid'] = myuid = data['uid']; |
| 229 | if( localStorage['39C3-halfnarp-pid'] ) { | 256 | if( localStorage['40C3-halfnarp-pid'] ) { |
| 230 | window.location.hash = localStorage['39C3-halfnarp-pid']; | 257 | window.location.hash = localStorage['40C3-halfnarp-pid']; |
| 231 | } | 258 | } |
| 232 | $('.info').text('updated'); | 259 | $('.info').text('updated'); |
| 233 | $('.info').removeClass('hidden'); | 260 | $('.info').removeClass('hidden'); |
| @@ -254,28 +281,42 @@ function do_the_halfnarp() { | |||
| 254 | document.querySelectorAll('.event').forEach(elem => elem.style.display = "initial"); | 281 | document.querySelectorAll('.event').forEach(elem => elem.style.display = "initial"); |
| 255 | }; | 282 | }; |
| 256 | 283 | ||
| 284 | document.querySelectorAll( | ||
| 285 | '.vtrack, .vlang, .vsmallboxes, .vmediumboxes, .vlargeboxes' | ||
| 286 | ).forEach(function(elem) { | ||
| 287 | elem.addEventListener('keydown', function(event) { | ||
| 288 | if (event.key === 'Enter' || event.key === ' ') { | ||
| 289 | event.preventDefault(); | ||
| 290 | elem.click(); | ||
| 291 | } | ||
| 292 | }); | ||
| 293 | }); | ||
| 294 | |||
| 257 | /* Add click handlers for event div sizers */ | 295 | /* Add click handlers for event div sizers */ |
| 258 | document.querySelector('.vsmallboxes').onclick = function() { | 296 | document.querySelector('.vsmallboxes').onclick = function() { |
| 259 | document.body.classList.remove('size-medium', 'size-large'); | 297 | document.body.classList.remove('size-medium', 'size-large'); |
| 260 | document.body.classList.add('size-small'); | 298 | document.body.classList.add('size-small'); |
| 299 | update_size_aria(); | ||
| 261 | }; | 300 | }; |
| 262 | 301 | ||
| 263 | document.querySelector('.vmediumboxes').onclick = function() { | 302 | document.querySelector('.vmediumboxes').onclick = function() { |
| 264 | document.body.classList.remove('size-small', 'size-large'); | 303 | document.body.classList.remove('size-small', 'size-large'); |
| 265 | document.body.classList.add('size-medium'); | 304 | document.body.classList.add('size-medium'); |
| 305 | update_size_aria(); | ||
| 266 | }; | 306 | }; |
| 267 | 307 | ||
| 268 | document.querySelector('.vlargeboxes').onclick = function() { | 308 | document.querySelector('.vlargeboxes').onclick = function() { |
| 269 | document.body.classList.remove('size-small', 'size-medium'); | 309 | document.body.classList.remove('size-small', 'size-medium'); |
| 270 | document.body.classList.add('size-large'); | 310 | document.body.classList.add('size-large'); |
| 311 | update_size_aria(); | ||
| 271 | }; | 312 | }; |
| 272 | 313 | ||
| 273 | /* Add de-highlighter on touch interface devices */ | 314 | /* Add de-highlighter on touch interface devices */ |
| 274 | if( isTouch ) { | 315 | if( isTouch ) { |
| 275 | document.body.onclick = function() { | 316 | document.body.onclick = function() { |
| 276 | document.querySelector('.highlighted').forEach(elem => elem.classList.remove('highlighted')); | 317 | for (elem of document.querySelectorAll('.highlighted')) {elem.classList.remove('highlighted'); } |
| 277 | }; | 318 | }; |
| 278 | document.querySelector('.touch-only').forEach(elem => elem.classList.remove('hidden')); | 319 | for (elem of document.querySelectorAll('.touch-only')) { elem.classList.remove('hidden'); } |
| 279 | } | 320 | } |
| 280 | 321 | ||
| 281 | /* Add callbacks for view selector */ | 322 | /* Add callbacks for view selector */ |
| @@ -287,8 +328,16 @@ function do_the_halfnarp() { | |||
| 287 | document.querySelector('.vday4').onclick = function() { toggle_grid(4); }; | 328 | document.querySelector('.vday4').onclick = function() { toggle_grid(4); }; |
| 288 | document.querySelector('.vdays').onclick = function() { toggle_grid(5); }; | 329 | document.querySelector('.vdays').onclick = function() { toggle_grid(5); }; |
| 289 | } | 330 | } |
| 290 | document.querySelector('.vlang').onclick = function() { document.body.classList.toggle('languages'); }; | 331 | |
| 291 | document.querySelector('.vtrack').onclick = function() { document.body.classList.toggle('all-tracks'); }; | 332 | document.querySelector('.vlang').onclick = function() { |
| 333 | document.body.classList.toggle('languages'); | ||
| 334 | this.setAttribute('aria-pressed', document.body.classList.contains('languages')); | ||
| 335 | }; | ||
| 336 | document.querySelector('.vtrack').onclick = function() { | ||
| 337 | document.body.classList.toggle('all-tracks'); | ||
| 338 | this.setAttribute('aria-pressed', document.body.classList.contains('all-tracks')); | ||
| 339 | }; | ||
| 340 | |||
| 292 | document.querySelector('.vnarpr').onclick = function() { $('.narpr').toggleClass('hidden'); set_random_event(); }; | 341 | document.querySelector('.vnarpr').onclick = function() { $('.narpr').toggleClass('hidden'); set_random_event(); }; |
| 293 | 342 | ||
| 294 | if (0) { | 343 | if (0) { |
| @@ -311,10 +360,10 @@ function do_the_halfnarp() { | |||
| 311 | /* If we've been here before, try to get local preferences. They are authoratative */ | 360 | /* If we've been here before, try to get local preferences. They are authoratative */ |
| 312 | var selection = [], friends = { }; | 361 | var selection = [], friends = { }; |
| 313 | try { | 362 | try { |
| 314 | selection = localStorage['39C3-halfnarp'] || []; | 363 | selection = localStorage['40C3-halfnarp'] || []; |
| 315 | friends = localStorage['39C3-halfnarp-friends'] || { }; | 364 | friends = localStorage['40C3-halfnarp-friends'] || { }; |
| 316 | myuid = localStorage['39C3-halfnarp-uid'] || ''; | 365 | myuid = localStorage['40C3-halfnarp-uid'] || ''; |
| 317 | mypid = localStorage['39C3-halfnarp-pid'] || ''; | 366 | mypid = localStorage['40C3-halfnarp-pid'] || ''; |
| 318 | } catch(err) { | 367 | } catch(err) { |
| 319 | } | 368 | } |
| 320 | 369 | ||
| @@ -328,12 +377,16 @@ function do_the_halfnarp() { | |||
| 328 | /* Take copy of hidden event template div and select them, if they're in | 377 | /* Take copy of hidden event template div and select them, if they're in |
| 329 | list of previous prereferences */ | 378 | list of previous prereferences */ |
| 330 | var t = $( '#template' ).clone(true); | 379 | var t = $( '#template' ).clone(true); |
| 380 | t.attr({ role: 'button', tabindex: '0', 'aria-pressed': 'false' }); | ||
| 381 | t.on('keydown', function(event) { if (event.key === 'Enter' || event.key === ' ') { event.preventDefault(); $(this).trigger('click'); } }); | ||
| 382 | |||
| 331 | var event_id = item.event_id.toString(); | 383 | var event_id = item.event_id.toString(); |
| 332 | t.addClass('event ' + ' lang_' + (item.language || 'en')); | 384 | t.addClass('event ' + ' lang_' + (item.language || 'en')); |
| 333 | t.attr('event_id', item.event_id.toString()); | 385 | t.attr('event_id', item.event_id.toString()); |
| 334 | t.attr('id', 'event_' + item.event_id.toString()); | 386 | t.attr('id', 'event_' + item.event_id.toString()); |
| 335 | if( selection && selection.indexOf(item.event_id) != -1 ) { | 387 | if( selection && selection.indexOf(item.event_id) != -1 ) { |
| 336 | t.addClass( 'selected' ); | 388 | t.addClass( 'selected' ); |
| 389 | update_event_state(t[0]); | ||
| 337 | } | 390 | } |
| 338 | 391 | ||
| 339 | /* Sort textual info into event div */ | 392 | /* Sort textual info into event div */ |
| @@ -357,7 +410,7 @@ function do_the_halfnarp() { | |||
| 357 | if( hour > 23) | 410 | if( hour > 23) |
| 358 | hour -= 24; | 411 | hour -= 24; |
| 359 | 412 | ||
| 360 | /* Fix up room for 39C3 */ | 413 | /* Fix up room for 40C3 */ |
| 361 | room = (item.room_id || '').toString().replace('1','room1').replace('2','room2').replace('3','room3'); | 414 | room = (item.room_id || '').toString().replace('1','room1').replace('2','room2').replace('3','room3'); |
| 362 | 415 | ||
| 363 | /* Apply attributes to sort events into calendar */ | 416 | /* Apply attributes to sort events into calendar */ |
| @@ -373,6 +426,7 @@ function do_the_halfnarp() { | |||
| 373 | if( isTouch ) { | 426 | if( isTouch ) { |
| 374 | if ( $( this ).hasClass('highlighted') ) { | 427 | if ( $( this ).hasClass('highlighted') ) { |
| 375 | $( this ).toggleClass('selected'); | 428 | $( this ).toggleClass('selected'); |
| 429 | update_event_state(this); | ||
| 376 | $('.info').addClass('hidden'); | 430 | $('.info').addClass('hidden'); |
| 377 | } else { | 431 | } else { |
| 378 | $('.highlighted').removeClass('highlighted'); | 432 | $('.highlighted').removeClass('highlighted'); |
| @@ -380,6 +434,7 @@ function do_the_halfnarp() { | |||
| 380 | } | 434 | } |
| 381 | } else { | 435 | } else { |
| 382 | $( this ).toggleClass('selected'); | 436 | $( this ).toggleClass('selected'); |
| 437 | update_event_state(this); | ||
| 383 | $('.info').addClass('hidden'); | 438 | $('.info').addClass('hidden'); |
| 384 | } | 439 | } |
| 385 | event.stopPropagation(); | 440 | event.stopPropagation(); |
| @@ -442,7 +497,7 @@ function do_the_halfnarp() { | |||
| 442 | $.getJSON( halfnarpPubAPI + friends.pid, { format: 'json' }) | 497 | $.getJSON( halfnarpPubAPI + friends.pid, { format: 'json' }) |
| 443 | .done(function( data ) { | 498 | .done(function( data ) { |
| 444 | friend.prefs = data.talk_ids; | 499 | friend.prefs = data.talk_ids; |
| 445 | localStorage['39C3-halfnarp-friends'] = friends; | 500 | localStorage['40C3-halfnarp-friends'] = friends; |
| 446 | update_friends(); | 501 | update_friends(); |
| 447 | }); | 502 | }); |
| 448 | } | 503 | } |
| @@ -476,6 +531,8 @@ function do_the_halfnarp() { | |||
| 476 | /* toggle_corr_mode(); */ | 531 | /* toggle_corr_mode(); */ |
| 477 | break; | 532 | break; |
| 478 | } | 533 | } |
| 534 | document.querySelector('.vlang').setAttribute('aria-pressed', document.body.classList.contains('languages')); | ||
| 535 | document.querySelector('.vtrack').setAttribute('aria-pressed', document.body.classList.contains('all-tracks')); | ||
| 479 | }; | 536 | }; |
| 480 | } | 537 | } |
| 481 | 538 | ||
diff --git a/static/index.html b/static/index.html index bc8da67..8cad112 100644 --- a/static/index.html +++ b/static/index.html | |||
| @@ -2,12 +2,13 @@ | |||
| 2 | <html lang="en"> | 2 | <html lang="en"> |
| 3 | <head> | 3 | <head> |
| 4 | <meta charset="utf-8"> | 4 | <meta charset="utf-8"> |
| 5 | <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
| 5 | <title>halfnarp web scheduling helper app</title> | 6 | <title>halfnarp web scheduling helper app</title> |
| 6 | <link rel="stylesheet" href="style_39c3.css"> | 7 | <link rel="stylesheet" href="style_40c3.css?v2026-11-11"> |
| 7 | <link rel="stylesheet" href="style_39c3_tables.css"> | 8 | <link rel="stylesheet" href="style_40c3_tables.css"> |
| 8 | <script src="jquery-3.7.1.min.js"></script> | 9 | <script src="jquery-3.7.1.min.js"></script> |
| 9 | <script src="jquery.qrcode.min.js"></script> | 10 | <script src="jquery.qrcode.min.js"></script> |
| 10 | <script src="halfnarp.js"></script> | 11 | <script src="halfnarp.js?v2026-11-08-01"></script> |
| 11 | <script> | 12 | <script> |
| 12 | $( document ).ready(function() { do_the_halfnarp(); }); | 13 | $( document ).ready(function() { do_the_halfnarp(); }); |
| 13 | </script> | 14 | </script> |
| @@ -22,11 +23,14 @@ | |||
| 22 | <div class="views vday3" title="Display all events on Day 3 (Hotkey: 3)">day 3</div> | 23 | <div class="views vday3" title="Display all events on Day 3 (Hotkey: 3)">day 3</div> |
| 23 | <div class="views vday4" title="Display all events on Day 4 (Hotkey: 4)">day 4</div> | 24 | <div class="views vday4" title="Display all events on Day 4 (Hotkey: 4)">day 4</div> |
| 24 | <div class="views vcorr" title="Enter correlation view (Hotkey: C)">half</div--> | 25 | <div class="views vcorr" title="Enter correlation view (Hotkey: C)">half</div--> |
| 25 | <div class="views vtrack" title="Color event by track (Hotkey: T)">track</div> | 26 | |
| 26 | <div class="views vlang" title="Color event by language (Hotkey: I)">lang</div> | 27 | <div class="views vtrack" role="button" tabindex="0" aria-pressed="false" title="Color event by track (Hotkey: T)">track</div> |
| 28 | <div class="views vlang" role="button" tabindex="0" aria-pressed="false" title="Color event by language (Hotkey: I)">lang</div> | ||
| 27 | <div class="header__right"> | 29 | <div class="header__right"> |
| 28 | <div class="allboxes"> | 30 | <div class="allboxes"> |
| 29 | <div class="vsmallboxes boxer">size</div><div class="vmediumboxes boxer">Size</div><div class="vlargeboxes boxer">SIZE</div> | 31 | <div class="vsmallboxes boxer" role="button" tabindex="0" aria-pressed="true">size</div> |
| 32 | <div class="vmediumboxes boxer" role="button" tabindex="0" aria-pressed="false">Size</div> | ||
| 33 | <div class="vlargeboxes boxer" role="button" tabindex="0" aria-pressed="false">SIZE</div> | ||
| 30 | </div> | 34 | </div> |
| 31 | </div> | 35 | </div> |
| 32 | </header> | 36 | </header> |
| @@ -51,9 +55,9 @@ | |||
| 51 | </div> | 55 | </div> |
| 52 | 56 | ||
| 53 | <div class="intro"> | 57 | <div class="intro"> |
| 54 | <h1>The 39C3 halfnarp</h1> | 58 | <h1>The 40C3 halfnarp</h1> |
| 55 | <div class="touch-only hidden vnarpr narpr-beta">narpr<sup>β</sup></div> | 59 | <div class="touch-only hidden vnarpr narpr-beta">narpr<sup>β</sup></div> |
| 56 | <p>Help us to reduce conflicts of scheduling 39C3's Fahrplan: Click on the talks you would like to watch and press submit.</p> | 60 | <p>Help us to reduce conflicts of scheduling 40C3's Fahrplan: Click on the talks you would like to watch and press submit – 100% slop free.</p> |
| 57 | <p>For questions please read <a href="faq.html">our FAQ</a> and <a href="http://events.ccc.de/2014/11/25/lets-do-the-halfnarp/">our blogpost</a> for details. Please report problems to <a href="mailto:erdgeist@ccc.de">erdgeist@ccc.de</a>.</p> | 61 | <p>For questions please read <a href="faq.html">our FAQ</a> and <a href="http://events.ccc.de/2014/11/25/lets-do-the-halfnarp/">our blogpost</a> for details. Please report problems to <a href="mailto:erdgeist@ccc.de">erdgeist@ccc.de</a>.</p> |
| 58 | <p class="corr-hint">Select an event below to display halfnarp correlations, the darker the stronger.</p> | 62 | <p class="corr-hint">Select an event below to display halfnarp correlations, the darker the stronger.</p> |
| 59 | <p class="touch-only hidden">NEW on mobile: Swipe the narpr!</p> | 63 | <p class="touch-only hidden">NEW on mobile: Swipe the narpr!</p> |
| @@ -90,25 +94,26 @@ | |||
| 90 | <div class="wholeday room1 day_3 guide uneven">Day 3</div> | 94 | <div class="wholeday room1 day_3 guide uneven">Day 3</div> |
| 91 | <div class="wholeday room1 day_4 guide">Day 4</div> | 95 | <div class="wholeday room1 day_4 guide">Day 4</div> |
| 92 | 96 | ||
| 93 | <div class="track" id="31"><h2>Security</h2></div> | 97 | <div class="track" id="53"><h2>Security</h2></div> |
| 94 | <div class="track" id="32"><h2>Hardware & Making</h2></div> | 98 | <div class="track" id="54"><h2>Hardware & Making</h2></div> |
| 95 | <div class="track" id="28"><h2>Ethics, Society & Politics</h2></div> | 99 | <div class="track" id="58"><h2>Ethics, Society & Politics</h2></div> |
| 96 | <div class="track" id="30"><h2>CCC</h2></div> | 100 | <div class="track" id="55"><h2>Chaos Community Creations</h2></div> |
| 97 | <div class="track" id="27"><h2>Entertainment</h2></div> | 101 | <div class="track" id="56"><h2>Entertainment</h2></div> |
| 98 | <div class="track" id="29"><h2>Science</h2></div> | 102 | <div class="track" id="59"><h2>Science</h2></div> |
| 99 | <div class="track" id="33"><h2>Art & Beauty</div> | 103 | <div class="track" id="57"><h2>Art & Beauty</div> |
| 100 | <!--div class="track" id="999"><h2>Other</div--> | 104 | <!--div class="track" id="999"><h2>Other</div--> |
| 101 | 105 | ||
| 102 | <footer class="footer"> | 106 | <footer class="footer"> |
| 103 | <div class="footer__filter-side"> | 107 | <div class="footer__filter-side"> |
| 104 | <!--label>You can reduce the listed events with a filter</label--> | 108 | <!--label>You can reduce the listed events with a filter</label--> |
| 105 | <input id="filter" type="text" placeholder="Filter events"/> | 109 | <label class="hidden" for="filter">Filter events</label> |
| 110 | <input id="filter" type="text" placeholder="Filter events"> | ||
| 106 | </div> | 111 | </div> |
| 107 | <div title="store your choices locally and – if possible – send them to the server" class="submit">Submit selection | 112 | <button title="store your choices locally and – if possible – send them to the server" class="submit">Submit selection |
| 108 | <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 28" enable-background="new 0 0 22 28"><style type="text/css">.st0{fill:none;}</style><path class="st0" d="M-854-2242h1400v3600h-1400v-3600z"/><path d="M0 0v28l22-14-22-14z"/><path class="st0" d="M-16-10h48v48h-48v-48z"/></svg> | 113 | <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 28" enable-background="new 0 0 22 28"><style type="text/css">.st0{fill:none;}</style><path class="st0" d="M-854-2242h1400v3600h-1400v-3600z"/><path d="M0 0v28l22-14-22-14z"/><path class="st0" d="M-16-10h48v48h-48v-48z"/></svg> |
| 109 | </div> | 114 | </button> |
| 110 | <div class="info hidden"></div> | 115 | <div class="info hidden" role="status" aria-live="polite"></div> |
| 111 | <a class="export-url-a" download="39C3.ics" type="text/calendar" href="#"><div class="export-url hidden">39C3.ics</div></a> | 116 | <a class="export-url-a" download="40C3.ics" type="text/calendar" href="#"><div class="export-url hidden">40C3.ics</div></a> |
| 112 | <div id="qrcode" class="hidden"></div> | 117 | <div id="qrcode" class="hidden"></div> |
| 113 | </footer> | 118 | </footer> |
| 114 | 119 | ||
