This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A0oywQAgCeSQklIZRYlKdYoSlbKKSq8Us5SUKreUlOwSGkaOgZZJ6RmlTJPQNUi2UXxDlXFAnaOi1ikpVd1DDlLSQlT1UAoTleKiKBuV5CMVRiqlkwJWKinlJSXKTIFuKpWdUD9RDKVUjlKiYqmonqqmUnWVUrVVSeWrFBkrqJyVQK2lRNVcQdVfIIdFLIZUj1GqySi5LGkzJXyGlNFKnAaslqJeUyKzBblNRXZL9BuV4YJynBKVLBfpOcR0qa6jlO1Kiu9K1XgJOi8B65VU/bBQUqCmOHGq9OLYA/vkYSlnAYQq+aKzzRk8v10WDIIaDF4FHORbZ+d54KBVIM9AjL0HrQKOrSc9cFCQsW5AW8af9MBBnmGCPmAHCuAVQ3rgoFUgz0BbxhN84CCrvWdA3po7Mk964CCrvWdAq0CeEXzgoFUgz0AN+3tmB2pJDxy0CuQZyOcBbFnmQS3pgYNWgTwD+TyALcs8CJIeOKhhxY0sCGrY53mGPekJW+f4Se+hmtf1BL8K5BmoYX/P7EAQdLssGKRrvgrkGahhf8/sQC3odlkwSNc8cNAqkGcgR5BZl530wEGrQJ6BGvb3zA4ESUeckrQ3EqTvOBZAt00SCh1bdxm9OHkCsN5g8CrgIA/l7Gybf2fNfcN6D2oEMyt+RnpuxY4MdLssGKTDdvLazLamlkkHuPL8YMDylgfZB0DbwCYD2VlzXzBhM22UpDO7gAfZBa0FZznIW3NH5k86PxiwvOVB9gHQNrDJQHZBa8FZTthMGyXpO2s4ULbLckeGG4HshM2goiT93oo31nwD8gwT9AE70r9lmkC3y4JBkM+tjYx0K5OBrJt1gTM5+WLbzhE29EDJTvDsXGkBoJG3QdQ8jFvI2+C8lgl6qBJ8X9KKLIShppWkKElnX8jb4LyWCXqoEnxf0ooshKEGoiRFSXqIY5G3wXktE/RQJfi+pBVZCEMNlKQoSWdHJ2+D81om6KFKel/SiiyEoQZKUpSkLyl5G5zXMkEPVdL7klZkIQw1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A0q3qgAgUeCQBCWjIFGqU5AoZZUSr6RmSVDKLQmqXVSGoWNQy0A8E2iaULpGkW1E30QYJ+CciKyToFT3SAdBWgiph6I0USIXhWyU0EeqaqREnaSolRIULyGhmYTcFIqdwE9QQwk4ColiqUhPVVMpXSXQVgnyVQJjqQpnRUFrIVHNpSr6q9BhqixWSo8haTJBlxVtFkWflWK0kk5TWE1V8hoSmS1Utwllt4LfEMMJ1XFIlCwX1XNB0yVdVyrbRaHvStV4EXWeqtR6SPDF457vmQNPbOpjW9DYexfPkUwjPtXGBmVssH+BSCQaszAomv1qIUlJ/VDMy2vWC2sMIjT0wfbi8Zs/imBoaSzD9sqbP1oYFlmzwGgGRVh588eiOY1GWNCORbO/bJU3f4QKWni00NQfWeXNH6GCFh6L5jRSfPPHojmNxqzgLRwzQpQ3fyya02i0qRmgGNkRorz5Y9GcRqNNzQDFyI5YefPHLBRkI9GYFUzTCFjlvV1F0F6t8ZlOFBS/aE6jMSt4C8eMeLxAJBLp2S+a02jMCt7CMSNkvEAkEunZN38smtNo9IvgQtGVN38smtNozArewjEjVt78sWhOo7EMW8UH0JhIb2p/juzEn4VB0exXazLhQP8x0NRmobdjVhRBwSPlUyjwR+MFIpFIjyGdTl+7jHPwqoEMh2PMdoyBmsFooQDFKw/HmO1YKtoxxl55tMiMcpSPguaxbC5Fo4AImmGUKpANcST5kjmNstYMA7Uy0TdCaHzv+Q6VN8KSEVZvQJ12Jlfl5+Bt41PxjbA0PSE8xH0rH6J68akg0QnpSPK3UFCCpqXRwrDImgWUfxkuGC8QiUSjTaHZSHkoHI3QUiHz4VRtLATSD3db84Cq+KjIkGls1AaxqS+OrGqDuD8Hbxufil/XfIarAsyGkKQjyaOuaoO4PwdvG5+KX9d8hqsCzMYmko4kH0eEaoO4PwdvG5+KX9d8hqsCzMYk6UjyqFu1Qdyfg7eNT+Xrms9wVYDZmCQdSX7N1QZx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import '~lib/foundation/main'; | |
.Select { | |
display: flex; | |
flex-flow: row nowrap; | |
justify-content: flex-start; | |
align-items: center; | |
position: relative; | |
min-width: 5rem; | |
width: 300px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const initialState = { | |
selecting: false, | |
selectionRanges: {}, | |
serverRanges: {}, | |
clearing: false, | |
start: {}, | |
end: {} | |
}; | |
const timetableReducer = (state = initialState, action) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import timeTableReducer from '../redux/reducers/timetable'; | |
const initialState = { | |
selecting: false, | |
selectionRanges: {}, | |
clearing: false, | |
start: {}, | |
end: {} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const ComponentToRole = ( { | |
user, | |
pupil, | |
classRep, | |
teacher, | |
supervisor, | |
admin, | |
publisher | |
} ) =>{ | |
if(!user) return pupil; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = [ | |
{ | |
test: /\.jsx?$/, | |
exclude: /(node_modules|bower_components|public\/)/, | |
loader: "babel-loader" | |
}, | |
{ | |
test: /\.css$/, | |
loaders: ['style-loader', 'css-loader?importLoaders=1'], | |
exclude: ['node_modules'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
var webpack = require('webpack'); | |
var path = require('path'); | |
var loaders = require('./webpack.loaders'); | |
var HtmlWebpackPlugin = require('html-webpack-plugin'); | |
var DashboardPlugin = require('webpack-dashboard/plugin'); | |
var ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
const HOST = process.env.HOST || "127.0.0.1"; | |
const PORT = process.env.PORT || "8888"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(selector).on('click', handler); | |
function handler(e){ | |
if(e) e.preventDefault() | |
//doDirtyThings | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var app = require('express')(); | |
var http = require('http').Server(app); | |
var io = require('socket.io')(http); | |
var fs = require('fs'); | |
var port = process.env.PORT || 9002; | |
import { MongoClient } from 'mongodb'; | |
//Allow cors | |
var allowCrossDomain = function(req, res, next) { |
NewerOlder