From 70b68c46f3a7128e36a9eff60dbf7b6d45111680 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Fri, 7 Oct 2016 13:57:15 +0200 Subject: added overflow menu with link to old rooster --- public/javascripts/bundle.js | 37 ++++++++++--------------------------- public/stylesheets/style.css | 27 ++++++++++++++++++++++----- views/index.jade | 15 ++++++++++++--- 3 files changed, 44 insertions(+), 35 deletions(-) diff --git a/public/javascripts/bundle.js b/public/javascripts/bundle.js index ebe57e4..44be368 100644 --- a/public/javascripts/bundle.js +++ b/public/javascripts/bundle.js @@ -588,9 +588,7 @@ function getUsers() { var type = userNode.querySelector('.data-type').textContent; var value = userNode.querySelector('.data-value').textContent; var index = Number(userNode.querySelector('.data-index').textContent); - var other = userNode.querySelector('.data-other').textContent; - var isID = userNode.querySelector('.data-isID').textContent === 'true'; - return { type: type, value: value, index: index, other: other, isID: isID }; + return { type: type, value: value, index: index }; }); document.querySelector('#data').outerHTML = ''; @@ -606,7 +604,7 @@ function getCurrentFav() { var fav = users.filter(function (user) { return user.type === favCode[0] && user.index === Number(favCode[1]); }); - return fav[fav.length - 1]; + return fav[0]; } function changeFav(isFav) { @@ -663,17 +661,9 @@ searchNode.addEventListener('input', function (e) { } }).slice(0, 7); - if (inputNode.value === 'From The Depths') { - results.push({ original: { value: 'Laat dit niet aan sam zien 😉.', other: '' } }); - } else if (/^(?:meneer|mevrouw) \w+ docent$/i.test(inputNode.value)) { - results.push({ original: { value: 'CAVIA!', other: '', type: 's', index: 173 } }); - } - - console.log(results[0]); - results.forEach(function (result) { var resultNode = document.createElement('li'); - resultNode.innerHTML = result.original.value + '' + result.original.other + ''; + resultNode.innerHTML = '' + result.original.value; autocompleteNode.appendChild(resultNode); }); }); @@ -697,32 +687,25 @@ function submitForm(e) { scheduleIframe.src = getURLOfUser(offset, selectedUser.type, selectedUser.index + 1); - var hitType = 'event'; - var eventCategory = void 0; + var eventAction = void 0; switch (selectedUser.type) { case 'c': - eventCategory = 'Class'; + eventAction = 'Class'; break; case 't': - eventCategory = 'Teacher'; + eventAction = 'Teacher'; break; case 'r': - eventCategory = 'Room'; + eventAction = 'Room'; break; case 's': - eventCategory = 'Student'; + eventAction = 'Student'; break; } - var eventAction = void 0; - if (selectedUser.isID) { - eventAction = 'by id'; - } else { - eventAction = 'by name'; - } var eventLabel = selectedUser.value; ga(function () { - ga('send', { hitType: hitType, eventCategory: eventCategory, eventAction: eventAction, eventLabel: eventLabel }); + ga('send', { hitType: 'event', eventCategory: 'search', eventAction: eventAction, eventLabel: eventLabel }); }); } @@ -778,4 +761,4 @@ if (currentFav) { } },{"./getURLOfUser":5,"./getWeek":6,"diacritics":1,"flexibility":2,"fuzzy":3}]},{},[7]) -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUuanMiLCJub2RlX21vZHVsZXMvZGlhY3JpdGljcy9pbmRleC5qcyIsIm5vZGVfbW9kdWxlcy9mbGV4aWJpbGl0eS9mbGV4aWJpbGl0eS5qcyIsIm5vZGVfbW9kdWxlcy9mdXp6eS9saWIvZnV6enkuanMiLCJub2RlX21vZHVsZXMvbGVmdC1wYWQvaW5kZXguanMiLCJwdWJsaWMvamF2YXNjcmlwdHMvZ2V0VVJMT2ZVc2VyLmpzIiwicHVibGljL2phdmFzY3JpcHRzL2dldFdlZWsuanMiLCJwdWJsaWMvamF2YXNjcmlwdHMvbWFpbi5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtBQ0FBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTt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nJlbnRGYXZcbiAgaW5wdXROb2RlLnZhbHVlID0gc2VsZWN0ZWRVc2VyLnZhbHVlXG4gIHNjaGVkdWxlSWZyYW1lLnNyYyA9IGdldFVSTE9mVXNlcihvZmZzZXQsIHNlbGVjdGVkVXNlci50eXBlLCBzZWxlY3RlZFVzZXIuaW5kZXggKyAxKVxuICB1cGRhdGVGYXZOb2RlKClcbn1cbiJdfQ== diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index d5692d6..95944e0 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -29,12 +29,17 @@ html, body { box-shadow: 0 0.5px 1.5px rgba(0,0,0,0.06), 0 0.5px 1px rgba(0,0,0,0.12); } -#search .input-wrapper { +#search .top-bar { position: relative; margin: 0 auto; max-width: 600px; padding: 10px; - flex-grow: 0; + display: flex; +} + +#search .input-wrapper { + position: relative; + flex-grow: 1; } #search input[type='text'] { @@ -139,17 +144,29 @@ input { -webkit-appearance: none; } -#search .material-icons { +#search .fav { position: absolute; font-size: 1.8em; color: #FFCDD2; - right: 22.5px; - top: 22.5px; + right: 12.5px; + top: 12.5px; border: 0; padding: 0; background: none; } +#search #overflow-button { + background: none; + border: none; + padding: 3px 9px; + color: white; +} + .hidden { display: none !important; } + +ul a { + color: inherit; + text-decoration: none; +} diff --git a/views/index.jade b/views/index.jade index c219d94..aabee2d 100644 --- a/views/index.jade +++ b/views/index.jade @@ -3,6 +3,8 @@ extends layout block head link(rel='stylesheet', href='/stylesheets/style.css') link(rel='stylesheet', href='https://fonts.googleapis.com/icon?family=Material+Icons') + link(rel='stylesheet', href='https://code.getmdl.io/1.2.1/material.indigo-pink.min.css') + script(defer='', src='https://code.getmdl.io/1.2.1/material.min.js') block content #data(style='display: none;') @@ -15,9 +17,16 @@ block content .data-isID= user.isID form#search - .input-wrapper - input(type='text', placeholder='Search', autofocus) - button.material-icons.fav(tabindex='0', type='button')  + .top-bar + .input-wrapper + input(type='text', placeholder='Search') + button.material-icons.fav(tabindex='0', type='button')  + button#overflow-button(type='button') + i.material-icons  + + ul.mdl-menu.mdl-menu--bottom-right.mdl-js-menu.mdl-js-ripple-effect(for='overflow-button') + a(href='http://www.meetingpointmco.nl/Roosters-AL/doc/') + li.mdl-menu__item Oud rooster gebruiken .autocomplete-wrapper ul.autocomplete #week-selector -- cgit v1.1