From e87bf34e06f8bec3c6622102528c2d685b3cbb5b Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Wed, 13 Sep 2017 21:29:15 +0200 Subject: Add some basic elm --- src/client/views/index.jade | 54 +++++++-------------------------------------- 1 file changed, 8 insertions(+), 46 deletions(-) (limited to 'src/client/views') diff --git a/src/client/views/index.jade b/src/client/views/index.jade index 540fd42..9843982 100644 --- a/src/client/views/index.jade +++ b/src/client/views/index.jade @@ -1,51 +1,13 @@ extends layout -block variables - - var bodyStyle = 'opacity: 0;'; - -block head - 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='/components/material-design-lite/material.min.css') - script(defer='', src='/components/material-design-lite/material.min.js') - -block content - form#search - .top-bar - .title - .logo - .text Rooster - .input-wrapper - input(type='search', placeholder='Zoeken', autocomplete='off') - button.material-icons.fav(tabindex='0', type='button')  - .tooltip - span Voer hier een docentafkorting, klas, leerlingnummer of lokaalnummer 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/basisroosters/default.htm') - li.mdl-menu__item Basis rooster gebruiken - a(href='http://www.meetingpointmco.nl/Roosters-AL/doc/') - li.mdl-menu__item Oud rooster gebruiken - 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 - ul.autocomplete - #week-selector - #search-space-filler - .week-wrapper - button(type='button').material-icons  - span.current - span.no-print Loading... - span.print - button(type='button').material-icons  - - #schedule - block scripts + script(src='/elm.js') script. !{flagsStr}!{usersStr}!{validWeekNumbersStr} - script(src='/bundle.js') + console.log(USERS); + //- Elm.Main.fullscreen({ + //- flags: FLAGS, + //- users: USERS, + //- validWeekNumbers: VALID_WEEK_NUMBERS, + //- }); + Elm.Main.fullscreen(USERS) -- cgit v1.1