Skip to content

Commit

Permalink
feat(oxtrust): Rremove 'generate sp metadata' feature #2043
Browse files Browse the repository at this point in the history
  • Loading branch information
syntrydy committed Jun 8, 2021
1 parent a28186f commit d8c5d7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
Expand Up @@ -18,7 +18,7 @@
*/
public enum GluuMetadataSourceType implements AttributeEnum {

NONE("none", "None"), FILE("file", "File"), URI("uri", "URI"), FEDERATION("federation", "Federation");
FILE("file", "File"), URI("uri", "URI"), FEDERATION("federation", "Federation");

private final String value;
private final String displayName;
Expand Down
22 changes: 1 addition & 21 deletions server/src/main/webapp/WEB-INF/incl/trustmanager/trustForm.xhtml
Expand Up @@ -22,12 +22,6 @@
}
}

function changeEvent(element) {
var val = $(element).find('option:selected').text();
if(val === 'None') {
#{rich:component('createSPMetadata:createSPMeatadataModalPanel')}.show();
}
}
</h:outputScript>
<ui:include
src="/WEB-INF/incl/trustmanager/configureMetadataFiltersPanel.xhtml" />
Expand Down Expand Up @@ -79,20 +73,6 @@
width: 220px;
}

#spMetadataPanel_container {
z-index: 999 !important;
}

#spMetadataPanel_content_scroller {
width: 700px !important;
height: 500px !important;
}

#spMetadataPanel_content {
width: 700px !important;
height: 500px !important;
}

pre {
height: 450px !important;
}
Expand Down Expand Up @@ -158,7 +138,7 @@ input[submit] {
<h:selectOneMenu
styleClass=" rounded form-control MetaDataType"
value="#{_trustRelationship.spMetaDataSourceType}"
onchange="changeEvent(this)" required="true"
required="true"
id="spMetaDataSourceTypeId"
converter="omnifaces.GenericEnumConverter">
<f:selectItem noSelectionOption="true"
Expand Down

0 comments on commit d8c5d7c

Please sign in to comment.