From 1145c7ef325f1190e89c4684f180a26d3a74128b Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Sat, 29 Dec 2018 16:58:34 +0100 Subject: Add kiemm version The kiemm is functionally identical to the rosoterTOS version, but branded differently --- views/index.jade | 11 +++++++---- views/layout.jade | 5 ++++- 2 files changed, 11 insertions(+), 5 deletions(-) (limited to 'views') diff --git a/views/index.jade b/views/index.jade index eb38e74..03995ae 100644 --- a/views/index.jade +++ b/views/index.jade @@ -11,7 +11,10 @@ block content form#search .top-bar .title - .logo + if school === 'kiemm' + .logo.logo-kiemm + else + .logo.logo-metis .text Rooster .input-wrapper input(type='search', placeholder='Zoeken', autocomplete='off') @@ -20,7 +23,7 @@ block content 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='#{baseMeetingpointUrl}/basisroosters/default.htm') li.mdl-menu__item Basis rooster gebruiken @@ -35,11 +38,11 @@ block content #search-space-filler .week-wrapper button(type='button').material-icons  - span.current + span.current span.no-print Loading... span.print button(type='button').material-icons  - + #schedule block scripts diff --git a/views/layout.jade b/views/layout.jade index aea6d5f..701fb29 100644 --- a/views/layout.jade +++ b/views/layout.jade @@ -2,7 +2,10 @@ doctype html html(lang='nl') head block head_top - title Metis Rooster + if school === 'kiemm' + title Kiemm Rooster + else + title Metis Rooster meta(name='theme-color',content='#F44336') meta(name='viewport', content='width=device-width, initial-scale=1') link(href='https://fonts.googleapis.com/css?family=Roboto', rel='stylesheet') -- cgit v1.1