You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2011/10/04 10:19:50 UTC

svn commit: r1178718 - in /ofbiz/trunk: applications/humanres/src/org/ofbiz/humanres/ applications/humanres/widget/ framework/images/webapp/images/humanres/

Author: hansbak
Date: Tue Oct  4 08:19:49 2011
New Revision: 1178718

URL: http://svn.apache.org/viewvc?rev=1178718&view=rev
Log:
use different symbols in the HR organization tree

Added:
    ofbiz/trunk/framework/images/webapp/images/humanres/
    ofbiz/trunk/framework/images/webapp/images/humanres/Drawer_Closed.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/humanres/User.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/humanres/Users.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/humanres/humanres.css   (with props)
Modified:
    ofbiz/trunk/applications/humanres/src/org/ofbiz/humanres/HumanResEvents.java
    ofbiz/trunk/applications/humanres/widget/CommonScreens.xml

Modified: ofbiz/trunk/applications/humanres/src/org/ofbiz/humanres/HumanResEvents.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/src/org/ofbiz/humanres/HumanResEvents.java?rev=1178718&r1=1178717&r2=1178718&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/src/org/ofbiz/humanres/HumanResEvents.java (original)
+++ ofbiz/trunk/applications/humanres/src/org/ofbiz/humanres/HumanResEvents.java Tue Oct  4 08:19:49 2011
@@ -95,6 +95,7 @@ public class HumanResEvents {
                             hrefStr = hrefStr + hrefString2;
                         }
                         dataAttrMap.put("href", hrefStr);
+                        attrMap.put("rel", "P");
                         dataMap.put("attr", dataAttrMap);
                         attrMap.put("id", memberId);
                         josonMap.put("attr",attrMap);

Modified: ofbiz/trunk/applications/humanres/widget/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/CommonScreens.xml?rev=1178718&r1=1178717&r2=1178718&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/CommonScreens.xml Tue Oct  4 08:19:49 2011
@@ -37,6 +37,7 @@ under the License.
                 <set field="activeApp" value="humanres" global="true"/>
                 <set field="layoutSettings.javaScripts[]" value="/partymgr/static/partymgr.js" global="true"/>
                 <set field="layoutSettings.styleSheets[]" value="/partymgr/static/partymgr.css" global="true"/>
+                <set field="layoutSettings.styleSheets[]" value="/images/humanres/humanres.css" global="true"/>
                 <set field="layoutSettings.javaScripts[+0]" value="/images/jquery/ui/development-bundle/external/jquery.cookie.js" global="true"/>
                 <set field="layoutSettings.javaScripts[+0]" value="/images/jquery/plugins/jsTree/jquery.jstree.js" global="true"/>
                 <set field="applicationMenuName" value="HumanResAppBar" global="true"/>

Added: ofbiz/trunk/framework/images/webapp/images/humanres/Drawer_Closed.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/humanres/Drawer_Closed.png?rev=1178718&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/humanres/Drawer_Closed.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/humanres/User.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/humanres/User.png?rev=1178718&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/humanres/User.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/humanres/Users.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/humanres/Users.png?rev=1178718&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/humanres/Users.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/humanres/humanres.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/humanres/humanres.css?rev=1178718&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/humanres/humanres.css (added)
+++ ofbiz/trunk/framework/images/webapp/images/humanres/humanres.css Tue Oct  4 08:19:49 2011
@@ -0,0 +1,78 @@
+/*
+ * 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.
+ */
+
+/* THE CUSTOM CSS FOR AJUST THE HR TREE */
+.jstree-0 li[rel="Y"] > a > .jstree-icon {
+    background-position: 0px 0px !important;
+    background-image:url("Drawer_Closed.png");
+}
+
+.jstree-0 li[rel="N"] > a > .jstree-icon {
+    background-position: 0px 0px !important;
+    background-image:url("Users.png");
+}
+
+.jstree-0 li[rel="P"] > a > .jstree-icon {
+    background-position: 0px 0px !important;
+    background-image:url("User.png");
+}
+
+.jstree-0 li[rel="C"] > a > .jstree-icon {
+    background-position: 0px 0px !important;
+    background-image:url("Home.png");
+}
+/*
+ * 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.
+ */
+
+/* THE CUSTOM CSS FOR AJUST THE HR TREE */
+.jstree-0 li[rel="Y"] > a > .jstree-icon {
+    background-position: 0px 0px !important;
+    background-image:url("Drawer_Closed.png");
+}
+
+.jstree-0 li[rel="N"] > a > .jstree-icon {
+    background-position: 0px 0px !important;
+    background-image:url("Users.png");
+}
+
+.jstree-0 li[rel="P"] > a > .jstree-icon {
+    background-position: 0px 0px !important;
+    background-image:url("User.png");
+}
+
+.jstree-0 li[rel="C"] > a > .jstree-icon {
+    background-position: 0px 0px !important;
+    background-image:url("Home.png");
+}
\ No newline at end of file

Propchange: ofbiz/trunk/framework/images/webapp/images/humanres/humanres.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/images/webapp/images/humanres/humanres.css
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/framework/images/webapp/images/humanres/humanres.css
------------------------------------------------------------------------------
    svn:mime-type = text/css