From 7c93688e305b409bbdb38b055035255d8b0734c9 Mon Sep 17 00:00:00 2001 From: yackob03 Date: Tue, 17 Dec 2013 17:02:37 -0500 Subject: [PATCH 1/4] Plumbing for the contact us page. --- endpoints/web.py | 5 +++++ static/js/app.js | 2 ++ static/js/controllers.js | 3 +++ static/partials/contact.html | 32 ++++++++++++++++++++++++++++++++ templates/base.html | 6 +++--- 5 files changed, 45 insertions(+), 3 deletions(-) create mode 100644 static/partials/contact.html diff --git a/endpoints/web.py b/endpoints/web.py index 347969268..5b09bde22 100644 --- a/endpoints/web.py +++ b/endpoints/web.py @@ -91,6 +91,11 @@ def signin(): return index('') +@app.route('/contact/') +def contact(): + return index('') + + @app.route('/new/') def new(): return index('') diff --git a/static/js/app.js b/static/js/app.js index 720a1fe5b..3470fb2e8 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -544,6 +544,8 @@ quayApp = angular.module('quay', ['ngRoute', 'restangular', 'angularMoment', 'an reloadOnSearch: false, controller: UserAdminCtrl}). when('/guide/', {title: 'Guide', description:'Guide to using private docker repositories on Quay.io', templateUrl: '/static/partials/guide.html', controller: GuideCtrl}). + when('/contact/', {title: 'Contact Us', description:'Different ways for you to get a hold of us when you need us most.', templateUrl: '/static/partials/contact.html', + controller: ContactCtrl}). when('/plans/', {title: 'Plans and Pricing', description: 'Plans and pricing for private docker repositories on Quay.io', templateUrl: '/static/partials/plans.html', controller: PlansCtrl}). when('/security/', {title: 'Security', description: 'Security features used when transmitting and storing data', diff --git a/static/js/controllers.js b/static/js/controllers.js index 196668b6f..c4611fdbf 100644 --- a/static/js/controllers.js +++ b/static/js/controllers.js @@ -61,6 +61,9 @@ function GuideCtrl($scope) { function SecurityCtrl($scope) { } +function ContactCtrl($scope) { +} + function RepoListCtrl($scope, Restangular, UserService) { $scope.namespace = null; diff --git a/static/partials/contact.html b/static/partials/contact.html new file mode 100644 index 000000000..4749b5028 --- /dev/null +++ b/static/partials/contact.html @@ -0,0 +1,32 @@ +
+

+ Contact Us
+ We are here to help! +

+ +
+
+

For sales or technical support, please use one of the following methods.

+
+
+ +
+
+ +

Email

+

support@quay.io

+
+ +
+

IRC

+

Freenode: #quayio

+
+ +
+

+ Telephone
+

+

888-930-3475

+
+
+
\ No newline at end of file diff --git a/templates/base.html b/templates/base.html index d16b7eefd..c99b58721 100644 --- a/templates/base.html +++ b/templates/base.html @@ -87,18 +87,18 @@ mixpanel.init(isProd ? "50ff2b2569faa3a51c8f5724922ffb7e" : "38014a0f27e7bdc3ff8