mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
482426b13e
Adds support for ACL Roles and Service Identities CRUD, along with necessary changes to Tokens, and the CSS improvements required. Also includes refinements/improvements for easier testing of deeply nested components. 1. ember-data adapter/serializer/model triplet for Roles 2. repository, form/validations and searching filter for Roles 3. Moves potentially, repeated, or soon to to repeated functionality into a mixin (mainly for 'many policy' relationships) 4. A few styling tweaks for little edge cases around roles 5. Router additions, Route, Controller and templates for Roles Also see: * UI: ACL Roles cont. plus Service Identities (#5661 and #5720)
46 lines
998 B
SCSS
46 lines
998 B
SCSS
@import './pill/index';
|
|
td strong,
|
|
%tag-list span {
|
|
@extend %pill;
|
|
margin-right: 3px;
|
|
}
|
|
// For the moment pills with classes are iconed ones
|
|
%pill:not([class]) {
|
|
@extend %frame-gray-900;
|
|
}
|
|
%pill[class] {
|
|
padding-left: 0;
|
|
margin-right: 16px;
|
|
}
|
|
%pill[class]::before {
|
|
@extend %as-pseudo;
|
|
margin-right: 3px;
|
|
}
|
|
%pill.policy::before {
|
|
@extend %with-file-fill-icon;
|
|
opacity: 0.3;
|
|
}
|
|
%pill.policy-management::before {
|
|
@extend %with-star-icon;
|
|
}
|
|
%pill.policy-service-identity::before {
|
|
@extend %with-service-identity-icon;
|
|
}
|
|
%pill.role::before {
|
|
@extend %with-user-plain-icon;
|
|
opacity: 0.3;
|
|
}
|
|
|
|
// TODO: These are related to the pill icons, but also to the tables
|
|
// All of this icon assigning stuff should probably go in the eventual
|
|
// refactored /components/icons.scss file
|
|
|
|
td.policy-service-identity a::after {
|
|
@extend %with-service-identity-icon, %as-pseudo;
|
|
margin-left: 3px;
|
|
}
|
|
td.policy-management a::after {
|
|
@extend %with-star-icon, %as-pseudo;
|
|
margin-left: 3px;
|
|
}
|