From: bsinou Date: Thu, 2 Feb 2017 15:55:13 +0000 (+0100) Subject: Enhance styling X-Git-Tag: argeo-suite-0.1.1~10 X-Git-Url: https://git.argeo.org/?p=gpl%2Fargeo-suite.git;a=commitdiff_plain;h=17e121fae7fb899ff37c7021ae1ab4d1b90ab68a Enhance styling --- diff --git a/org.argeo.suite.core/src/org/argeo/suite/people/PeopleSuiteServiceImpl.java b/org.argeo.suite.core/src/org/argeo/suite/people/PeopleSuiteServiceImpl.java index 12222fa..3c1e1c6 100644 --- a/org.argeo.suite.core/src/org/argeo/suite/people/PeopleSuiteServiceImpl.java +++ b/org.argeo.suite.core/src/org/argeo/suite/people/PeopleSuiteServiceImpl.java @@ -26,7 +26,11 @@ import org.argeo.suite.ArgeoSuiteRole; import org.argeo.suite.SuiteException; import org.springframework.core.io.Resource; -/** Default implementation of an Argeo Suite specific People Backend */ +/** + * Default implementation of an Argeo Suite specific People Backend + * + * TODO refactor and clean init process and service dependencies + */ public class PeopleSuiteServiceImpl extends PeopleServiceImpl implements PeopleService, PeopleConstants { private final static Log log = LogFactory.getLog(PeopleSuiteServiceImpl.class); @@ -57,7 +61,6 @@ public class PeopleSuiteServiceImpl extends PeopleServiceImpl implements PeopleS // FIXME Users must have read access on the jcr:system/jcr:versionStorage // node under JackRabbit to be able to manage versions private final static String jackRabbitVersionSystemPath = "/jcr:system"; - // private final static String sharedFilePath = "/sharedFiles"; @Override protected void initialiseModel(Session adminSession) throws RepositoryException { @@ -65,7 +68,6 @@ public class PeopleSuiteServiceImpl extends PeopleServiceImpl implements PeopleS JcrUtils.mkdirs(adminSession, publicPath, NodeType.NT_UNSTRUCTURED); JcrUtils.mkdirs(adminSession, groupHomePath, NodeType.NT_UNSTRUCTURED); - // JcrUtils.mkdirs(adminSession, sharedFilePath, NodeType.NT_FOLDER); if (adminSession.hasPendingChanges()) { adminSession.save(); configureACL(adminSession); @@ -88,8 +90,7 @@ public class PeopleSuiteServiceImpl extends PeopleServiceImpl implements PeopleS JcrUtils.addPrivilege(session, publicPath, NodeConstants.ROLE_USER, Privilege.JCR_READ); JcrUtils.addPrivilege(session, publicPath, "anonymous", Privilege.JCR_READ); JcrUtils.addPrivilege(session, publicPath, NodeConstants.ROLE_ANONYMOUS, Privilege.JCR_READ); - // JcrUtils.addPrivilege(session, sharedFilePath, - // NodeConstants.ROLE_USER, Privilege.JCR_ALL); + session.save(); log.info("Access control configured"); } diff --git a/org.argeo.suite.workbench.rap/theme/argeo-classic/workbench-ext.css b/org.argeo.suite.workbench.rap/theme/argeo-classic/workbench-ext.css index 00f45b9..9820549 100644 --- a/org.argeo.suite.workbench.rap/theme/argeo-classic/workbench-ext.css +++ b/org.argeo.suite.workbench.rap/theme/argeo-classic/workbench-ext.css @@ -62,6 +62,8 @@ Widget-ToolTip { } + + /** GADGETS **/ .people_gadget { border: 1px solid #f3f3f4; @@ -105,6 +107,23 @@ Button.people_flat_btn:selected { } +/*** FORMS ****/ + +Text.workbench_form_text { + box-shadow: inset 0 0 0px #bdbdbd; + padding: 2px 8px 2px 8px; + border: 0px solid #f4f6f7; +} + +Text.workbench_form_text:focused { + padding: 2px 8px 2px 8px; + border: 2px solid red; + box-shadow: inset 0 0 1px #bdbdbd; +} + + + + /****** DOCUMENTS *********/ /* Breadcrumb ***/