This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="page page-edit"> | |
| <div class="page-title"> | |
| <h3>Reminders</h3> | |
| </div> | |
| <div id="wrapper" class="add-wrap"> | |
| <div class="add-new"> | |
| <div class="single-message"> | |
| <form name="reminderAddForm" data-ng-submit="add()"> | |
| <input data-ng-model="object.title" placeholder="Title of Reminder" name="title" /> | |
| <input data-ng-model="object.location" placeholder="Location of Reminder" name="location" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /********************* | |
| * ReminderNewCtrl | |
| *********************/ | |
| angular.module('ReminderApp') | |
| .controller('ReminderNewCtrl', function (_, $rootScope, $scope, $injector, UserRepository, ReminderRepository, flash, $navigate, notification) { | |
| $scope.$emit('LOADING'); | |
| $scope.UserRepository = UserRepository; | |
| $injector.invoke(function ($controller) { | |
| $controller('EditableController', {$scope: $scope, $rootScope: $rootScope, UserRepository: UserRepository}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| /** | |
| * Mobiscroll directives set | |
| * @type {*} | |
| */ | |
| var mobiscroll = angular.module('mobiscroll', []); | |
| /* | |
| * Native style datetime picker | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "kambala-web", | |
| "version": "0.0.1", | |
| "dependencies": {}, | |
| "devDependencies": { | |
| "grunt": "~0.4.1", | |
| "grunt-contrib-copy": "~0.4.1", | |
| "grunt-contrib-concat": "~0.3.0", | |
| "grunt-contrib-coffee": "~0.7.0", | |
| "grunt-contrib-uglify": "~0.2.0", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="page timetable"> | |
| <div class="page-title"> | |
| <h3>Timetable<span data-ng-if="timetable.length > 0"> | |
| : {{ startDate | moment: 'Do' : true }} - {{ CalendarRepository.endDate | moment: 'Do MMMM' : true }} | |
| </span></h3> | |
| </div> | |
| <div data-ng-if="timetable.length <= 0"> | |
| <div class="no-content"> | |
| <span>Please be patient and wait for you schedule. Your school is working on it ;)</span> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| angular.module('CalendarApp') | |
| .controller('CalendarDayCtrl', function ($rootScope, $scope, notification, flash, $timeout, $injector, $route, $routeParams, TimetableFormatterService, CalendarRepository, UserRepository, ReminderRepository) { | |
| $scope.$emit('LOADING'); | |
| $scope.showEvents = false; | |
| $scope.startDate = moment($routeParams.start_date).unix(); | |
| $injector.invoke(function ($controller) { | |
| $controller('ReminderPermissionCtrl', {$scope: $scope, $rootScope: $rootScope, UserRepository: UserRepository}); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| //var API_URL = 'http://api.kambala-staging.neverblanddev.co.uk'; | |
| var API_URL = 'http://kambala-mobile.dev/api'; | |
| var DEV = false; | |
| var DEBUG = false; | |
| // header token name | |
| var HEADER_ACCESS_TOKEN = 'Kambala-Access-Token'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| // # Globbing | |
| // for performance reasons we're only matching one level down: | |
| // 'test/spec/{,*/}*.js' | |
| // use this if you want to recursively match all subfolders: | |
| // 'test/spec/**/*.js' | |
| module.exports = function (grunt) { | |
| require('load-grunt-tasks')(grunt); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Nexus\Media\FrontendBundle\Controller; | |
| use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
| use Symfony\Component\HttpFoundation\JsonResponse; | |
| use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; | |
| use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Nexus\Media\FrontendBundle\Controller; | |
| use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
| use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; | |
| use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; | |
| use Symfony\Component\HttpFoundation\JsonResponse; | |
| /** |