diff options
author | BuildTools <Noah Loomans> | 2016-12-07 18:44:52 +0100 |
---|---|---|
committer | BuildTools <Noah Loomans> | 2016-12-07 18:44:52 +0100 |
commit | 65bd3df149d7eb63d169bba40975f342609c100e (patch) | |
tree | eb5b7126763ec7cafc8c0d4444a1765fadf72c62 /views | |
parent | 286af7d09f6dd20b82510a6239e191ba48500fe9 (diff) | |
parent | d90745b23fb55a0736b56c045e12de4b1b05786f (diff) |
Merge branch 'beta'
Diffstat (limited to 'views')
-rw-r--r-- | views/index.jade | 55 | ||||
-rw-r--r-- | views/layout.jade | 11 |
2 files changed, 16 insertions, 50 deletions
diff --git a/views/index.jade b/views/index.jade index c496bc0..dff671e 100644 --- a/views/index.jade +++ b/views/index.jade @@ -1,54 +1,30 @@ extends layout -block head_top - script. - function utmx_section(){}function utmx(){}(function(){var - k='129149775-1',d=document,l=d.location,c=d.cookie; - if(l.search.indexOf('utm_expid='+k)>0)return; - function f(n){if(c){var i=c.indexOf(n+'=');if(i>-1){var j=c. - indexOf(';',i);return escape(c.substring(i+n.length+1,j<0?c. - length:j))}}}var x=f('__utmx'),xx=f('__utmxx'),h=l.hash;d.write( - '<sc'+'ript src="'+'http'+(l.protocol=='https:'?'s://ssl': - '://www')+'.google-analytics.com/ga_exp.js?'+'utmxkey='+k+ - '&utmx='+(x?x:'')+'&utmxx='+(xx?xx:'')+'&utmxtime='+new Date(). - valueOf()+(h?'&utmxhash='+escape(h.substr(1)):'')+ - '" type="text/javascript" charset="utf-8"><\/sc'+'ript>')})(); - script. - utmx('url','A/B'); - - block head - if version == 'new' - link(rel='stylesheet', href='/stylesheets/style_new.css') - else - link(rel='stylesheet', href='/stylesheets/style.css') + link(rel='stylesheet', href='/stylesheets/style.css') link(rel='stylesheet', href='/stylesheets/print.css', media='print') 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;') - each user in users - .data-user - .data-type= user.type - .data-value= user.value - .data-index= user.index - .data-other= user.other - .data-isID= user.isID - form#search .top-bar + .title + .logo + .text Rooster .input-wrapper - input(type='text', placeholder='Zoeken') + input(type='search', placeholder='Zoeken') button.material-icons.fav(tabindex='0', type='button')  + .tooltip + span Voer hier een <strong>docentafkorting</strong>, <strong>klas</strong>, <strong>leerlingnummer</strong> of <strong>lokaalnummer</strong> in. 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 - a(href='javascript:window.print()') + a(href='javascript:window.print()').print-page li.mdl-menu__item.mdl-menu__item--full-bleed-divider#print-page Pagina printen li.mdl-menu__item(disabled) Gemaakt door Noah Loomans .autocomplete-wrapper @@ -56,16 +32,13 @@ block content #week-selector #search-space-filler .week-wrapper - if version == 'new' - input(type='button', value='arrow_back').material-icons - span.current Loading... - input(type='button', value='arrow_forward').material-icons - else - input(type='button', value='Vorige') - span.current Loading... - input(type='button', value='Volgende') + button(type='button').material-icons  + span.current Loading... + button(type='button').material-icons  - iframe(src='/hello', scrolling='no')#schedule + iframe(scrolling='no')#schedule block scripts + script. + !{flagsStr}!{usersStr} script(src='/javascripts/bundle.js') diff --git a/views/layout.jade b/views/layout.jade index 10aa433..a7b9d93 100644 --- a/views/layout.jade +++ b/views/layout.jade @@ -7,16 +7,9 @@ html meta(name='viewport', content='width=device-width, initial-scale=1') link(href='https://fonts.googleapis.com/css?family=Roboto', rel='stylesheet') link(rel='manifest', href='/manifest.webmanifest') - script(src='//d2wy8f7a9ursnm.cloudfront.net/bugsnag-3.min.js', data-apikey='bd5c41bb376798642d7ae4701a09a8fb') block head - body + body(style='opacity: 0;') block content script. - (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ - (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), - m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) - })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); - - ga('create', 'UA-83684754-1', 'auto'); - ga('send', 'pageview'); + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');ga('create', 'UA-83684754-1', 'auto');ga('send', 'pageview'); block scripts |