Improve no type policy handling 69/3769/1
authorelinuxhenrik <henrik.b.andersson@est.tech>
Wed, 20 May 2020 12:40:50 +0000 (14:40 +0200)
committerelinuxhenrik <henrik.b.andersson@est.tech>
Wed, 20 May 2020 12:54:31 +0000 (14:54 +0200)
commitd7a2c1dc0704bb774e0a8445a3918f9fc51e19f4
treecf1905ebb5a88f8c7af696b6d35f723e69bdc514
parentb7a1bd777a4880ea236b609b398757086f0686f6
Improve no type policy handling

Add button to format the JSON when it is valid.

Align the look of the dialogs for with type and without type.

Add required warning text for Ric selector in dialog with type.

Put Submit button to the right to align with the Delete Policy dialog.

Change-Id: I61402f91b3f3d9bd58c24e0680da4c8f721c43e3
Issue-ID: NONRTRIC-212
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
webapp-frontend/src/app/policy-control/no-type-policy-instance-dialog.component.html
webapp-frontend/src/app/policy-control/no-type-policy-instance-dialog.component.ts
webapp-frontend/src/app/policy-control/policy-instance-dialog.component.html
webapp-frontend/src/app/policy-control/policy-instance-dialog.component.ts