From 7250c51f716a050c105aae4e9f46d9736e108654 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Sat, 17 Feb 2018 19:33:57 +0100 Subject: Change LICENSE to GPLv3 --- src/client/react/actions/search.js | 20 ++++++++++++++ src/client/react/actions/view.js | 20 ++++++++++++++ src/client/react/components/container/HelpBox.js | 20 ++++++++++++++ src/client/react/components/container/Results.js | 20 ++++++++++++++ src/client/react/components/container/Search.js | 20 ++++++++++++++ src/client/react/components/container/View.js | 20 ++++++++++++++ .../react/components/container/WeekSelector.js | 20 ++++++++++++++ src/client/react/components/page/Index.js | 20 ++++++++++++++ src/client/react/components/page/User.js | 20 ++++++++++++++ .../components/presentational/IconFromUserType.js | 20 ++++++++++++++ .../react/components/presentational/Loading.js | 20 ++++++++++++++ .../react/components/presentational/Result.js | 20 ++++++++++++++ .../react/components/presentational/Schedule.js | 20 ++++++++++++++ src/client/react/index.js | 20 ++++++++++++++ src/client/react/lib/extractSchedule.js | 20 ++++++++++++++ src/client/react/lib/purifyWeek.js | 20 ++++++++++++++ src/client/react/lib/url.js | 20 ++++++++++++++ src/client/react/reducers.js | 20 ++++++++++++++ src/client/react/reducers/search.js | 20 ++++++++++++++ src/client/react/reducers/search.test.js | 20 ++++++++++++++ src/client/react/reducers/view.js | 20 ++++++++++++++ src/client/react/users.js | 20 ++++++++++++++ src/client/style/_component-help-box.scss | 20 ++++++++++++++ src/client/style/_component-loading.scss | 20 ++++++++++++++ src/client/style/_component-search.scss | 20 ++++++++++++++ src/client/style/_component-week-selector.scss | 20 ++++++++++++++ src/client/style/_page-index.scss | 20 ++++++++++++++ src/client/style/_page-user.scss | 20 ++++++++++++++ src/client/style/index.scss | 20 ++++++++++++++ src/client/views/error.jade | 18 ++++++++++++ src/client/views/index.jade | 18 ++++++++++++ src/client/views/layout.jade | 18 ++++++++++++ src/client/views/redirect.jade | 32 +++++++++++++++++----- 33 files changed, 659 insertions(+), 7 deletions(-) (limited to 'src/client') diff --git a/src/client/react/actions/search.js b/src/client/react/actions/search.js index 22daeca..e894e84 100644 --- a/src/client/react/actions/search.js +++ b/src/client/react/actions/search.js @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + export const setUser = user => ({ type: 'SEARCH/SET_USER', user, diff --git a/src/client/react/actions/view.js b/src/client/react/actions/view.js index 79ec143..986d8f2 100644 --- a/src/client/react/actions/view.js +++ b/src/client/react/actions/view.js @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + // eslint-disable-next-line import/prefer-default-export export const fetchSchedule = (user, week) => (dispatch) => { dispatch({ diff --git a/src/client/react/components/container/HelpBox.js b/src/client/react/components/container/HelpBox.js index da4ddac..37b5c7e 100644 --- a/src/client/react/components/container/HelpBox.js +++ b/src/client/react/components/container/HelpBox.js @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; diff --git a/src/client/react/components/container/Results.js b/src/client/react/components/container/Results.js index 41030e7..b36abb2 100644 --- a/src/client/react/components/container/Results.js +++ b/src/client/react/components/container/Results.js @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; diff --git a/src/client/react/components/container/Search.js b/src/client/react/components/container/Search.js index 44f2ba1..b84502c 100644 --- a/src/client/react/components/container/Search.js +++ b/src/client/react/components/container/Search.js @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; diff --git a/src/client/react/components/container/View.js b/src/client/react/components/container/View.js index 96611d5..938614e 100644 --- a/src/client/react/components/container/View.js +++ b/src/client/react/components/container/View.js @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; diff --git a/src/client/react/components/container/WeekSelector.js b/src/client/react/components/container/WeekSelector.js index 002128b..3109bb7 100644 --- a/src/client/react/components/container/WeekSelector.js +++ b/src/client/react/components/container/WeekSelector.js @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + import React from 'react'; import PropTypes from 'prop-types'; import moment from 'moment'; diff --git a/src/client/react/components/page/Index.js b/src/client/react/components/page/Index.js index c48ebe0..ac6c4f6 100644 --- a/src/client/react/components/page/Index.js +++ b/src/client/react/components/page/Index.js @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + import React from 'react'; import Search from '../container/Search'; import HelpBox from '../container/HelpBox'; diff --git a/src/client/react/components/page/User.js b/src/client/react/components/page/User.js index 86f6dfe..e956c85 100644 --- a/src/client/react/components/page/User.js +++ b/src/client/react/components/page/User.js @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + import React from 'react'; import PropTypes from 'prop-types'; import { Redirect } from 'react-router-dom'; diff --git a/src/client/react/components/presentational/IconFromUserType.js b/src/client/react/components/presentational/IconFromUserType.js index 2ef95b7..3a7350c 100644 --- a/src/client/react/components/presentational/IconFromUserType.js +++ b/src/client/react/components/presentational/IconFromUserType.js @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + import React from 'react'; import PropTypes from 'prop-types'; import StudentIcon from 'react-icons/lib/md/person'; diff --git a/src/client/react/components/presentational/Loading.js b/src/client/react/components/presentational/Loading.js index 1a34a71..e33720b 100644 --- a/src/client/react/components/presentational/Loading.js +++ b/src/client/react/components/presentational/Loading.js @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + import React from 'react'; import { LinearProgress } from 'rmwc/LinearProgress'; diff --git a/src/client/react/components/presentational/Result.js b/src/client/react/components/presentational/Result.js index 83c6709..18e4eb9 100644 --- a/src/client/react/components/presentational/Result.js +++ b/src/client/react/components/presentational/Result.js @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; diff --git a/src/client/react/components/presentational/Schedule.js b/src/client/react/components/presentational/Schedule.js index 85cf72f..7823238 100644 --- a/src/client/react/components/presentational/Schedule.js +++ b/src/client/react/components/presentational/Schedule.js @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + import React from 'react'; import PropTypes from 'prop-types'; import createDOMPurify from 'dompurify'; diff --git a/src/client/react/index.js b/src/client/react/index.js index 3cabf9f..2ce7b6c 100644 --- a/src/client/react/index.js +++ b/src/client/react/index.js @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + import React from 'react'; import ReactDOM from 'react-dom'; import moment from 'moment'; diff --git a/src/client/react/lib/extractSchedule.js b/src/client/react/lib/extractSchedule.js index e74411b..97589f8 100644 --- a/src/client/react/lib/extractSchedule.js +++ b/src/client/react/lib/extractSchedule.js @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + export default function extractSchedule(schedules, user, week) { const scheduleExists = schedules.hasOwnProperty(user) && schedules[user].hasOwnProperty(week); diff --git a/src/client/react/lib/purifyWeek.js b/src/client/react/lib/purifyWeek.js index 939f5af..7c8f1a9 100644 --- a/src/client/react/lib/purifyWeek.js +++ b/src/client/react/lib/purifyWeek.js @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + import moment from 'moment'; export default function purifyWeek(week) { diff --git a/src/client/react/lib/url.js b/src/client/react/lib/url.js index 3b7f6b4..a1fa2fe 100644 --- a/src/client/react/lib/url.js +++ b/src/client/react/lib/url.js @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + import moment from 'moment'; import queryString from 'query-string'; import users from '../users'; diff --git a/src/client/react/reducers.js b/src/client/react/reducers.js index fb97228..13795f7 100644 --- a/src/client/react/reducers.js +++ b/src/client/react/reducers.js @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + import { combineReducers } from 'redux'; import search from './reducers/search'; import view from './reducers/view'; diff --git a/src/client/react/reducers/search.js b/src/client/react/reducers/search.js index 2f02874..dcc7ec6 100644 --- a/src/client/react/reducers/search.js +++ b/src/client/react/reducers/search.js @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + import FuzzySearch from 'fuzzy-search'; import uniqBy from 'lodash/uniqBy'; import users from '../users'; diff --git a/src/client/react/reducers/search.test.js b/src/client/react/reducers/search.test.js index 423a5aa..bb1ad8a 100644 --- a/src/client/react/reducers/search.test.js +++ b/src/client/react/reducers/search.test.js @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + window.USERS = [ { type: 's', value: '18561' }, { type: 's', value: '18562' }, diff --git a/src/client/react/reducers/view.js b/src/client/react/reducers/view.js index 301a1cf..8fa56b8 100644 --- a/src/client/react/reducers/view.js +++ b/src/client/react/reducers/view.js @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + const schedule = (state = {}, action) => { switch (action.type) { case 'VIEW/FETCH_SCHEDULE_REQUEST': diff --git a/src/client/react/users.js b/src/client/react/users.js index bb28317..5bdf12f 100644 --- a/src/client/react/users.js +++ b/src/client/react/users.js @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + /* global USERS */ import { combineReducers, createStore } from 'redux'; diff --git a/src/client/style/_component-help-box.scss b/src/client/style/_component-help-box.scss index e7457c2..6a9fdfb 100644 --- a/src/client/style/_component-help-box.scss +++ b/src/client/style/_component-help-box.scss @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + .help-box { position: relative; margin-top: 32px; diff --git a/src/client/style/_component-loading.scss b/src/client/style/_component-loading.scss index d79c521..d5f3cb3 100644 --- a/src/client/style/_component-loading.scss +++ b/src/client/style/_component-loading.scss @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + .loading { .mdc-linear-progress .mdc-linear-progress__bar-inner { background-color: #9C27B0; diff --git a/src/client/style/_component-search.scss b/src/client/style/_component-search.scss index b989cc1..4f67575 100644 --- a/src/client/style/_component-search.scss +++ b/src/client/style/_component-search.scss @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + .search { height: 54px; position: relative; diff --git a/src/client/style/_component-week-selector.scss b/src/client/style/_component-week-selector.scss index 0d7696b..7376f35 100644 --- a/src/client/style/_component-week-selector.scss +++ b/src/client/style/_component-week-selector.scss @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + .week-selector { display: flex; padding: 8px; diff --git a/src/client/style/_page-index.scss b/src/client/style/_page-index.scss index 9bb9056..b1cdb58 100644 --- a/src/client/style/_page-index.scss +++ b/src/client/style/_page-index.scss @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + .page-index { background-color: #ececec; padding-top: calc(50vh - 245px); diff --git a/src/client/style/_page-user.scss b/src/client/style/_page-user.scss index 1938578..44c3b97 100644 --- a/src/client/style/_page-user.scss +++ b/src/client/style/_page-user.scss @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + .page-user { .search-wrapper { position: fixed; diff --git a/src/client/style/index.scss b/src/client/style/index.scss index 876183a..0c48636 100644 --- a/src/client/style/index.scss +++ b/src/client/style/index.scss @@ -1,3 +1,23 @@ +/** + * Copyright (C) 2018 Noah Loomans + * + * This file is part of rooster.hetmml.nl. + * + * rooster.hetmml.nl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rooster.hetmml.nl is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rooster.hetmml.nl. If not, see . + * + */ + @import "../../../node_modules/material-components-web/dist/material-components-web.min.css"; * { diff --git a/src/client/views/error.jade b/src/client/views/error.jade index 51ec12c..5f66d07 100644 --- a/src/client/views/error.jade +++ b/src/client/views/error.jade @@ -1,3 +1,21 @@ +// Copyright (C) 2018 Noah Loomans +// +// This file is part of rooster.hetmml.nl. +// +// rooster.hetmml.nl is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// rooster.hetmml.nl is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with rooster.hetmml.nl. If not, see . +// + extends layout block content diff --git a/src/client/views/index.jade b/src/client/views/index.jade index 89a2256..069473b 100644 --- a/src/client/views/index.jade +++ b/src/client/views/index.jade @@ -1,3 +1,21 @@ +// Copyright (C) 2018 Noah Loomans +// +// This file is part of rooster.hetmml.nl. +// +// rooster.hetmml.nl is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// rooster.hetmml.nl is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with rooster.hetmml.nl. If not, see . +// + extends layout block head diff --git a/src/client/views/layout.jade b/src/client/views/layout.jade index f7f9e1f..8894fa4 100644 --- a/src/client/views/layout.jade +++ b/src/client/views/layout.jade @@ -1,3 +1,21 @@ +// Copyright (C) 2018 Noah Loomans +// +// This file is part of rooster.hetmml.nl. +// +// rooster.hetmml.nl is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// rooster.hetmml.nl is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with rooster.hetmml.nl. If not, see . +// + block variables - var bodyStyle = ''; diff --git a/src/client/views/redirect.jade b/src/client/views/redirect.jade index e895456..832589b 100644 --- a/src/client/views/redirect.jade +++ b/src/client/views/redirect.jade @@ -1,3 +1,21 @@ +// Copyright (C) 2018 Noah Loomans +// +// This file is part of rooster.hetmml.nl. +// +// rooster.hetmml.nl is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// rooster.hetmml.nl is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with rooster.hetmml.nl. If not, see . +// + extends layout block head @@ -7,22 +25,22 @@ block head text-align: center; margin: 32px; } - + .content { max-width: 600px; margin: 0 auto; } - + h1 { color: #212121; margin-bottom: 32px; } - + h2 { color: #727272; margin-bottom: 64px; } - + a, a:visited { margin: 8px; padding: 8px 16px; @@ -32,7 +50,7 @@ block head font-weight: bold; border-radius: 3px; } - + a:hover, a:focus, a:active { background-color: #e45a3f; } @@ -43,5 +61,5 @@ block content img(src='/icons/mml-logo.png') h1 Er is iets mis gegaan tijdens het ophalen van de benodigde informatie h2 Je kunt proberen door te gaan naar het oude rooster of Magister - a(href='http://www.meetingpointmco.nl/Roosters-AL/doc/') Oud rooster - a(href='http://msa.magister.net/') Magister + a(href='http://www.meetingpointmco.nl/Roosters-AL/doc/') Oud rooster + a(href='http://msa.magister.net/') Magister -- cgit v1.1