-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
58 changed files
with
1,163 additions
and
5,533 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
'use strict'; | ||
|
||
angular.module('linesPerBeatApp').controller('ToastCtrl', ['$scope', '$timeout', '$hideToast', 'closeTime', 'message', function ($scope, $timeout, $hideToast, closeTime, message) { | ||
$scope.message = message; | ||
$timeout(function () { | ||
$hideToast(); | ||
}, closeTime); | ||
}]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
'use strict'; | ||
|
||
describe('Controller: ToastCtrl', function () { | ||
|
||
// load the controller's module | ||
beforeEach(module('linesperbeatApp')); | ||
|
||
var ToastCtrl, scope; | ||
|
||
// Initialize the controller and a mock scope | ||
beforeEach(inject(function ($controller, $rootScope) { | ||
scope = $rootScope.$new(); | ||
ToastCtrl = $controller('ToastCtrl', { | ||
$scope: scope | ||
}); | ||
})); | ||
|
||
it('should ...', function () { | ||
expect(1).toEqual(1); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
<div> | ||
<material-card> | ||
<material-content> | ||
<material-card flex> | ||
<h2>Administrative Registration</h2> | ||
<form ng-submit="register()" class="form-horizontal adminRegisterForm"> | ||
<div class="material-input-group material-input-group-theme-light"> | ||
<material-input-group class="material-input-group-theme-light"> | ||
<label>Username</label> | ||
<input type="text" ng-model="username" required autofocus> | ||
</div> | ||
<div class="material-input-group material-input-group-theme-light"> | ||
<material-input type="text" ng-model="username" required autofocus> | ||
</material-input-group> | ||
<material-input-group class="material-input-group-theme-light"> | ||
<label>Password</label> | ||
<input type="password" ng-model="password" required> | ||
</div> | ||
<div class="material-input-group material-input-group-theme-light"> | ||
<material-input type="password" ng-model="password" required> | ||
</material-input-group> | ||
<material-input-group class="material-input-group-theme-light"> | ||
<label>Confirm Password</label> | ||
<input type="password" ng-model="confirmPassword" required> | ||
</div> | ||
<button type="submit" class="material-button material-button-raised material-button-colored">Submit</button> | ||
<material-input type="password" ng-model="confirmPassword" required> | ||
</material-input-group> | ||
<material-button type="submit" class="material-button material-button-raised material-button-colored" offline-disabled>Submit</material-button> | ||
</form> | ||
</material-card> | ||
</div> | ||
</material-content> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.