Merge pull request #1407 from coreos-inc/enterpriselanding

Add Enterprise Landing page
This commit is contained in:
josephschorr 2016-05-03 13:52:22 -04:00
commit f0af2ca9c3
8 changed files with 566 additions and 0 deletions

View file

@ -175,6 +175,9 @@ quayApp.config(['$routeProvider', '$locationProvider', 'pages', function($routeP
// Confirm Invite
.route('/confirminvite', 'confirm-invite')
// Enterprise marketing page
.route('/enterprise', 'enterprise')
// Experiments
.route('/__exp/newseclayout', 'exp-new-sec-layout')

View file

@ -0,0 +1,18 @@
(function() {
/**
* Enterprise marketing page.
*/
angular.module('quayPages').config(['pages', function(pages) {
pages.create('enterprise', 'enterprise.html', EnterpriseCtrl, {
'title': 'Quay Enterprise',
'description': 'Quay Enterprise'
});
function EnterpriseCtrl($scope, $location, UserService, PlanService, $routeParams) {
$scope.qeStartTrial = function(plan) {
$scope.currentQEPlan = plan;
$('#tectonicManagerDialog').modal('show');
};
}
}]);
}());