From b240af6d7cf9de11a398b8df033ec0a8f5b165aa Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Wed, 1 Apr 2015 14:41:41 -0400 Subject: [PATCH] Redo styling of the default permissions manager --- static/css/core-ui.css | 6 +- static/css/directives/ui/robots-manager.css | 10 --- static/css/quay.css | 10 +++ static/directives/prototype-manager.html | 67 ++++++++++++--------- static/partials/org-view.html | 1 - 5 files changed, 54 insertions(+), 40 deletions(-) diff --git a/static/css/core-ui.css b/static/css/core-ui.css index 7e614d998..37cc03d69 100644 --- a/static/css/core-ui.css +++ b/static/css/core-ui.css @@ -779,9 +779,11 @@ } .co-table thead td { + color: #999; + font-size: 90%; text-transform: uppercase; - font-size: 16px; - color: #666; + font-weight: 300; + padding-top: 0px !important; } .co-table thead td a { diff --git a/static/css/directives/ui/robots-manager.css b/static/css/directives/ui/robots-manager.css index 3be428238..b2eb42bcf 100644 --- a/static/css/directives/ui/robots-manager.css +++ b/static/css/directives/ui/robots-manager.css @@ -1,13 +1,3 @@ -.robots-manager-element .manager-header { - margin-bottom: 10px; - padding-bottom: 10px; - border-bottom: 1px solid #eee; -} - -.robots-manager-element .manager-header h3 { - margin-bottom: 10px; -} - .robots-manager-element .robot a { font-size: 16px; cursor: pointer; diff --git a/static/css/quay.css b/static/css/quay.css index c61321b0e..c357bd8e1 100644 --- a/static/css/quay.css +++ b/static/css/quay.css @@ -4935,3 +4935,13 @@ i.rocket-icon { text-align: center; } +.manager-header { + margin-bottom: 10px; + padding-bottom: 10px; + border-bottom: 1px solid #eee; +} + +.manager-header h3 { + margin-bottom: 10px; +} + diff --git a/static/directives/prototype-manager.html b/static/directives/prototype-manager.html index 85e897318..639285224 100644 --- a/static/directives/prototype-manager.html +++ b/static/directives/prototype-manager.html @@ -1,54 +1,67 @@
-
- -
-
- Default permissions provide a means of specifying additional permissions that should be granted automatically to a repository when it is created. +
+
+
+
+ +
+

Default Permissions

-
- +
+ The Default permissions panel defines permissions that should be granted automatically to a repository when it is created, in addition to the default of the repository's + creator. Permissions are assigned based on the user who created the repository. +

+ Note: Permissions added here do not automatically get added to + existing repositories.
- +
- - + + + -
+ - Repository Creator + data-container="body" bs-tooltip> + Repository Created By - - - - Applies To User/Robot/Team + + + + Permission Applied To - - PermissionPermission
+ namespace="organization.name" ng-if="prototype.activating_user" + avatar-size="24"> - + (Organization Default) - + - + + + + Delete Permission + +
diff --git a/static/partials/org-view.html b/static/partials/org-view.html index 44f000eac..2652fceb9 100644 --- a/static/partials/org-view.html +++ b/static/partials/org-view.html @@ -70,7 +70,6 @@
-

Default Permissions