-
-
-
-
+
+ - 0"
+ [class.list-group-item]="itemProperty.type === 'object'">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
{{ schema.description }}
diff --git a/ui/src/app/schema-form/widget/array/array.component.ts b/ui/src/app/schema-form/widget/array/array.component.ts
index 52987cda7..53dfb1798 100644
--- a/ui/src/app/schema-form/widget/array/array.component.ts
+++ b/ui/src/app/schema-form/widget/array/array.component.ts
@@ -6,4 +6,8 @@ import { ArrayWidget } from 'ngx-schema-form';
selector: 'array-component',
templateUrl: `./array.component.html`
})
-export class CustomArrayComponent extends ArrayWidget {}
+export class CustomArrayComponent extends ArrayWidget {
+ getListType(property: any): string {
+ return property.properties.length ? property.properties[0].type : null;
+ }
+}
diff --git a/ui/src/app/schema-form/widget/object/object.component.html b/ui/src/app/schema-form/widget/object/object.component.html
index 8d9a8535f..83a1f90c9 100644
--- a/ui/src/app/schema-form/widget/object/object.component.html
+++ b/ui/src/app/schema-form/widget/object/object.component.html
@@ -5,7 +5,8 @@
class="col"
[class.d-none]="fieldset.type === 'hidden'"
[class.col-lg-6]="fieldset.type === 'group'"
- [class.col-lg-12]="fieldset.type === 'group-lg'">
+ [class.col-lg-12]="fieldset.type === 'group-lg'"
+ [ngClass]="fieldset.class">
diff --git a/ui/src/app/schema-form/widget/radio/radio.component.html b/ui/src/app/schema-form/widget/radio/radio.component.html
new file mode 100644
index 000000000..0f2d396cf
--- /dev/null
+++ b/ui/src/app/schema-form/widget/radio/radio.component.html
@@ -0,0 +1,11 @@
+
\ No newline at end of file
diff --git a/ui/src/app/schema-form/widget/radio/radio.component.ts b/ui/src/app/schema-form/widget/radio/radio.component.ts
new file mode 100644
index 000000000..23faf2cc0
--- /dev/null
+++ b/ui/src/app/schema-form/widget/radio/radio.component.ts
@@ -0,0 +1,8 @@
+import { Component } from '@angular/core';
+import { RadioWidget } from 'ngx-schema-form';
+
+@Component({
+ selector: 'custom-radio-widget',
+ templateUrl: `./radio.component.html`
+})
+export class CustomRadioComponent extends RadioWidget {}
diff --git a/ui/src/app/wizard/model/wizard.ts b/ui/src/app/wizard/model/wizard.ts
index 1a0fa48bc..35ae220c6 100644
--- a/ui/src/app/wizard/model/wizard.ts
+++ b/ui/src/app/wizard/model/wizard.ts
@@ -18,6 +18,7 @@ export interface WizardStep {
export interface WizardFieldset {
type: string;
+ class?: string[];
fields: string[];
}
diff --git a/ui/src/assets/schema/source/metadata-source.json b/ui/src/assets/schema/source/metadata-source.json
index 4784deeea..582af2b42 100644
--- a/ui/src/assets/schema/source/metadata-source.json
+++ b/ui/src/assets/schema/source/metadata-source.json
@@ -343,16 +343,16 @@
"description": "tooltip.omit-not-before-condition",
"default": false
},
- "responderId": {
- "title": "label.responder-id",
- "description": "tooltip.responder-id",
- "type": "string"
- },
"nameIdFormats": {
"$ref": "#/definitions/NameIdFormatList"
},
"authenticationMethods": {
"$ref": "#/definitions/AuthenticationMethodList"
+ },
+ "responderId": {
+ "title": "label.responder-id",
+ "description": "tooltip.responder-id",
+ "type": "string"
}
}
},
@@ -429,9 +429,6 @@
},
"Certificate": {
"type": "object",
- "widget": {
- "id": "fieldset"
- },
"required": [
"name",
"type",
@@ -449,7 +446,10 @@
"title": "label.type",
"description": "tooltip.certificate-type",
"type": "string",
- "widget": "radio",
+ "widget": {
+ "id": "radio",
+ "class": "form-check-inline"
+ },
"oneOf": [
{
"enum": [
@@ -498,6 +498,7 @@
"title": "label.assertion-consumer-service-location-binding",
"description": "tooltip.assertion-consumer-service-location-binding",
"type": "string",
+ "widget": "select",
"oneOf": [
{
"enum": [
@@ -516,7 +517,8 @@
"makeDefault": {
"title": "label.mark-as-default",
"description": "tooltip.mark-as-default",
- "type": "boolean"
+ "type": "boolean",
+ "default": false
}
}
},
@@ -568,12 +570,8 @@
"title": "label.new-endpoint",
"description": "tooltip.new-endpoint",
"type": "object",
- "widget": {
- "id": "fieldset"
- },
"fieldsets": [
{
- "type": "section",
"fields": [
"url",
"bindingType"
diff --git a/ui/src/theme/list.scss b/ui/src/theme/list.scss
index 2fa09b033..5acc06806 100644
--- a/ui/src/theme/list.scss
+++ b/ui/src/theme/list.scss
@@ -13,4 +13,12 @@
min-height: 30px;
}
}
-}
\ No newline at end of file
+}
+
+.no-style {
+ list-style: none;
+ padding: 0px;
+ & > li {
+ padding: 0px;
+ }
+}