diff --git a/static/css/pages/new-organization.css b/static/css/pages/new-organization.css new file mode 100644 index 000000000..6e6a1ef7b --- /dev/null +++ b/static/css/pages/new-organization.css @@ -0,0 +1,4 @@ +.new-organization .co-main-content-panel { + padding: 30px; + position: relative; +} \ No newline at end of file diff --git a/static/css/pages/repo-list.css b/static/css/pages/repo-list.css index c92110fc1..ac0481c86 100644 --- a/static/css/pages/repo-list.css +++ b/static/css/pages/repo-list.css @@ -24,3 +24,15 @@ .repo-list .namespaces-list li .avatar { margin-right: 10px; } + +.repo-list .new-org { + margin-top: 20px !important; + padding-top: 14px; + border-top: 1px solid #eee; +} + +.repo-list .new-org i.fa { + width: 30px; + margin-right: 10px; + text-align: center; +} \ No newline at end of file diff --git a/static/js/pages/new-organization.js b/static/js/pages/new-organization.js index 5508da383..85c451115 100644 --- a/static/js/pages/new-organization.js +++ b/static/js/pages/new-organization.js @@ -4,9 +4,15 @@ */ angular.module('quayPages').config(['pages', function(pages) { pages.create('new-organization', 'new-organization.html', NewOrgCtrl, { + 'newLayout': true, 'title': 'New Organization', 'description': 'Create a new organization to manage teams and permissions' - }); + }, ['layout']); + + pages.create('new-organization', 'old-new-organization.html', NewOrgCtrl, { + 'title': 'New Organization', + 'description': 'Create a new organization to manage teams and permissions' + }, ['old-layout']); }]); function NewOrgCtrl($scope, $routeParams, $timeout, $location, UserService, PlanService, ApiService, CookieService, Features) { diff --git a/static/partials/new-organization.html b/static/partials/new-organization.html index 0e94be5ec..3d8143008 100644 --- a/static/partials/new-organization.html +++ b/static/partials/new-organization.html @@ -1,93 +1,80 @@ -