-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #213 from topcoder-platform/dev
Add Settings Tab
- Loading branch information
Showing
7 changed files
with
52 additions
and
5 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
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,16 @@ | ||
'use strict'; | ||
|
||
var module = angular.module('supportAdminApp'); | ||
|
||
module.controller('settings.Controller', ['$scope', 'AuthService', 'ONLINE_REVIEW_URL', | ||
function ($scope, $authService, ONLINE_REVIEW_URL) { | ||
$scope.ONLINE_REVIEW_URL = ONLINE_REVIEW_URL; | ||
|
||
/** | ||
* Check if user is logged in. | ||
*/ | ||
$scope.authorized = function () { | ||
return $authService.isLoggedIn(); | ||
}; | ||
} | ||
]); |
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,20 @@ | ||
<div class="row wrapper border-bottom white-bg page-heading"> | ||
<div class="col-lg-10"> | ||
<h2>Settings</h2> | ||
</div> | ||
<div class="col-lg-2"> | ||
|
||
</div> | ||
</div> | ||
<div class="wrapper wrapper-content animated fadeInRight"> | ||
<div class="row" ng-controller="settings.Controller" ng-show="authorized()"> | ||
<div class="col-lg-12"> | ||
<div class="ibox float-e-margins"> | ||
<div class="ibox-title"> | ||
<a ng-href="{{ONLINE_REVIEW_URL}}/togglz" target="_blank">Online | ||
Review Togglz Page</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
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