mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
mgr/dashboard: minor fixes to crud form UI
Fixes: https://tracker.ceph.com/issues/58864 Signed-off-by: Nizamudeen A <nia@redhat.com>
This commit is contained in:
parent
01ad87ef30
commit
930abb78f2
@ -275,7 +275,7 @@ class Form:
|
||||
'displayFlex': True,
|
||||
'htmlClass': 'd-flex justify-content-end mb-0',
|
||||
'items': [
|
||||
{"type": "cancel", "style": self.cancel_style, 'htmlClass': 'mr-2'},
|
||||
{"type": "cancel", "style": self.cancel_style, 'htmlClass': 'me-2'},
|
||||
{"type": "submit", "style": self.submit_style, "title": self.action},
|
||||
]
|
||||
}
|
||||
|
@ -61,7 +61,7 @@ class CephUserEndpoints:
|
||||
create_cap_container = ArrayHorizontalContainer('Capabilities', 'capabilities',
|
||||
label_html_class='hidden cd-header mt-1', fields=[
|
||||
FormField('Entity', 'entity',
|
||||
field_type=str, html_class='mr-3'),
|
||||
field_type=str, html_class='me-3'),
|
||||
FormField('Entity Capabilities',
|
||||
'cap', field_type=str)
|
||||
])
|
||||
|
@ -230,4 +230,12 @@ json-schema-form {
|
||||
.ng-touched.ng-valid {
|
||||
@extend .is-valid;
|
||||
}
|
||||
|
||||
.close {
|
||||
@extend .btn-close;
|
||||
|
||||
span {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user