http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/ActionLinksPanel.java ---------------------------------------------------------------------- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/ActionLinksPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/ActionLinksPanel.java deleted file mode 100644 index 35e4a65..0000000 --- a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/ActionLinksPanel.java +++ /dev/null @@ -1,586 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.syncope.client.console.wicket.markup.html.form; - -import org.apache.syncope.client.console.commons.XMLRolesReader; -import org.apache.syncope.client.console.wicket.ajax.markup.html.ClearIndicatingAjaxLink; -import org.apache.syncope.client.console.wicket.ajax.markup.html.IndicatingOnConfirmAjaxLink; -import org.apache.wicket.PageReference; -import org.apache.wicket.ajax.AjaxRequestTarget; -import org.apache.wicket.authroles.authorization.strategies.role.metadata.MetaDataRoleAuthorizationStrategy; -import org.apache.wicket.markup.html.panel.Fragment; -import org.apache.wicket.markup.html.panel.Panel; -import org.apache.wicket.model.IModel; -import org.apache.wicket.spring.injection.annot.SpringBean; - -/** - * This empty class must exist because there not seems to be alternative to provide specialized HTML for edit links. - */ -public class ActionLinksPanel extends Panel { - - private static final long serialVersionUID = 322966537010107771L; - - /** - * Role reader for authorizations management. - */ - @SpringBean - protected XMLRolesReader xmlRolesReader; - - private final PageReference pageRef; - - public ActionLinksPanel(final String componentId, final IModel<?> model, final PageReference pageRef) { - super(componentId, model); - this.pageRef = pageRef; - - super.add(new Fragment("panelClaim", "emptyFragment", this)); - super.add(new Fragment("panelManageResources", "emptyFragment", this)); - super.add(new Fragment("panelManageUsers", "emptyFragment", this)); - super.add(new Fragment("panelManageGroups", "emptyFragment", this)); - super.add(new Fragment("panelCreate", "emptyFragment", this)); - super.add(new Fragment("panelEdit", "emptyFragment", this)); - super.add(new Fragment("panelReset", "emptyFragment", this)); - super.add(new Fragment("panelUserTemplate", "emptyFragment", this)); - super.add(new Fragment("panelGroupTemplate", "emptyFragment", this)); - super.add(new Fragment("panelEnable", "emptyFragment", this)); - super.add(new Fragment("panelSearch", "emptyFragment", this)); - super.add(new Fragment("panelDelete", "emptyFragment", this)); - super.add(new Fragment("panelExecute", "emptyFragment", this)); - super.add(new Fragment("panelDryRun", "emptyFragment", this)); - super.add(new Fragment("panelSelect", "emptyFragment", this)); - super.add(new Fragment("panelExport", "emptyFragment", this)); - super.add(new Fragment("panelSuspend", "emptyFragment", this)); - super.add(new Fragment("panelReactivate", "emptyFragment", this)); - super.add(new Fragment("panelReload", "emptyFragment", this)); - super.add(new Fragment("panelChangeView", "emptyFragment", this)); - super.add(new Fragment("panelUnlink", "emptyFragment", this)); - super.add(new Fragment("panelLink", "emptyFragment", this)); - super.add(new Fragment("panelUnassign", "emptyFragment", this)); - super.add(new Fragment("panelAssign", "emptyFragment", this)); - super.add(new Fragment("panelDeprovision", "emptyFragment", this)); - super.add(new Fragment("panelProvision", "emptyFragment", this)); - } - - public void add( - final ActionLink link, final ActionLink.ActionType type, final String pageId, final String actionId) { - - addWithRoles(link, type, xmlRolesReader.getEntitlement(pageId, actionId), true); - } - - public void add( - final ActionLink link, final ActionLink.ActionType type, final String pageId) { - - add(link, type, pageId, true); - } - - public void add( - final ActionLink link, final ActionLink.ActionType type, final String pageId, final boolean enabled) { - - addWithRoles(link, type, xmlRolesReader.getEntitlement(pageId, type.getActionId()), enabled); - } - - public void addWithRoles( - final ActionLink link, final ActionLink.ActionType type, final String roles) { - - addWithRoles(link, type, roles, true); - } - - public void addWithRoles( - final ActionLink link, final ActionLink.ActionType type, final String roles, final boolean enabled) { - - Fragment fragment = null; - - switch (type) { - - case CLAIM: - fragment = new Fragment("panelClaim", "fragmentClaim", this); - - fragment.addOrReplace(new ClearIndicatingAjaxLink<Void>("claimLink", pageRef) { - - private static final long serialVersionUID = -7978723352517770644L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - break; - - case MANAGE_RESOURCES: - fragment = new Fragment("panelManageResources", "fragmentManageResources", this); - - fragment.addOrReplace(new ClearIndicatingAjaxLink<Void>("manageResourcesLink", pageRef) { - - private static final long serialVersionUID = -6957616042924610291L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - break; - - case MANAGE_USERS: - fragment = new Fragment("panelManageUsers", "fragmentManageUsers", this); - - fragment.addOrReplace(new ClearIndicatingAjaxLink<Void>("manageUsersLink", pageRef) { - - private static final long serialVersionUID = -6957616042924610292L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - break; - - case MANAGE_GROUPS: - fragment = new Fragment("panelManageGroups", "fragmentManageGroups", this); - - fragment.addOrReplace(new ClearIndicatingAjaxLink<Void>("manageGroupsLink", pageRef) { - - private static final long serialVersionUID = -6957616042924610293L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - break; - - case CREATE: - fragment = new Fragment("panelCreate", "fragmentCreate", this); - - fragment.addOrReplace(new ClearIndicatingAjaxLink<Void>("createLink", pageRef) { - - private static final long serialVersionUID = -7978723352517770644L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - break; - - case RESET: - fragment = new Fragment("panelReset", "fragmentReset", this); - - fragment.addOrReplace(new ClearIndicatingAjaxLink<Void>("resetLink", pageRef) { - - private static final long serialVersionUID = -6957616042924610290L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }); - break; - - case EDIT: - fragment = new Fragment("panelEdit", "fragmentEdit", this); - - fragment.addOrReplace(new ClearIndicatingAjaxLink<Void>("editLink", pageRef) { - - private static final long serialVersionUID = -7978723352517770644L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - break; - - case USER_TEMPLATE: - fragment = new Fragment("panelUserTemplate", "fragmentUserTemplate", this); - - fragment.addOrReplace(new ClearIndicatingAjaxLink<Void>("userTemplateLink", pageRef) { - - private static final long serialVersionUID = -7978723352517770644L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - break; - - case GROUP_TEMPLATE: - fragment = new Fragment("panelGroupTemplate", "fragmentGroupTemplate", this); - - fragment.addOrReplace(new ClearIndicatingAjaxLink<Void>("groupTemplateLink", pageRef) { - - private static final long serialVersionUID = -7978723352517770644L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - break; - - case ENABLE: - fragment = new Fragment("panelEnable", "fragmentEnable", this); - - fragment.addOrReplace(new ClearIndicatingAjaxLink<Void>("enableLink", pageRef) { - - private static final long serialVersionUID = -7978723352517770644L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - break; - - case SEARCH: - fragment = new Fragment("panelSearch", "fragmentSearch", this); - - fragment.addOrReplace(new ClearIndicatingAjaxLink<Void>("searchLink", pageRef) { - - private static final long serialVersionUID = -7978723352517770644L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - break; - - case EXECUTE: - fragment = new Fragment("panelExecute", "fragmentExecute", this); - - fragment.addOrReplace(new ClearIndicatingAjaxLink<Void>("executeLink", pageRef) { - - private static final long serialVersionUID = -7978723352517770644L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - break; - - case DRYRUN: - fragment = new Fragment("panelDryRun", "fragmentDryRun", this); - - fragment.addOrReplace(new ClearIndicatingAjaxLink<Void>("dryRunLink", pageRef) { - - private static final long serialVersionUID = -7978723352517770644L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - break; - - case DELETE: - fragment = new Fragment("panelDelete", "fragmentDelete", this); - - fragment.addOrReplace(new IndicatingOnConfirmAjaxLink<Void>("deleteLink", pageRef) { - - private static final long serialVersionUID = -7978723352517770644L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - - break; - - case SELECT: - fragment = new Fragment("panelSelect", "fragmentSelect", this); - - fragment.addOrReplace(new ClearIndicatingAjaxLink<Void>("selectLink", pageRef) { - - private static final long serialVersionUID = -7978723352517770644L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - - break; - - case EXPORT: - fragment = new Fragment("panelExport", "fragmentExport", this); - - fragment.addOrReplace(new ClearIndicatingAjaxLink<Void>("exportLink", pageRef) { - - private static final long serialVersionUID = -7978723352517770644L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - break; - - case SUSPEND: - fragment = new Fragment("panelSuspend", "fragmentSuspend", this); - - fragment.addOrReplace(new ClearIndicatingAjaxLink<Void>("suspendLink", pageRef) { - - private static final long serialVersionUID = -6957616042924610291L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - break; - - case REACTIVATE: - fragment = new Fragment("panelReactivate", "fragmentReactivate", this); - - fragment.addOrReplace(new ClearIndicatingAjaxLink<Void>("reactivateLink", pageRef) { - - private static final long serialVersionUID = -6957616042924610292L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - break; - - case RELOAD: - fragment = new Fragment("panelReload", "fragmentReload", this); - - fragment.addOrReplace(new ClearIndicatingAjaxLink<Void>("reloadLink", pageRef) { - - private static final long serialVersionUID = -6957616042924610293L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - break; - - case CHANGE_VIEW: - fragment = new Fragment("panelChangeView", "fragmentChangeView", this); - - fragment.addOrReplace(new ClearIndicatingAjaxLink<Void>("changeViewLink", pageRef) { - - private static final long serialVersionUID = -6957616042924610292L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - break; - - case UNLINK: - fragment = new Fragment("panelUnlink", "fragmentUnlink", this); - - fragment.addOrReplace( - new IndicatingOnConfirmAjaxLink<Void>("unlinkLink", pageRef, "confirmUnlink") { - - private static final long serialVersionUID = -6957616042924610293L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - break; - - case LINK: - fragment = new Fragment("panelLink", "fragmentLink", this); - - fragment.addOrReplace(new ClearIndicatingAjaxLink<Void>("linkLink", pageRef) { - - private static final long serialVersionUID = -6957616042924610303L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - break; - - case UNASSIGN: - fragment = new Fragment("panelUnassign", "fragmentUnassign", this); - - fragment.addOrReplace( - new IndicatingOnConfirmAjaxLink<Void>("unassignLink", pageRef, "confirmUnassign") { - - private static final long serialVersionUID = -6957616042924610294L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - break; - - case ASSIGN: - fragment = new Fragment("panelAssign", "fragmentAssign", this); - - fragment.addOrReplace(new ClearIndicatingAjaxLink<Void>("assignLink", pageRef) { - - private static final long serialVersionUID = -6957616042924610304L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - break; - - case DEPROVISION: - fragment = new Fragment("panelDeprovision", "fragmentDeprovision", this); - - fragment.addOrReplace( - new IndicatingOnConfirmAjaxLink<Void>("deprovisionLink", pageRef, "confirmDeprovision") { - - private static final long serialVersionUID = -6957616042924610295L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - break; - - case PROVISION: - fragment = new Fragment("panelProvision", "fragmentProvision", this); - - fragment.addOrReplace(new ClearIndicatingAjaxLink<Void>("provisionLink", pageRef) { - - private static final long serialVersionUID = -6957616042924610305L; - - @Override - protected void onClickInternal(final AjaxRequestTarget target) { - link.onClick(target); - } - }.feedbackPanelAutomaticReload(link.feedbackPanelAutomaticReload())); - break; - default: - // do nothing - } - - if (fragment != null) { - fragment.setEnabled(enabled); - MetaDataRoleAuthorizationStrategy.authorize(fragment, ENABLE, roles); - super.addOrReplace(fragment); - } - } - - public void remove(final ActionLink.ActionType type) { - switch (type) { - case CLAIM: - super.addOrReplace(new Fragment("panelClaim", "emptyFragment", this)); - break; - - case MANAGE_RESOURCES: - super.addOrReplace(new Fragment("panelManageResources", "emptyFragment", this)); - break; - - case MANAGE_USERS: - super.addOrReplace(new Fragment("panelManageUsers", "emptyFragment", this)); - break; - - case MANAGE_GROUPS: - super.addOrReplace(new Fragment("panelManageGroups", "emptyFragment", this)); - break; - - case CREATE: - super.addOrReplace(new Fragment("panelCreate", "emptyFragment", this)); - break; - - case EDIT: - super.addOrReplace(new Fragment("panelEdit", "emptyFragment", this)); - break; - - case USER_TEMPLATE: - super.addOrReplace(new Fragment("panelUserTemplate", "emptyFragment", this)); - break; - - case SEARCH: - super.addOrReplace(new Fragment("panelSearch", "emptyFragment", this)); - break; - - case EXECUTE: - super.addOrReplace(new Fragment("panelExecute", "emptyFragment", this)); - break; - - case DRYRUN: - super.addOrReplace(new Fragment("panelDryRun", "emptyFragment", this)); - break; - - case DELETE: - super.addOrReplace(new Fragment("panelDelete", "emptyFragment", this)); - break; - - case SELECT: - super.addOrReplace(new Fragment("panelSelect", "emptyFragment", this)); - break; - - case EXPORT: - super.addOrReplace(new Fragment("panelExport", "emptyFragment", this)); - break; - - case SUSPEND: - super.addOrReplace(new Fragment("panelSuspend", "emptyFragment", this)); - break; - - case REACTIVATE: - super.addOrReplace(new Fragment("panelReactivate", "emptyFragment", this)); - break; - - case RELOAD: - super.addOrReplace(new Fragment("panelReload", "emptyFragment", this)); - break; - - case CHANGE_VIEW: - super.addOrReplace(new Fragment("panelChangeView", "emptyFragment", this)); - break; - - case UNLINK: - super.addOrReplace(new Fragment("panelUnlink", "emptyFragment", this)); - break; - - case LINK: - super.addOrReplace(new Fragment("panelLink", "emptyFragment", this)); - break; - - case UNASSIGN: - super.addOrReplace(new Fragment("panelUnassign", "emptyFragment", this)); - break; - - case ASSIGN: - super.addOrReplace(new Fragment("panelAssign", "emptyFragment", this)); - break; - - case DEPROVISION: - super.addOrReplace(new Fragment("panelDeprovision", "emptyFragment", this)); - break; - - case PROVISION: - super.addOrReplace(new Fragment("panelProvision", "emptyFragment", this)); - break; - default: - // do nothing - } - } -}
http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/AjaxPalettePanel.java ---------------------------------------------------------------------- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/AjaxPalettePanel.java b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/AjaxPalettePanel.java index 91b6306..932948b 100644 --- a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/AjaxPalettePanel.java +++ b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/AjaxPalettePanel.java @@ -20,7 +20,6 @@ package org.apache.syncope.client.console.wicket.markup.html.form; import java.util.Collection; import java.util.List; -import org.apache.syncope.client.console.commons.SelectChoiceRenderer; import org.apache.wicket.extensions.markup.html.form.palette.Palette; import org.apache.wicket.markup.html.form.IChoiceRenderer; import org.apache.wicket.model.IModel; @@ -55,7 +54,7 @@ public class AjaxPalettePanel<T> extends AbstractFieldPanel<List<T>> { protected Palette<T> createPalette(final IModel<List<T>> model, final ListModel<T> choices, final IChoiceRenderer<T> renderer, final boolean allowOrder, final boolean allowMoveAll) { - return new NonI18nPalette<T>("paletteField", model, choices, renderer, 8, allowOrder, allowMoveAll); + return new NonI18nPalette<>("paletteField", model, choices, renderer, 8, allowOrder, allowMoveAll); } @Override http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/AjaxPasswordFieldPanel.java ---------------------------------------------------------------------- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/AjaxPasswordFieldPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/AjaxPasswordFieldPanel.java index 14fdf9e..2eb11ea 100644 --- a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/AjaxPasswordFieldPanel.java +++ b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/AjaxPasswordFieldPanel.java @@ -33,7 +33,7 @@ public class AjaxPasswordFieldPanel extends FieldPanel<String> { super(id, model); field = new PasswordTextField("passwordField", model); - add(field.setLabel(new Model<String>(name)).setRequired(false).setOutputMarkupId(true)); + add(field.setLabel(new Model<>(name)).setRequired(false).setOutputMarkupId(true)); if (!isReadOnly()) { field.add(new AjaxFormComponentUpdatingBehavior(Constants.ON_CHANGE) { http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/SelectChoiceRenderer.java ---------------------------------------------------------------------- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/SelectChoiceRenderer.java b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/SelectChoiceRenderer.java new file mode 100644 index 0000000..0c79e14 --- /dev/null +++ b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/SelectChoiceRenderer.java @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.syncope.client.console.wicket.markup.html.form; + +import org.apache.wicket.markup.html.form.IChoiceRenderer; + +public class SelectChoiceRenderer<T> implements IChoiceRenderer<T> { + + private static final long serialVersionUID = -3242441544405909243L; + + @Override + public Object getDisplayValue(T obj) { + if (obj instanceof SelectOption) { + return ((SelectOption) obj).getDisplayValue(); + } else { + return obj.toString(); + } + } + + @Override + public String getIdValue(T obj, int i) { + return obj.toString(); + } +} http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/SelectOption.java ---------------------------------------------------------------------- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/SelectOption.java b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/SelectOption.java new file mode 100644 index 0000000..c667657 --- /dev/null +++ b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/SelectOption.java @@ -0,0 +1,72 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.syncope.client.console.wicket.markup.html.form; + +import java.io.Serializable; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +public class SelectOption implements Serializable { + + private static final long serialVersionUID = 2961127533930849828L; + + private String displayValue; + + private String keyValue; + + public SelectOption(final String displayValue, final String keyValue) { + this.displayValue = displayValue; + this.keyValue = keyValue; + } + + public String getDisplayValue() { + return displayValue; + } + + public void setDisplayValue(final String displayValue) { + this.displayValue = displayValue; + } + + public String getKeyValue() { + return keyValue; + } + + public void setKeyValue(final String keyValue) { + this.keyValue = keyValue; + } + + @Override + public boolean equals(final Object obj) { + if (obj == null || !(obj instanceof SelectOption)) { + return false; + } + + return (keyValue == null && ((SelectOption) obj).keyValue == null) || keyValue != null + && keyValue.equals(((SelectOption) obj).keyValue); + } + + @Override + public int hashCode() { + return HashCodeBuilder.reflectionHashCode(this); + } + + @Override + public String toString() { + return keyValue; + } +} http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/preview/BinaryCertPreviewer.java ---------------------------------------------------------------------- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/preview/BinaryCertPreviewer.java b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/preview/BinaryCertPreviewer.java index 61589d7..20f2a7b 100644 --- a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/preview/BinaryCertPreviewer.java +++ b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/preview/BinaryCertPreviewer.java @@ -24,7 +24,7 @@ import java.security.cert.X509Certificate; import javax.naming.ldap.LdapName; import javax.naming.ldap.Rdn; import org.apache.commons.lang3.StringUtils; -import org.apache.syncope.client.console.BinaryPreview; +import org.apache.syncope.client.console.annotations.BinaryPreview; import org.apache.wicket.Component; import org.apache.wicket.markup.html.basic.Label; import org.apache.wicket.model.Model; http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/preview/BinaryImagePreviewer.java ---------------------------------------------------------------------- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/preview/BinaryImagePreviewer.java b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/preview/BinaryImagePreviewer.java index 35e442e..488caf0 100644 --- a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/preview/BinaryImagePreviewer.java +++ b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/preview/BinaryImagePreviewer.java @@ -18,7 +18,7 @@ */ package org.apache.syncope.client.console.wicket.markup.html.form.preview; -import org.apache.syncope.client.console.BinaryPreview; +import org.apache.syncope.client.console.annotations.BinaryPreview; import org.apache.wicket.Component; import org.apache.wicket.extensions.markup.html.image.resource.ThumbnailImageResource; import org.apache.wicket.markup.html.image.NonCachingImage; http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/link/VeilPopupSettings.java ---------------------------------------------------------------------- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/link/VeilPopupSettings.java b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/link/VeilPopupSettings.java deleted file mode 100644 index 51c8ec5..0000000 --- a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/link/VeilPopupSettings.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.syncope.client.console.wicket.markup.html.link; - -import org.apache.wicket.markup.html.link.PopupSettings; - -public class VeilPopupSettings extends PopupSettings { - - private static final long serialVersionUID = -2727046117490858226L; - - @Override - public String getPopupJavaScript() { - return "document.getElementById('veil').style.display = 'block';" + super.getPopupJavaScript(); - } - -} http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/tree/DefaultMutableTreeNodeExpansion.java ---------------------------------------------------------------------- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/tree/DefaultMutableTreeNodeExpansion.java b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/tree/DefaultMutableTreeNodeExpansion.java deleted file mode 100644 index fa962bc..0000000 --- a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/tree/DefaultMutableTreeNodeExpansion.java +++ /dev/null @@ -1,160 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.syncope.client.console.wicket.markup.html.tree; - -import java.io.Serializable; -import java.util.Collection; -import java.util.HashSet; -import java.util.Iterator; -import java.util.Set; -import javax.swing.tree.DefaultMutableTreeNode; -import org.apache.syncope.common.lib.to.GroupTO; -import org.apache.wicket.MetaDataKey; -import org.apache.wicket.Session; - -public class DefaultMutableTreeNodeExpansion implements Set<DefaultMutableTreeNode>, Serializable { - - private static final long serialVersionUID = -2864060875425661224L; - - private static MetaDataKey<DefaultMutableTreeNodeExpansion> KEY = - new MetaDataKey<DefaultMutableTreeNodeExpansion>() { - - private static final long serialVersionUID = 3109256773218160485L; - - }; - - private Set<Long> ids = new HashSet<Long>(); - - private boolean inverse; - - public void expandAll() { - ids.clear(); - - inverse = true; - } - - public void collapseAll() { - ids.clear(); - - inverse = false; - } - - @Override - public boolean add(final DefaultMutableTreeNode node) { - GroupTO groupTO = (GroupTO) node.getUserObject(); - boolean isAdded; - if (inverse) { - isAdded = ids.remove(groupTO.getKey()); - } else { - isAdded = ids.add(groupTO.getKey()); - } - return isAdded; - } - - @Override - public boolean remove(final Object object) { - DefaultMutableTreeNode node = (DefaultMutableTreeNode) object; - GroupTO groupTO = (GroupTO) node.getUserObject(); - boolean isRemoved; - if (inverse) { - isRemoved = ids.add(groupTO.getKey()); - } else { - isRemoved = ids.remove(groupTO.getKey()); - } - return isRemoved; - } - - @Override - public boolean contains(final Object object) { - DefaultMutableTreeNode node = (DefaultMutableTreeNode) object; - GroupTO groupTO = (GroupTO) node.getUserObject(); - boolean isContained; - if (inverse) { - isContained = !ids.contains(groupTO.getKey()); - } else { - isContained = ids.contains(groupTO.getKey()); - } - return isContained; - } - - @Override - public void clear() { - throw new UnsupportedOperationException(); - } - - @Override - public int size() { - throw new UnsupportedOperationException(); - } - - @Override - public boolean isEmpty() { - throw new UnsupportedOperationException(); - } - - @Override - public <A> A[] toArray(final A[] a) { - throw new UnsupportedOperationException(); - } - - @Override - public Iterator<DefaultMutableTreeNode> iterator() { - throw new UnsupportedOperationException(); - } - - @Override - public Object[] toArray() { - throw new UnsupportedOperationException(); - } - - @Override - public boolean containsAll(Collection<?> c) { - throw new UnsupportedOperationException(); - } - - @Override - public boolean addAll(Collection<? extends DefaultMutableTreeNode> c) { - throw new UnsupportedOperationException(); - } - - @Override - public boolean retainAll(Collection<?> c) { - throw new UnsupportedOperationException(); - } - - @Override - public boolean removeAll(Collection<?> c) { - throw new UnsupportedOperationException(); - } - - /** - * Get the expansion for the session. - * - * @return expansion - */ - public static DefaultMutableTreeNodeExpansion get() { - DefaultMutableTreeNodeExpansion expansion = Session.get().getMetaData(KEY); - if (expansion == null) { - expansion = new DefaultMutableTreeNodeExpansion(); - - Session.get().setMetaData(KEY, expansion); - } - return expansion; - } -} http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/tree/DefaultMutableTreeNodeExpansionModel.java ---------------------------------------------------------------------- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/tree/DefaultMutableTreeNodeExpansionModel.java b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/tree/DefaultMutableTreeNodeExpansionModel.java deleted file mode 100644 index 1b342bd..0000000 --- a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/tree/DefaultMutableTreeNodeExpansionModel.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.syncope.client.console.wicket.markup.html.tree; - -import java.util.Set; - -import javax.swing.tree.DefaultMutableTreeNode; - -import org.apache.wicket.model.AbstractReadOnlyModel; - -public class DefaultMutableTreeNodeExpansionModel - extends AbstractReadOnlyModel<Set<DefaultMutableTreeNode>> { - - private static final long serialVersionUID = -3407581132184748054L; - - @Override - public Set<DefaultMutableTreeNode> getObject() { - return DefaultMutableTreeNodeExpansion.get(); - } -} http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/tree/TreeGroupPanel.java ---------------------------------------------------------------------- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/tree/TreeGroupPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/tree/TreeGroupPanel.java deleted file mode 100644 index 0638a73..0000000 --- a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/tree/TreeGroupPanel.java +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.syncope.client.console.wicket.markup.html.tree; - -import javax.swing.tree.DefaultMutableTreeNode; -import org.apache.syncope.client.console.commons.GroupTreeBuilder; -import org.apache.syncope.client.console.commons.XMLRolesReader; -import org.apache.syncope.client.console.pages.Groups.TreeNodeClickUpdate; -import org.apache.syncope.common.lib.to.GroupTO; -import org.apache.wicket.Component; -import org.apache.wicket.ajax.AjaxRequestTarget; -import org.apache.wicket.authroles.authorization.strategies.role.metadata.MetaDataRoleAuthorizationStrategy; -import org.apache.wicket.event.Broadcast; -import org.apache.wicket.event.IEvent; -import org.apache.wicket.extensions.markup.html.repeater.tree.DefaultNestedTree; -import org.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider; -import org.apache.wicket.extensions.markup.html.repeater.tree.NestedTree; -import org.apache.wicket.extensions.markup.html.repeater.tree.content.Folder; -import org.apache.wicket.extensions.markup.html.repeater.tree.theme.WindowsTheme; -import org.apache.wicket.markup.html.WebMarkupContainer; -import org.apache.wicket.markup.html.panel.Panel; -import org.apache.wicket.model.IModel; -import org.apache.wicket.model.Model; -import org.apache.wicket.spring.injection.annot.SpringBean; - -public class TreeGroupPanel extends Panel { - - private static final long serialVersionUID = 1762003213871836869L; - - @SpringBean - private GroupTreeBuilder groupTreeBuilder; - - @SpringBean - private XMLRolesReader xmlRolesReader; - - private WebMarkupContainer treeContainer; - - private NestedTree<DefaultMutableTreeNode> tree; - - public TreeGroupPanel(final String id) { - super(id); - - treeContainer = new WebMarkupContainer("treeContainer"); - treeContainer.setOutputMarkupId(true); - add(treeContainer); - updateTree(); - } - - private void updateTree() { - final ITreeProvider<DefaultMutableTreeNode> treeProvider = new TreeGroupProvider(groupTreeBuilder, true); - final DefaultMutableTreeNodeExpansionModel treeModel = new DefaultMutableTreeNodeExpansionModel(); - - tree = new DefaultNestedTree<DefaultMutableTreeNode>("treeTable", treeProvider, treeModel) { - - private static final long serialVersionUID = 7137658050662575546L; - - @Override - protected Component newContentComponent(final String id, final IModel<DefaultMutableTreeNode> node) { - final DefaultMutableTreeNode treeNode = node.getObject(); - final GroupTO groupTO = (GroupTO) treeNode.getUserObject(); - - return new Folder<DefaultMutableTreeNode>(id, TreeGroupPanel.this.tree, node) { - - private static final long serialVersionUID = 9046323319920426493L; - - @Override - protected boolean isClickable() { - return true; - } - - @Override - protected IModel<?> newLabelModel(final IModel<DefaultMutableTreeNode> model) { - return new Model<>(groupTO.getDisplayName()); - } - - @Override - protected void onClick(final AjaxRequestTarget target) { - super.onClick(target); - - send(getPage(), Broadcast.BREADTH, new TreeNodeClickUpdate(target, groupTO.getKey())); - } - }; - } - }; - tree.add(new WindowsTheme()); - tree.setOutputMarkupId(true); - - DefaultMutableTreeNodeExpansion.get().expandAll(); - - MetaDataRoleAuthorizationStrategy.authorize(tree, ENABLE, xmlRolesReader.getEntitlement("Groups", "read")); - - treeContainer.addOrReplace(tree); - } - - @Override - public void onEvent(final IEvent<?> event) { - super.onEvent(event); - - if (event.getPayload() instanceof TreeNodeClickUpdate) { - final TreeNodeClickUpdate update = (TreeNodeClickUpdate) event.getPayload(); - updateTree(); - update.getTarget().add(treeContainer); - } - } -} http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/tree/TreeGroupProvider.java ---------------------------------------------------------------------- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/tree/TreeGroupProvider.java b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/tree/TreeGroupProvider.java deleted file mode 100644 index c0b55c3..0000000 --- a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/tree/TreeGroupProvider.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.syncope.client.console.wicket.markup.html.tree; - -import javax.swing.tree.DefaultMutableTreeNode; -import org.apache.syncope.client.console.commons.GroupTreeBuilder; -import org.apache.wicket.extensions.markup.html.repeater.util.TreeModelProvider; -import org.apache.wicket.model.IModel; -import org.apache.wicket.model.Model; - -public class TreeGroupProvider extends TreeModelProvider<DefaultMutableTreeNode> { - - private static final long serialVersionUID = -7741964777100892335L; - - public TreeGroupProvider(final GroupTreeBuilder groupTreeBuilder) { - this(groupTreeBuilder, false); - } - - public TreeGroupProvider(final GroupTreeBuilder groupTreeBuilde, final boolean rootVisible) { - super(groupTreeBuilde.build(), rootVisible); - } - - @Override - public IModel<DefaultMutableTreeNode> model(final DefaultMutableTreeNode treeNode) { - return new Model<DefaultMutableTreeNode>(treeNode); - } -} http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/css/bulk.css ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/css/bulk.css b/client/console/src/main/resources/META-INF/resources/css/bulk.css deleted file mode 100644 index 1f0e621..0000000 --- a/client/console/src/main/resources/META-INF/resources/css/bulk.css +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -th.checkGroupColumn{ - width: 20px; -} - -td.checkGroupColumn{ - text-align: center; -} - -div.bulkAction{ - display:inline-table; -} - -div.bulkActionCell{ - display: table-cell; - vertical-align: middle; - text-align: center; - width: 40px; - padding-left: 7px; -} - -.pageRowElement{ - display: inline-table; - width: 95%; -} - -div#selectedObjects{ - text-align: center; - margin-top: 10px; -} - -div#selectedObjects table { - margin: 1em 0; - border-collapse: collapse; -} - -div#selectedObjects table td, div#selectedObjects table th { - border: 1px solid #eee; - padding: .6em 10px; -} - -div#actionRow{ - height: 30px; - overflow: hidden; - text-align: left; - margin-top: 10px; -} - -div#actions{ - display: inline-table; - height: 30px; - overflow: hidden; -} - -div#actions div#actionPanel{ - display: table-cell; - height: 30px; - overflow: hidden; - cursor: auto; - background: none; - padding: 0px 10px; - vertical-align: middle; -} - -div#actions div#cancelBtmForm{ - display: table-cell; - height: 30px; - overflow: hidden; - vertical-align: middle; - padding-left: 3px; -} - -div#actions div#cancelBtmForm form{ - padding: 0px; - margin: 0px; -} - -div#actions div#cancelBtmForm form input#cancel{ - padding: 0.6em 1em; -} http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/css/fieldstyle.css ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/css/fieldstyle.css b/client/console/src/main/resources/META-INF/resources/css/fieldstyle.css deleted file mode 100644 index 23ef109..0000000 --- a/client/console/src/main/resources/META-INF/resources/css/fieldstyle.css +++ /dev/null @@ -1,191 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -.drop_button{ - vertical-align: middle; -} - -.add_button{ - vertical-align: middle; - margin-left: 6px; -} - -.date_size{ - width: 90px; -} - -.long_dynamicsize{ - width: 80%; -} - -.medium_dynamicsize{ - width: 45%; -} - -.short_dynamicsize{ - width: 35%; -} - -.long_fixedsize{ - width: 500px; -} - -.medium_fixedsize{ - width: 300px; -} - -.short_fixedsize{ - width: 150px; -} - -.veryshort_fixedsize{ - width: 70px; -} - -.all_dynamicsize{ - width: 100%; -} - -div#formtable { - display: table; - width: 100%; -} - -div#formtable > span:first-of-type { - display: table-row-group; - width: 100%; -} - -div.tablerow { - display: inline-table; - padding: 5px; - width: 99%; -} - -div.tablerow.connectorProp { - height:22px; - vertical-align: middle; - font-size: 12px; -} - -div.tablecolumn_connPropAttr { - display: table-cell; - vertical-align: middle; -} - -div.tablerow2 { - display: inline-table; - padding: 5px 0px 5px 0px; - width: 99%; -} - -div.alt { - background: #eff3ea; -} - -div.tablecolumn_label{ - display: table-cell; - font-size: 12px; - vertical-align: middle; - font-family: Verdana,Tahoma,sans-serif; - width: 30%; -} - -div.tablecolumn_field{ - display: table-cell; - vertical-align: middle; - font-family: Verdana,Tahoma,sans-serif; - width: 70%; -} - -div.tablecolumn_check{ - display: table-cell; - margin-right: 5px; - margin-left: 2px; - vertical-align: middle; -} - -div.tablecolumn2_label{ - display: table-cell; - font-size: 12px; - vertical-align: middle; - font-family: Verdana,Tahoma,sans-serif; - padding-left: 5px; - width: 15%; -} - -div.tablecolumn2_field{ - display: table-cell; - vertical-align: middle; - font-family: Verdana,Tahoma,sans-serif; - width: 35%; -} - -.ui-tabs .ui-tabs-panel { - background: none repeat scroll 0 0 #FFFFFF; - border-width: 0; - display: block; - overflow: auto; - padding: 1em 1.4em; -} - -.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { - font-family: Verdana,Arial,sans-serif; - font-size: 12px; - padding: 2px 4px; -} - -.ui-widget-header { - border: 1px solid #aaaaaa - /*{borderColorHeader}*/; - background: #cccccc - /*{bgColorHeader}*/ - url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) - /*{bgImgUrlHeader}*/ - 50%/*{bgHeaderXPos}*/ - 50%/*{bgHeaderYPos}*/ - repeat-x/*{bgHeaderRepeat}*/; - color: #222222/*{fcHeader}*/; - font-weight: bold; - padding: 7px 15px; -} - -.ui-button { - display: inline-block; - position: relative; - margin-right: .1em; - cursor: pointer; - text-align: center; - zoom: 1; - overflow: visible; - padding: 7px 15px; -} - -.ui-spinner-button { - cursor: default; - display: block; - font-size: 0.5em; - height: 50%; - margin: 0; - overflow: hidden; - padding: 0; - position: absolute; - right: 0; - text-align: center; - width: 16px; -} http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_diagonals-thick_20_666666_40x40.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_diagonals-thick_20_666666_40x40.png b/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_diagonals-thick_20_666666_40x40.png deleted file mode 100644 index 64ece57..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_diagonals-thick_20_666666_40x40.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_flat_0_aaaaaa_40x100.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_flat_0_aaaaaa_40x100.png b/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_flat_0_aaaaaa_40x100.png deleted file mode 100644 index fc9ef06..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_flat_0_aaaaaa_40x100.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_flat_0_aaaaaa_40x100_greennotused.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_flat_0_aaaaaa_40x100_greennotused.png b/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_flat_0_aaaaaa_40x100_greennotused.png deleted file mode 100644 index b3d1999..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_flat_0_aaaaaa_40x100_greennotused.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_glass_55_fbf9ee_1x400.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_glass_55_fbf9ee_1x400.png b/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_glass_55_fbf9ee_1x400.png deleted file mode 100644 index ad3d634..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_glass_55_fbf9ee_1x400.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_glass_65_ffffff_1x400.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_glass_65_ffffff_1x400.png b/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_glass_65_ffffff_1x400.png deleted file mode 100644 index 42ccba2..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_glass_65_ffffff_1x400.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_glass_75_dadada_1x400.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_glass_75_dadada_1x400.png b/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_glass_75_dadada_1x400.png deleted file mode 100644 index 5a46b47..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_glass_75_dadada_1x400.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_glass_75_e6e6e6_1x400.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_glass_75_e6e6e6_1x400.png b/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_glass_75_e6e6e6_1x400.png deleted file mode 100644 index 86c2baa..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_glass_75_e6e6e6_1x400.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_glass_95_fef1ec_1x400.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_glass_95_fef1ec_1x400.png b/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_glass_95_fef1ec_1x400.png deleted file mode 100644 index 4443fdc..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_glass_95_fef1ec_1x400.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png b/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png deleted file mode 100644 index 5749fc4..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_highlight-soft_75_cccccc_1x100_greynotused.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_highlight-soft_75_cccccc_1x100_greynotused.png b/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_highlight-soft_75_cccccc_1x100_greynotused.png deleted file mode 100644 index 7c9fa6c..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_highlight-soft_75_cccccc_1x100_greynotused.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_highlight-soft_75_cccccc_1x100_red.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_highlight-soft_75_cccccc_1x100_red.png b/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_highlight-soft_75_cccccc_1x100_red.png deleted file mode 100644 index 4632529..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/css/images/ui-bg_highlight-soft_75_cccccc_1x100_red.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/css/images/ui-icons_222222_256x240.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/css/images/ui-icons_222222_256x240.png b/client/console/src/main/resources/META-INF/resources/css/images/ui-icons_222222_256x240.png deleted file mode 100644 index ee039dc..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/css/images/ui-icons_222222_256x240.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/css/images/ui-icons_2e83ff_256x240.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/css/images/ui-icons_2e83ff_256x240.png b/client/console/src/main/resources/META-INF/resources/css/images/ui-icons_2e83ff_256x240.png deleted file mode 100644 index 45e8928..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/css/images/ui-icons_2e83ff_256x240.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/css/images/ui-icons_454545_256x240.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/css/images/ui-icons_454545_256x240.png b/client/console/src/main/resources/META-INF/resources/css/images/ui-icons_454545_256x240.png deleted file mode 100644 index 7ec70d1..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/css/images/ui-icons_454545_256x240.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/css/images/ui-icons_888888_256x240.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/css/images/ui-icons_888888_256x240.png b/client/console/src/main/resources/META-INF/resources/css/images/ui-icons_888888_256x240.png deleted file mode 100644 index 5ba708c..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/css/images/ui-icons_888888_256x240.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/css/images/ui-icons_cd0a0a_256x240.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/css/images/ui-icons_cd0a0a_256x240.png b/client/console/src/main/resources/META-INF/resources/css/images/ui-icons_cd0a0a_256x240.png deleted file mode 100644 index 7930a55..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/css/images/ui-icons_cd0a0a_256x240.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/css/style.css ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/css/style.css b/client/console/src/main/resources/META-INF/resources/css/style.css deleted file mode 100644 index 0978141..0000000 --- a/client/console/src/main/resources/META-INF/resources/css/style.css +++ /dev/null @@ -1,550 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -body { - margin: 0px; - padding: 0px; - font-family: Verdana, Tahoma, sans-serif; - color: #333; - font-size: 62.5%; -} - -/* id */ -#tabs { - margin: 0px 5px; - margin-top: 5px; -} -#grouptabs { - margin: 0px 5px; - margin-top: 5px; -} - -#tabs div { - /*background-color: #FFF;*/ -} - -#logo { - margin-top: 10px; - margin-bottom: 6px; -} - -#splash { - background: url(../img/sf_testa.png) top repeat-x #B9CFB3; - width: 400px; - margin-left: auto; - margin-right: auto; - margin-top: 100px; - border: 1px solid #463; -} - -#splash a { - color: #463; - text-decoration: none; - font-size: 14px; -} - -a img { - border: none; -} - -#splash h2 { - color: #FFF; - margin: 0px; - margin-top: 8px; - margin-bottom: 20px; - font-size: 14px; - text-align: center; - font-weight: normal; -} - -#splash form { - margin: 6px auto; - width: 300px; - text-align: center; -} - -#splash form label { - margin-right: 5px; - display: block; -} - -#splash form label.password { -} - -#splash form input { - margin-bottom: 15px; -} - -#splash p { - margin: 6px 16px; - border-top: 1px solid #463; - text-align: center; - padding-top: 8px; -} - -#splash ul { - height: 320px; - margin-left: 37px; - padding-left: 28px; - margin-top: 25px; -} - -#splash ul li { - float: left; - width: 90px; - text-align: center; - list-style: none; - margin: 0px; -} - -input[disabled] { - background-color: #ddd; - background-image: none; -} - -select[disabled] { - background-color: #ddd; - background-image: none; -} - -#loginFeedbackDiv { - width: 100%; -} - -#loginFeedbackDiv ul { - list-style:none outside none; - margin:0; - text-align:center; - width: 100%; - height: 30px; - margin-left: 0px; - padding-left: 0px; -} - -#loginFeedbackDiv ul li{ - border:0 none; - padding-left: 20px; - padding: 1%; - padding-top: 2%; - list-style:none outside none; - margin:0; - text-align:center; - width: 100%; -} - -#feedbackDiv { - height: 20px; - margin: 0px; - padding: 0px; -} - -#feedbackDiv ul{ - height: 20px !important; - margin: 0px; - padding: 0px; -} - -#feedbackDiv li{ - list-style:none outside none; - margin:0; - text-align:center; - width: 100%; -} -#feedbackDiv ul li{ - list-style:none outside none; - margin:0; - text-align:center; - width: 100%; - color: red; -} - -.feedbackPanel { - padding-left:20pt; - margin-right:20pt; -} - -#navigationPane { - background: url(../img/sf_testa.png) top repeat-x #FFF; -} - -#navigationPane a img { - border: none; -} - -#navigationPane { - height: 103px; -} - -#navigationPane a { - color: #FFF; - text-decoration: none; -} - -#navigationPane a:hover { - color: #CCC; -} - -#navigationPane ul { - clear: both; - padding: 0px; - margin: 0px; - margin-left: 280px; -} - -#navigationPane ul li { - float: left; - width: 90px; - text-align: center; - margin: 0px; - color: #FFF; - font-size: 13px; - list-style: none; - padding: 1px; -} - -#navigationPane span { - font-size: 13px; -} - -/* MODAL-FORM */ -div#dialog-form label, div#dialog-form input { display:block; } -div#dialog-form span.radio label, div#dialog-form span.radio input { margin-top: 4px; margin-bottom: 12px; display:inline; } -/*div#dialog-form span.checkbox label, div#dialog-form span.checkbox input { margin-top: 4px; margin-bottom: 12px; display:inline; }*/ -div#dialog-form input.text { margin-bottom:12px; width: 95%; padding: .4em; } -div#dialog-form select.text { margin-bottom:12px; width: auto; padding: .4em; } -div#dialog-form fieldset { padding:0; border:0; margin-top:25px; } -div#users-contain { width: 570px; margin-bottom: 20px;}/*width: 350px*/ -div#users-contain table { margin: 1em 0; border-collapse: collapse; width: 100%; } -div#users-contain table td, div#users-contain table th { border: 1px solid #eee; padding: .6em 10px; } -div#executions { margin-bottom: 0px;}/*width: 350px*/ -div#executions table { margin: 1em 0; border-collapse: collapse; width: 100%; } -div#executions table td, div#executions table th { border: 1px solid #eee; padding: .3em 10px; } -.ui-dialog .ui-state-error { padding: .3em; } -.validateTips { border: 1px solid transparent; padding: 0.3em; } - -/* classi */ -#navigationPane .schema { - color: #99C; -} - -#navigationPane a img:hover { - opacity:0.5; - -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=50)"; - filter:alpha(opacity=50) -} - -#splash a img:hover { - opacity:0.5; - -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=50)"; - filter:alpha(opacity=50) -} - -#navigationPane .users { - color: #9C0; -} - -#navigationPane .groups { - color: #F90; -} - -#navigationPane .resources { - color: #09F; -} - -#navigationPane .tasks { - color: #FD0; -} - -#navigationPane .todo { - color: #F3C98E; -} - -#navigationPane .connectors { - color: #09F; -} - -#navigationPane .reports { - color: #F66; -} - -#navigationPane .configuration { - color: #CCC; -} - -.onerowlabel { - float: left; -} - -.onerowcheckbox { - margin-left: 10em; -} - -div#attributes-view label { - display: block; - clear: none; - width: 300px; - margin-left: 20px; -} - -div#attributes-view input { - display: block; - float: left; - clear: left; - height: 12px; - padding: 0; - margin: 0; -} - -.selectedRow { - background-color: #eef1f1; /* alternative: LemonChiffon */ -} - -/* WICKET DATATABLE HEADERS */ -.headers { - border: 1px solid #aaaaaa; - background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) - 50% 50% repeat-x; -} - -em { - font-size: inherit; - color: gray; -} - -em img { - opacity:0.4; - filter:alpha(opacity=40); -} - -th.action{ - width: 140px; -} - -td.action{ - text-align: center; -} - -.navigatorLabel { - float: left; -} - -.navigator { - text-align: right; -} - -.group-tree { - width: 30%; - display: block; - float: left; -} - -.groupTable { - line-height: 1.5em; -} - -.tree-folder-other { - padding-top: 2px; - display: block; - height: 18px; -} - -.tree-folder-open { - display: block; - height: 18px; -} - -#versionMP { - text-align: justify; - color: #463; - background: url(../img/sf_testa.png) top repeat-x #B9CFB3; - border: 1px solid #463; - padding: 5px; -} - -#versionMP a { - color: white; - text-decoration: none; -} - -#versionMP a:hover { - color: #463; - text-decoration: none; -} - -a.tooltips { - position: relative; - display: inline; - text-decoration: none; -} - -a.tooltips span { - position: absolute; - width:19em; - color: #000000; - background: whitesmoke; - visibility: hidden; - border-radius: 0px; - padding: 3px; -} - -a.tooltips span:after { - position: absolute; - top: 50%; - left: 100%; - margin-top: -8px; - width: 0; - height: 0; -} - -a.tooltips span { - visibility: visible; - opacity: none; - right: 100%; - top: 50%; - margin-right: 4px; - margin-top: -11px; - border: 1px solid black; - z-index: 1000000; -} - -a.tooltips span a { - color: #463; - text-decoration: none; -} - -.tree-junction-expanded { - display: none; -} - -/* Style for autocomplete field */ -div.wicket-aa { - font-family: "Lucida Grande","Lucida Sans Unicode",Tahoma,Verdana; - font-size: 12px; - background-color: white; - border-width: 1px; - border-color: #cccccc; - border-style: solid; - padding: 2px; - margin: 1px 0 0 0; - text-align:left; -} -div.wicket-aa ul { - list-style:none; - padding: 2px; - margin:0; -} -div.wicket-aa ul li.selected { - background-color: #FFFF00; - padding: 2px; - margin:0; -} - -.notificationpanel { - margin: 0px; - padding: 0px; - border-radius: 5px; -} - -.notificationpanel_bottom_left { - bottom: 100px; - left: 30px; -} - -.notificationpanel_bottom_detail_form { - top: 540px; - right: 30px; -} - -.notificationpanel_bottom_right { - bottom: 100px; - right: 30px; -} - -.notificationpanel_top_right { - top: 15px; - right: 30px; -} - -/* notification panel info style */ -.notificationpanel_border_200 { - color: green; - margin: 0px; - background:url("images/ui-bg_highlight-soft_75_cccccc_1x100.png") repeat-x scroll 50% 50% #CCCCCC; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border: 1px solid gray; - box-shadow: 0px 0px 5px gray; -} - -.notificationpanel_row_INFO { - list-style-type: none; - color: green; -} - -.notificationpanel_row_INFO span { - list-style-type: none; - color: green; - background: url("../img/ok.png") no-repeat left; - border:0 none; - padding-left: 20px; -} - -/* notification panel warning style */ -.notificationpanel_border_300 { - border: 1px solid orangered; - box-shadow: 0px 0px 5px gray; -} - -.notificationpanel_row_WARNING { - color: orangered; - list-style-type: none; - border:0 none; - padding-left: 20px; -} - -/* notification panel error style */ -.notificationpanel_border_400 { - color: red; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border: 1px solid gray; - box-shadow: 0px 0px 5px gray; - border-color: red; - background-image: -moz-linear-gradient(top, #FF8585 0%, #E60008 100%); - background-image: -webkit-linear-gradient(top, #FF8585 0%, #E60008 100%); - background-image: -o-linear-gradient(top, #FF8585 0%, #E60008 100%); - background-image: -ms-linear-gradient(top, #FF8585 0%, #E60008 100%); - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FF8585), color-stop(1, #E60008)); - font-weight: bold; -} - -.notificationpanel_row_ERROR { - list-style-type: none; - color: black; -} - -.notificationpanel_row_ERROR span { - border:0 none; -} -pre { - white-space: -moz-pre-wrap; /* Mozilla, supported since 1999 */ - white-space: -pre-wrap; /* Opera */ - white-space: -o-pre-wrap; /* Opera */ - white-space: pre-wrap; /* CSS3 - Text module (Candidate Recommendation) http://www.w3.org/TR/css3-text/#white-space */ - word-wrap: break-word; /* IE 5.5+ */ -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/img/actions/assign-icon.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/img/actions/assign-icon.png b/client/console/src/main/resources/META-INF/resources/img/actions/assign-icon.png deleted file mode 100644 index f9f2a33..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/img/actions/assign-icon.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/img/actions/both-icon.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/img/actions/both-icon.png b/client/console/src/main/resources/META-INF/resources/img/actions/both-icon.png deleted file mode 100644 index 0f98eec..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/img/actions/both-icon.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/img/actions/bulk.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/img/actions/bulk.png b/client/console/src/main/resources/META-INF/resources/img/actions/bulk.png deleted file mode 100644 index ea6d145..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/img/actions/bulk.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/img/actions/claim.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/img/actions/claim.png b/client/console/src/main/resources/META-INF/resources/img/actions/claim.png deleted file mode 100644 index 79332c0..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/img/actions/claim.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/img/actions/create.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/img/actions/create.png b/client/console/src/main/resources/META-INF/resources/img/actions/create.png deleted file mode 100644 index 3f8faf1..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/img/actions/create.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/img/actions/delete.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/img/actions/delete.png b/client/console/src/main/resources/META-INF/resources/img/actions/delete.png deleted file mode 100644 index 1207d8d..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/img/actions/delete.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/img/actions/deprovision-icon.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/img/actions/deprovision-icon.png b/client/console/src/main/resources/META-INF/resources/img/actions/deprovision-icon.png deleted file mode 100644 index 4bc2f4e..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/img/actions/deprovision-icon.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/img/actions/dryrun.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/img/actions/dryrun.png b/client/console/src/main/resources/META-INF/resources/img/actions/dryrun.png deleted file mode 100644 index 910b148..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/img/actions/dryrun.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/img/actions/edit.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/img/actions/edit.png b/client/console/src/main/resources/META-INF/resources/img/actions/edit.png deleted file mode 100644 index 80e00db..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/img/actions/edit.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/img/actions/enable.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/img/actions/enable.png b/client/console/src/main/resources/META-INF/resources/img/actions/enable.png deleted file mode 100644 index 39ba0ca..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/img/actions/enable.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/img/actions/execute.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/img/actions/execute.png b/client/console/src/main/resources/META-INF/resources/img/actions/execute.png deleted file mode 100644 index 443c719..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/img/actions/execute.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/img/actions/export.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/img/actions/export.png b/client/console/src/main/resources/META-INF/resources/img/actions/export.png deleted file mode 100644 index 038583b..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/img/actions/export.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/img/actions/groups-icon.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/img/actions/groups-icon.png b/client/console/src/main/resources/META-INF/resources/img/actions/groups-icon.png deleted file mode 100644 index 9669486..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/img/actions/groups-icon.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/img/actions/link-icon.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/img/actions/link-icon.png b/client/console/src/main/resources/META-INF/resources/img/actions/link-icon.png deleted file mode 100644 index 8c166af..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/img/actions/link-icon.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/resources/META-INF/resources/img/actions/manage-icon.png ---------------------------------------------------------------------- diff --git a/client/console/src/main/resources/META-INF/resources/img/actions/manage-icon.png b/client/console/src/main/resources/META-INF/resources/img/actions/manage-icon.png deleted file mode 100644 index 2e8e190..0000000 Binary files a/client/console/src/main/resources/META-INF/resources/img/actions/manage-icon.png and /dev/null differ
