diff --git a/static/css/directives/ui/avatar.css b/static/css/directives/ui/avatar.css index 97a15dc31..b0adf7748 100644 --- a/static/css/directives/ui/avatar.css +++ b/static/css/directives/ui/avatar.css @@ -20,4 +20,7 @@ .avatar-element .letter { cursor: default !important; + font-style: normal !important; + font-weight: normal !important; + font-variant: normal !important; } \ No newline at end of file diff --git a/static/css/pages/team-view.css b/static/css/pages/team-view.css new file mode 100644 index 000000000..26df5412d --- /dev/null +++ b/static/css/pages/team-view.css @@ -0,0 +1,51 @@ +.team-view .co-main-content-panel { + padding: 20px; +} + +.team-view .team-name { + vertical-align: middle; + margin-left: 6px; +} + +.team-view .team-view-header { + border-bottom: 1px solid #eee; + margin-bottom: 10px; + padding-bottom: 10px; +} + +.team-view .team-view-header > h3 { + margin-top: 10px; +} + +.team-view .team-view-header .popover { + max-width: none !important; +} + +.team-view .team-view-header .popover.bottom-right .arrow:after { + border-bottom-color: #f7f7f7; + top: 2px; +} + +.team-view .team-view-header .popover-content { + font-size: 14px; + padding-top: 6px; + min-width: 500px; +} + +.team-view .team-view-header .popover-content input { + background: white; +} + +.team-view .team-view-add-element .help-text { + font-size: 13px; + color: #ccc; + margin-top: 10px; +} + +.team-view .co-table-header-row td { + padding-top: 20px !important; +} + +.team-view .co-table-header-row:first-child td { + padding-top: 10px !important; +} \ No newline at end of file diff --git a/static/js/pages/team-view.js b/static/js/pages/team-view.js index ecbf59749..e8f184c96 100644 --- a/static/js/pages/team-view.js +++ b/static/js/pages/team-view.js @@ -3,7 +3,14 @@ * Page to view the members of a team and add/remove them. */ angular.module('quayPages').config(['pages', function(pages) { - pages.create('team-view', 'team-view.html', TeamViewCtrl); + pages.create('team-view', 'team-view.html', TeamViewCtrl, { + 'newLayout': true, + 'title': 'Team {{ teamname }}', + 'description': 'Team {{ teamname }}' + }, ['layout']) + + pages.create('team-view', 'old-team-view.html', TeamViewCtrl, { + }, ['old-layout']); }]); function TeamViewCtrl($rootScope, $scope, $timeout, Features, Restangular, ApiService, $routeParams) { diff --git a/static/partials/old-team-view.html b/static/partials/old-team-view.html new file mode 100644 index 000000000..2ff2cd21f --- /dev/null +++ b/static/partials/old-team-view.html @@ -0,0 +1,128 @@ +
Team Members |
+ |
+ + | ++ + | +
Robot Accounts |
+ |
+ + | ++ + | +
Invited To Join |
+ |
+ + + + + + {{ member.email }} + + | ++ + | +