├── public ├── bower_components │ ├── jquery │ │ ├── src │ │ │ ├── outro.js │ │ │ ├── var │ │ │ │ ├── arr.js │ │ │ │ ├── deletedIds.js │ │ │ │ ├── document.js │ │ │ │ ├── rnotwhite.js │ │ │ │ ├── concat.js │ │ │ │ ├── push.js │ │ │ │ ├── slice.js │ │ │ │ ├── indexOf.js │ │ │ │ ├── class2type.js │ │ │ │ ├── pnum.js │ │ │ │ ├── toString.js │ │ │ │ ├── hasOwn.js │ │ │ │ ├── documentElement.js │ │ │ │ ├── support.js │ │ │ │ └── rcssNum.js │ │ │ ├── selector.js │ │ │ ├── ajax │ │ │ │ ├── var │ │ │ │ │ ├── rquery.js │ │ │ │ │ ├── location.js │ │ │ │ │ └── nonce.js │ │ │ │ ├── parseJSON.js │ │ │ │ └── parseXML.js │ │ │ ├── css │ │ │ │ ├── var │ │ │ │ │ ├── rmargin.js │ │ │ │ │ ├── cssExpand.js │ │ │ │ │ ├── rnumnonpx.js │ │ │ │ │ ├── isHidden.js │ │ │ │ │ ├── getStyles.js │ │ │ │ │ └── swap.js │ │ │ │ ├── hiddenVisibleSelectors.js │ │ │ │ └── addGetHookIf.js │ │ │ ├── manipulation │ │ │ │ ├── var │ │ │ │ │ ├── rtagName.js │ │ │ │ │ ├── rleadingWhitespace.js │ │ │ │ │ ├── rcheckableType.js │ │ │ │ │ ├── rscriptType.js │ │ │ │ │ └── nodeNames.js │ │ │ │ ├── _evalUrl.js │ │ │ │ ├── createSafeFragment.js │ │ │ │ ├── setGlobalEval.js │ │ │ │ ├── getAll.js │ │ │ │ ├── wrapMap.js │ │ │ │ └── support.js │ │ │ ├── data │ │ │ │ ├── var │ │ │ │ │ ├── dataPriv.js │ │ │ │ │ ├── dataUser.js │ │ │ │ │ └── acceptData.js │ │ │ │ ├── support.js │ │ │ │ └── accepts.js │ │ │ ├── core │ │ │ │ ├── var │ │ │ │ │ └── rsingleTag.js │ │ │ │ ├── DOMEval.js │ │ │ │ └── support.js │ │ │ ├── traversing │ │ │ │ └── var │ │ │ │ │ ├── rneedsContext.js │ │ │ │ │ ├── siblings.js │ │ │ │ │ └── dir.js │ │ │ ├── event │ │ │ │ ├── support.js │ │ │ │ ├── ajax.js │ │ │ │ └── alias.js │ │ │ ├── attributes.js │ │ │ ├── effects │ │ │ │ └── animatedSelector.js │ │ │ ├── selector-sizzle.js │ │ │ ├── .jshintrc │ │ │ ├── exports │ │ │ │ ├── global.js │ │ │ │ └── amd.js │ │ │ ├── deferred │ │ │ │ └── exceptionHook.js │ │ │ ├── queue │ │ │ │ └── delay.js │ │ │ ├── jquery.js │ │ │ ├── deprecated.js │ │ │ └── attributes │ │ │ │ └── support.js │ │ ├── bower.json │ │ └── .bower.json │ ├── angular-material │ │ ├── demos │ │ │ ├── gridList │ │ │ │ └── demoResponsiveUsage │ │ │ │ │ └── style.scss │ │ │ ├── list │ │ │ │ └── demoListControls │ │ │ │ │ └── img │ │ │ │ │ ├── 100-0.jpeg │ │ │ │ │ ├── 100-1.jpeg │ │ │ │ │ └── 100-2.jpeg │ │ │ ├── toolbar │ │ │ │ └── demoBasicUsage │ │ │ │ │ └── img │ │ │ │ │ └── icons │ │ │ │ │ ├── menu.svg │ │ │ │ │ ├── favorite.svg │ │ │ │ │ └── more_vert.svg │ │ │ ├── input │ │ │ │ └── demoIcons │ │ │ │ │ ├── icons │ │ │ │ │ ├── ic_person_24px.svg │ │ │ │ │ ├── ic_email_24px.svg │ │ │ │ │ ├── ic_place_24px.svg │ │ │ │ │ └── ic_phone_24px.svg │ │ │ │ │ └── style.scss │ │ │ ├── tabs │ │ │ │ ├── demoDynamicHeight │ │ │ │ │ └── style.scss │ │ │ │ ├── demoStaticTabs │ │ │ │ │ └── style.scss │ │ │ │ └── demoDynamicTabs │ │ │ │ │ └── style.scss │ │ │ ├── bottomSheet │ │ │ │ └── demoBasicUsage │ │ │ │ │ └── img │ │ │ │ │ └── icons │ │ │ │ │ ├── share-arrow.svg │ │ │ │ │ ├── mail.svg │ │ │ │ │ ├── copy.svg │ │ │ │ │ ├── message.svg │ │ │ │ │ ├── copy2.svg │ │ │ │ │ ├── hangout.svg │ │ │ │ │ ├── print.svg │ │ │ │ │ ├── facebook.svg │ │ │ │ │ ├── upload.svg │ │ │ │ │ └── twitter.svg │ │ │ ├── icon │ │ │ │ ├── demoLoadSvgIconsFromUrl │ │ │ │ │ └── img │ │ │ │ │ │ └── icons │ │ │ │ │ │ ├── addShoppingCart.svg │ │ │ │ │ │ ├── cake.svg │ │ │ │ │ │ └── android.svg │ │ │ │ ├── demoSvgIconsFromURL │ │ │ │ │ └── img │ │ │ │ │ │ └── icons │ │ │ │ │ │ ├── addShoppingCart.svg │ │ │ │ │ │ ├── cake.svg │ │ │ │ │ │ └── android.svg │ │ │ │ ├── demoSvgIconSets │ │ │ │ │ └── assets │ │ │ │ │ │ └── cake.svg │ │ │ │ └── demoUsingTemplateCache │ │ │ │ │ └── assets │ │ │ │ │ ├── cake.svg │ │ │ │ │ └── android.svg │ │ │ └── chips │ │ │ │ ├── demoContactChips │ │ │ │ └── style.scss │ │ │ │ └── demoBasicUsage │ │ │ │ └── style.scss │ │ ├── .gitignore │ │ ├── angular-material.layouts.css │ │ ├── angular-material.layouts.min.css │ │ ├── modules │ │ │ ├── closure │ │ │ │ ├── gridList │ │ │ │ │ └── gridList-default-theme.css │ │ │ │ ├── sidenav │ │ │ │ │ ├── sidenav-default-theme.css │ │ │ │ │ └── sidenav-default-theme.min.css │ │ │ │ ├── content │ │ │ │ │ ├── content-default-theme.min.css │ │ │ │ │ ├── content-default-theme.css │ │ │ │ │ ├── content.min.css │ │ │ │ │ ├── content.css │ │ │ │ │ └── content.min.js │ │ │ │ ├── backdrop │ │ │ │ │ ├── backdrop-default-theme.min.css │ │ │ │ │ ├── backdrop-default-theme.css │ │ │ │ │ ├── backdrop.min.css │ │ │ │ │ └── backdrop.min.js │ │ │ │ ├── tooltip │ │ │ │ │ ├── tooltip-default-theme.min.css │ │ │ │ │ └── tooltip-default-theme.css │ │ │ │ ├── menu │ │ │ │ │ ├── menu-default-theme.min.css │ │ │ │ │ └── menu-default-theme.css │ │ │ │ ├── divider │ │ │ │ │ ├── divider-default-theme.css │ │ │ │ │ ├── divider.css │ │ │ │ │ ├── divider.min.js │ │ │ │ │ ├── divider-default-theme.min.css │ │ │ │ │ └── divider.min.css │ │ │ │ ├── icon │ │ │ │ │ ├── icon.min.css │ │ │ │ │ ├── icon-default-theme.min.css │ │ │ │ │ ├── icon-default-theme.css │ │ │ │ │ └── icon.css │ │ │ │ ├── dialog │ │ │ │ │ ├── dialog-default-theme.min.css │ │ │ │ │ └── dialog-default-theme.css │ │ │ │ ├── bottomSheet │ │ │ │ │ ├── bottomSheet-default-theme.min.css │ │ │ │ │ └── bottomSheet-default-theme.css │ │ │ │ ├── subheader │ │ │ │ │ ├── subheader-default-theme.min.css │ │ │ │ │ ├── subheader-default-theme.css │ │ │ │ │ └── subheader.min.js │ │ │ │ ├── card │ │ │ │ │ ├── card.min.js │ │ │ │ │ ├── card-default-theme.min.css │ │ │ │ │ └── card-default-theme.css │ │ │ │ ├── fabTrigger │ │ │ │ │ └── fabTrigger.min.js │ │ │ │ ├── sticky │ │ │ │ │ ├── sticky.min.css │ │ │ │ │ └── sticky.css │ │ │ │ ├── toast │ │ │ │ │ ├── toast-default-theme.min.css │ │ │ │ │ └── toast-default-theme.css │ │ │ │ ├── fabActions │ │ │ │ │ └── fabActions.min.js │ │ │ │ ├── chips │ │ │ │ │ ├── chips-default-theme.min.css │ │ │ │ │ └── chips-default-theme.css │ │ │ │ ├── whiteframe │ │ │ │ │ └── whiteframe.min.js │ │ │ │ ├── swipe │ │ │ │ │ └── swipe.min.js │ │ │ │ ├── autocomplete │ │ │ │ │ ├── autocomplete-default-theme.min.css │ │ │ │ │ └── autocomplete-default-theme.css │ │ │ │ ├── showHide │ │ │ │ │ └── showHide.min.js │ │ │ │ ├── toolbar │ │ │ │ │ ├── toolbar-default-theme.css │ │ │ │ │ └── toolbar-default-theme.min.css │ │ │ │ ├── tabs │ │ │ │ │ └── tabs-arrow.svg │ │ │ │ ├── list │ │ │ │ │ └── list-default-theme.min.css │ │ │ │ └── progressLinear │ │ │ │ │ └── progressLinear-default-theme.min.css │ │ │ └── js │ │ │ │ ├── card │ │ │ │ ├── bower.json │ │ │ │ ├── card.min.js │ │ │ │ ├── card-default-theme.min.css │ │ │ │ └── card-default-theme.css │ │ │ │ ├── icon │ │ │ │ ├── bower.json │ │ │ │ ├── icon.min.css │ │ │ │ ├── icon-default-theme.min.css │ │ │ │ ├── icon-default-theme.css │ │ │ │ └── icon.css │ │ │ │ ├── list │ │ │ │ ├── bower.json │ │ │ │ └── list-default-theme.min.css │ │ │ │ ├── button │ │ │ │ └── bower.json │ │ │ │ ├── content │ │ │ │ ├── bower.json │ │ │ │ ├── content-default-theme.min.css │ │ │ │ ├── content-default-theme.css │ │ │ │ ├── content.min.css │ │ │ │ ├── content.css │ │ │ │ └── content.min.js │ │ │ │ ├── divider │ │ │ │ ├── bower.json │ │ │ │ ├── divider-default-theme.css │ │ │ │ ├── divider.min.js │ │ │ │ ├── divider.css │ │ │ │ ├── divider-default-theme.min.css │ │ │ │ └── divider.min.css │ │ │ │ ├── input │ │ │ │ └── bower.json │ │ │ │ ├── slider │ │ │ │ └── bower.json │ │ │ │ ├── swipe │ │ │ │ ├── bower.json │ │ │ │ └── swipe.min.js │ │ │ │ ├── tooltip │ │ │ │ ├── bower.json │ │ │ │ ├── tooltip-default-theme.min.css │ │ │ │ └── tooltip-default-theme.css │ │ │ │ ├── backdrop │ │ │ │ ├── bower.json │ │ │ │ ├── backdrop-default-theme.min.css │ │ │ │ ├── backdrop-default-theme.css │ │ │ │ ├── backdrop.min.css │ │ │ │ ├── backdrop.min.js │ │ │ │ └── backdrop.css │ │ │ │ ├── checkbox │ │ │ │ └── bower.json │ │ │ │ ├── gridList │ │ │ │ └── bower.json │ │ │ │ ├── showHide │ │ │ │ ├── bower.json │ │ │ │ └── showHide.min.js │ │ │ │ ├── fabActions │ │ │ │ ├── bower.json │ │ │ │ └── fabActions.min.js │ │ │ │ ├── fabSpeedDial │ │ │ │ └── bower.json │ │ │ │ ├── fabTrigger │ │ │ │ ├── bower.json │ │ │ │ └── fabTrigger.min.js │ │ │ │ ├── radioButton │ │ │ │ └── bower.json │ │ │ │ ├── whiteframe │ │ │ │ ├── bower.json │ │ │ │ └── whiteframe.min.js │ │ │ │ ├── progressLinear │ │ │ │ ├── bower.json │ │ │ │ └── progressLinear-default-theme.min.css │ │ │ │ ├── textField │ │ │ │ └── bower.json │ │ │ │ ├── progressCircular │ │ │ │ └── bower.json │ │ │ │ ├── sidenav │ │ │ │ ├── sidenav-default-theme.css │ │ │ │ ├── sidenav-default-theme.min.css │ │ │ │ └── bower.json │ │ │ │ ├── menu │ │ │ │ ├── bower.json │ │ │ │ ├── menu-default-theme.min.css │ │ │ │ └── menu-default-theme.css │ │ │ │ ├── tabs │ │ │ │ └── bower.json │ │ │ │ ├── toast │ │ │ │ ├── bower.json │ │ │ │ ├── toast-default-theme.min.css │ │ │ │ └── toast-default-theme.css │ │ │ │ ├── dialog │ │ │ │ ├── bower.json │ │ │ │ ├── dialog-default-theme.min.css │ │ │ │ └── dialog-default-theme.css │ │ │ │ ├── menuBar │ │ │ │ └── bower.json │ │ │ │ ├── select │ │ │ │ └── bower.json │ │ │ │ ├── sticky │ │ │ │ ├── bower.json │ │ │ │ ├── sticky.min.css │ │ │ │ └── sticky.css │ │ │ │ ├── switch │ │ │ │ └── bower.json │ │ │ │ ├── toolbar │ │ │ │ ├── bower.json │ │ │ │ ├── toolbar-default-theme.css │ │ │ │ └── toolbar-default-theme.min.css │ │ │ │ ├── chips │ │ │ │ ├── bower.json │ │ │ │ ├── chips-default-theme.min.css │ │ │ │ └── chips-default-theme.css │ │ │ │ ├── subheader │ │ │ │ ├── bower.json │ │ │ │ ├── subheader-default-theme.min.css │ │ │ │ ├── subheader-default-theme.css │ │ │ │ └── subheader.min.js │ │ │ │ ├── bottomSheet │ │ │ │ ├── bower.json │ │ │ │ ├── bottomSheet-default-theme.min.css │ │ │ │ └── bottomSheet-default-theme.css │ │ │ │ ├── virtualRepeat │ │ │ │ └── bower.json │ │ │ │ ├── datepicker │ │ │ │ └── bower.json │ │ │ │ ├── autocomplete │ │ │ │ ├── bower.json │ │ │ │ ├── autocomplete-default-theme.min.css │ │ │ │ └── autocomplete-default-theme.css │ │ │ │ ├── fabToolbar │ │ │ │ └── bower.json │ │ │ │ └── core │ │ │ │ └── bower.json │ │ ├── index.js │ │ ├── bower.json │ │ ├── .bower.json │ │ └── LICENSE │ ├── angular │ │ ├── index.js │ │ ├── angular.min.js.gzip │ │ ├── bower.json │ │ ├── angular-csp.css │ │ ├── .bower.json │ │ └── package.json │ ├── angular-youtube-embed │ │ ├── .bowerrc │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── dist │ │ │ └── angular-youtube-embed.css │ │ ├── bower.json │ │ └── LICENSE │ ├── angular-aria │ │ ├── index.js │ │ ├── bower.json │ │ ├── .bower.json │ │ └── package.json │ ├── angular-route │ │ ├── index.js │ │ ├── bower.json │ │ ├── .bower.json │ │ └── package.json │ ├── angular-animate │ │ ├── index.js │ │ ├── bower.json │ │ ├── .bower.json │ │ └── package.json │ ├── angular-messages │ │ ├── index.js │ │ ├── bower.json │ │ ├── .bower.json │ │ └── package.json │ ├── angular-youtube-mb │ │ ├── index.js │ │ ├── .gitignore │ │ ├── .editorconfig │ │ ├── test │ │ │ └── config │ │ │ │ └── karma.conf.coffee │ │ ├── bower.json │ │ ├── .bower.json │ │ ├── package.json │ │ └── LICENSE │ ├── angular-material-data-table │ │ ├── index.js │ │ ├── bower.json │ │ ├── package.json │ │ └── LICENSE.md │ └── angular-ui-router │ │ ├── bower.json │ │ └── .bower.json ├── modules │ ├── core │ │ ├── core.client.module.js │ │ ├── controllers │ │ │ └── layout.client.controller.js │ │ ├── views │ │ │ └── home.client.view.html │ │ └── config │ │ │ └── core.client.config.js │ ├── grade │ │ ├── grade.client.module.js │ │ └── config │ │ │ └── grade.client.config.js │ ├── room │ │ ├── room.client.module.js │ │ ├── config │ │ │ └── room.client.config.js │ │ └── views │ │ │ └── edit-room.tmpl.html │ ├── absence │ │ ├── absence.client.module.js │ │ ├── config │ │ │ └── absence.client.config.js │ │ └── views │ │ │ └── edit-absence.tmpl.html │ ├── courses │ │ ├── courses.client.module.js │ │ └── config │ │ │ └── courses.client.config.js │ ├── quizzes │ │ ├── quizzes.client.module.js │ │ └── config │ │ │ └── quizzes.client.config.js │ ├── building │ │ ├── building.client.module.js │ │ ├── config │ │ │ └── building.client.config.js │ │ └── views │ │ │ └── edit-building.tmpl.html │ ├── students │ │ ├── students.client.module.js │ │ └── config │ │ │ └── students.client.config.js │ ├── professors │ │ ├── professors.client.module.js │ │ └── config │ │ │ └── professors.client.config.js │ └── assignement │ │ ├── assignement.client.module.js │ │ └── config │ │ └── assignement.client.config.js ├── application.js └── config.js ├── server ├── config │ └── config.js ├── api │ ├── video │ │ ├── video.routes.js │ │ └── video.model.js │ ├── room │ │ ├── room.routes.js │ │ └── room.model.js │ ├── grade │ │ ├── grade.routes.js │ │ └── grade.model.js │ ├── quizz │ │ ├── quizz.routes.js │ │ └── quizz.model.js │ ├── absence │ │ ├── absence.routes.js │ │ └── absence.model.js │ ├── building │ │ ├── building.routes.js │ │ └── building.model.js │ ├── schedule │ │ ├── schedule.routes.js │ │ └── schedule.model.js │ ├── assignement │ │ ├── assignement.routes.js │ │ └── assignement.model.js │ ├── professor │ │ ├── professor.routes.js │ │ └── professor.model.js │ ├── course │ │ ├── course.routes.js │ │ └── course.model.js │ └── student │ │ └── student.routes.js └── routes.js ├── .gitattributes ├── package.json ├── index.js └── .gitignore /public/bower_components/jquery/src/outro.js: -------------------------------------------------------------------------------- 1 | return jQuery; 2 | })); 3 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/gridList/demoResponsiveUsage/style.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/bower_components/angular/index.js: -------------------------------------------------------------------------------- 1 | require('./angular'); 2 | module.exports = angular; 3 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/var/arr.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return []; 3 | } ); 4 | -------------------------------------------------------------------------------- /public/bower_components/angular-youtube-embed/.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "bower_components" 3 | } -------------------------------------------------------------------------------- /public/bower_components/angular-youtube-embed/.gitignore: -------------------------------------------------------------------------------- 1 | /bower_components/ 2 | node_modules/ 3 | *.log -------------------------------------------------------------------------------- /public/bower_components/jquery/src/selector.js: -------------------------------------------------------------------------------- 1 | define( [ "./selector-sizzle" ], function() {} ); 2 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/var/deletedIds.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return []; 3 | } ); 4 | -------------------------------------------------------------------------------- /public/bower_components/angular-aria/index.js: -------------------------------------------------------------------------------- 1 | require('./angular-aria'); 2 | module.exports = 'ngAria'; 3 | -------------------------------------------------------------------------------- /public/bower_components/angular-route/index.js: -------------------------------------------------------------------------------- 1 | require('./angular-route'); 2 | module.exports = 'ngRoute'; 3 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/ajax/var/rquery.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /\?/ ); 3 | } ); 4 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/var/document.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return window.document; 3 | } ); 4 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/var/rnotwhite.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /\S+/g ); 3 | } ); 4 | -------------------------------------------------------------------------------- /public/bower_components/angular-animate/index.js: -------------------------------------------------------------------------------- 1 | require('./angular-animate'); 2 | module.exports = 'ngAnimate'; 3 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/ajax/var/location.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return window.location; 3 | } ); 4 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/css/var/rmargin.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /^margin/ ); 3 | } ); 4 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | *.sw* 3 | .DS_STORE 4 | /.idea/ 5 | default-theme.css 6 | -------------------------------------------------------------------------------- /public/bower_components/angular-messages/index.js: -------------------------------------------------------------------------------- 1 | require('./angular-messages'); 2 | module.exports = 'ngMessages'; 3 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/manipulation/var/rtagName.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /<([\w:-]+)/ ); 3 | } ); 4 | -------------------------------------------------------------------------------- /public/bower_components/angular-youtube-mb/index.js: -------------------------------------------------------------------------------- 1 | require('./src/angular-youtube-embed'); 2 | module.exports = 'youtube-embed'; 3 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/manipulation/var/rleadingWhitespace.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /^\s+/ ); 3 | } ); 4 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/var/concat.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.concat; 5 | } ); 6 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/var/push.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.push; 5 | } ); 6 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/var/slice.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.slice; 5 | } ); 6 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/var/indexOf.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.indexOf; 5 | } ); 6 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/css/var/cssExpand.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return [ "Top", "Right", "Bottom", "Left" ]; 3 | } ); 4 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/data/var/dataPriv.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../Data" 3 | ], function( Data ) { 4 | return new Data(); 5 | } ); 6 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/data/var/dataUser.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../Data" 3 | ], function( Data ) { 4 | return new Data(); 5 | } ); 6 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/var/class2type.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | // [[Class]] -> type pairs 4 | return {}; 5 | } ); 6 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/var/pnum.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; 3 | } ); 4 | -------------------------------------------------------------------------------- /public/bower_components/angular-youtube-mb/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .idea/ 3 | node_modules/ 4 | bower_components/ 5 | gh-pages/ 6 | *.logs 7 | 8 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/ajax/var/nonce.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../core" 3 | ], function( jQuery ) { 4 | return jQuery.now(); 5 | } ); 6 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/manipulation/var/rcheckableType.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /^(?:checkbox|radio)$/i ); 3 | } ); 4 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/manipulation/var/rscriptType.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return ( /^$|\/(?:java|ecma)script/i ); 3 | } ); 4 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/var/toString.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./class2type" 3 | ], function( class2type ) { 4 | return class2type.toString; 5 | } ); 6 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/var/hasOwn.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./class2type" 3 | ], function( class2type ) { 4 | return class2type.hasOwnProperty; 5 | } ); 6 | -------------------------------------------------------------------------------- /public/bower_components/angular/angular.min.js.gzip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kefranabg/DatabaseUniversity/master/public/bower_components/angular/angular.min.js.gzip -------------------------------------------------------------------------------- /public/bower_components/jquery/src/var/documentElement.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./document" 3 | ], function( document ) { 4 | return document.documentElement; 5 | } ); 6 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/var/support.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | // All support tests are defined in their respective modules. 4 | return {}; 5 | } ); 6 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/core/var/rsingleTag.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | // Match a standalone tag 4 | return ( /^<([\w-]+)\s*\/?>(?:<\/\1>|)$/ ); 5 | } ); 6 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/angular-material.layouts.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/angular-material.layouts.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ -------------------------------------------------------------------------------- /public/bower_components/jquery/src/css/var/rnumnonpx.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../var/pnum" 3 | ], function( pnum ) { 4 | return new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); 5 | } ); 6 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/var/rcssNum.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "pnum" 3 | ], function( pnum ) { 4 | 5 | return new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); 6 | 7 | } ); 8 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/traversing/var/rneedsContext.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../core", 3 | "../../selector" 4 | ], function( jQuery ) { 5 | return jQuery.expr.match.needsContext; 6 | } ); 7 | -------------------------------------------------------------------------------- /public/bower_components/angular-material-data-table/index.js: -------------------------------------------------------------------------------- 1 | // support for Browserify 2 | 3 | require('angular-material'); 4 | require('./dist/md-data-table'); 5 | 6 | module.exports = 'md.data.table'; 7 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/event/support.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/support" 3 | ], function( support ) { 4 | 5 | support.focusin = "onfocusin" in window; 6 | 7 | return support; 8 | 9 | } ); 10 | -------------------------------------------------------------------------------- /public/bower_components/angular/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.5.0", 4 | "license": "MIT", 5 | "main": "./angular.js", 6 | "ignore": [], 7 | "dependencies": { 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/list/demoListControls/img/100-0.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kefranabg/DatabaseUniversity/master/public/bower_components/angular-material/demos/list/demoListControls/img/100-0.jpeg -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/list/demoListControls/img/100-1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kefranabg/DatabaseUniversity/master/public/bower_components/angular-material/demos/list/demoListControls/img/100-1.jpeg -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/list/demoListControls/img/100-2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kefranabg/DatabaseUniversity/master/public/bower_components/angular-material/demos/list/demoListControls/img/100-2.jpeg -------------------------------------------------------------------------------- /server/config/config.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Sequelize = require('Sequelize'); 4 | 5 | exports.sequelize = new Sequelize('mydb', 'root', process.env.dbPassword || '', { 6 | host: 'localhost', 7 | dialect: 'mysql' 8 | }); -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/gridList/gridList-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v0.8.0-rc1-master-91053dc 6 | */ 7 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/card/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-card", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2" 6 | } 7 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/icon/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-icon", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2" 6 | } 7 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/list/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-list", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2" 6 | } 7 | } -------------------------------------------------------------------------------- /public/bower_components/angular-youtube-embed/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | 5 | before_install: 6 | - npm install -g bower gulp 7 | - npm install 8 | - bower install 9 | 10 | script: "gulp karma" -------------------------------------------------------------------------------- /public/modules/core/core.client.module.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by kefran on 11/02/2016. 3 | */ 4 | 'use strict'; 5 | 6 | // Use Application configuration module to register a new module 7 | ApplicationConfiguration.registerModule('core'); 8 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/button/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-button", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2" 6 | } 7 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/content/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-content", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2" 6 | } 7 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/divider/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-divider", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2" 6 | } 7 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/input/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-input", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2" 6 | } 7 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/slider/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-slider", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2" 6 | } 7 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/swipe/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-swipe", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2" 6 | } 7 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/tooltip/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-tooltip", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2" 6 | } 7 | } -------------------------------------------------------------------------------- /public/modules/grade/grade.client.module.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by baptiste on 11/02/2016. 3 | */ 4 | 'use strict'; 5 | 6 | // Use Application configuration module to register a new module 7 | ApplicationConfiguration.registerModule('grade'); 8 | -------------------------------------------------------------------------------- /public/modules/room/room.client.module.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by baptiste on 11/02/2016. 3 | */ 4 | 'use strict'; 5 | 6 | // Use Application configuration module to register a new module 7 | ApplicationConfiguration.registerModule('room'); 8 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/backdrop/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-backdrop", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2" 6 | } 7 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/checkbox/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-checkbox", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2" 6 | } 7 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/gridList/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-gridList", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2" 6 | } 7 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/showHide/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-showHide", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2" 6 | } 7 | } -------------------------------------------------------------------------------- /public/modules/absence/absence.client.module.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by baptiste on 11/02/2016. 3 | */ 4 | 'use strict'; 5 | 6 | // Use Application configuration module to register a new module 7 | ApplicationConfiguration.registerModule('absence'); 8 | -------------------------------------------------------------------------------- /public/modules/courses/courses.client.module.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by kefran on 11/02/2016. 3 | */ 4 | 'use strict'; 5 | 6 | // Use Application configuration module to register a new module 7 | ApplicationConfiguration.registerModule('courses'); 8 | -------------------------------------------------------------------------------- /public/modules/quizzes/quizzes.client.module.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by kefran on 11/02/2016. 3 | */ 4 | 'use strict'; 5 | 6 | // Use Application configuration module to register a new module 7 | ApplicationConfiguration.registerModule('quizzes'); 8 | -------------------------------------------------------------------------------- /public/application.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | //Start by defining the main module and adding the module dependencies 4 | angular.module(ApplicationConfiguration.applicationModuleName, ApplicationConfiguration.applicationModuleDependencies); 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/fabActions/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-fabActions", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2" 6 | } 7 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/fabSpeedDial/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-fabSpeedDial", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2" 6 | } 7 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/fabTrigger/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-fabTrigger", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2" 6 | } 7 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/radioButton/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-radioButton", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2" 6 | } 7 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/whiteframe/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-whiteframe", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2" 6 | } 7 | } -------------------------------------------------------------------------------- /public/modules/building/building.client.module.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by baptiste on 11/02/2016. 3 | */ 4 | 'use strict'; 5 | 6 | // Use Application configuration module to register a new module 7 | ApplicationConfiguration.registerModule('building'); 8 | -------------------------------------------------------------------------------- /public/modules/students/students.client.module.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by kefran on 11/02/2016. 3 | */ 4 | 'use strict'; 5 | 6 | // Use Application configuration module to register a new module 7 | ApplicationConfiguration.registerModule('students'); 8 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/progressLinear/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-progressLinear", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2" 6 | } 7 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/textField/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-textField", 3 | "version": "0.9.0-rc1-master-3c0ce9b", 4 | "dependencies": { 5 | "angular-material-core": "0.9.0-rc1-master-3c0ce9b" 6 | } 7 | } -------------------------------------------------------------------------------- /public/modules/professors/professors.client.module.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by kefran on 11/02/2016. 3 | */ 4 | 'use strict'; 5 | 6 | // Use Application configuration module to register a new module 7 | ApplicationConfiguration.registerModule('professors'); 8 | -------------------------------------------------------------------------------- /public/bower_components/angular-aria/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-aria", 3 | "version": "1.5.0", 4 | "license": "MIT", 5 | "main": "./angular-aria.js", 6 | "ignore": [], 7 | "dependencies": { 8 | "angular": "1.5.0" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/progressCircular/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-progressCircular", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2" 6 | } 7 | } -------------------------------------------------------------------------------- /public/bower_components/angular-route/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-route", 3 | "version": "1.5.0", 4 | "license": "MIT", 5 | "main": "./angular-route.js", 6 | "ignore": [], 7 | "dependencies": { 8 | "angular": "1.5.0" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /public/modules/assignement/assignement.client.module.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by baptiste on 11/02/2016. 3 | */ 4 | 'use strict'; 5 | 6 | // Use Application configuration module to register a new module 7 | ApplicationConfiguration.registerModule('assignement'); 8 | -------------------------------------------------------------------------------- /public/bower_components/angular-animate/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-animate", 3 | "version": "1.5.0", 4 | "license": "MIT", 5 | "main": "./angular-animate.js", 6 | "ignore": [], 7 | "dependencies": { 8 | "angular": "1.5.0" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /public/bower_components/angular-messages/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-messages", 3 | "version": "1.5.0", 4 | "license": "MIT", 5 | "main": "./angular-messages.js", 6 | "ignore": [], 7 | "dependencies": { 8 | "angular": "1.5.0" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/sidenav/sidenav-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-sidenav.md-THEME_NAME-theme { 8 | background-color: '{{background-color}}'; } 9 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/sidenav/sidenav-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-sidenav.md-THEME_NAME-theme{background-color:'{{background-color}}'} -------------------------------------------------------------------------------- /public/bower_components/jquery/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery", 3 | "main": "dist/jquery.js", 4 | "license": "MIT", 5 | "ignore": [ 6 | "package.json" 7 | ], 8 | "keywords": [ 9 | "jquery", 10 | "javascript", 11 | "browser", 12 | "library" 13 | ] 14 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/sidenav/sidenav-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-sidenav.md-THEME_NAME-theme { 8 | background-color: '{{background-color}}'; } 9 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/sidenav/sidenav-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-sidenav.md-THEME_NAME-theme{background-color:'{{background-color}}'} -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/menu/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-menu", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2", 6 | "angular-material-backdrop": "1.0.5-master-f171fd2" 7 | } 8 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/tabs/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-tabs", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2", 6 | "angular-material-icon": "1.0.5-master-f171fd2" 7 | } 8 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/toast/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-toast", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2", 6 | "angular-material-button": "1.0.5-master-f171fd2" 7 | } 8 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/dialog/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-dialog", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2", 6 | "angular-material-backdrop": "1.0.5-master-f171fd2" 7 | } 8 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/menuBar/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-menuBar", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2", 6 | "angular-material-menu": "1.0.5-master-f171fd2" 7 | } 8 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/select/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-select", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2", 6 | "angular-material-backdrop": "1.0.5-master-f171fd2" 7 | } 8 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/sticky/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-sticky", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2", 6 | "angular-material-content": "1.0.5-master-f171fd2" 7 | } 8 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/switch/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-switch", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2", 6 | "angular-material-checkbox": "1.0.5-master-f171fd2" 7 | } 8 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/toolbar/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-toolbar", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2", 6 | "angular-material-content": "1.0.5-master-f171fd2" 7 | } 8 | } -------------------------------------------------------------------------------- /public/bower_components/jquery/src/attributes.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./core", 3 | "./attributes/attr", 4 | "./attributes/prop", 5 | "./attributes/classes", 6 | "./attributes/val" 7 | ], function( jQuery ) { 8 | 9 | // Return jQuery for attributes-only inclusion 10 | return jQuery; 11 | } ); 12 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/chips/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-chips", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2", 6 | "angular-material-autocomplete": "1.0.5-master-f171fd2" 7 | } 8 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/sidenav/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-sidenav", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2", 6 | "angular-material-backdrop": "1.0.5-master-f171fd2" 7 | } 8 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/subheader/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-subheader", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2", 6 | "angular-material-sticky": "1.0.5-master-f171fd2" 7 | } 8 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/bottomSheet/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-bottomSheet", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2", 6 | "angular-material-backdrop": "1.0.5-master-f171fd2" 7 | } 8 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/content/content-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-content.md-THEME_NAME-theme{color:'{{foreground-1}}';background-color:'{{background-color}}'} -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/virtualRepeat/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-virtualRepeat", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2", 6 | "angular-material-showHide": "1.0.5-master-f171fd2" 7 | } 8 | } -------------------------------------------------------------------------------- /public/bower_components/jquery/src/manipulation/var/nodeNames.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return "abbr|article|aside|audio|bdi|canvas|data|datalist|" + 3 | "details|dialog|figcaption|figure|footer|header|hgroup|main|" + 4 | "mark|meter|nav|output|picture|progress|section|summary|template|time|video"; 5 | } ); 6 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/toolbar/demoBasicUsage/img/icons/menu.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/content/content-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-content.md-THEME_NAME-theme{color:'{{foreground-1}}';background-color:'{{background-color}}'} -------------------------------------------------------------------------------- /public/bower_components/angular-youtube-mb/.editorconfig: -------------------------------------------------------------------------------- 1 | # http://editorconfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | charset = utf-8 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | indent_style = space 11 | indent_size = 4 12 | 13 | [**.html] 14 | indent_size = 2 15 | 16 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/content/content-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-content.md-THEME_NAME-theme { 8 | color: '{{foreground-1}}'; 9 | background-color: '{{background-color}}'; } 10 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/ajax/parseJSON.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // Support: Android 2.3 6 | // Workaround failure to string-cast null input 7 | jQuery.parseJSON = function( data ) { 8 | return JSON.parse( data + "" ); 9 | }; 10 | 11 | return jQuery.parseJSON; 12 | 13 | } ); 14 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/traversing/var/siblings.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | return function( n, elem ) { 4 | var matched = []; 5 | 6 | for ( ; n; n = n.nextSibling ) { 7 | if ( n.nodeType === 1 && n !== elem ) { 8 | matched.push( n ); 9 | } 10 | } 11 | 12 | return matched; 13 | }; 14 | 15 | } ); 16 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/content/content-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-content.md-THEME_NAME-theme { 8 | color: '{{foreground-1}}'; 9 | background-color: '{{background-color}}'; } 10 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/effects/animatedSelector.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | "../selector", 4 | "../effects" 5 | ], function( jQuery ) { 6 | 7 | jQuery.expr.filters.animated = function( elem ) { 8 | return jQuery.grep( jQuery.timers, function( fn ) { 9 | return elem === fn.elem; 10 | } ).length; 11 | }; 12 | 13 | } ); 14 | -------------------------------------------------------------------------------- /public/modules/core/controllers/layout.client.controller.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | angular.module('core').controller('LayoutController', ['$scope', 4 | function($scope) { 5 | 6 | // Open User menu 7 | $scope.openMenu = function($mdOpenMenu, ev) { 8 | $mdOpenMenu(ev); 9 | }; 10 | 11 | } 12 | ]); 13 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/backdrop/backdrop-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-backdrop{background-color:'{{background-900-0.0}}'}md-backdrop.md-opaque.md-THEME_NAME-theme{background-color:'{{background-900-1.0}}'} -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/tooltip/tooltip-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-tooltip.md-THEME_NAME-theme{color:'{{background-A100}}'}md-tooltip.md-THEME_NAME-theme ._md-content{background-color:'{{foreground-2}}'} -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/input/demoIcons/icons/ic_person_24px.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/backdrop/backdrop-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-backdrop{background-color:'{{background-900-0.0}}'}md-backdrop.md-opaque.md-THEME_NAME-theme{background-color:'{{background-900-1.0}}'} -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/tooltip/tooltip-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-tooltip.md-THEME_NAME-theme{color:'{{background-A100}}'}md-tooltip.md-THEME_NAME-theme ._md-content{background-color:'{{foreground-2}}'} -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/input/demoIcons/icons/ic_email_24px.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/tabs/demoDynamicHeight/style.scss: -------------------------------------------------------------------------------- 1 | md-content { 2 | background-color: transparent !important; 3 | md-tabs { 4 | background: #f6f6f6; 5 | border: 1px solid #e1e1e1; 6 | md-tabs-canvas { 7 | background: white; 8 | } 9 | } 10 | h1:first-child { 11 | margin-top: 0; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/datepicker/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-datepicker", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2", 6 | "angular-material-icon": "1.0.5-master-f171fd2", 7 | "angular-material-virtualRepeat": "1.0.5-master-f171fd2" 8 | } 9 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/index.js: -------------------------------------------------------------------------------- 1 | // Should already be required, here for clarity 2 | require('angular'); 3 | 4 | // Load Angular and dependent libs 5 | require('angular-animate'); 6 | require('angular-aria'); 7 | 8 | // Now load Angular Material 9 | require('./angular-material'); 10 | 11 | // Export namespace 12 | module.exports = 'ngMaterial'; 13 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/autocomplete/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-autocomplete", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2", 6 | "angular-material-icon": "1.0.5-master-f171fd2", 7 | "angular-material-virtualRepeat": "1.0.5-master-f171fd2" 8 | } 9 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/menu/menu-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-menu-content.md-THEME_NAME-theme{background-color:'{{background-color}}'}md-menu-content.md-THEME_NAME-theme md-menu-divider{background-color:'{{foreground-4}}'} -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/share-arrow.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/menu/menu-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-menu-content.md-THEME_NAME-theme{background-color:'{{background-color}}'}md-menu-content.md-THEME_NAME-theme md-menu-divider{background-color:'{{foreground-4}}'} -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/backdrop/backdrop-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-backdrop { 8 | background-color: '{{background-900-0.0}}'; } 9 | md-backdrop.md-opaque.md-THEME_NAME-theme { 10 | background-color: '{{background-900-1.0}}'; } 11 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/tooltip/tooltip-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-tooltip.md-THEME_NAME-theme { 8 | color: '{{background-A100}}'; } 9 | md-tooltip.md-THEME_NAME-theme .md-content { 10 | background-color: '{{foreground-2}}'; } 11 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/core/DOMEval.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/document" 3 | ], function( document ) { 4 | function DOMEval( code, doc ) { 5 | doc = doc || document; 6 | 7 | var script = doc.createElement( "script" ); 8 | 9 | script.text = code; 10 | doc.head.appendChild( script ).parentNode.removeChild( script ); 11 | } 12 | 13 | return DOMEval; 14 | } ); 15 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/backdrop/backdrop-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-backdrop { 8 | background-color: '{{background-900-0.0}}'; } 9 | md-backdrop.md-opaque.md-THEME_NAME-theme { 10 | background-color: '{{background-900-1.0}}'; } 11 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/tooltip/tooltip-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-tooltip.md-THEME_NAME-theme { 8 | color: '{{background-A100}}'; } 9 | md-tooltip.md-THEME_NAME-theme .md-content { 10 | background-color: '{{foreground-2}}'; } 11 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/divider/divider-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-divider.md-THEME_NAME-theme { 8 | border-top-color: '{{foreground-4}}'; } 9 | 10 | .layout-row > md-divider.md-THEME_NAME-theme { 11 | border-right-color: '{{foreground-4}}'; } 12 | -------------------------------------------------------------------------------- /public/bower_components/angular-youtube-mb/test/config/karma.conf.coffee: -------------------------------------------------------------------------------- 1 | 2 | module.exports = (config) -> 3 | config.set 4 | basePath: '../../' 5 | browsers: ['Chrome'] 6 | frameworks: ['jasmine'] 7 | preprocessors: 8 | '**/*.coffee': ['coffee'] 9 | 10 | coffeePreprocessor: 11 | options: 12 | bare: true 13 | -------------------------------------------------------------------------------- /server/api/video/video.routes.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var controller = require('./video.controller'); 4 | 5 | var express = require('express') 6 | var router = express.Router(); 7 | 8 | router.post('/video', controller.addNewVideoElapsed); 9 | router.get('/video', controller.getAVGVideo); 10 | router.get('/video/completed', controller.getVideoCompleted); 11 | 12 | module.exports = router; -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/input/demoIcons/icons/ic_place_24px.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/divider/divider-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-divider.md-THEME_NAME-theme { 8 | border-top-color: '{{foreground-4}}'; } 9 | 10 | .layout-row > md-divider.md-THEME_NAME-theme { 11 | border-right-color: '{{foreground-4}}'; } 12 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/divider/divider.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */ 7 | !function(i,e,n){"use strict";function r(i){return{restrict:"E",link:i}}e.module("material.components.divider",["material.core"]).directive("mdDivider",r),r.$inject=["$mdTheming"]}(window,window.angular); -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/menu/menu-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-menu-content.md-THEME_NAME-theme { 8 | background-color: '{{background-color}}'; } 9 | md-menu-content.md-THEME_NAME-theme md-menu-divider { 10 | background-color: '{{foreground-4}}'; } 11 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/menu/menu-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-menu-content.md-THEME_NAME-theme { 8 | background-color: '{{background-color}}'; } 9 | md-menu-content.md-THEME_NAME-theme md-menu-divider { 10 | background-color: '{{foreground-4}}'; } 11 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/card/card.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */ 7 | !function(n,i,t){"use strict";function e(n){return{restrict:"E",link:function(i,t){n(t)}}}i.module("material.components.card",["material.core"]).directive("mdCard",e),e.$inject=["$mdTheming"]}(window,window.angular); -------------------------------------------------------------------------------- /public/bower_components/angular-material/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material", 3 | "version": "1.0.6", 4 | "license": "MIT", 5 | "ignore": [], 6 | "dependencies": { 7 | "angular": "^1.4.8", 8 | "angular-animate": "^1.4.8", 9 | "angular-aria": "^1.4.8", 10 | "angular-messages": "^1.4.8" 11 | }, 12 | "main": [ 13 | "angular-material.js", 14 | "angular-material.css" 15 | ] 16 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/icon/icon.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-icon{margin:auto;background-repeat:no-repeat no-repeat;display:inline-block;vertical-align:middle;fill:currentColor;height:24px;width:24px}md-icon svg{pointer-events:none;display:block}md-icon[md-font-icon]{line-height:24px;width:auto} -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/mail.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/icon/icon.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-icon{margin:auto;background-repeat:no-repeat no-repeat;display:inline-block;vertical-align:middle;fill:currentColor;height:24px;width:24px}md-icon svg{pointer-events:none;display:block}md-icon[md-font-icon]{line-height:24px;width:auto} -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/toolbar/demoBasicUsage/img/icons/favorite.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/fabToolbar/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-fabToolbar", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-core": "1.0.5-master-f171fd2", 6 | "angular-material-fabShared": "1.0.5-master-f171fd2", 7 | "angular-material-fabTrigger": "1.0.5-master-f171fd2", 8 | "angular-material-fabActions": "1.0.5-master-f171fd2" 9 | } 10 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/fabTrigger/fabTrigger.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */ 7 | !function(r,e,i){"use strict";!function(){function r(){return{restrict:"E",require:["^?mdFabSpeedDial","^?mdFabToolbar"]}}e.module("material.components.fabTrigger",["material.core"]).directive("mdFabTrigger",r)}()}(window,window.angular); -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/icon/icon-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-icon.md-THEME_NAME-theme{color:'{{foreground-2}}'}md-icon.md-THEME_NAME-theme.md-primary{color:'{{primary-color}}'}md-icon.md-THEME_NAME-theme.md-accent{color:'{{accent-color}}'}md-icon.md-THEME_NAME-theme.md-warn{color:'{{warn-color}}'} -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/copy.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/icon/icon-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-icon.md-THEME_NAME-theme{color:'{{foreground-2}}'}md-icon.md-THEME_NAME-theme.md-primary{color:'{{primary-color}}'}md-icon.md-THEME_NAME-theme.md-accent{color:'{{accent-color}}'}md-icon.md-THEME_NAME-theme.md-warn{color:'{{warn-color}}'} -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/message.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/selector-sizzle.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./core", 3 | "../external/sizzle/dist/sizzle" 4 | ], function( jQuery, Sizzle ) { 5 | 6 | jQuery.find = Sizzle; 7 | jQuery.expr = Sizzle.selectors; 8 | jQuery.expr[ ":" ] = jQuery.expr.pseudos; 9 | jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; 10 | jQuery.text = Sizzle.getText; 11 | jQuery.isXMLDoc = Sizzle.isXML; 12 | jQuery.contains = Sizzle.contains; 13 | 14 | } ); 15 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/copy2.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/data/var/acceptData.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | /** 4 | * Determines whether an object can have data 5 | */ 6 | return function( owner ) { 7 | 8 | // Accepts only: 9 | // - Node 10 | // - Node.ELEMENT_NODE 11 | // - Node.DOCUMENT_NODE 12 | // - Object 13 | // - Any 14 | /* jshint -W018 */ 15 | return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); 16 | }; 17 | 18 | } ); 19 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | 7 | # Standard to msysgit 8 | *.doc diff=astextplain 9 | *.DOC diff=astextplain 10 | *.docx diff=astextplain 11 | *.DOCX diff=astextplain 12 | *.dot diff=astextplain 13 | *.DOT diff=astextplain 14 | *.pdf diff=astextplain 15 | *.PDF diff=astextplain 16 | *.rtf diff=astextplain 17 | *.RTF diff=astextplain 18 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/hangout.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/dialog/dialog-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-dialog.md-THEME_NAME-theme{border-radius:4px;background-color:'{{background-color}}'}md-dialog.md-THEME_NAME-theme.md-content-overflow .md-actions,md-dialog.md-THEME_NAME-theme.md-content-overflow md-dialog-actions{border-top-color:'{{foreground-4}}'} -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/dialog/dialog-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-dialog.md-THEME_NAME-theme{border-radius:4px;background-color:'{{background-color}}'}md-dialog.md-THEME_NAME-theme.md-content-overflow .md-actions,md-dialog.md-THEME_NAME-theme.md-content-overflow md-dialog-actions{border-top-color:'{{foreground-4}}'} -------------------------------------------------------------------------------- /public/bower_components/jquery/src/event/ajax.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | "../event" 4 | ], function( jQuery ) { 5 | 6 | // Attach a bunch of functions for handling common AJAX events 7 | jQuery.each( [ 8 | "ajaxStart", 9 | "ajaxStop", 10 | "ajaxComplete", 11 | "ajaxError", 12 | "ajaxSuccess", 13 | "ajaxSend" 14 | ], function( i, type ) { 15 | jQuery.fn[ type ] = function( fn ) { 16 | return this.on( type, fn ); 17 | }; 18 | } ); 19 | 20 | } ); 21 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/toolbar/demoBasicUsage/img/icons/more_vert.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/manipulation/_evalUrl.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../ajax" 3 | ], function( jQuery ) { 4 | 5 | jQuery._evalUrl = function( url ) { 6 | return jQuery.ajax( { 7 | url: url, 8 | 9 | // Make this explicit, since user can override this through ajaxSetup (#11264) 10 | type: "GET", 11 | dataType: "script", 12 | async: false, 13 | global: false, 14 | "throws": true 15 | } ); 16 | }; 17 | 18 | return jQuery._evalUrl; 19 | 20 | } ); 21 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/print.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /server/api/room/room.routes.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var controller = require('./room.controller'); 4 | 5 | var express = require('express') 6 | var router = express.Router(); 7 | 8 | router.post('/room', controller.createRoom); 9 | router.put('/room/:id', controller.updateRoom); 10 | router.get('/room', controller.findAllRooms); 11 | router.get('/room/:id', controller.findRoomById); 12 | router.delete('/room/:id', controller.deleteRoomById); 13 | 14 | module.exports = router; -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/input/demoIcons/icons/ic_phone_24px.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/input/demoIcons/style.scss: -------------------------------------------------------------------------------- 1 | .inputIconDemo { 2 | min-height:48px; 3 | } 4 | 5 | 6 | md-input-container:not(.md-input-invalid) > md-icon.email { 7 | color : green; 8 | } 9 | md-input-container:not(.md-input-invalid) > md-icon.name { 10 | color : dodgerblue; 11 | } 12 | 13 | md-input-container.md-input-invalid > md-icon.email, 14 | md-input-container.md-input-invalid > md-icon.name, 15 | { 16 | color : red; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/core/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-core", 3 | "version": "1.0.5-master-f171fd2", 4 | "dependencies": { 5 | "angular-material-ngAnimate": "1.0.5-master-f171fd2", 6 | "angular-material-animate": "1.0.5-master-f171fd2", 7 | "angular-material-layout": "1.0.5-master-f171fd2", 8 | "angular-material-gestures": "1.0.5-master-f171fd2", 9 | "angular-material-theming": "1.0.5-master-f171fd2" 10 | } 11 | } -------------------------------------------------------------------------------- /public/bower_components/angular/angular-csp.css: -------------------------------------------------------------------------------- 1 | /* Include this file in your html if you are using the CSP mode. */ 2 | 3 | @charset "UTF-8"; 4 | 5 | [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], 6 | .ng-cloak, .x-ng-cloak, 7 | .ng-hide:not(.ng-hide-animate) { 8 | display: none !important; 9 | } 10 | 11 | ng\:form { 12 | display: block; 13 | } 14 | 15 | .ng-animate-shim { 16 | visibility:hidden; 17 | } 18 | 19 | .ng-anchor { 20 | position:absolute; 21 | } 22 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/css/var/isHidden.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../core", 3 | "../../selector" 4 | 5 | // css is assumed 6 | ], function( jQuery ) { 7 | 8 | return function( elem, el ) { 9 | 10 | // isHidden might be called from jQuery#filter function; 11 | // in that case, element will be second argument 12 | elem = el || elem; 13 | return jQuery.css( elem, "display" ) === "none" || 14 | !jQuery.contains( elem.ownerDocument, elem ); 15 | }; 16 | } ); 17 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/facebook.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /public/modules/core/views/home.client.view.html: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 |
5 |

Average Time : {{averageTimeVideo | secondsToDateTime | date:'HH:mm:ss'}}

6 |

Video completed {{nbCompleted}} times

7 |
-------------------------------------------------------------------------------- /server/api/grade/grade.routes.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var controller = require('./grade.controller'); 4 | 5 | var express = require('express') 6 | var router = express.Router(); 7 | 8 | router.post('/grade', controller.createGrade); 9 | router.put('/grade/:id', controller.updateGrade); 10 | router.get('/grade', controller.findAllGrades); 11 | router.get('/grade/:id', controller.findGradeById); 12 | router.delete('/grade/:id', controller.deleteGradeById); 13 | 14 | module.exports = router; -------------------------------------------------------------------------------- /server/api/quizz/quizz.routes.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var controller = require('./quizz.controller'); 4 | 5 | var express = require('express') 6 | var router = express.Router(); 7 | 8 | router.post('/quizz', controller.createQuizz); 9 | router.put('/quizz/:id', controller.updateQuizz); 10 | router.get('/quizz', controller.findAllQuizzs); 11 | router.get('/quizz/:id', controller.findQuizzById); 12 | router.delete('/quizz/:id', controller.deleteQuizzById); 13 | 14 | module.exports = router; -------------------------------------------------------------------------------- /public/bower_components/jquery/src/css/var/getStyles.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | return function( elem ) { 3 | 4 | // Support: IE<=11+, Firefox<=30+ (#15098, #14150) 5 | // IE throws on elements created in popups 6 | // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" 7 | var view = elem.ownerDocument.defaultView; 8 | 9 | if ( !view || !view.opener ) { 10 | view = window; 11 | } 12 | 13 | return view.getComputedStyle( elem ); 14 | }; 15 | } ); 16 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/traversing/var/dir.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../../core" 3 | ], function( jQuery ) { 4 | 5 | return function( elem, dir, until ) { 6 | var matched = [], 7 | truncate = until !== undefined; 8 | 9 | while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { 10 | if ( elem.nodeType === 1 ) { 11 | if ( truncate && jQuery( elem ).is( until ) ) { 12 | break; 13 | } 14 | matched.push( elem ); 15 | } 16 | } 17 | return matched; 18 | }; 19 | 20 | } ); 21 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/dialog/dialog-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-dialog.md-THEME_NAME-theme { 8 | border-radius: 4px; 9 | background-color: '{{background-color}}'; } 10 | md-dialog.md-THEME_NAME-theme.md-content-overflow .md-actions, md-dialog.md-THEME_NAME-theme.md-content-overflow md-dialog-actions { 11 | border-top-color: '{{foreground-4}}'; } 12 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/dialog/dialog-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-dialog.md-THEME_NAME-theme { 8 | border-radius: 4px; 9 | background-color: '{{background-color}}'; } 10 | md-dialog.md-THEME_NAME-theme.md-content-overflow .md-actions, md-dialog.md-THEME_NAME-theme.md-content-overflow md-dialog-actions { 11 | border-top-color: '{{foreground-4}}'; } 12 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/divider/divider.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-divider { 8 | display: block; 9 | border-top-width: 1px; 10 | border-top-style: solid; 11 | margin: 0; } 12 | md-divider[md-inset] { 13 | margin-left: 80px; } 14 | 15 | .layout-row > md-divider { 16 | border-top-width: 0; 17 | border-right-width: 1px; 18 | border-right-style: solid; } 19 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/data/support.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/document", 3 | "../var/support" 4 | ], function( document, support ) { 5 | 6 | ( function() { 7 | var div = document.createElement( "div" ); 8 | 9 | // Support: IE<9 10 | support.deleteExpando = true; 11 | try { 12 | delete div.test; 13 | } catch ( e ) { 14 | support.deleteExpando = false; 15 | } 16 | 17 | // Null elements to avoid leaks in IE. 18 | div = null; 19 | } )(); 20 | 21 | return support; 22 | 23 | } ); 24 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/manipulation/createSafeFragment.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./var/nodeNames" 3 | ], function( nodeNames ) { 4 | 5 | function createSafeFragment( document ) { 6 | var list = nodeNames.split( "|" ), 7 | safeFrag = document.createDocumentFragment(); 8 | 9 | if ( safeFrag.createElement ) { 10 | while ( list.length ) { 11 | safeFrag.createElement( 12 | list.pop() 13 | ); 14 | } 15 | } 16 | return safeFrag; 17 | } 18 | 19 | return createSafeFragment; 20 | } ); 21 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/divider/divider.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-divider { 8 | display: block; 9 | border-top-width: 1px; 10 | border-top-style: solid; 11 | margin: 0; } 12 | md-divider[md-inset] { 13 | margin-left: 80px; } 14 | 15 | .layout-row > md-divider { 16 | border-top-width: 0; 17 | border-right-width: 1px; 18 | border-right-style: solid; } 19 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/content/content.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-content{display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}md-content[md-scroll-y]{overflow-y:auto;overflow-x:hidden}md-content[md-scroll-x]{overflow-x:auto;overflow-y:hidden}md-content.md-no-momentum{-webkit-overflow-scrolling:auto}@media print{md-content{overflow:visible!important}} -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/content/content.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-content{display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}md-content[md-scroll-y]{overflow-y:auto;overflow-x:hidden}md-content[md-scroll-x]{overflow-x:auto;overflow-y:hidden}md-content.md-no-momentum{-webkit-overflow-scrolling:auto}@media print{md-content{overflow:visible!important}} -------------------------------------------------------------------------------- /public/bower_components/jquery/src/manipulation/setGlobalEval.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../data/var/dataPriv" 3 | ], function( dataPriv ) { 4 | 5 | // Mark scripts as having already been evaluated 6 | function setGlobalEval( elems, refElements ) { 7 | var i = 0, 8 | l = elems.length; 9 | 10 | for ( ; i < l; i++ ) { 11 | dataPriv.set( 12 | elems[ i ], 13 | "globalEval", 14 | !refElements || dataPriv.get( refElements[ i ], "globalEval" ) 15 | ); 16 | } 17 | } 18 | 19 | return setGlobalEval; 20 | } ); 21 | -------------------------------------------------------------------------------- /server/api/absence/absence.routes.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var controller = require('./absence.controller'); 4 | 5 | var express = require('express') 6 | var router = express.Router(); 7 | 8 | router.post('/absence', controller.createAbsence); 9 | router.put('/absence/:id', controller.updateAbsence); 10 | router.get('/absence', controller.findAllAbsences); 11 | router.get('/absence/:id', controller.findAbsenceById); 12 | router.delete('/absence/:id', controller.deleteAbsenceById); 13 | 14 | module.exports = router; -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "DATABASE", 3 | "version": "1.0.0", 4 | "description": "Database", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "Franck Abgrall", 10 | "license": "ISC", 11 | "dependencies": { 12 | "async": "^1.5.2", 13 | "body-parser": "^1.15.0", 14 | "bower": "^1.7.7", 15 | "express": "^4.13.4", 16 | "mysql": "^2.10.2", 17 | "sequelize": "^3.19.3", 18 | "socket.io": "^1.4.5" 19 | } 20 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/bottomSheet/bottomSheet-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-bottom-sheet.md-THEME_NAME-theme{background-color:'{{background-50}}';border-top-color:'{{background-300}}'}md-bottom-sheet.md-THEME_NAME-theme.md-list md-list-item{color:'{{foreground-1}}'}md-bottom-sheet.md-THEME_NAME-theme .md-subheader{background-color:'{{background-50}}';color:'{{foreground-1}}'} -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/icon/icon-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-icon.md-THEME_NAME-theme { 8 | color: '{{foreground-2}}'; } 9 | md-icon.md-THEME_NAME-theme.md-primary { 10 | color: '{{primary-color}}'; } 11 | md-icon.md-THEME_NAME-theme.md-accent { 12 | color: '{{accent-color}}'; } 13 | md-icon.md-THEME_NAME-theme.md-warn { 14 | color: '{{warn-color}}'; } 15 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/subheader/subheader-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */.md-subheader.md-THEME_NAME-theme{color:'{{ foreground-2-0.23 }}';background-color:'{{background-color}}'}.md-subheader.md-THEME_NAME-theme.md-primary{color:'{{primary-color}}'}.md-subheader.md-THEME_NAME-theme.md-accent{color:'{{accent-color}}'}.md-subheader.md-THEME_NAME-theme.md-warn{color:'{{warn-color}}'} -------------------------------------------------------------------------------- /public/bower_components/jquery/src/data/accepts.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | /** 6 | * Determines whether an object can have data 7 | */ 8 | jQuery.acceptData = function( owner ) { 9 | // Accepts only: 10 | // - Node 11 | // - Node.ELEMENT_NODE 12 | // - Node.DOCUMENT_NODE 13 | // - Object 14 | // - Any 15 | /* jshint -W018 */ 16 | return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); 17 | }; 18 | 19 | return jQuery.acceptData; 20 | }); 21 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/bottomSheet/bottomSheet-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-bottom-sheet.md-THEME_NAME-theme{background-color:'{{background-50}}';border-top-color:'{{background-300}}'}md-bottom-sheet.md-THEME_NAME-theme.md-list md-list-item{color:'{{foreground-1}}'}md-bottom-sheet.md-THEME_NAME-theme .md-subheader{background-color:'{{background-50}}';color:'{{foreground-1}}'} -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/icon/icon-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-icon.md-THEME_NAME-theme { 8 | color: '{{foreground-2}}'; } 9 | md-icon.md-THEME_NAME-theme.md-primary { 10 | color: '{{primary-color}}'; } 11 | md-icon.md-THEME_NAME-theme.md-accent { 12 | color: '{{accent-color}}'; } 13 | md-icon.md-THEME_NAME-theme.md-warn { 14 | color: '{{warn-color}}'; } 15 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/subheader/subheader-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */.md-subheader.md-THEME_NAME-theme{color:'{{ foreground-2-0.23 }}';background-color:'{{background-color}}'}.md-subheader.md-THEME_NAME-theme.md-primary{color:'{{primary-color}}'}.md-subheader.md-THEME_NAME-theme.md-accent{color:'{{accent-color}}'}.md-subheader.md-THEME_NAME-theme.md-warn{color:'{{warn-color}}'} -------------------------------------------------------------------------------- /server/api/building/building.routes.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var controller = require('./building.controller'); 4 | 5 | var express = require('express') 6 | var router = express.Router(); 7 | 8 | router.post('/building', controller.createBuilding); 9 | router.put('/building/:id', controller.updateBuilding); 10 | router.get('/building', controller.findAllBuildings); 11 | router.get('/building/:id', controller.findBuildingById); 12 | router.delete('/building/:id', controller.deleteBuildingById); 13 | 14 | module.exports = router; -------------------------------------------------------------------------------- /server/api/schedule/schedule.routes.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var controller = require('./schedule.controller'); 4 | 5 | var express = require('express') 6 | var router = express.Router(); 7 | 8 | router.post('/schedule', controller.createSchedule); 9 | router.put('/schedule/:id', controller.updateSchedule); 10 | router.get('/schedule', controller.findAllSchedules); 11 | router.get('/schedule/:id', controller.findScheduleById); 12 | router.delete('/schedule/:id', controller.deleteScheduleById); 13 | 14 | module.exports = router; -------------------------------------------------------------------------------- /public/bower_components/angular-youtube-embed/dist/angular-youtube-embed.css: -------------------------------------------------------------------------------- 1 | .youtube-wrapper { 2 | position: relative; 3 | padding-bottom: 56.25%; /* 16:9 */ 4 | padding-top: 25px; 5 | height: 0; 6 | } 7 | 8 | .youtube { 9 | position: absolute; 10 | top: 0; 11 | left: 0; 12 | width: 100%; 13 | height: 100%; 14 | } 15 | 16 | .youtube-link { 17 | display: block; 18 | cursor: pointer; 19 | background-repeat: no-repeat, no-repeat; 20 | background-size: auto, cover; 21 | background-position: center center, center center; 22 | } -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | var express = require('express'); 2 | var app = express(); 3 | var bodyParser = require('body-parser'); 4 | 5 | app.use(express.static(__dirname + '/public')); 6 | app.use(bodyParser.urlencoded({ extended: true })); 7 | app.use(bodyParser.json()); 8 | 9 | app.get('/', function(req, res) { 10 | res.sendfile('public/modules/core/views/index.html'); 11 | }); 12 | 13 | require('./server/routes')(app); 14 | 15 | var port = process.env.PORT || 8080; 16 | app.listen(port); 17 | 18 | console.log("App listening on port " + port); -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/upload.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/card/card.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */ 7 | function mdCardDirective(e){return{restrict:"E",link:function(r,a){e(a)}}}goog.provide("ng.material.components.card"),goog.require("ng.material.core"),angular.module("material.components.card",["material.core"]).directive("mdCard",mdCardDirective),mdCardDirective.$inject=["$mdTheming"],ng.material.components.card=angular.module("material.components.card"); -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/icon/icon.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-icon { 8 | margin: auto; 9 | background-repeat: no-repeat no-repeat; 10 | display: inline-block; 11 | vertical-align: middle; 12 | fill: currentColor; 13 | height: 24px; 14 | width: 24px; } 15 | md-icon svg { 16 | pointer-events: none; 17 | display: block; } 18 | md-icon[md-font-icon] { 19 | line-height: 1; 20 | width: auto; } 21 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/icon/icon.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-icon { 8 | margin: auto; 9 | background-repeat: no-repeat no-repeat; 10 | display: inline-block; 11 | vertical-align: middle; 12 | fill: currentColor; 13 | height: 24px; 14 | width: 24px; } 15 | md-icon svg { 16 | pointer-events: none; 17 | display: block; } 18 | md-icon[md-font-icon] { 19 | line-height: 1; 20 | width: auto; } 21 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/divider/divider.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */ 7 | function MdDividerDirective(e){return{restrict:"E",link:e}}goog.provide("ng.material.components.divider"),goog.require("ng.material.core"),angular.module("material.components.divider",["material.core"]).directive("mdDivider",MdDividerDirective),MdDividerDirective.$inject=["$mdTheming"],ng.material.components.divider=angular.module("material.components.divider"); -------------------------------------------------------------------------------- /public/bower_components/angular-ui-router/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-ui-router", 3 | "version": "0.2.18", 4 | "license" : "MIT", 5 | "main": "./release/angular-ui-router.js", 6 | "dependencies": { 7 | "angular": "^1.0.8" 8 | }, 9 | "ignore": [ 10 | "**/.*", 11 | "node_modules", 12 | "bower_components", 13 | "component.json", 14 | "package.json", 15 | "lib", 16 | "config", 17 | "sample", 18 | "test", 19 | "tests", 20 | "ngdoc_assets", 21 | "Gruntfile.js", 22 | "files.js" 23 | ] 24 | } 25 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/icon/demoLoadSvgIconsFromUrl/img/icons/addShoppingCart.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /public/modules/core/config/core.client.config.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // Setting up route 4 | angular.module('core').config(['$stateProvider', '$urlRouterProvider', 5 | function($stateProvider, $urlRouterProvider) { 6 | // Redirect to home view when route not found 7 | $urlRouterProvider.otherwise('/'); 8 | 9 | // Home state routing 10 | $stateProvider. 11 | state('home', { 12 | url: '/', 13 | templateUrl: 'modules/core/views/home.client.view.html' 14 | }); 15 | } 16 | ]); -------------------------------------------------------------------------------- /public/modules/room/config/room.client.config.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // Setting up route 4 | angular.module('room').config(['$stateProvider', '$urlRouterProvider', 5 | function($stateProvider, $urlRouterProvider) { 6 | // Redirect to home view when route not found 7 | $urlRouterProvider.otherwise('/'); 8 | 9 | // Home state routing 10 | $stateProvider. 11 | state('room', { 12 | url: '/room', 13 | templateUrl: 'modules/room/views/room.client.view.html' 14 | }); 15 | } 16 | ]); -------------------------------------------------------------------------------- /server/api/assignement/assignement.routes.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var controller = require('./assignement.controller'); 4 | 5 | var express = require('express') 6 | var router = express.Router(); 7 | 8 | router.post('/assignement', controller.createAssignement); 9 | router.put('/assignement/:id', controller.updateAssignement); 10 | router.get('/assignement', controller.findAllAssignements); 11 | router.get('/assignement/:id', controller.findAssignementById); 12 | router.delete('/assignement/:id', controller.deleteAssignementById); 13 | 14 | module.exports = router; -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/fabTrigger/fabTrigger.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */ 7 | goog.provide("ng.material.components.fabTrigger"),goog.require("ng.material.core"),function(){"use strict";function r(){return{restrict:"E",require:["^?mdFabSpeedDial","^?mdFabToolbar"]}}angular.module("material.components.fabTrigger",["material.core"]).directive("mdFabTrigger",r)}(),ng.material.components.fabTrigger=angular.module("material.components.fabTrigger"); -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/content/content.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-content { 8 | display: block; 9 | position: relative; 10 | overflow: auto; 11 | -webkit-overflow-scrolling: touch; } 12 | md-content[md-scroll-y] { 13 | overflow-y: auto; 14 | overflow-x: hidden; } 15 | md-content[md-scroll-x] { 16 | overflow-x: auto; 17 | overflow-y: hidden; } 18 | md-content.autoScroll { 19 | -webkit-overflow-scrolling: auto; } 20 | -------------------------------------------------------------------------------- /public/modules/grade/config/grade.client.config.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // Setting up route 4 | angular.module('grade').config(['$stateProvider', '$urlRouterProvider', 5 | function($stateProvider, $urlRouterProvider) { 6 | // Redirect to home view when route not found 7 | $urlRouterProvider.otherwise('/'); 8 | 9 | // Home state routing 10 | $stateProvider. 11 | state('grade', { 12 | url: '/grade', 13 | templateUrl: 'modules/grade/views/grade.client.view.html' 14 | }); 15 | } 16 | ]); -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/content/content.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-content { 8 | display: block; 9 | position: relative; 10 | overflow: auto; 11 | -webkit-overflow-scrolling: touch; } 12 | md-content[md-scroll-y] { 13 | overflow-y: auto; 14 | overflow-x: hidden; } 15 | md-content[md-scroll-x] { 16 | overflow-x: auto; 17 | overflow-y: hidden; } 18 | md-content.autoScroll { 19 | -webkit-overflow-scrolling: auto; } 20 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/icon/demoSvgIconsFromURL/img/icons/addShoppingCart.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /public/bower_components/angular/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.5.0", 4 | "license": "MIT", 5 | "main": "./angular.js", 6 | "ignore": [], 7 | "dependencies": {}, 8 | "homepage": "https://github.com/angular/bower-angular", 9 | "_release": "1.5.0", 10 | "_resolution": { 11 | "type": "version", 12 | "tag": "v1.5.0", 13 | "commit": "017a583b226a335740c5b50b3e9381a52d0bb260" 14 | }, 15 | "_source": "git://github.com/angular/bower-angular.git", 16 | "_target": "~1.5.0", 17 | "_originalSource": "angularjs", 18 | "_direct": true 19 | } -------------------------------------------------------------------------------- /public/bower_components/angular-youtube-mb/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-youtube-mb", 3 | "version": "1.1.1", 4 | "description": "Embed a YouTube player with a simple directive", 5 | "keywords": [ 6 | "angular", 7 | "youtube", 8 | "embed", 9 | "player", 10 | "directive" 11 | ], 12 | "license": "MIT", 13 | "homepage": "https://github.com/brandly/angular-youtube-embed", 14 | "main": "src/angular-youtube-embed.js", 15 | "devDependencies": { 16 | "angular": "~1.2.22", 17 | "lodash": "~2.4.1", 18 | "angular-mocks": "~1.2.22" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /public/modules/absence/config/absence.client.config.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // Setting up route 4 | angular.module('absence').config(['$stateProvider', '$urlRouterProvider', 5 | function($stateProvider, $urlRouterProvider) { 6 | // Redirect to home view when route not found 7 | $urlRouterProvider.otherwise('/'); 8 | 9 | // Home state routing 10 | $stateProvider. 11 | state('absence', { 12 | url: '/absence', 13 | templateUrl: 'modules/absence/views/absence.client.view.html' 14 | }); 15 | } 16 | ]); -------------------------------------------------------------------------------- /public/modules/courses/config/courses.client.config.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // Setting up route 4 | angular.module('courses').config(['$stateProvider', '$urlRouterProvider', 5 | function($stateProvider, $urlRouterProvider) { 6 | // Redirect to home view when route not found 7 | $urlRouterProvider.otherwise('/'); 8 | 9 | // Home state routing 10 | $stateProvider. 11 | state('courses', { 12 | url: '/courses', 13 | templateUrl: 'modules/courses/views/courses.client.view.html' 14 | }); 15 | } 16 | ]); -------------------------------------------------------------------------------- /public/modules/quizzes/config/quizzes.client.config.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // Setting up route 4 | angular.module('quizzes').config(['$stateProvider', '$urlRouterProvider', 5 | function($stateProvider, $urlRouterProvider) { 6 | // Redirect to home view when route not found 7 | $urlRouterProvider.otherwise('/'); 8 | 9 | // Home state routing 10 | $stateProvider. 11 | state('quizzes', { 12 | url: '/quizzes', 13 | templateUrl: 'modules/quizzes/views/quizzes.client.view.html' 14 | }); 15 | } 16 | ]); -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/tabs/demoStaticTabs/style.scss: -------------------------------------------------------------------------------- 1 | md-tab-content { 2 | padding: 25px; 3 | &:nth-child(1) { 4 | background-color: #42A5F5; 5 | } 6 | &:nth-child(2) { 7 | background-color: #689F38; 8 | } 9 | &:nth-child(3) { 10 | background-color: #26C6DA; 11 | } 12 | } 13 | .after-tabs-area { 14 | > span { 15 | margin-top:25px; 16 | padding-right: 15px; 17 | vertical-align: middle; 18 | line-height: 30px; 19 | height: 35px; 20 | } 21 | > md-checkbox { 22 | margin-top:26px; 23 | margin-left: 0; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /public/modules/building/config/building.client.config.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // Setting up route 4 | angular.module('building').config(['$stateProvider', '$urlRouterProvider', 5 | function($stateProvider, $urlRouterProvider) { 6 | // Redirect to home view when route not found 7 | $urlRouterProvider.otherwise('/'); 8 | 9 | // Home state routing 10 | $stateProvider. 11 | state('building', { 12 | url: '/building', 13 | templateUrl: 'modules/building/views/building.client.view.html' 14 | }); 15 | } 16 | ]); -------------------------------------------------------------------------------- /public/modules/students/config/students.client.config.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // Setting up route 4 | angular.module('students').config(['$stateProvider', '$urlRouterProvider', 5 | function($stateProvider, $urlRouterProvider) { 6 | // Redirect to home view when route not found 7 | $urlRouterProvider.otherwise('/'); 8 | 9 | // Home state routing 10 | $stateProvider. 11 | state('students', { 12 | url: '/students', 13 | templateUrl: 'modules/students/views/students.client.view.html' 14 | }); 15 | } 16 | ]); -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/subheader/subheader-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | .md-subheader.md-THEME_NAME-theme { 8 | color: '{{ foreground-2-0.23 }}'; 9 | background-color: '{{background-color}}'; } 10 | .md-subheader.md-THEME_NAME-theme.md-primary { 11 | color: '{{primary-color}}'; } 12 | .md-subheader.md-THEME_NAME-theme.md-accent { 13 | color: '{{accent-color}}'; } 14 | .md-subheader.md-THEME_NAME-theme.md-warn { 15 | color: '{{warn-color}}'; } 16 | -------------------------------------------------------------------------------- /server/api/video/video.model.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var sequelize = require('./../../config/config').sequelize; 4 | var Sequelize = require('Sequelize'); 5 | 6 | var Video = sequelize.define('Video', { 7 | idVideo: { 8 | type: Sequelize.INTEGER, 9 | primaryKey: true, 10 | autoiIncrement: true 11 | }, 12 | elapsedTime: { 13 | type: Sequelize.INTEGER 14 | }, 15 | completedViews: { 16 | type: Sequelize.BOOLEAN 17 | } 18 | }, 19 | { 20 | freezeTableName: true, // Model tableName will be the same as the model name 21 | timestamps: false 22 | }); 23 | 24 | module.exports = Video; -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/subheader/subheader-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | .md-subheader.md-THEME_NAME-theme { 8 | color: '{{ foreground-2-0.23 }}'; 9 | background-color: '{{background-color}}'; } 10 | .md-subheader.md-THEME_NAME-theme.md-primary { 11 | color: '{{primary-color}}'; } 12 | .md-subheader.md-THEME_NAME-theme.md-accent { 13 | color: '{{accent-color}}'; } 14 | .md-subheader.md-THEME_NAME-theme.md-warn { 15 | color: '{{warn-color}}'; } 16 | -------------------------------------------------------------------------------- /public/modules/professors/config/professors.client.config.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // Setting up route 4 | angular.module('professors').config(['$stateProvider', '$urlRouterProvider', 5 | function($stateProvider, $urlRouterProvider) { 6 | // Redirect to home view when route not found 7 | $urlRouterProvider.otherwise('/'); 8 | 9 | // Home state routing 10 | $stateProvider. 11 | state('professors', { 12 | url: '/professors', 13 | templateUrl: 'modules/professors/views/professors.client.view.html' 14 | }); 15 | } 16 | ]); -------------------------------------------------------------------------------- /public/modules/assignement/config/assignement.client.config.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // Setting up route 4 | angular.module('assignement').config(['$stateProvider', '$urlRouterProvider', 5 | function($stateProvider, $urlRouterProvider) { 6 | // Redirect to home view when route not found 7 | $urlRouterProvider.otherwise('/'); 8 | 9 | // Home state routing 10 | $stateProvider. 11 | state('assignement', { 12 | url: '/assignement', 13 | templateUrl: 'modules/assignement/views/assignement.client.view.html' 14 | }); 15 | } 16 | ]); -------------------------------------------------------------------------------- /server/api/professor/professor.routes.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var controller = require('./professor.controller'); 4 | 5 | var express = require('express') 6 | var router = express.Router(); 7 | 8 | router.post('/professor', controller.createProfessor); 9 | router.put('/professor/:id', controller.updateProfessor); 10 | router.get('/professor', controller.findAllProfessors); 11 | router.get('/professor/:id', controller.findProfessorById); 12 | router.delete('/professor/:id', controller.deleteProfessorById); 13 | router.get('/professor/:id/courses', controller.getAllCoursesByProfessor); 14 | 15 | module.exports = router; -------------------------------------------------------------------------------- /public/bower_components/angular-aria/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-aria", 3 | "version": "1.5.0", 4 | "license": "MIT", 5 | "main": "./angular-aria.js", 6 | "ignore": [], 7 | "dependencies": { 8 | "angular": "1.5.0" 9 | }, 10 | "homepage": "https://github.com/angular/bower-angular-aria", 11 | "_release": "1.5.0", 12 | "_resolution": { 13 | "type": "version", 14 | "tag": "v1.5.0", 15 | "commit": "39f42383b9607ba9750da5212ec66998a0f5577e" 16 | }, 17 | "_source": "git://github.com/angular/bower-angular-aria.git", 18 | "_target": "^1.4.8", 19 | "_originalSource": "angular-aria" 20 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/fabActions/fabActions.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */ 7 | !function(a,i,t){"use strict";!function(){function a(){return{restrict:"E",require:["^?mdFabSpeedDial","^?mdFabToolbar"],compile:function(a,t){var n=a.children(),e=!1;i.forEach(["","data-","x-"],function(a){e=e||!!n.attr(a+"ng-repeat")}),e?n.addClass("md-fab-action-item"):n.wrap('
')}}}i.module("material.components.fabActions",["material.core"]).directive("mdFabActions",a)}()}(window,window.angular); -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/whiteframe/whiteframe.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */ 7 | !function(e,t,a){"use strict";function i(e){function t(t,n,d){var m=parseInt(d.mdWhiteframe,10)||r;(m>i||a>m)&&(e.warn("md-whiteframe attribute value is invalid. It should be a number between "+a+" and "+i,n[0]),m=r),n.addClass("md-whiteframe-"+m+"dp")}var a=1,i=24,r=4;return{restrict:"A",link:t}}t.module("material.components.whiteframe",["material.core"]).directive("mdWhiteframe",i),i.$inject=["$log"]}(window,window.angular); -------------------------------------------------------------------------------- /public/bower_components/angular-animate/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-animate", 3 | "version": "1.5.0", 4 | "license": "MIT", 5 | "main": "./angular-animate.js", 6 | "ignore": [], 7 | "dependencies": { 8 | "angular": "1.5.0" 9 | }, 10 | "homepage": "https://github.com/angular/bower-angular-animate", 11 | "_release": "1.5.0", 12 | "_resolution": { 13 | "type": "version", 14 | "tag": "v1.5.0", 15 | "commit": "19b035b16ccf4b1db231207b9453f4a8df0d4a09" 16 | }, 17 | "_source": "git://github.com/angular/bower-angular-animate.git", 18 | "_target": "^1.4.8", 19 | "_originalSource": "angular-animate" 20 | } -------------------------------------------------------------------------------- /public/bower_components/angular-messages/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-messages", 3 | "version": "1.5.0", 4 | "license": "MIT", 5 | "main": "./angular-messages.js", 6 | "ignore": [], 7 | "dependencies": { 8 | "angular": "1.5.0" 9 | }, 10 | "homepage": "https://github.com/angular/bower-angular-messages", 11 | "_release": "1.5.0", 12 | "_resolution": { 13 | "type": "version", 14 | "tag": "v1.5.0", 15 | "commit": "d6b6fa907ff760f178fab722f72200a7a06602e6" 16 | }, 17 | "_source": "git://github.com/angular/bower-angular-messages.git", 18 | "_target": "^1.4.8", 19 | "_originalSource": "angular-messages" 20 | } -------------------------------------------------------------------------------- /public/bower_components/jquery/src/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "boss": true, 3 | "curly": true, 4 | "eqeqeq": true, 5 | "eqnull": true, 6 | "expr": true, 7 | "immed": true, 8 | "noarg": true, 9 | "quotmark": "double", 10 | "undef": true, 11 | "unused": true, 12 | 13 | "sub": true, 14 | 15 | // Support: IE < 10, Android < 4.1 16 | // The above browsers are failing a lot of tests in the ES5 17 | // test suite at http://test262.ecmascript.org. 18 | "es3": true, 19 | 20 | "globals": { 21 | "window": true, 22 | "JSON": false, 23 | 24 | "jQuery": true, 25 | "define": true, 26 | "module": true, 27 | "noGlobal": true 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/ajax/parseXML.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // Cross-browser xml parsing 6 | jQuery.parseXML = function( data ) { 7 | var xml; 8 | if ( !data || typeof data !== "string" ) { 9 | return null; 10 | } 11 | 12 | // Support: IE9 13 | try { 14 | xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); 15 | } catch ( e ) { 16 | xml = undefined; 17 | } 18 | 19 | if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { 20 | jQuery.error( "Invalid XML: " + data ); 21 | } 22 | return xml; 23 | }; 24 | 25 | return jQuery.parseXML; 26 | 27 | } ); 28 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/bottomSheet/bottomSheet-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-bottom-sheet.md-THEME_NAME-theme { 8 | background-color: '{{background-50}}'; 9 | border-top-color: '{{background-300}}'; } 10 | md-bottom-sheet.md-THEME_NAME-theme.md-list md-list-item { 11 | color: '{{foreground-1}}'; } 12 | md-bottom-sheet.md-THEME_NAME-theme .md-subheader { 13 | background-color: '{{background-50}}'; } 14 | md-bottom-sheet.md-THEME_NAME-theme .md-subheader { 15 | color: '{{foreground-1}}'; } 16 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/bottomSheet/bottomSheet-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-bottom-sheet.md-THEME_NAME-theme { 8 | background-color: '{{background-50}}'; 9 | border-top-color: '{{background-300}}'; } 10 | md-bottom-sheet.md-THEME_NAME-theme.md-list md-list-item { 11 | color: '{{foreground-1}}'; } 12 | md-bottom-sheet.md-THEME_NAME-theme .md-subheader { 13 | background-color: '{{background-50}}'; } 14 | md-bottom-sheet.md-THEME_NAME-theme .md-subheader { 15 | color: '{{foreground-1}}'; } 16 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/sticky/sticky.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */._md-sticky-clone{z-index:2;top:0;left:0;right:0;position:absolute!important;-webkit-transform:translate3d(-9999px,-9999px,0);transform:translate3d(-9999px,-9999px,0)}._md-sticky-clone[sticky-state=active]{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}._md-sticky-clone[sticky-state=active]:not(.md-sticky-no-effect) ._md-subheader-inner{-webkit-animation:subheaderStickyHoverIn .3s ease-out both;animation:subheaderStickyHoverIn .3s ease-out both} -------------------------------------------------------------------------------- /public/bower_components/angular-route/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-route", 3 | "version": "1.5.0", 4 | "license": "MIT", 5 | "main": "./angular-route.js", 6 | "ignore": [], 7 | "dependencies": { 8 | "angular": "1.5.0" 9 | }, 10 | "homepage": "https://github.com/angular/bower-angular-route", 11 | "_release": "1.5.0", 12 | "_resolution": { 13 | "type": "version", 14 | "tag": "v1.5.0", 15 | "commit": "6f03a206107b3ae860ee7f7fd061db252c452903" 16 | }, 17 | "_source": "git://github.com/angular/bower-angular-route.git", 18 | "_target": "~1.5.0", 19 | "_originalSource": "angular-route", 20 | "_direct": true 21 | } -------------------------------------------------------------------------------- /public/bower_components/jquery/src/css/var/swap.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | // A method for quickly swapping in/out CSS properties to get correct calculations. 4 | return function( elem, options, callback, args ) { 5 | var ret, name, 6 | old = {}; 7 | 8 | // Remember the old values, and insert the new ones 9 | for ( name in options ) { 10 | old[ name ] = elem.style[ name ]; 11 | elem.style[ name ] = options[ name ]; 12 | } 13 | 14 | ret = callback.apply( elem, args || [] ); 15 | 16 | // Revert the old values 17 | for ( name in options ) { 18 | elem.style[ name ] = old[ name ]; 19 | } 20 | 21 | return ret; 22 | }; 23 | 24 | } ); 25 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/sticky/sticky.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */._md-sticky-clone{z-index:2;top:0;left:0;right:0;position:absolute!important;-webkit-transform:translate3d(-9999px,-9999px,0);transform:translate3d(-9999px,-9999px,0)}._md-sticky-clone[sticky-state=active]{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}._md-sticky-clone[sticky-state=active]:not(.md-sticky-no-effect) ._md-subheader-inner{-webkit-animation:subheaderStickyHoverIn .3s ease-out both;animation:subheaderStickyHoverIn .3s ease-out both} -------------------------------------------------------------------------------- /public/bower_components/jquery/src/css/hiddenVisibleSelectors.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | "../selector" 4 | ], function( jQuery ) { 5 | 6 | jQuery.expr.filters.hidden = function( elem ) { 7 | return !jQuery.expr.filters.visible( elem ); 8 | }; 9 | jQuery.expr.filters.visible = function( elem ) { 10 | 11 | // Support: Opera <= 12.12 12 | // Opera reports offsetWidths and offsetHeights less than zero on some elements 13 | // Use OR instead of AND as the element is not visible if either is true 14 | // See tickets #10406 and #13132 15 | return elem.offsetWidth > 0 || elem.offsetHeight > 0 || elem.getClientRects().length > 0; 16 | }; 17 | 18 | } ); 19 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/card/card-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-card.md-THEME_NAME-theme{background-color:'{{background-color}}';border-radius:2px}md-card.md-THEME_NAME-theme .md-card-image{border-radius:2px 2px 0 0}md-card.md-THEME_NAME-theme md-card-header md-card-avatar md-icon{color:'{{background-color}}';background-color:'{{foreground-3}}'}md-card.md-THEME_NAME-theme md-card-header md-card-header-text .md-subhead,md-card.md-THEME_NAME-theme md-card-title md-card-title-text:not(:only-child) .md-subhead{color:'{{foreground-2}}'} -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/swipe/swipe.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */ 7 | !function(e,i,t){"use strict";function n(e){function i(e){function i(i,r,o){var w=e(o[t]);r.on(n,function(e){i.$apply(function(){w(i,{$event:e})})})}return{restrict:"A",link:i}}var t="md"+e,n="$md."+e.toLowerCase();return i.$inject=["$parse"],i}i.module("material.components.swipe",["material.core"]).directive("mdSwipeLeft",n("SwipeLeft")).directive("mdSwipeRight",n("SwipeRight")).directive("mdSwipeUp",n("SwipeUp")).directive("mdSwipeDown",n("SwipeDown"))}(window,window.angular); -------------------------------------------------------------------------------- /public/bower_components/jquery/src/css/addGetHookIf.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | function addGetHookIf( conditionFn, hookFn ) { 4 | 5 | // Define the hook, we'll check on the first run if it's really needed. 6 | return { 7 | get: function() { 8 | if ( conditionFn() ) { 9 | 10 | // Hook not needed (or it's not possible to use it due 11 | // to missing dependency), remove it. 12 | delete this.get; 13 | return; 14 | } 15 | 16 | // Hook needed; redefine it so that the support test is not executed again. 17 | return ( this.get = hookFn ).apply( this, arguments ); 18 | } 19 | }; 20 | } 21 | 22 | return addGetHookIf; 23 | 24 | } ); 25 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/card/card-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-card.md-THEME_NAME-theme{background-color:'{{background-color}}';border-radius:2px}md-card.md-THEME_NAME-theme .md-card-image{border-radius:2px 2px 0 0}md-card.md-THEME_NAME-theme md-card-header md-card-avatar md-icon{color:'{{background-color}}';background-color:'{{foreground-3}}'}md-card.md-THEME_NAME-theme md-card-header md-card-header-text .md-subhead,md-card.md-THEME_NAME-theme md-card-title md-card-title-text:not(:only-child) .md-subhead{color:'{{foreground-2}}'} -------------------------------------------------------------------------------- /public/bower_components/jquery/src/manipulation/getAll.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | function getAll( context, tag ) { 6 | 7 | // Support: IE9-11+ 8 | // Use typeof to avoid zero-argument method invocation on host objects (#15151) 9 | var ret = typeof context.getElementsByTagName !== "undefined" ? 10 | context.getElementsByTagName( tag || "*" ) : 11 | typeof context.querySelectorAll !== "undefined" ? 12 | context.querySelectorAll( tag || "*" ) : 13 | []; 14 | 15 | return tag === undefined || tag && jQuery.nodeName( context, tag ) ? 16 | jQuery.merge( [ context ], ret ) : 17 | ret; 18 | } 19 | 20 | return getAll; 21 | } ); 22 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/toast/toast-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-toast.md-THEME_NAME-theme .md-toast-content{background-color:#323232;color:'{{background-50}}'}md-toast.md-THEME_NAME-theme .md-toast-content .md-button{color:'{{background-50}}'}md-toast.md-THEME_NAME-theme .md-toast-content .md-button.md-highlight{color:'{{accent-A200}}'}md-toast.md-THEME_NAME-theme .md-toast-content .md-button.md-highlight.md-primary{color:'{{primary-A200}}'}md-toast.md-THEME_NAME-theme .md-toast-content .md-button.md-highlight.md-warn{color:'{{warn-A200}}'} -------------------------------------------------------------------------------- /server/api/building/building.model.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var sequelize = require('./../../config/config').sequelize; 4 | var Sequelize = require('Sequelize'); 5 | 6 | var Building = sequelize.define('Building', { 7 | idBuilding: { 8 | type: Sequelize.INTEGER, 9 | primaryKey: true, 10 | autoiIncrement: true 11 | }, 12 | name: { 13 | type: Sequelize.STRING 14 | }, 15 | latitude: { 16 | type: Sequelize.STRING 17 | }, 18 | longitude: { 19 | type: Sequelize.INTEGER 20 | } 21 | }, 22 | { 23 | freezeTableName: true, // Model tableName will be the same as the model name 24 | paranoid: true 25 | }); 26 | 27 | module.exports = Building; -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/toast/toast-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-toast.md-THEME_NAME-theme .md-toast-content{background-color:#323232;color:'{{background-50}}'}md-toast.md-THEME_NAME-theme .md-toast-content .md-button{color:'{{background-50}}'}md-toast.md-THEME_NAME-theme .md-toast-content .md-button.md-highlight{color:'{{accent-A200}}'}md-toast.md-THEME_NAME-theme .md-toast-content .md-button.md-highlight.md-primary{color:'{{primary-A200}}'}md-toast.md-THEME_NAME-theme .md-toast-content .md-button.md-highlight.md-warn{color:'{{warn-A200}}'} -------------------------------------------------------------------------------- /public/bower_components/jquery/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery", 3 | "main": "dist/jquery.js", 4 | "license": "MIT", 5 | "ignore": [ 6 | "package.json" 7 | ], 8 | "keywords": [ 9 | "jquery", 10 | "javascript", 11 | "browser", 12 | "library" 13 | ], 14 | "homepage": "https://github.com/jquery/jquery-dist", 15 | "version": "2.2.1", 16 | "_release": "2.2.1", 17 | "_resolution": { 18 | "type": "version", 19 | "tag": "2.2.1", 20 | "commit": "788eaba2f83e7b7445c7a83a50c81c0704423874" 21 | }, 22 | "_source": "git://github.com/jquery/jquery-dist.git", 23 | "_target": "^2.2.1", 24 | "_originalSource": "jquery", 25 | "_direct": true 26 | } -------------------------------------------------------------------------------- /public/bower_components/jquery/src/exports/global.js: -------------------------------------------------------------------------------- 1 | var 2 | 3 | // Map over jQuery in case of overwrite 4 | _jQuery = window.jQuery, 5 | 6 | // Map over the $ in case of overwrite 7 | _$ = window.$; 8 | 9 | jQuery.noConflict = function( deep ) { 10 | if ( window.$ === jQuery ) { 11 | window.$ = _$; 12 | } 13 | 14 | if ( deep && window.jQuery === jQuery ) { 15 | window.jQuery = _jQuery; 16 | } 17 | 18 | return jQuery; 19 | }; 20 | 21 | // Expose jQuery and $ identifiers, even in AMD 22 | // (#7102#comment:10, https://github.com/jquery/jquery/pull/557) 23 | // and CommonJS for browser emulators (#13566) 24 | if ( !noGlobal ) { 25 | window.jQuery = window.$ = jQuery; 26 | } 27 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/icon/demoSvgIconSets/assets/cake.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/icon/demoSvgIconsFromURL/img/icons/cake.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/icon/demoUsingTemplateCache/assets/cake.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/showHide/showHide.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */ 7 | !function(n,i,t){"use strict";function e(n,i){return["$mdUtil",function(t){return{restrict:"A",multiElement:!0,link:function(e,o,r){var c=e.$on("$md-resize-enable",function(){c(),e.$watch(r[n],function(n){!!n===i&&(t.nextTick(function(){e.$broadcast("$md-resize")}),t.dom.animator.waitTransitionEnd(o).then(function(){e.$broadcast("$md-resize")}))})})}}}]}i.module("material.components.showHide",["material.core"]).directive("ngShow",e("ngShow",!0)).directive("ngHide",e("ngHide",!1))}(window,window.angular); -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/icon/demoLoadSvgIconsFromUrl/img/icons/cake.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/bower_components/angular/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.5.0", 4 | "description": "HTML enhanced for web apps", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/angular/angular.js.git" 12 | }, 13 | "keywords": [ 14 | "angular", 15 | "framework", 16 | "browser", 17 | "client-side" 18 | ], 19 | "author": "Angular Core Team ", 20 | "license": "MIT", 21 | "bugs": { 22 | "url": "https://github.com/angular/angular.js/issues" 23 | }, 24 | "homepage": "http://angularjs.org" 25 | } 26 | -------------------------------------------------------------------------------- /server/api/course/course.routes.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var controller = require('./course.controller'); 4 | 5 | var express = require('express') 6 | var router = express.Router(); 7 | 8 | router.post('/course', controller.createCourse); 9 | router.put('/course/:id', controller.updateCourse); 10 | router.get('/course', controller.findAllCourses); 11 | router.get('/course/:id', controller.findCourseById); 12 | router.delete('/course/:id', controller.deleteCourseById); 13 | router.get('/course/:id/students', controller.getAllStudentsByCourse); 14 | router.get('/course/:id/quizz', controller.getAllQuizzByCourse); 15 | router.get('/course/:id/schedule', controller.getAllSchedulesByCourse); 16 | 17 | module.exports = router; -------------------------------------------------------------------------------- /public/bower_components/jquery/src/core/support.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/document", 3 | "../var/support" 4 | ], function( document, support ) { 5 | 6 | // Support: Safari 8+ 7 | // In Safari 8 documents created via document.implementation.createHTMLDocument 8 | // collapse sibling forms: the second one becomes a child of the first one. 9 | // Because of that, this security measure has to be disabled in Safari 8. 10 | // https://bugs.webkit.org/show_bug.cgi?id=137337 11 | support.createHTMLDocument = ( function() { 12 | var body = document.implementation.createHTMLDocument( "" ).body; 13 | body.innerHTML = "
"; 14 | return body.childNodes.length === 2; 15 | } )(); 16 | 17 | return support; 18 | } ); 19 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/deferred/exceptionHook.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | "../deferred" 4 | ], function( jQuery ) { 5 | 6 | // These usually indicate a programmer mistake during development, 7 | // warn about them ASAP rather than swallowing them by default. 8 | var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; 9 | 10 | jQuery.Deferred.exceptionHook = function( error, stack ) { 11 | 12 | // Support: IE9 13 | // Console exists when dev tools are open, which can happen at any time 14 | if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { 15 | window.console.warn( "jQuery.Deferred exception: " + error.message, stack ); 16 | } 17 | }; 18 | 19 | } ); 20 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/icon/demoSvgIconsFromURL/img/icons/android.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/icon/demoUsingTemplateCache/assets/android.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/icon/demoLoadSvgIconsFromUrl/img/icons/android.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /public/bower_components/angular-route/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-route", 3 | "version": "1.5.0", 4 | "description": "AngularJS router module", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/angular/angular.js.git" 12 | }, 13 | "keywords": [ 14 | "angular", 15 | "framework", 16 | "browser", 17 | "router", 18 | "client-side" 19 | ], 20 | "author": "Angular Core Team ", 21 | "license": "MIT", 22 | "bugs": { 23 | "url": "https://github.com/angular/angular.js/issues" 24 | }, 25 | "homepage": "http://angularjs.org" 26 | } 27 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/bottomSheet/demoBasicUsage/img/icons/twitter.svg: -------------------------------------------------------------------------------- 1 | 3 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/queue/delay.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | "../queue", 4 | "../effects" // Delay is optional because of this dependency 5 | ], function( jQuery ) { 6 | 7 | // Based off of the plugin by Clint Helfers, with permission. 8 | // http://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ 9 | jQuery.fn.delay = function( time, type ) { 10 | time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; 11 | type = type || "fx"; 12 | 13 | return this.queue( type, function( next, hooks ) { 14 | var timeout = window.setTimeout( next, time ); 15 | hooks.stop = function() { 16 | window.clearTimeout( timeout ); 17 | }; 18 | } ); 19 | }; 20 | 21 | return jQuery.fn.delay; 22 | } ); 23 | -------------------------------------------------------------------------------- /server/api/quizz/quizz.model.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var sequelize = require('./../../config/config').sequelize; 4 | var Sequelize = require('Sequelize'); 5 | 6 | var Schedule = require('./../schedule/schedule.model'); 7 | 8 | var Quizz = sequelize.define('Quizz', { 9 | idQuizz: { 10 | type: Sequelize.INTEGER, 11 | primaryKey: true, 12 | autoiIncrement: true 13 | }, 14 | name: { 15 | type: Sequelize.STRING 16 | }, 17 | topic: { 18 | type: Sequelize.STRING 19 | } 20 | }, 21 | { 22 | freezeTableName: true, // Model tableName will be the same as the model name 23 | paranoid: true 24 | }); 25 | 26 | Quizz.belongsTo(Schedule, {foreignKey: 'Schedule_idSchedule'}); // Ads Schedule_idSchedule in Quizz 27 | 28 | module.exports = Quizz; -------------------------------------------------------------------------------- /server/api/room/room.model.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var sequelize = require('./../../config/config').sequelize; 4 | var Sequelize = require('Sequelize'); 5 | var Building = require('./../building/building.model'); 6 | 7 | var Room = sequelize.define('Room', { 8 | idRoom: { 9 | type: Sequelize.INTEGER, 10 | primaryKey: true, 11 | autoiIncrement: true 12 | }, 13 | number: { 14 | type: Sequelize.INTEGER 15 | }, 16 | availableSeats: { 17 | type: Sequelize.INTEGER 18 | } 19 | }, 20 | { 21 | freezeTableName: true, // Model tableName will be the same as the model name 22 | paranoid: true 23 | }); 24 | 25 | Room.belongsTo(Building, {foreignKey: 'Building_IdBuilding'}); // Ads Building_IdBuilding in Room 26 | 27 | module.exports = Room; -------------------------------------------------------------------------------- /public/bower_components/angular-animate/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-animate", 3 | "version": "1.5.0", 4 | "description": "AngularJS module for animations", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/angular/angular.js.git" 12 | }, 13 | "keywords": [ 14 | "angular", 15 | "framework", 16 | "browser", 17 | "animation", 18 | "client-side" 19 | ], 20 | "author": "Angular Core Team ", 21 | "license": "MIT", 22 | "bugs": { 23 | "url": "https://github.com/angular/angular.js/issues" 24 | }, 25 | "homepage": "http://angularjs.org" 26 | } 27 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/fabActions/fabActions.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */ 7 | goog.provide("ng.material.components.fabActions"),goog.require("ng.material.core"),function(){"use strict";function a(){return{restrict:"E",require:["^?mdFabSpeedDial","^?mdFabToolbar"],compile:function(a,t){var e=a.children(),n=!1;angular.forEach(["","data-","x-"],function(a){n=n||!!e.attr(a+"ng-repeat")}),n?e.addClass("md-fab-action-item"):e.wrap('
')}}}angular.module("material.components.fabActions",["material.core"]).directive("mdFabActions",a)}(),ng.material.components.fabActions=angular.module("material.components.fabActions"); -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/content/content.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */ 7 | !function(e,t,o){"use strict";function n(e){function t(e,t){this.$scope=e,this.$element=t}return{restrict:"E",controller:["$scope","$element",t],link:function(t,o,n){o[0];e(o),t.$broadcast("$mdContentLoaded",o),i(o[0])}}}function i(e){t.element(e).on("$md.pressdown",function(t){"t"===t.pointer.type&&(t.$materialScrollFixed||(t.$materialScrollFixed=!0,0===e.scrollTop?e.scrollTop=1:e.scrollHeight===e.scrollTop+e.offsetHeight&&(e.scrollTop-=1)))})}t.module("material.components.content",["material.core"]).directive("mdContent",n),n.$inject=["$mdTheming"]}(window,window.angular); -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/divider/divider-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-divider.md-THEME_NAME-theme{border-top-color:'{{foreground-4}}'}.layout-gt-lg-row>md-divider.md-THEME_NAME-theme,.layout-gt-md-row>md-divider.md-THEME_NAME-theme,.layout-gt-sm-row>md-divider.md-THEME_NAME-theme,.layout-gt-xs-row>md-divider.md-THEME_NAME-theme,.layout-lg-row>md-divider.md-THEME_NAME-theme,.layout-md-row>md-divider.md-THEME_NAME-theme,.layout-row>md-divider.md-THEME_NAME-theme,.layout-sm-row>md-divider.md-THEME_NAME-theme,.layout-xl-row>md-divider.md-THEME_NAME-theme,.layout-xs-row>md-divider.md-THEME_NAME-theme{border-right-color:'{{foreground-4}}'} -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/divider/divider-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-divider.md-THEME_NAME-theme{border-top-color:'{{foreground-4}}'}.layout-gt-lg-row>md-divider.md-THEME_NAME-theme,.layout-gt-md-row>md-divider.md-THEME_NAME-theme,.layout-gt-sm-row>md-divider.md-THEME_NAME-theme,.layout-gt-xs-row>md-divider.md-THEME_NAME-theme,.layout-lg-row>md-divider.md-THEME_NAME-theme,.layout-md-row>md-divider.md-THEME_NAME-theme,.layout-row>md-divider.md-THEME_NAME-theme,.layout-sm-row>md-divider.md-THEME_NAME-theme,.layout-xl-row>md-divider.md-THEME_NAME-theme,.layout-xs-row>md-divider.md-THEME_NAME-theme{border-right-color:'{{foreground-4}}'} -------------------------------------------------------------------------------- /server/api/grade/grade.model.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var sequelize = require('./../../config/config').sequelize; 4 | var Sequelize = require('Sequelize'); 5 | var Quizz = require('./../quizz/quizz.model'); 6 | var Student = require('./../student/student.model'); 7 | 8 | var Grade = sequelize.define('Grade', { 9 | idGrade: { 10 | type: Sequelize.INTEGER, 11 | primaryKey: true, 12 | autoiIncrement: true 13 | }, 14 | score: { 15 | type: Sequelize.INTEGER 16 | }, 17 | }, 18 | { 19 | freezeTableName: true, // Model tableName will be the same as the model name 20 | paranoid: true 21 | }); 22 | 23 | Grade.belongsTo(Quizz, {foreignKey: 'Quizz_idQuizz'}); 24 | Grade.belongsTo(Student.Student, {foreignKey: 'Student_idStudent'}); 25 | 26 | module.exports = Grade; -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/chips/chips-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-chips.md-THEME_NAME-theme .md-chips{box-shadow:0 1px '{{background-300}}'}md-chips.md-THEME_NAME-theme .md-chips.md-focused{box-shadow:0 2px '{{primary-color}}'}md-chips.md-THEME_NAME-theme md-chip{background:0 0;color:'{{background-800}}'}md-chips.md-THEME_NAME-theme md-chip.md-focused{background:0 0;color:'{{primary-contrast}}'}md-chips.md-THEME_NAME-theme md-chip.md-focused md-icon{color:'{{primary-contrast}}'}md-chips.md-THEME_NAME-theme md-chip-remove .md-button md-icon path{fill:'{{background-500}}'}.md-contact-suggestion span.md-contact-email{color:'{{background-400}}'} -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/chips/chips-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-chips.md-THEME_NAME-theme .md-chips{box-shadow:0 1px '{{background-300}}'}md-chips.md-THEME_NAME-theme .md-chips.md-focused{box-shadow:0 2px '{{primary-color}}'}md-chips.md-THEME_NAME-theme md-chip{background:0 0;color:'{{background-800}}'}md-chips.md-THEME_NAME-theme md-chip.md-focused{background:0 0;color:'{{primary-contrast}}'}md-chips.md-THEME_NAME-theme md-chip.md-focused md-icon{color:'{{primary-contrast}}'}md-chips.md-THEME_NAME-theme md-chip-remove .md-button md-icon path{fill:'{{background-500}}'}.md-contact-suggestion span.md-contact-email{color:'{{background-400}}'} -------------------------------------------------------------------------------- /public/bower_components/angular-aria/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-aria", 3 | "version": "1.5.0", 4 | "description": "AngularJS module for making accessibility easy", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/angular/angular.js.git" 12 | }, 13 | "keywords": [ 14 | "angular", 15 | "framework", 16 | "browser", 17 | "accessibility", 18 | "a11y", 19 | "client-side" 20 | ], 21 | "author": "Angular Core Team ", 22 | "license": "MIT", 23 | "bugs": { 24 | "url": "https://github.com/angular/angular.js/issues" 25 | }, 26 | "homepage": "http://angularjs.org" 27 | } 28 | -------------------------------------------------------------------------------- /public/bower_components/angular-messages/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-messages", 3 | "version": "1.5.0", 4 | "description": "AngularJS module that provides enhanced support for displaying messages within templates", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/angular/angular.js.git" 12 | }, 13 | "keywords": [ 14 | "angular", 15 | "framework", 16 | "browser", 17 | "client-side" 18 | ], 19 | "author": "Angular Core Team ", 20 | "license": "MIT", 21 | "bugs": { 22 | "url": "https://github.com/angular/angular.js/issues" 23 | }, 24 | "homepage": "http://angularjs.org" 25 | } 26 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/whiteframe/whiteframe.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */ 7 | function MdWhiteframeDirective(e){function a(a,m,n){var o=parseInt(n.mdWhiteframe,10)||i;(o>t||r>o)&&(e.warn("md-whiteframe attribute value is invalid. It should be a number between "+r+" and "+t,m[0]),o=i),m.addClass("md-whiteframe-"+o+"dp")}var r=1,t=24,i=4;return{restrict:"A",link:a}}goog.provide("ng.material.components.whiteframe"),goog.require("ng.material.core"),angular.module("material.components.whiteframe",["material.core"]).directive("mdWhiteframe",MdWhiteframeDirective),MdWhiteframeDirective.$inject=["$log"],ng.material.components.whiteframe=angular.module("material.components.whiteframe"); -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/toast/toast-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-toast.md-THEME_NAME-theme .md-toast-content { 8 | background-color: #323232; 9 | color: '{{background-50}}'; } 10 | md-toast.md-THEME_NAME-theme .md-toast-content .md-button { 11 | color: '{{background-50}}'; } 12 | md-toast.md-THEME_NAME-theme .md-toast-content .md-button.md-highlight { 13 | color: '{{primary-A200}}'; } 14 | md-toast.md-THEME_NAME-theme .md-toast-content .md-button.md-highlight.md-accent { 15 | color: '{{accent-A200}}'; } 16 | md-toast.md-THEME_NAME-theme .md-toast-content .md-button.md-highlight.md-warn { 17 | color: '{{warn-A200}}'; } 18 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/toast/toast-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-toast.md-THEME_NAME-theme .md-toast-content { 8 | background-color: #323232; 9 | color: '{{background-50}}'; } 10 | md-toast.md-THEME_NAME-theme .md-toast-content .md-button { 11 | color: '{{background-50}}'; } 12 | md-toast.md-THEME_NAME-theme .md-toast-content .md-button.md-highlight { 13 | color: '{{primary-A200}}'; } 14 | md-toast.md-THEME_NAME-theme .md-toast-content .md-button.md-highlight.md-accent { 15 | color: '{{accent-A200}}'; } 16 | md-toast.md-THEME_NAME-theme .md-toast-content .md-button.md-highlight.md-warn { 17 | color: '{{warn-A200}}'; } 18 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/card/card-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-card.md-THEME_NAME-theme { 8 | background-color: '{{background-color}}'; 9 | border-radius: 2px; } 10 | md-card.md-THEME_NAME-theme .md-card-image { 11 | border-radius: 2px 2px 0 0; } 12 | md-card.md-THEME_NAME-theme md-card-header md-card-avatar md-icon { 13 | color: '{{background-color}}'; 14 | background-color: '{{foreground-3}}'; } 15 | md-card.md-THEME_NAME-theme md-card-header md-card-header-text .md-subhead { 16 | color: '{{foreground-2}}'; } 17 | md-card.md-THEME_NAME-theme md-card-title md-card-title-text:not(:only-child) .md-subhead { 18 | color: '{{foreground-2}}'; } 19 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/event/alias.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core", 3 | 4 | "../event", 5 | "./trigger" 6 | ], function( jQuery ) { 7 | 8 | jQuery.each( ( "blur focus focusin focusout load resize scroll unload click dblclick " + 9 | "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + 10 | "change select submit keydown keypress keyup error contextmenu" ).split( " " ), 11 | function( i, name ) { 12 | 13 | // Handle event binding 14 | jQuery.fn[ name ] = function( data, fn ) { 15 | return arguments.length > 0 ? 16 | this.on( name, null, data, fn ) : 17 | this.trigger( name ); 18 | }; 19 | } ); 20 | 21 | jQuery.fn.extend( { 22 | hover: function( fnOver, fnOut ) { 23 | return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); 24 | } 25 | } ); 26 | 27 | } ); 28 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/jquery.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./core", 3 | "./selector", 4 | "./traversing", 5 | "./callbacks", 6 | "./deferred", 7 | "./core/ready", 8 | "./data", 9 | "./queue", 10 | "./queue/delay", 11 | "./attributes", 12 | "./event", 13 | "./event/alias", 14 | "./event/focusin", 15 | "./manipulation", 16 | "./manipulation/_evalUrl", 17 | "./wrap", 18 | "./css", 19 | "./css/hiddenVisibleSelectors", 20 | "./serialize", 21 | "./ajax", 22 | "./ajax/xhr", 23 | "./ajax/script", 24 | "./ajax/jsonp", 25 | "./ajax/load", 26 | "./event/ajax", 27 | "./effects", 28 | "./effects/animatedSelector", 29 | "./offset", 30 | "./dimensions", 31 | "./deprecated", 32 | "./exports/amd" 33 | ], function( jQuery ) { 34 | 35 | return ( window.jQuery = window.$ = jQuery ); 36 | 37 | } ); 38 | -------------------------------------------------------------------------------- /server/api/absence/absence.model.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var sequelize = require('./../../config/config').sequelize; 4 | var Sequelize = require('Sequelize'); 5 | var Professor = require('./../professor/professor.model'); 6 | var Student = require('./../student/student.model'); 7 | 8 | var Absence = sequelize.define('Absence', { 9 | idAbsence: { 10 | type: Sequelize.INTEGER, 11 | primaryKey: true, 12 | autoiIncrement: true 13 | }, 14 | absDate: { 15 | type: Sequelize.DATE 16 | }, 17 | }, 18 | { 19 | freezeTableName: true, // Model tableName will be the same as the model name 20 | paranoid: true 21 | }); 22 | 23 | Absence.belongsTo(Professor, {foreignKey: 'Professor_professorId'}); 24 | Absence.belongsTo(Student.Student, {foreignKey: 'Student_idStudent'}); 25 | 26 | module.exports = Absence; -------------------------------------------------------------------------------- /public/bower_components/angular-material/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material", 3 | "version": "1.0.6", 4 | "license": "MIT", 5 | "ignore": [], 6 | "dependencies": { 7 | "angular": "^1.4.8", 8 | "angular-animate": "^1.4.8", 9 | "angular-aria": "^1.4.8", 10 | "angular-messages": "^1.4.8" 11 | }, 12 | "main": [ 13 | "angular-material.js", 14 | "angular-material.css" 15 | ], 16 | "homepage": "https://github.com/angular/bower-material", 17 | "_release": "1.0.6", 18 | "_resolution": { 19 | "type": "version", 20 | "tag": "v1.0.6", 21 | "commit": "255db6741e91c0a24e8481c6739cce8778c1b365" 22 | }, 23 | "_source": "git://github.com/angular/bower-material.git", 24 | "_target": "^1.0.6", 25 | "_originalSource": "angular-material", 26 | "_direct": true 27 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/card/card-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-card.md-THEME_NAME-theme { 8 | background-color: '{{background-color}}'; 9 | border-radius: 2px; } 10 | md-card.md-THEME_NAME-theme .md-card-image { 11 | border-radius: 2px 2px 0 0; } 12 | md-card.md-THEME_NAME-theme md-card-header md-card-avatar md-icon { 13 | color: '{{background-color}}'; 14 | background-color: '{{foreground-3}}'; } 15 | md-card.md-THEME_NAME-theme md-card-header md-card-header-text .md-subhead { 16 | color: '{{foreground-2}}'; } 17 | md-card.md-THEME_NAME-theme md-card-title md-card-title-text:not(:only-child) .md-subhead { 18 | color: '{{foreground-2}}'; } 19 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/sticky/sticky.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | .md-sticky-clone { 8 | z-index: 2; 9 | top: 0; 10 | left: 0; 11 | right: 0; 12 | position: absolute !important; 13 | -webkit-transform: translate3d(-9999px, -9999px, 0); 14 | transform: translate3d(-9999px, -9999px, 0); } 15 | .md-sticky-clone[sticky-state="active"] { 16 | -webkit-transform: translate3d(0, 0, 0); 17 | transform: translate3d(0, 0, 0); } 18 | .md-sticky-clone[sticky-state="active"]:not(.md-sticky-no-effect) .md-subheader-inner { 19 | -webkit-animation: subheaderStickyHoverIn 0.3s ease-out both; 20 | animation: subheaderStickyHoverIn 0.3s ease-out both; } 21 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/deprecated.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "./core" 3 | ], function( jQuery ) { 4 | 5 | jQuery.fn.extend( { 6 | 7 | bind: function( types, data, fn ) { 8 | return this.on( types, null, data, fn ); 9 | }, 10 | unbind: function( types, fn ) { 11 | return this.off( types, null, fn ); 12 | }, 13 | 14 | delegate: function( selector, types, data, fn ) { 15 | return this.on( types, selector, data, fn ); 16 | }, 17 | undelegate: function( selector, types, fn ) { 18 | 19 | // ( namespace ) or ( selector, types [, fn] ) 20 | return arguments.length === 1 ? 21 | this.off( selector, "**" ) : 22 | this.off( types, selector || "**", fn ); 23 | }, 24 | size: function() { 25 | return this.length; 26 | } 27 | } ); 28 | 29 | jQuery.fn.andSelf = jQuery.fn.addBack; 30 | 31 | } ); 32 | 33 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/sticky/sticky.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | .md-sticky-clone { 8 | z-index: 2; 9 | top: 0; 10 | left: 0; 11 | right: 0; 12 | position: absolute !important; 13 | -webkit-transform: translate3d(-9999px, -9999px, 0); 14 | transform: translate3d(-9999px, -9999px, 0); } 15 | .md-sticky-clone[sticky-state="active"] { 16 | -webkit-transform: translate3d(0, 0, 0); 17 | transform: translate3d(0, 0, 0); } 18 | .md-sticky-clone[sticky-state="active"]:not(.md-sticky-no-effect) .md-subheader-inner { 19 | -webkit-animation: subheaderStickyHoverIn 0.3s ease-out both; 20 | animation: subheaderStickyHoverIn 0.3s ease-out both; } 21 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/swipe/swipe.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */ 7 | function getDirective(e){function i(e){function i(i,n,o){var c=e(o[t]);n.on(r,function(e){i.$apply(function(){c(i,{$event:e})})})}return{restrict:"A",link:i}}var t="md"+e,r="$md."+e.toLowerCase();return i.$inject=["$parse"],i}goog.provide("ng.material.components.swipe"),goog.require("ng.material.core"),angular.module("material.components.swipe",["material.core"]).directive("mdSwipeLeft",getDirective("SwipeLeft")).directive("mdSwipeRight",getDirective("SwipeRight")).directive("mdSwipeUp",getDirective("SwipeUp")).directive("mdSwipeDown",getDirective("SwipeDown")),ng.material.components.swipe=angular.module("material.components.swipe"); -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/autocomplete/autocomplete-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-autocomplete.md-THEME_NAME-theme,md-autocomplete.md-THEME_NAME-theme[disabled]{background:0 0}md-autocomplete.md-THEME_NAME-theme button md-icon path{fill:'{{background-600}}'}.md-autocomplete-suggestions-container.md-THEME_NAME-theme,md-autocomplete.md-THEME_NAME-theme button:after{background:0 0}.md-autocomplete-suggestions-container.md-THEME_NAME-theme li{color:'{{background-900}}'}.md-autocomplete-suggestions-container.md-THEME_NAME-theme li .highlight{color:'{{background-600}}'}.md-autocomplete-suggestions-container.md-THEME_NAME-theme li.selected,.md-autocomplete-suggestions-container.md-THEME_NAME-theme li:hover{background:0 0} -------------------------------------------------------------------------------- /server/api/assignement/assignement.model.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var sequelize = require('./../../config/config').sequelize; 4 | var Sequelize = require('Sequelize'); 5 | var Schedule = require('./../schedule/schedule.model'); 6 | 7 | var Assignement = sequelize.define('Assignement', { 8 | idAssignement: { 9 | type: Sequelize.INTEGER, 10 | primaryKey: true, 11 | autoiIncrement: true 12 | }, 13 | dueTo: { 14 | type: Sequelize.DATE 15 | }, 16 | topic: { 17 | type: Sequelize.STRING 18 | }, 19 | name: { 20 | type: Sequelize.STRING 21 | } 22 | }, 23 | { 24 | freezeTableName: true, // Model tableName will be the same as the model name 25 | paranoid: true 26 | }); 27 | 28 | Assignement.belongsTo(Schedule, {foreignKey: 'Schedule_idSchedule'}); 29 | 30 | module.exports = Assignement; -------------------------------------------------------------------------------- /server/routes.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var express = require('express'); 4 | var router = express.Router(); 5 | 6 | module.exports = function(app) { 7 | app.use('/api', require('./api/student/student.routes')); 8 | app.use('/api', require('./api/professor/professor.routes')); 9 | app.use('/api', require('./api/course/course.routes')); 10 | app.use('/api', require('./api/building/building.routes')); 11 | app.use('/api', require('./api/room/room.routes')); 12 | app.use('/api', require('./api/schedule/schedule.routes')); 13 | app.use('/api', require('./api/quizz/quizz.routes')); 14 | app.use('/api', require('./api/absence/absence.routes')); 15 | app.use('/api', require('./api/grade/grade.routes')); 16 | app.use('/api', require('./api/assignement/assignement.routes')); 17 | app.use('/api', require('./api/video/video.routes')); 18 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/autocomplete/autocomplete-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-autocomplete.md-THEME_NAME-theme,md-autocomplete.md-THEME_NAME-theme[disabled]{background:0 0}md-autocomplete.md-THEME_NAME-theme button md-icon path{fill:'{{background-600}}'}.md-autocomplete-suggestions-container.md-THEME_NAME-theme,md-autocomplete.md-THEME_NAME-theme button:after{background:0 0}.md-autocomplete-suggestions-container.md-THEME_NAME-theme li{color:'{{background-900}}'}.md-autocomplete-suggestions-container.md-THEME_NAME-theme li .highlight{color:'{{background-600}}'}.md-autocomplete-suggestions-container.md-THEME_NAME-theme li.selected,.md-autocomplete-suggestions-container.md-THEME_NAME-theme li:hover{background:0 0} -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/showHide/showHide.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */ 7 | function createDirective(e,i){return["$mdUtil",function(n){return{restrict:"A",multiElement:!0,link:function(t,o,r){var a=t.$on("$md-resize-enable",function(){a(),t.$watch(r[e],function(e){!!e===i&&(n.nextTick(function(){t.$broadcast("$md-resize")}),n.dom.animator.waitTransitionEnd(o).then(function(){t.$broadcast("$md-resize")}))})})}}}]}goog.provide("ng.material.components.showHide"),goog.require("ng.material.core"),angular.module("material.components.showHide",["material.core"]).directive("ngShow",createDirective("ngShow",!0)).directive("ngHide",createDirective("ngHide",!1)),ng.material.components.showHide=angular.module("material.components.showHide"); -------------------------------------------------------------------------------- /public/bower_components/angular-youtube-embed/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-youtube-embed", 3 | "description": "Lazy load embedded youtube videos", 4 | "keywords": [ 5 | "angular", 6 | "youtube" 7 | ], 8 | "authors": ["Nelson Pecora "], 9 | "license": "MIT", 10 | "homepage": "https://github.com/yoshokatana/angular-youtube-embed", 11 | "main": "./dist/angular-youtube-embed.min.js", 12 | "repository": { 13 | "type": "git", 14 | "url": "https://github.com/yoshokatana/angular-youtube-embed.git" 15 | }, 16 | "ignore": [ 17 | "node_modules", 18 | "bower_components", 19 | "test*", 20 | "gulpfile.js", 21 | "gulpfile.coffee", 22 | "package.json" 23 | ], 24 | "dependencies": { 25 | "angular": "~1.2.15" 26 | }, 27 | "devDependencies": { 28 | "angular-mocks": "~1.2.15" 29 | } 30 | } -------------------------------------------------------------------------------- /server/api/student/student.routes.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var controller = require('./student.controller'); 4 | 5 | var express = require('express') 6 | var router = express.Router(); 7 | 8 | router.post('/student', controller.createStudent); 9 | router.put('/student/:id', controller.updateStudent); 10 | router.get('/student', controller.findAllStudents); 11 | router.get('/student/:id', controller.findStudentById); 12 | router.delete('/student/:id', controller.deleteStudentById); 13 | router.post('/student/:id/course', controller.subscribeToCourse); 14 | router.get('/student/:id/course', controller.getAllCourses); 15 | router.delete('/student/:id/course', controller.deleteStudentToCourse); 16 | router.get('/student/:id/grades', controller.getAllGradesByStudent); 17 | router.get('/student/:id/schedule', controller.getStudentSchedule); 18 | 19 | module.exports = router; -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Windows image file caches 2 | Thumbs.db 3 | ehthumbs.db 4 | 5 | # Folder config file 6 | Desktop.ini 7 | 8 | # Recycle Bin used on file shares 9 | $RECYCLE.BIN/ 10 | 11 | # Windows Installer files 12 | *.cab 13 | *.msi 14 | *.msm 15 | *.msp 16 | 17 | # Windows shortcuts 18 | *.lnk 19 | 20 | # ========================= 21 | # Operating System Files 22 | # ========================= 23 | 24 | # OSX 25 | # ========================= 26 | 27 | .DS_Store 28 | .AppleDouble 29 | .LSOverride 30 | 31 | # Thumbnails 32 | ._* 33 | 34 | # Files that might appear in the root of a volume 35 | .DocumentRevisions-V100 36 | .fseventsd 37 | .Spotlight-V100 38 | .TemporaryItems 39 | .Trashes 40 | .VolumeIcon.icns 41 | 42 | # Directories potentially created on remote AFP share 43 | .AppleDB 44 | .AppleDesktop 45 | Network Trash Folder 46 | Temporary Items 47 | .apdisk 48 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/backdrop/backdrop.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-backdrop{transition:opacity 450ms;position:absolute;top:0;bottom:0;left:0;right:0;z-index:50}md-backdrop._md-menu-backdrop{position:fixed!important;z-index:99}md-backdrop._md-select-backdrop{z-index:81;transition-duration:0}md-backdrop._md-dialog-backdrop{z-index:79}md-backdrop._md-bottom-sheet-backdrop{z-index:69}md-backdrop._md-sidenav-backdrop{z-index:59}md-backdrop._md-click-catcher{position:absolute}md-backdrop.md-opaque{opacity:.48}md-backdrop.md-opaque.ng-enter{opacity:0}md-backdrop.md-opaque.ng-enter.md-opaque.ng-enter-active{opacity:.48}md-backdrop.md-opaque.ng-leave{opacity:.48;transition:opacity 400ms}md-backdrop.md-opaque.ng-leave.md-opaque.ng-leave-active{opacity:0} -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/backdrop/backdrop.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-backdrop{transition:opacity 450ms;position:absolute;top:0;bottom:0;left:0;right:0;z-index:50}md-backdrop._md-menu-backdrop{position:fixed!important;z-index:99}md-backdrop._md-select-backdrop{z-index:81;transition-duration:0}md-backdrop._md-dialog-backdrop{z-index:79}md-backdrop._md-bottom-sheet-backdrop{z-index:69}md-backdrop._md-sidenav-backdrop{z-index:59}md-backdrop._md-click-catcher{position:absolute}md-backdrop.md-opaque{opacity:.48}md-backdrop.md-opaque.ng-enter{opacity:0}md-backdrop.md-opaque.ng-enter.md-opaque.ng-enter-active{opacity:.48}md-backdrop.md-opaque.ng-leave{opacity:.48;transition:opacity 400ms}md-backdrop.md-opaque.ng-leave.md-opaque.ng-leave-active{opacity:0} -------------------------------------------------------------------------------- /public/bower_components/angular-material-data-table/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-data-table", 3 | "version": "0.9.12", 4 | "description": "Material Design data table.", 5 | "main": [ 6 | "dist/md-data-table.js", 7 | "dist/md-data-table.css" 8 | ], 9 | "repository": { 10 | "type": "git", 11 | "url": "git://github.com/daniel-nagy/md-data-table.git" 12 | }, 13 | "authors": [ 14 | "Daniel Nagy" 15 | ], 16 | "homepage": "http://danielnagy.me/md-data-table", 17 | "license": "MIT", 18 | "keywords": [ 19 | "material", 20 | "table", 21 | "md-data-table" 22 | ], 23 | "ignore": [ 24 | "**/.*", 25 | "app", 26 | "bower_components", 27 | "node_modules", 28 | "src", 29 | "Gruntfile.js" 30 | ], 31 | "dependencies": { 32 | "angular": "^1.4.0", 33 | "angular-material": "^1.0.0" 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /server/api/course/course.model.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var sequelize = require('./../../config/config').sequelize; 4 | var Sequelize = require('Sequelize'); 5 | var Professor = require('./../professor/professor.model'); 6 | 7 | var Course = sequelize.define('Course', { 8 | idCourse: { 9 | type: Sequelize.INTEGER, 10 | primaryKey: true, 11 | autoiIncrement: true 12 | }, 13 | name: { 14 | type: Sequelize.STRING 15 | }, 16 | maxSeats: { 17 | type: Sequelize.INTEGER 18 | }, 19 | type: { 20 | type: Sequelize.STRING 21 | }, 22 | level: { 23 | type: Sequelize.INTEGER 24 | } 25 | }, 26 | { 27 | freezeTableName: true, // Model tableName will be the same as the model name 28 | paranoid: true 29 | }); 30 | 31 | Course.belongsTo(Professor, {foreignKey: 'Professor_professorId'}); // Ads Professor_professorId in Course 32 | 33 | 34 | module.exports = Course; -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/toolbar/toolbar-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar) { 8 | background-color: '{{primary-color}}'; 9 | color: '{{primary-contrast}}'; } 10 | md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar) md-icon { 11 | color: '{{primary-contrast}}'; } 12 | md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar) .md-button:not(.md-raised) { 13 | color: '{{primary-contrast}}'; } 14 | md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-accent { 15 | background-color: '{{accent-color}}'; 16 | color: '{{accent-contrast}}'; } 17 | md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-warn { 18 | background-color: '{{warn-color}}'; 19 | color: '{{warn-contrast}}'; } 20 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/toolbar/toolbar-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar) { 8 | background-color: '{{primary-color}}'; 9 | color: '{{primary-contrast}}'; } 10 | md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar) md-icon { 11 | color: '{{primary-contrast}}'; } 12 | md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar) .md-button:not(.md-raised) { 13 | color: '{{primary-contrast}}'; } 14 | md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-accent { 15 | background-color: '{{accent-color}}'; 16 | color: '{{accent-contrast}}'; } 17 | md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-warn { 18 | background-color: '{{warn-color}}'; 19 | color: '{{warn-contrast}}'; } 20 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/backdrop/backdrop.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */ 7 | !function(t,i,n){"use strict";i.module("material.components.backdrop",["material.core"]).directive("mdBackdrop",["$mdTheming","$animate","$rootElement","$window","$log","$$rAF","$document",function(t,i,n,e,o,r,a){function p(p,c,s){var m=e.getComputedStyle(a[0].body);if("fixed"==m.position){var l=parseInt(m.height,10)+Math.abs(parseInt(m.top,10));c.css({height:l+"px"})}i.pin&&i.pin(c,n),r(function(){var i=c.parent()[0];if(i){"BODY"==i.nodeName&&c.css({position:"fixed"});var n=e.getComputedStyle(i);"static"==n.position&&o.warn(d)}t.inherit(c,c.parent())})}var d=" may not work properly in a scrolled, static-positioned parent container.";return{restrict:"E",link:p}}])}(window,window.angular); -------------------------------------------------------------------------------- /server/api/schedule/schedule.model.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var sequelize = require('./../../config/config').sequelize; 4 | var Sequelize = require('Sequelize'); 5 | var Course = require('./../course/course.model'); 6 | var Room = require('./../room/room.model'); 7 | 8 | var Schedule = sequelize.define('Schedule', { 9 | idSchedule: { 10 | type: Sequelize.INTEGER, 11 | primaryKey: true, 12 | autoiIncrement: true 13 | }, 14 | startDate: { 15 | type: Sequelize.DATE 16 | }, 17 | endDate: { 18 | type: Sequelize.DATE 19 | } 20 | }, 21 | { 22 | freezeTableName: true, // Model tableName will be the same as the model name 23 | paranoid: true 24 | }); 25 | 26 | Schedule.belongsTo(Course, {foreignKey: 'Course_idCourse'}); // Ads Course_idCourse in Schedule 27 | Schedule.belongsTo(Room, {foreignKey: 'Room_idRoom'}); // Ads Room_idRoom in Schedule 28 | 29 | module.exports = Schedule; -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/toolbar/toolbar-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar){background-color:'{{primary-color}}';color:'{{primary-contrast}}'}md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar) md-icon{color:'{{primary-contrast}}';fill:'{{primary-contrast}}'}md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-accent{background-color:'{{accent-color}}';color:'{{accent-contrast}}'}md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-accent .md-ink-ripple{color:'{{accent-contrast}}'}md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-accent md-icon{color:'{{accent-contrast}}';fill:'{{accent-contrast}}'}md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-warn{background-color:'{{warn-color}}';color:'{{warn-contrast}}'} -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/toolbar/toolbar-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar){background-color:'{{primary-color}}';color:'{{primary-contrast}}'}md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar) md-icon{color:'{{primary-contrast}}';fill:'{{primary-contrast}}'}md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-accent{background-color:'{{accent-color}}';color:'{{accent-contrast}}'}md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-accent .md-ink-ripple{color:'{{accent-contrast}}'}md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-accent md-icon{color:'{{accent-contrast}}';fill:'{{accent-contrast}}'}md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-warn{background-color:'{{warn-color}}';color:'{{warn-contrast}}'} -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/tabs/demoDynamicTabs/style.scss: -------------------------------------------------------------------------------- 1 | md-content { 2 | background-color: transparent !important; 3 | md-tabs { 4 | border: 1px solid #e1e1e1; 5 | md-tab-content { 6 | background: #f6f6f6; 7 | } 8 | md-tabs-canvas { 9 | background: white; 10 | } 11 | } 12 | h1:first-child { 13 | margin-top: 0; 14 | } 15 | } 16 | md-input-container { 17 | padding-bottom: 0; 18 | } 19 | .remove-tab { 20 | margin-bottom: 40px; 21 | } 22 | .demo-tab > div > div { 23 | padding: 25px; 24 | box-sizing: border-box; 25 | } 26 | .edit-form input { 27 | width: 100%; 28 | } 29 | md-tabs { 30 | border-bottom: 1px solid rgba(0,0,0,0.12); 31 | } 32 | md-tab[disabled] { 33 | opacity: 0.5; 34 | } 35 | label { 36 | text-align: left; 37 | } 38 | 39 | .long > input { 40 | width: 264px; 41 | } 42 | .md-button.add-tab { 43 | transform: translateY(5px); 44 | } 45 | -------------------------------------------------------------------------------- /public/bower_components/angular-youtube-mb/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-youtube-mb", 3 | "version": "1.1.1", 4 | "description": "Embed a YouTube player with a simple directive", 5 | "keywords": [ 6 | "angular", 7 | "youtube", 8 | "embed", 9 | "player", 10 | "directive" 11 | ], 12 | "license": "MIT", 13 | "homepage": "https://github.com/brandly/angular-youtube-embed", 14 | "main": "src/angular-youtube-embed.js", 15 | "devDependencies": { 16 | "angular": "~1.2.22", 17 | "lodash": "~2.4.1", 18 | "angular-mocks": "~1.2.22" 19 | }, 20 | "_release": "1.1.1", 21 | "_resolution": { 22 | "type": "version", 23 | "tag": "v1.1.1", 24 | "commit": "a5ecdd30986d6319343991dc408f9bdfaac69762" 25 | }, 26 | "_source": "git://github.com/brandly/angular-youtube-embed.git", 27 | "_target": "^1.1.1", 28 | "_originalSource": "angular-youtube-mb", 29 | "_direct": true 30 | } -------------------------------------------------------------------------------- /public/bower_components/jquery/src/manipulation/wrapMap.js: -------------------------------------------------------------------------------- 1 | define( function() { 2 | 3 | // We have to close these tags to support XHTML (#13200) 4 | var wrapMap = { 5 | 6 | // Support: IE9 7 | option: [ 1, "" ], 8 | 9 | // XHTML parsers do not magically insert elements in the 10 | // same way that tag soup parsers do. So we cannot shorten 11 | // this by omitting or other required elements. 12 | thead: [ 1, "", "
" ], 13 | col: [ 2, "", "
" ], 14 | tr: [ 2, "", "
" ], 15 | td: [ 3, "", "
" ], 16 | 17 | _default: [ 0, "", "" ] 18 | }; 19 | 20 | // Support: IE9 21 | wrapMap.optgroup = wrapMap.option; 22 | 23 | wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; 24 | wrapMap.th = wrapMap.td; 25 | 26 | return wrapMap; 27 | } ); 28 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/subheader/subheader.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */ 7 | !function(e,n,t){"use strict";function i(e,t,i,a){return{restrict:"E",replace:!0,transclude:!0,template:'
',link:function(d,r,c,s,u){function o(e){return n.element(e[0].querySelector("._md-subheader-content"))}i(r);var m=r[0].outerHTML;u(d,function(e){o(r).append(e)}),r.hasClass("md-no-sticky")||u(d,function(n){var i='
'+m+"
",c=t(i)(d);e(d,r,c),a.nextTick(function(){o(c).append(n)})})}}}n.module("material.components.subheader",["material.core","material.components.sticky"]).directive("mdSubheader",i),i.$inject=["$mdSticky","$compile","$mdTheming","$mdUtil"]}(window,window.angular); -------------------------------------------------------------------------------- /public/bower_components/angular-ui-router/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-ui-router", 3 | "version": "0.2.18", 4 | "license": "MIT", 5 | "main": "./release/angular-ui-router.js", 6 | "dependencies": { 7 | "angular": "^1.0.8" 8 | }, 9 | "ignore": [ 10 | "**/.*", 11 | "node_modules", 12 | "bower_components", 13 | "component.json", 14 | "package.json", 15 | "lib", 16 | "config", 17 | "sample", 18 | "test", 19 | "tests", 20 | "ngdoc_assets", 21 | "Gruntfile.js", 22 | "files.js" 23 | ], 24 | "homepage": "https://github.com/angular-ui/ui-router", 25 | "_release": "0.2.18", 26 | "_resolution": { 27 | "type": "version", 28 | "tag": "0.2.18", 29 | "commit": "ec6ca36b625e578e59e631b3c9e786a6ac70678c" 30 | }, 31 | "_source": "git://github.com/angular-ui/ui-router.git", 32 | "_target": "~0.2.18", 33 | "_originalSource": "angular-ui-router", 34 | "_direct": true 35 | } -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/content/content.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */ 7 | function mdContentDirective(e){function o(e,o){this.$scope=e,this.$element=o}return{restrict:"E",controller:["$scope","$element",o],link:function(o,t,n){t[0];e(t),o.$broadcast("$mdContentLoaded",t),iosScrollFix(t[0])}}}function iosScrollFix(e){angular.element(e).on("$md.pressdown",function(o){"t"===o.pointer.type&&(o.$materialScrollFixed||(o.$materialScrollFixed=!0,0===e.scrollTop?e.scrollTop=1:e.scrollHeight===e.scrollTop+e.offsetHeight&&(e.scrollTop-=1)))})}goog.provide("ng.material.components.content"),goog.require("ng.material.core"),angular.module("material.components.content",["material.core"]).directive("mdContent",mdContentDirective),mdContentDirective.$inject=["$mdTheming"],ng.material.components.content=angular.module("material.components.content"); -------------------------------------------------------------------------------- /public/config.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // Init the application configuration module for AngularJS application 4 | var ApplicationConfiguration = (function() { 5 | // Init module configuration options 6 | var applicationModuleName = 'database'; 7 | var applicationModuleDependencies = ['youtube-embed', 'ngRoute', 'ui.router', 'ngMaterial', 'ngMessages', 'md.data.table']; 8 | 9 | // Add a new vertical module 10 | var registerModule = function(moduleName, dependencies) { 11 | // Create angular module 12 | angular.module(moduleName, dependencies || []); 13 | 14 | // Add the module to the AngularJS configuration file 15 | angular.module(applicationModuleName).requires.push(moduleName); 16 | }; 17 | 18 | return { 19 | applicationModuleName: applicationModuleName, 20 | applicationModuleDependencies: applicationModuleDependencies, 21 | registerModule: registerModule 22 | }; 23 | })(); -------------------------------------------------------------------------------- /server/api/professor/professor.model.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var sequelize = require('./../../config/config').sequelize; 4 | var Sequelize = require('Sequelize'); 5 | 6 | var Professor = sequelize.define('Professor', { 7 | professorId: { 8 | type: Sequelize.INTEGER, 9 | primaryKey: true, 10 | autoiIncrement: true 11 | }, 12 | firstName: { 13 | type: Sequelize.STRING 14 | }, 15 | lastName: { 16 | type: Sequelize.STRING 17 | }, 18 | zipCode: { 19 | type: Sequelize.INTEGER 20 | }, 21 | streetAddress: { 22 | type: Sequelize.STRING 23 | }, 24 | phoneNumber: { 25 | type: Sequelize.STRING 26 | }, 27 | email: { 28 | type: Sequelize.STRING 29 | }, 30 | city: { 31 | type: Sequelize.STRING 32 | }, 33 | degree: { 34 | type: Sequelize.STRING 35 | } 36 | }, 37 | { 38 | freezeTableName: true, // Model tableName will be the same as the model name 39 | paranoid: true 40 | }); 41 | 42 | module.exports = Professor; -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/chips/demoContactChips/style.scss: -------------------------------------------------------------------------------- 1 | md-content.autocomplete { 2 | min-height: 250px; 3 | } 4 | .md-item-text.compact { 5 | padding-top: 8px; 6 | padding-bottom: 8px; 7 | } 8 | .contact-item { 9 | box-sizing: border-box; 10 | &.selected { 11 | opacity: 0.5; 12 | h3 { 13 | opacity: 0.5; 14 | } 15 | } 16 | .md-list-item-text { 17 | padding: 14px 0; 18 | h3 { 19 | margin: 0 !important; 20 | padding: 0; 21 | line-height: 1.2em !important; 22 | } 23 | h3, p { 24 | text-overflow: ellipsis; 25 | white-space: nowrap; 26 | overflow: hidden; 27 | } 28 | } 29 | @media (min-width: 900px) { 30 | float: left; 31 | width: 33%; 32 | } 33 | } 34 | 35 | md-contact-chips { 36 | margin-bottom : 10px; 37 | } 38 | 39 | .md-chips { 40 | padding: 5px 0 8px; 41 | } 42 | 43 | 44 | .fixedRows { 45 | height: 250px; 46 | overflow:hidden; 47 | } 48 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/tabs/tabs-arrow.svg: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v0.7.1-master-b48be15 6 | */ 7 | 8 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/chips/chips-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-chips.md-THEME_NAME-theme .md-chips { 8 | box-shadow: 0 1px '{{background-300}}'; } 9 | md-chips.md-THEME_NAME-theme .md-chips.md-focused { 10 | box-shadow: 0 2px '{{primary-color}}'; } 11 | 12 | md-chips.md-THEME_NAME-theme .md-chip { 13 | background: '{{background-300}}'; 14 | color: '{{background-800}}'; } 15 | md-chips.md-THEME_NAME-theme .md-chip.md-focused { 16 | background: '{{primary-color}}'; 17 | color: '{{primary-contrast}}'; } 18 | md-chips.md-THEME_NAME-theme .md-chip.md-focused md-icon { 19 | color: '{{primary-contrast}}'; } 20 | 21 | md-chips.md-THEME_NAME-theme md-chip-remove .md-button md-icon path { 22 | fill: '{{background-500}}'; } 23 | 24 | .md-contact-suggestion span.md-contact-email { 25 | color: '{{background-400}}'; } 26 | -------------------------------------------------------------------------------- /public/bower_components/angular-youtube-mb/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-youtube-embed", 3 | "version": "1.1.1", 4 | "author": "Matthew Brandly", 5 | "license": "MIT", 6 | "main": "index.js", 7 | "repository": { 8 | "type": "git", 9 | "url": "git://github.com/brandly/angular-youtube-embed.git" 10 | }, 11 | "homepage": "http://brandly.github.io/angular-youtube-embed/", 12 | "scripts": { 13 | "start": "gulp", 14 | "test": "gulp test" 15 | }, 16 | "dependencies": { 17 | "angular": "" 18 | }, 19 | "devDependencies": { 20 | "coffee-script": "^1.7.1", 21 | "express": "^4.8.2", 22 | "gulp": "^3.6.2", 23 | "gulp-header": "^1.2.2", 24 | "gulp-karma": "0.0.4", 25 | "gulp-rename": "^1.2.0", 26 | "gulp-uglify": "^0.3.0", 27 | "gulp-util": "^3.0.0", 28 | "karma": "^0.12.16", 29 | "karma-chrome-launcher": "^0.1.4", 30 | "karma-coffee-preprocessor": "^0.2.1", 31 | "karma-jasmine": "^0.1.5" 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/chips/chips-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-chips.md-THEME_NAME-theme .md-chips { 8 | box-shadow: 0 1px '{{background-300}}'; } 9 | md-chips.md-THEME_NAME-theme .md-chips.md-focused { 10 | box-shadow: 0 2px '{{primary-color}}'; } 11 | 12 | md-chips.md-THEME_NAME-theme .md-chip { 13 | background: '{{background-300}}'; 14 | color: '{{background-800}}'; } 15 | md-chips.md-THEME_NAME-theme .md-chip.md-focused { 16 | background: '{{primary-color}}'; 17 | color: '{{primary-contrast}}'; } 18 | md-chips.md-THEME_NAME-theme .md-chip.md-focused md-icon { 19 | color: '{{primary-contrast}}'; } 20 | 21 | md-chips.md-THEME_NAME-theme md-chip-remove .md-button md-icon path { 22 | fill: '{{background-500}}'; } 23 | 24 | .md-contact-suggestion span.md-contact-email { 25 | color: '{{background-400}}'; } 26 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/backdrop/backdrop.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */ 7 | goog.provide("ng.material.components.backdrop"),goog.require("ng.material.core"),angular.module("material.components.backdrop",["material.core"]).directive("mdBackdrop",["$mdTheming","$animate","$rootElement","$window","$log","$$rAF","$document",function(o,e,t,n,a,r,i){function p(p,d,m){var s=n.getComputedStyle(i[0].body);if("fixed"==s.position){var l=parseInt(s.height,10)+Math.abs(parseInt(s.top,10));d.css({height:l+"px"})}e.pin&&e.pin(d,t),r(function(){var e=d.parent()[0];if(e){"BODY"==e.nodeName&&d.css({position:"fixed"});var t=n.getComputedStyle(e);"static"==t.position&&a.warn(c)}o.inherit(d,d.parent())})}var c=" may not work properly in a scrolled, static-positioned parent container.";return{restrict:"E",link:p}}]),ng.material.components.backdrop=angular.module("material.components.backdrop"); -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/divider/divider.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-divider{display:block;border-top-width:1px;border-top-style:solid;margin:0}body[dir=ltr] md-divider[md-inset],html[dir=ltr] md-divider[md-inset]{margin-left:80px;unicode-bidi:embed}body[dir=rtl] md-divider[md-inset],html[dir=rtl] md-divider[md-inset]{margin-right:80px;unicode-bidi:embed}html:not([dir]) body:not([dir]) md-divider[md-inset]{margin-left:80px;unicode-bidi:embed}md-divider[md-inset] bdo[dir=rtl]{direction:rtl;unicode-bidi:bidi-override}md-divider[md-inset] bdo[dir=ltr]{direction:ltr;unicode-bidi:bidi-override}.layout-gt-lg-row>md-divider,.layout-gt-md-row>md-divider,.layout-gt-sm-row>md-divider,.layout-gt-xs-row>md-divider,.layout-lg-row>md-divider,.layout-md-row>md-divider,.layout-row>md-divider,.layout-sm-row>md-divider,.layout-xl-row>md-divider,.layout-xs-row>md-divider{border-top-width:0;border-right-width:1px;border-right-style:solid} -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/divider/divider.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-divider{display:block;border-top-width:1px;border-top-style:solid;margin:0}body[dir=ltr] md-divider[md-inset],html[dir=ltr] md-divider[md-inset]{margin-left:80px;unicode-bidi:embed}body[dir=rtl] md-divider[md-inset],html[dir=rtl] md-divider[md-inset]{margin-right:80px;unicode-bidi:embed}html:not([dir]) body:not([dir]) md-divider[md-inset]{margin-left:80px;unicode-bidi:embed}md-divider[md-inset] bdo[dir=rtl]{direction:rtl;unicode-bidi:bidi-override}md-divider[md-inset] bdo[dir=ltr]{direction:ltr;unicode-bidi:bidi-override}.layout-gt-lg-row>md-divider,.layout-gt-md-row>md-divider,.layout-gt-sm-row>md-divider,.layout-gt-xs-row>md-divider,.layout-lg-row>md-divider,.layout-md-row>md-divider,.layout-row>md-divider,.layout-sm-row>md-divider,.layout-xl-row>md-divider,.layout-xs-row>md-divider{border-top-width:0;border-right-width:1px;border-right-style:solid} -------------------------------------------------------------------------------- /public/bower_components/angular-material-data-table/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-material-data-table", 3 | "version": "0.9.12", 4 | "description": "Material Design data table.", 5 | "license": "MIT", 6 | "repository": { 7 | "type": "git", 8 | "url": "git://github.com/daniel-nagy/md-data-table.git" 9 | }, 10 | "main": "index.js", 11 | "dependencies": { 12 | "angular": "^1.4.0", 13 | "angular-material": "^1.0.0" 14 | }, 15 | "devDependencies": { 16 | "bower": "^1.3.9", 17 | "grunt": "^0.4.5", 18 | "grunt-autoprefixer": "^2.1.0", 19 | "grunt-contrib-clean": "^0.6.0", 20 | "grunt-contrib-concat": "^0.5.0", 21 | "grunt-contrib-connect": "^0.8.0", 22 | "grunt-contrib-cssmin": "^0.10.0", 23 | "grunt-contrib-jshint": "^0.10.0", 24 | "grunt-contrib-less": "^0.11.4", 25 | "grunt-contrib-uglify": "^0.5.1", 26 | "grunt-contrib-watch": "^0.6.1", 27 | "grunt-html2js": "^0.3.2", 28 | "grunt-processhtml": "^0.3.7", 29 | "jshint-stylish": "^1.0.0", 30 | "load-grunt-tasks": "^0.6.0" 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /public/bower_components/angular-youtube-mb/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2014 Matthew Brandly. 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/demos/chips/demoBasicUsage/style.scss: -------------------------------------------------------------------------------- 1 | .custom-chips { 2 | .md-chip { 3 | position: relative; 4 | padding-right: 35px; 5 | .md-chip-remove-container { 6 | position: absolute; 7 | right: 4px; 8 | top: 4px; 9 | margin-right: 0; 10 | height: 24px; 11 | button.vegetablechip { 12 | position: relative; 13 | height: 24px; 14 | width: 24px; 15 | line-height: 30px; 16 | text-align: center; 17 | background: rgba(black, 0.3); 18 | border-radius: 50%; 19 | border: none; 20 | box-shadow: none; 21 | padding: 0; 22 | margin: 0; 23 | transition: background 0.15s linear; 24 | display: block; 25 | md-icon { 26 | position: absolute; 27 | top: 50%; 28 | left: 50%; 29 | transform: translate3d(-50%, -50%, 0) scale(0.7); 30 | color: white; 31 | fill: white; 32 | } 33 | &:hover, &:focus { 34 | background: rgba(red, 0.8); 35 | } 36 | } 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/attributes/support.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/document", 3 | "../var/support" 4 | ], function( document, support ) { 5 | 6 | ( function() { 7 | var input = document.createElement( "input" ), 8 | select = document.createElement( "select" ), 9 | opt = select.appendChild( document.createElement( "option" ) ); 10 | 11 | input.type = "checkbox"; 12 | 13 | // Support: iOS<=5.1, Android<=4.2+ 14 | // Default value for a checkbox should be "on" 15 | support.checkOn = input.value !== ""; 16 | 17 | // Support: IE<=11+ 18 | // Must access selectedIndex to make default options select 19 | support.optSelected = opt.selected; 20 | 21 | // Support: Android<=2.3 22 | // Options inside disabled selects are incorrectly marked as disabled 23 | select.disabled = true; 24 | support.optDisabled = !opt.disabled; 25 | 26 | // Support: IE<=11+ 27 | // An input loses its value after becoming a radio 28 | input = document.createElement( "input" ); 29 | input.value = "t"; 30 | input.type = "radio"; 31 | support.radioValue = input.value === "t"; 32 | } )(); 33 | 34 | return support; 35 | 36 | } ); 37 | -------------------------------------------------------------------------------- /public/modules/absence/views/edit-absence.tmpl.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Absence edition

4 | 5 |
6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | Cancel 18 | 19 | 20 | Ok 21 | 22 | 23 |
24 |
-------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/autocomplete/autocomplete-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-autocomplete.md-THEME_NAME-theme { 8 | background: '{{background-50}}'; } 9 | md-autocomplete.md-THEME_NAME-theme[disabled] { 10 | background: '{{background-100}}'; } 11 | md-autocomplete.md-THEME_NAME-theme button md-icon path { 12 | fill: '{{background-600}}'; } 13 | md-autocomplete.md-THEME_NAME-theme button:after { 14 | background: '{{background-600-0.3}}'; } 15 | 16 | .md-autocomplete-suggestions-container.md-THEME_NAME-theme { 17 | background: '{{background-50}}'; } 18 | .md-autocomplete-suggestions-container.md-THEME_NAME-theme li { 19 | color: '{{background-900}}'; } 20 | .md-autocomplete-suggestions-container.md-THEME_NAME-theme li .highlight { 21 | color: '{{background-600}}'; } 22 | .md-autocomplete-suggestions-container.md-THEME_NAME-theme li:hover, .md-autocomplete-suggestions-container.md-THEME_NAME-theme li.selected { 23 | background: '{{background-200}}'; } 24 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/autocomplete/autocomplete-default-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-autocomplete.md-THEME_NAME-theme { 8 | background: '{{background-50}}'; } 9 | md-autocomplete.md-THEME_NAME-theme[disabled] { 10 | background: '{{background-100}}'; } 11 | md-autocomplete.md-THEME_NAME-theme button md-icon path { 12 | fill: '{{background-600}}'; } 13 | md-autocomplete.md-THEME_NAME-theme button:after { 14 | background: '{{background-600-0.3}}'; } 15 | 16 | .md-autocomplete-suggestions-container.md-THEME_NAME-theme { 17 | background: '{{background-50}}'; } 18 | .md-autocomplete-suggestions-container.md-THEME_NAME-theme li { 19 | color: '{{background-900}}'; } 20 | .md-autocomplete-suggestions-container.md-THEME_NAME-theme li .highlight { 21 | color: '{{background-600}}'; } 22 | .md-autocomplete-suggestions-container.md-THEME_NAME-theme li:hover, .md-autocomplete-suggestions-container.md-THEME_NAME-theme li.selected { 23 | background: '{{background-200}}'; } 24 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/exports/amd.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // Register as a named AMD module, since jQuery can be concatenated with other 6 | // files that may use define, but not via a proper concatenation script that 7 | // understands anonymous AMD modules. A named AMD is safest and most robust 8 | // way to register. Lowercase jquery is used because AMD module names are 9 | // derived from file names, and jQuery is normally delivered in a lowercase 10 | // file name. Do this after creating the global so that if an AMD module wants 11 | // to call noConflict to hide this version of jQuery, it will work. 12 | 13 | // Note that for maximum portability, libraries that are not jQuery should 14 | // declare themselves as anonymous modules, and avoid setting a global if an 15 | // AMD loader is present. jQuery is a special case. For more information, see 16 | // https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon 17 | 18 | if ( typeof define === "function" && define.amd ) { 19 | define( "jquery", [], function() { 20 | return jQuery; 21 | } ); 22 | } 23 | 24 | } ); 25 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/subheader/subheader.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */ 7 | function MdSubheaderDirective(e,a,r,n){return{restrict:"E",replace:!0,transclude:!0,template:'
',link:function(t,i,d,c,o){function s(e){return angular.element(e[0].querySelector("._md-subheader-content"))}r(i);var u=i[0].outerHTML;o(t,function(e){s(i).append(e)}),i.hasClass("md-no-sticky")||o(t,function(r){var d='
'+u+"
",c=a(d)(t);e(t,i,c),n.nextTick(function(){s(c).append(r)})})}}}goog.provide("ng.material.components.subheader"),goog.require("ng.material.components.sticky"),goog.require("ng.material.core"),angular.module("material.components.subheader",["material.core","material.components.sticky"]).directive("mdSubheader",MdSubheaderDirective),MdSubheaderDirective.$inject=["$mdSticky","$compile","$mdTheming","$mdUtil"],ng.material.components.subheader=angular.module("material.components.subheader"); -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/list/list-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-list.md-THEME_NAME-theme md-list-item.md-2-line .md-list-item-text h3,md-list.md-THEME_NAME-theme md-list-item.md-2-line .md-list-item-text h4,md-list.md-THEME_NAME-theme md-list-item.md-3-line .md-list-item-text h3,md-list.md-THEME_NAME-theme md-list-item.md-3-line .md-list-item-text h4{color:'{{foreground-1}}'}md-list.md-THEME_NAME-theme md-list-item.md-2-line .md-list-item-text p,md-list.md-THEME_NAME-theme md-list-item.md-3-line .md-list-item-text p{color:'{{foreground-2}}'}md-list.md-THEME_NAME-theme ._md-proxy-focus.md-focused div._md-no-style{background-color:'{{background-100}}'}md-list.md-THEME_NAME-theme md-list-item .md-avatar-icon{background-color:'{{foreground-3}}';color:'{{background-color}}'}md-list.md-THEME_NAME-theme md-list-item>md-icon{color:'{{foreground-2}}'}md-list.md-THEME_NAME-theme md-list-item>md-icon.md-highlight{color:'{{primary-color}}'}md-list.md-THEME_NAME-theme md-list-item>md-icon.md-highlight.md-accent{color:'{{accent-color}}'} -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/progressLinear/progressLinear-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-progress-linear.md-THEME_NAME-theme ._md-container{background-color:'{{primary-100}}'}md-progress-linear.md-THEME_NAME-theme ._md-bar{background-color:'{{primary-color}}'}md-progress-linear.md-THEME_NAME-theme.md-warn ._md-container{background-color:'{{warn-100}}'}md-progress-linear.md-THEME_NAME-theme.md-warn ._md-bar{background-color:'{{warn-color}}'}md-progress-linear.md-THEME_NAME-theme.md-accent ._md-container{background-color:'{{accent-100}}'}md-progress-linear.md-THEME_NAME-theme.md-accent ._md-bar{background-color:'{{accent-color}}'}md-progress-linear.md-THEME_NAME-theme[md-mode=buffer].md-warn ._md-bar1{background-color:'{{warn-100}}'}md-progress-linear.md-THEME_NAME-theme[md-mode=buffer].md-warn ._md-dashed:before{background:0 0}md-progress-linear.md-THEME_NAME-theme[md-mode=buffer].md-accent ._md-bar1{background-color:'{{accent-100}}'}md-progress-linear.md-THEME_NAME-theme[md-mode=buffer].md-accent ._md-dashed:before{background:0 0} -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/list/list-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-list.md-THEME_NAME-theme md-list-item.md-2-line .md-list-item-text h3,md-list.md-THEME_NAME-theme md-list-item.md-2-line .md-list-item-text h4,md-list.md-THEME_NAME-theme md-list-item.md-3-line .md-list-item-text h3,md-list.md-THEME_NAME-theme md-list-item.md-3-line .md-list-item-text h4{color:'{{foreground-1}}'}md-list.md-THEME_NAME-theme md-list-item.md-2-line .md-list-item-text p,md-list.md-THEME_NAME-theme md-list-item.md-3-line .md-list-item-text p{color:'{{foreground-2}}'}md-list.md-THEME_NAME-theme ._md-proxy-focus.md-focused div._md-no-style{background-color:'{{background-100}}'}md-list.md-THEME_NAME-theme md-list-item .md-avatar-icon{background-color:'{{foreground-3}}';color:'{{background-color}}'}md-list.md-THEME_NAME-theme md-list-item>md-icon{color:'{{foreground-2}}'}md-list.md-THEME_NAME-theme md-list-item>md-icon.md-highlight{color:'{{primary-color}}'}md-list.md-THEME_NAME-theme md-list-item>md-icon.md-highlight.md-accent{color:'{{accent-color}}'} -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/closure/progressLinear/progressLinear-default-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.5-master-f171fd2 6 | */md-progress-linear.md-THEME_NAME-theme ._md-container{background-color:'{{primary-100}}'}md-progress-linear.md-THEME_NAME-theme ._md-bar{background-color:'{{primary-color}}'}md-progress-linear.md-THEME_NAME-theme.md-warn ._md-container{background-color:'{{warn-100}}'}md-progress-linear.md-THEME_NAME-theme.md-warn ._md-bar{background-color:'{{warn-color}}'}md-progress-linear.md-THEME_NAME-theme.md-accent ._md-container{background-color:'{{accent-100}}'}md-progress-linear.md-THEME_NAME-theme.md-accent ._md-bar{background-color:'{{accent-color}}'}md-progress-linear.md-THEME_NAME-theme[md-mode=buffer].md-warn ._md-bar1{background-color:'{{warn-100}}'}md-progress-linear.md-THEME_NAME-theme[md-mode=buffer].md-warn ._md-dashed:before{background:0 0}md-progress-linear.md-THEME_NAME-theme[md-mode=buffer].md-accent ._md-bar1{background-color:'{{accent-100}}'}md-progress-linear.md-THEME_NAME-theme[md-mode=buffer].md-accent ._md-dashed:before{background:0 0} -------------------------------------------------------------------------------- /public/modules/building/views/edit-building.tmpl.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Building edition

4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | Cancel 21 | 22 | 23 | Ok 24 | 25 | 26 |
27 |
-------------------------------------------------------------------------------- /public/modules/room/views/edit-room.tmpl.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Room edition

4 |
5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 | Cancel 21 | 22 | 23 | Ok 24 | 25 | 26 |
27 |
-------------------------------------------------------------------------------- /public/bower_components/angular-youtube-embed/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Jan Antala 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /public/bower_components/angular-material-data-table/LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Daniel Nagy 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2014 Google, Inc. http://angularjs.org 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /public/bower_components/jquery/src/manipulation/support.js: -------------------------------------------------------------------------------- 1 | define( [ 2 | "../var/document", 3 | "../var/support" 4 | ], function( document, support ) { 5 | 6 | ( function() { 7 | var fragment = document.createDocumentFragment(), 8 | div = fragment.appendChild( document.createElement( "div" ) ), 9 | input = document.createElement( "input" ); 10 | 11 | // Support: Android 4.0-4.3, Safari<=5.1 12 | // Check state lost if the name is set (#11217) 13 | // Support: Windows Web Apps (WWA) 14 | // `name` and `type` must use .setAttribute for WWA (#14901) 15 | input.setAttribute( "type", "radio" ); 16 | input.setAttribute( "checked", "checked" ); 17 | input.setAttribute( "name", "t" ); 18 | 19 | div.appendChild( input ); 20 | 21 | // Support: Safari<=5.1, Android<4.2 22 | // Older WebKit doesn't clone checked state correctly in fragments 23 | support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; 24 | 25 | // Support: IE<=11+ 26 | // Make sure textarea (and checkbox) defaultValue is properly cloned 27 | div.innerHTML = ""; 28 | support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; 29 | } )(); 30 | 31 | return support; 32 | 33 | } ); 34 | -------------------------------------------------------------------------------- /public/bower_components/angular-material/modules/js/backdrop/backdrop.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Angular Material Design 3 | * https://github.com/angular/material 4 | * @license MIT 5 | * v1.0.6 6 | */ 7 | md-backdrop { 8 | transition: opacity 450ms; 9 | position: absolute; 10 | top: 0; 11 | bottom: 0; 12 | left: 0; 13 | right: 0; 14 | z-index: 50; } 15 | md-backdrop.md-menu-backdrop { 16 | position: fixed !important; 17 | z-index: 99; } 18 | md-backdrop.md-select-backdrop { 19 | z-index: 81; 20 | transition-duration: 0; } 21 | md-backdrop.md-dialog-backdrop { 22 | z-index: 79; } 23 | md-backdrop.md-bottom-sheet-backdrop { 24 | z-index: 69; } 25 | md-backdrop.md-sidenav-backdrop { 26 | z-index: 59; } 27 | md-backdrop.md-click-catcher { 28 | position: absolute; } 29 | md-backdrop.md-opaque { 30 | opacity: .48; } 31 | md-backdrop.md-opaque.ng-enter { 32 | opacity: 0; } 33 | md-backdrop.md-opaque.ng-enter.md-opaque.ng-enter-active { 34 | opacity: .48; } 35 | md-backdrop.md-opaque.ng-leave { 36 | opacity: .48; 37 | transition: opacity 400ms; } 38 | md-backdrop.md-opaque.ng-leave.md-opaque.ng-leave-active { 39 | opacity: 0; } 40 | --------------------------------------------------------------------------------