New BizznessTime Theme which should be soon replacing SmoothFeather. Please test, report and see more at https://issues.apache.org/jira/browse/OFBIZ-2398
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770997 13f79535-47bb-0310-9956-ffa450edef68
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
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.
|
||||
-->
|
||||
|
||||
<entity-engine-xml>
|
||||
<VisualTheme visualThemeId="BIZZNESS_TIME" visualThemeSetId="BACKOFFICE" description="It's bizzness, it's bizzness time. I couldn't have said it better myself. This theme gets down"/>
|
||||
<VisualThemeResource visualThemeId="BIZZNESS_TIME" resourceTypeEnumId="VT_STYLESHEET" resourceValue="/bizznesstime/css/style.css" sequenceId="01"/>
|
||||
<VisualThemeResource visualThemeId="BIZZNESS_TIME" resourceTypeEnumId="VT_HDR_JAVASCRIPT" resourceValue="/bizznesstime/js/application.js" sequenceId="01"/>
|
||||
<VisualThemeResource visualThemeId="BIZZNESS_TIME" resourceTypeEnumId="VT_SHORTCUT_ICON" resourceValue="/images/ofbiz.ico" sequenceId="01"/>
|
||||
<VisualThemeResource visualThemeId="BIZZNESS_TIME" resourceTypeEnumId="VT_HDR_IMAGE_URL" resourceValue="/images/ofbiz_logo.gif" sequenceId="01"/>
|
||||
<VisualThemeResource visualThemeId="BIZZNESS_TIME" resourceTypeEnumId="VT_HDR_TMPLT_LOC" resourceValue="component://bizznesstime/includes/header.ftl" sequenceId="01"/>
|
||||
<VisualThemeResource visualThemeId="BIZZNESS_TIME" resourceTypeEnumId="VT_FTR_TMPLT_LOC" resourceValue="component://bizznesstime/includes/footer.ftl" sequenceId="01"/>
|
||||
<VisualThemeResource visualThemeId="BIZZNESS_TIME" resourceTypeEnumId="VT_NAV_TMPLT_LOC" resourceValue="component://bizznesstime/includes/appbar.ftl" sequenceId="01"/>
|
||||
<VisualThemeResource visualThemeId="BIZZNESS_TIME" resourceTypeEnumId="VT_MSG_TMPLT_LOC" resourceValue="component://bizznesstime/includes/messages.ftl" sequenceId="01"/>
|
||||
<VisualThemeResource visualThemeId="BIZZNESS_TIME" resourceTypeEnumId="VT_SCREENSHOT" resourceValue="/bizznesstime/screenshot.jpg" sequenceId="01"/>
|
||||
</entity-engine-xml>
|
||||
@@ -0,0 +1,60 @@
|
||||
<#--
|
||||
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.
|
||||
-->
|
||||
<#if (requestAttributes.externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists></#if>
|
||||
<#if (externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists></#if>
|
||||
<#assign ofbizServerName = application.getAttribute("_serverId")?default("default-server")>
|
||||
<#assign contextPath = request.getContextPath()>
|
||||
<#assign displayApps = Static["org.ofbiz.base.component.ComponentConfig"].getAppBarWebInfos(ofbizServerName, "main")>
|
||||
|
||||
<#if userLogin?has_content>
|
||||
<div id="main-nav">
|
||||
<h2 class="contracted">${uiLabelMap.CommonApplications}</h2>
|
||||
<div id="header-nav" class="clearfix" style="display:none">
|
||||
<ul>
|
||||
<h4>${uiLabelMap.CommonPrimaryApps}</h4>
|
||||
<#list displayApps as display>
|
||||
<#assign thisApp = display.getContextRoot()>
|
||||
<#assign permission = true>
|
||||
<#assign selected = false>
|
||||
<#assign permissions = display.getBasePermission()>
|
||||
<#list permissions as perm>
|
||||
<#if perm != "NONE" && !security.hasEntityPermission(perm, "_VIEW", session)>
|
||||
<#-- User must have ALL permissions in the base-permission list -->
|
||||
<#assign permission = false>
|
||||
</#if>
|
||||
</#list>
|
||||
<#if permission == true>
|
||||
<#if thisApp == contextPath || contextPath + "/" == thisApp>
|
||||
<#assign selected = true>
|
||||
</#if>
|
||||
<#assign thisURL = thisApp>
|
||||
<#if thisApp != "/">
|
||||
<#assign thisURL = thisURL + "/control/main">
|
||||
</#if>
|
||||
<li><a href="${thisURL + externalKeyParam}" <#if uiLabelMap?exists> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}">${display.title}</#if></a></li>
|
||||
</#if>
|
||||
</#list>
|
||||
</ul>
|
||||
|
||||
<#include "component://bizznesstime/includes/secondary-appbar.ftl" />
|
||||
</div>
|
||||
</div>
|
||||
</#if>
|
||||
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
<#--
|
||||
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.
|
||||
-->
|
||||
<#if layoutSettings.VT_FTR_JAVASCRIPT?has_content>
|
||||
<#list layoutSettings.VT_FTR_JAVASCRIPT as javaScript>
|
||||
<script type="text/javascript" src="<@ofbizContentUrl>${javaScript}</@ofbizContentUrl>" type="text/javascript"></script>
|
||||
</#list>
|
||||
</#if>
|
||||
|
||||
</div>
|
||||
<!-- footer -->
|
||||
<div id="footer">
|
||||
<div class="poweredBy"><span>Powered by <a href="http://ofbiz.apache.org" class="noicon">OFBiz</a></span><span> Copyright 2001-2008 The Apache Software Foundation - www.apache.org </span></div>
|
||||
|
||||
</div>
|
||||
<!-- footer -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,129 @@
|
||||
<#--
|
||||
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.
|
||||
-->
|
||||
<#if (requestAttributes.person)?exists><#assign person = requestAttributes.person></#if>
|
||||
<#if (requestAttributes.partyGroup)?exists><#assign partyGroup = requestAttributes.partyGroup></#if>
|
||||
<#assign docLangAttr = locale.toString()?replace("_", "-")>
|
||||
<#assign langDir = "ltr">
|
||||
<#if "ar.iw"?contains(docLangAttr?substring(0, 2))>
|
||||
<#assign langDir = "rtl">
|
||||
</#if>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${docLangAttr}" lang="${docLangAttr}" dir="${langDir}">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="Content-Language" content="en" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
||||
<meta http-equiv="pragma" content="no-cache" />
|
||||
<meta http-equiv="cache-control" content="no-cache" />
|
||||
<meta http-equiv="expires" content="0" />
|
||||
<meta http-equiv="imagetoolbar" content="false" />
|
||||
|
||||
<title>${layoutSettings.companyName}: <#if (page.titleProperty)?has_content>${uiLabelMap[page.titleProperty]}<#else>${(page.title)?if_exists}</#if></title>
|
||||
|
||||
<meta name="robots" content="index, follow" />
|
||||
<meta name="googlebot" content="index,follow" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="keywords" content="" />
|
||||
<meta name="copyright" content="" />
|
||||
<meta name="MSSmartTagsPreventParsing" content="true" />
|
||||
<meta name="author" content="" />
|
||||
|
||||
<link rel="start" href="" title="" />
|
||||
<#if layoutSettings.shortcutIcon?has_content>
|
||||
<#assign shortcutIcon = layoutSettings.shortcutIcon/>
|
||||
<#elseif layoutSettings.VT_SHORTCUT_ICON?has_content>
|
||||
<#assign shortcutIcon = layoutSettings.VT_SHORTCUT_ICON.get(0)/>
|
||||
</#if>
|
||||
<#if shortcutIcon?has_content>
|
||||
<link rel="shortcut icon" href="<@ofbizContentUrl>${shortcutIcon}</@ofbizContentUrl>" />
|
||||
</#if>
|
||||
<#if layoutSettings.styleSheets?has_content>
|
||||
<#list layoutSettings.styleSheets as styleSheet>
|
||||
<link rel="stylesheet" href="<@ofbizContentUrl>${styleSheet}</@ofbizContentUrl>" media="screen,projection" type="text/css" charset="UTF-8"/>
|
||||
</#list>
|
||||
</#if>
|
||||
<#if userLogin?has_content>
|
||||
<#if layoutSettings.VT_STYLESHEET?has_content>
|
||||
<#list layoutSettings.VT_STYLESHEET as styleSheet>
|
||||
<link rel="stylesheet" href="<@ofbizContentUrl>${styleSheet}</@ofbizContentUrl>" media="screen,projection" type="text/css" charset="UTF-8"/>
|
||||
</#list>
|
||||
</#if>
|
||||
<#else>
|
||||
<link rel="stylesheet" href="/bizznesstime/css/login.css" type="text/css"/>
|
||||
</#if>
|
||||
<#if layoutSettings.rtlStyleSheets?has_content && langDir == "rtl">
|
||||
<#--layoutSettings.rtlStyleSheets is a list of rtl style sheets.-->
|
||||
<#list layoutSettings.rtlStyleSheets as styleSheet>
|
||||
<link rel="stylesheet" href="<@ofbizContentUrl>${styleSheet}</@ofbizContentUrl>" media="screen,projection" type="text/css" charset="UTF-8"/>
|
||||
</#list>
|
||||
</#if>
|
||||
<#if layoutSettings.VT_RTL_STYLESHEET?has_content && langDir == "rtl">
|
||||
<#list layoutSettings.VT_RTL_STYLESHEET as styleSheet>
|
||||
<link rel="stylesheet" href="<@ofbizContentUrl>${styleSheet}</@ofbizContentUrl>" media="screen,projection" type="text/css" charset="UTF-8"/>
|
||||
</#list>
|
||||
</#if>
|
||||
${layoutSettings.extraHead?if_exists}
|
||||
<#if layoutSettings.VT_EXTRA_HEAD?has_content>
|
||||
<#list layoutSettings.VT_EXTRA_HEAD as extraHead>
|
||||
${extraHead}
|
||||
</#list>
|
||||
</#if>
|
||||
|
||||
<#if layoutSettings.javaScripts?has_content>
|
||||
<#assign javaScriptsSet = Static["org.ofbiz.base.util.UtilMisc"].toSet(layoutSettings.javaScripts)/>
|
||||
<#list layoutSettings.javaScripts as javaScript>
|
||||
<#if javaScriptsSet.contains(javaScript)>
|
||||
<#assign nothing = javaScriptsSet.remove(javaScript)/>
|
||||
<script type="text/javascript" src="<@ofbizContentUrl>${javaScript}</@ofbizContentUrl>" type="text/javascript"></script>
|
||||
</#if>
|
||||
</#list>
|
||||
</#if>
|
||||
<#if layoutSettings.VT_HDR_JAVASCRIPT?has_content>
|
||||
<#list layoutSettings.VT_HDR_JAVASCRIPT as javaScript>
|
||||
<script type="text/javascript" src="<@ofbizContentUrl>${javaScript}</@ofbizContentUrl>" type="text/javascript"></script>
|
||||
</#list>
|
||||
</#if>
|
||||
</head>
|
||||
<body>
|
||||
<div id="wrap">
|
||||
<div id="header">
|
||||
<div id="logo"></div>
|
||||
<div id="shelf"></div>
|
||||
<div id="controls">
|
||||
<span id="prefBtn">
|
||||
<a href="#" class="contracted">${uiLabelMap.CommonPreferences}</a>
|
||||
<div id="preferences" style="display:none">
|
||||
<a href="#" rel="<@ofbizUrl>LookupLocales</@ofbizUrl>" id="language">${uiLabelMap.CommonLanguageTitle} - ${locale.getDisplayName(locale)}</a>
|
||||
<a href="#" rel="<@ofbizUrl>LookupTimezones</@ofbizUrl>" id="timezone">${nowTimestamp?datetime?string.short} - ${timeZone.getDisplayName(timeZone.useDaylightTime(), Static["java.util.TimeZone"].LONG, locale)}</a>
|
||||
<a href="#" rel="<@ofbizUrl>LookupVisualThemes</@ofbizUrl>" id="theme">${uiLabelMap.CommonVisualThemes}</a>
|
||||
</div>
|
||||
</span>
|
||||
<span>
|
||||
<#if person?has_content>
|
||||
${uiLabelMap.CommonWelcome}, ${person.firstName?if_exists} ${person.lastName?if_exists} ( ${userLogin.userLoginId} )
|
||||
<#elseif partyGroup?has_content>
|
||||
${uiLabelMap.CommonWelcome}, ${partyGroup.groupName?if_exists} ( ${userLogin.userLoginId} )
|
||||
<#else>
|
||||
${uiLabelMap.CommonWelcome}
|
||||
</#if>
|
||||
</span>
|
||||
<span><a href="<@ofbizUrl>logout</@ofbizUrl>">${uiLabelMap.CommonLogout}</a></span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,55 @@
|
||||
<#--
|
||||
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.
|
||||
-->
|
||||
<#if requestAttributes.errorMessageList?has_content><#assign errorMessageList=requestAttributes.errorMessageList></#if>
|
||||
<#if requestAttributes.eventMessageList?has_content><#assign eventMessageList=requestAttributes.eventMessageList></#if>
|
||||
<#if requestAttributes.serviceValidationException?exists><#assign serviceValidationException = requestAttributes.serviceValidationException></#if>
|
||||
<#if requestAttributes.uiLabelMap?has_content><#assign uiLabelMap = requestAttributes.uiLabelMap></#if>
|
||||
|
||||
<#if !errorMessage?has_content>
|
||||
<#assign errorMessage = requestAttributes._ERROR_MESSAGE_?if_exists>
|
||||
</#if>
|
||||
<#if !errorMessageList?has_content>
|
||||
<#assign errorMessageList = requestAttributes._ERROR_MESSAGE_LIST_?if_exists>
|
||||
</#if>
|
||||
<#if !eventMessage?has_content>
|
||||
<#assign eventMessage = requestAttributes._EVENT_MESSAGE_?if_exists>
|
||||
</#if>
|
||||
<#if !eventMessageList?has_content>
|
||||
<#assign eventMessageList = requestAttributes._EVENT_MESSAGE_LIST_?if_exists>
|
||||
</#if>
|
||||
|
||||
<#-- display the error messages -->
|
||||
<#if (errorMessage?has_content || errorMessageList?has_content)>
|
||||
<script type="text/javascript">
|
||||
Event.observe(window, 'load', function() {
|
||||
humanMsg.displayMsg('<div class="errorMessage"><#if errorMessage?has_content><p>${errorMessage}</p></#if><#if errorMessageList?has_content><#list errorMessageList as errorMsg><p>${errorMsg}</p></#list></#if></p></div>');
|
||||
return false;
|
||||
});
|
||||
</script>
|
||||
</#if>
|
||||
|
||||
<#-- display the event messages -->
|
||||
<#if (eventMessage?has_content || eventMessageList?has_content)>
|
||||
<script type="text/javascript">
|
||||
Event.observe(window, 'load', function() {
|
||||
humanMsg.displayMsg('<div class="eventMessage"><#if eventMessage?has_content><p>${eventMessage}</p></#if><#if eventMessageList?has_content><#list eventMessageList as eventMsg><p>${eventMsg}</p></#list></#if></div>');
|
||||
return false;
|
||||
});
|
||||
</script>
|
||||
</#if>
|
||||
@@ -0,0 +1,53 @@
|
||||
<#--
|
||||
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.
|
||||
-->
|
||||
<#assign nowTimestamp = Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp()>
|
||||
|
||||
<#if (requestAttributes.externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists></#if>
|
||||
<#if (externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists></#if>
|
||||
<#assign ofbizServerName = application.getAttribute("_serverId")?default("default-server")>
|
||||
<#assign contextPath = request.getContextPath()>
|
||||
<#assign displayApps = Static["org.ofbiz.base.component.ComponentConfig"].getAppBarWebInfos(ofbizServerName, "secondary")>
|
||||
|
||||
<#if userLogin?has_content>
|
||||
<ul>
|
||||
<h4>${uiLabelMap.CommonSecondaryApps}</h4>
|
||||
<#list displayApps as display>
|
||||
<#assign thisApp = display.getContextRoot()>
|
||||
<#assign permission = true>
|
||||
<#assign selected = false>
|
||||
<#assign permissions = display.getBasePermission()>
|
||||
<#list permissions as perm>
|
||||
<#if perm != "NONE" && !security.hasEntityPermission(perm, "_VIEW", session)>
|
||||
<#-- User must have ALL permissions in the base-permission list -->
|
||||
<#assign permission = false>
|
||||
</#if>
|
||||
</#list>
|
||||
<#if permission == true>
|
||||
<#if thisApp == contextPath || contextPath + "/" == thisApp>
|
||||
<#assign selected = true>
|
||||
</#if>
|
||||
<#assign thisURL = thisApp>
|
||||
<#if thisApp != "/">
|
||||
<#assign thisURL = thisURL + "/control/main">
|
||||
</#if>
|
||||
<li><a<#if selected> class="current-section"</#if> href="${thisURL}${externalKeyParam}" <#if uiLabelMap?exists> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}"> ${display.title}</#if></a></li>
|
||||
</#if>
|
||||
</#list>
|
||||
</ul>
|
||||
</#if>
|
||||
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
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.
|
||||
-->
|
||||
|
||||
<ofbiz-component name="bizznesstime"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd">
|
||||
<!-- define resource loaders; most common is to use the component resource loader -->
|
||||
<resource-loader name="main" type="component"/>
|
||||
|
||||
<!-- entity resources: model(s), eca(s), group, and data definitions -->
|
||||
<entity-resource type="data" reader-name="seed" loader="main" location="data/BizznessTimeThemeData.xml"/>
|
||||
|
||||
<!-- web applications; will be mounted when using the embedded Jetty container -->
|
||||
<webapp name="bizznesstime"
|
||||
title="bizznesstime"
|
||||
menu-name="secondary"
|
||||
server="default-server"
|
||||
location="webapp/bizznesstime"
|
||||
mount-point="/bizznesstime"
|
||||
app-bar-display="false"/>
|
||||
</ofbiz-component>
|
||||
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
|
||||
<!--
|
||||
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.
|
||||
-->
|
||||
|
||||
<web-app>
|
||||
<display-name>Open For Business - It's Bizzness Time Visual Theme</display-name>
|
||||
<description>It's bizzness, it's bizzness time. I couldn't have said it better myself. This theme gets down</description>
|
||||
|
||||
<session-config>
|
||||
<session-timeout>1</session-timeout>
|
||||
</session-config>
|
||||
|
||||
<welcome-file-list>
|
||||
<welcome-file>index.jsp</welcome-file>
|
||||
<welcome-file>main.jsp</welcome-file>
|
||||
</welcome-file-list>
|
||||
</web-app>
|
||||
@@ -0,0 +1,108 @@
|
||||
/***********************************************
|
||||
APACHE OPEN FOR BUSINESS
|
||||
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.
|
||||
***********************************************/
|
||||
|
||||
form {
|
||||
border: 0;
|
||||
margin: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
form label {
|
||||
font-size: 11px;
|
||||
color: #5d5644;
|
||||
margin-top: 5px;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
|
||||
form a img {
|
||||
float:none;
|
||||
margin:0px 5px 10px 5px;
|
||||
}
|
||||
|
||||
form tbody {
|
||||
border:none;
|
||||
}
|
||||
form tbody tr {
|
||||
border:0px;
|
||||
}
|
||||
|
||||
input[type="radio"],input[type="checkbox"] {
|
||||
font-size: 1.1em;
|
||||
margin: 5px 5px 10px 5px;
|
||||
}
|
||||
|
||||
input[type="text"],input[type="password"] {
|
||||
border: #ddd solid 2px;
|
||||
font-weight:bold;
|
||||
font-size: 1.1em;
|
||||
margin:5px 5px 5px 5px;
|
||||
padding:2px 4px;
|
||||
}
|
||||
|
||||
input[type="submit"],input[type="button"],input[type="reset"] {
|
||||
background:url(../images/btn-bg.gif) center left repeat-x;
|
||||
border: #ddd solid 2px;
|
||||
color: #444;
|
||||
font-weight:bold;
|
||||
line-height:1.8em;
|
||||
margin:5px 5px 2px 5px;
|
||||
padding:2px 4px;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
|
||||
input[type="submit"]:hover,
|
||||
input[type="button"],
|
||||
input[type="reset"] {
|
||||
color: #1c334d;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
input[type="file"] {
|
||||
font-size: 1.1em;
|
||||
height: 1.9em; /* force ctrl to scale with text */
|
||||
background-color: #ffffff;
|
||||
border: #ddd solid 2px;
|
||||
color: #444;
|
||||
}
|
||||
|
||||
select {
|
||||
background-color: #ffffff;
|
||||
border: #ddd solid 2px;
|
||||
font-size: 1.1em;
|
||||
height: 1.6em; /* force ctrl to scale with text */
|
||||
margin:5px 5px 2px 5px;
|
||||
}
|
||||
|
||||
textarea {
|
||||
border: #ddd solid 2px;
|
||||
font-weight:bold;
|
||||
font-size: 1.1em;
|
||||
margin:5px 5px 5px 5px;
|
||||
padding:2px 4px;
|
||||
}
|
||||
|
||||
input:focus,.contentarea textarea:focus {
|
||||
border: 2px solid #6E2723;
|
||||
}
|
||||
|
||||
input.focused, textarea.focused {
|
||||
border: 2px solid #6E2723;
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
/***********************************************
|
||||
APACHE OPEN FOR BUSINESS
|
||||
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.
|
||||
***********************************************/
|
||||
|
||||
/* Make sure the layout is centered in IE5 */
|
||||
body { text-align: center; }
|
||||
.container { text-align: left; }
|
||||
|
||||
/* Fixes IE margin bugs */
|
||||
* html .column { overflow-x: hidden; }
|
||||
|
||||
/* Fixes incorrect styling of legend in IE6. */
|
||||
* html legend { margin:-18px -8px 16px 0; padding:0; }
|
||||
|
||||
/* Fixes incorrect placement of ol numbers in IE6/7. */
|
||||
ol { margin-left:2em; }
|
||||
|
||||
/* Fixes wrong line-height on sup/sub in IE. */
|
||||
sup { vertical-align: text-top; }
|
||||
sub { vertical-align: text-bottom; }
|
||||
|
||||
/* Fixes IE7 missing wrapping of code elements. */
|
||||
html>body p code { *white-space: normal; }
|
||||
@@ -0,0 +1,816 @@
|
||||
/***********************************************
|
||||
APACHE OPEN FOR BUSINESS
|
||||
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.
|
||||
***********************************************/
|
||||
|
||||
.tooltip { /* tooltip style */
|
||||
background-color: #ffffbb;
|
||||
border: 0.1em solid #999999;
|
||||
color: #000000;
|
||||
font-style: italic;
|
||||
margin: 0.4em;
|
||||
padding: 0.1em;
|
||||
}
|
||||
|
||||
.page-container {
|
||||
background-color: #B8DFFC;
|
||||
}
|
||||
|
||||
/***********************************************
|
||||
Boxes
|
||||
***********************************************/
|
||||
.boxhead {
|
||||
color: #FFFFFF;
|
||||
font-size: 1.1em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.boxlink {
|
||||
float: right;
|
||||
}
|
||||
|
||||
div.boxtop {
|
||||
background-color: #333;
|
||||
border-color: #999999;
|
||||
border-style: solid;
|
||||
margin: 0 auto 0 auto;
|
||||
padding: 0.1em 0.4em 0.1em 0.4em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.boxhead-left {
|
||||
border: none;
|
||||
color: #FFFFFF;
|
||||
float: left;
|
||||
font-size: 1.1em;
|
||||
font-weight: bold;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
div.boxhead-fill {
|
||||
border: none;
|
||||
color: #FFFFFF;
|
||||
font-size: 1.1em;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
div.boxhead-right {
|
||||
border: none;
|
||||
color: #FFFFFF;
|
||||
float: right;
|
||||
font-size: 1.1em;
|
||||
font-weight: bold;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.boxoutside {
|
||||
background-color: #FFFFFF;
|
||||
border: 0.1em solid #999999;
|
||||
}
|
||||
|
||||
.boxtop {
|
||||
background-color: #333;
|
||||
border: 0 solid #999999;
|
||||
padding: 0.1em 0.4em 0.1em 0.4em;
|
||||
}
|
||||
|
||||
.boxbottom {
|
||||
background-color: #FFFFFF;
|
||||
border: 0 solid #999999;
|
||||
padding: 0.4em;
|
||||
}
|
||||
|
||||
/***********************************************
|
||||
Submenu
|
||||
***********************************************/
|
||||
.submenutextinfo {
|
||||
border-right: 0.1em solid #5886C6;
|
||||
color: #ffffff;
|
||||
font-size: 0.9em;
|
||||
font-weight: bold;
|
||||
padding-left: 0.5em;
|
||||
padding-right: 0.5em;
|
||||
}
|
||||
|
||||
.submenutext,a.submenutext,a.submenutext:visited {
|
||||
color: #333;
|
||||
font-size: 0.9em;
|
||||
font-weight: bold;
|
||||
padding-left: 0.2em;
|
||||
padding-right: 0.5em;
|
||||
}
|
||||
|
||||
a.submenutext:hover {
|
||||
color: #1c334d;
|
||||
}
|
||||
|
||||
.submenutextdisabled,
|
||||
a.submenutextdisabled {
|
||||
color: #ccc;
|
||||
font-size: 0.9em;
|
||||
font-weight: bold;
|
||||
padding-left: 0.2em;
|
||||
padding-right: 0.5em;
|
||||
}
|
||||
|
||||
a.submenutextdisabled:hover {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.submenutextinforight {
|
||||
color: #ffffff;
|
||||
font-size: 0.9em;
|
||||
font-weight: bold;
|
||||
padding-left: 0.2em;
|
||||
}
|
||||
|
||||
.submenutextright,
|
||||
a.submenutextright {
|
||||
color: #333;
|
||||
font-size: 0.9em;
|
||||
font-weight: bold;
|
||||
padding-left: 0.2em;
|
||||
}
|
||||
|
||||
a.submenutextright:hover {
|
||||
color: #1c334d;
|
||||
}
|
||||
|
||||
.submenutextrightdisabled,
|
||||
a.submenutextrightdisabled {
|
||||
color: #ccc;
|
||||
font-size: 0.9em;
|
||||
font-weight: bold;
|
||||
padding-left: 0.2em;
|
||||
}
|
||||
|
||||
a.submenutextrightdisabled:hover {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
a img.imageborder {
|
||||
border: 2px solid #ddd;
|
||||
}
|
||||
|
||||
/***********************************************
|
||||
Trees
|
||||
***********************************************/
|
||||
.treeWrapper {
|
||||
background-color: #ffffff;
|
||||
border-top: 0.1em solid #eee;
|
||||
border-left: 0.1em solid #eee;
|
||||
color: #444;
|
||||
font-size: 1.6em;
|
||||
font-weight: normal;
|
||||
margin-left: 1.2em;
|
||||
margin-top: 0.2em;
|
||||
text-align: left;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.treewrapper {
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
.treeitem {
|
||||
border: #888888 solid 0.1em;
|
||||
color: #333;
|
||||
font-size: 1.4em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.basic-tree ul {
|
||||
padding-left: 1em;
|
||||
}
|
||||
|
||||
.basic-tree li {
|
||||
padding-left: 1em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.basic-tree li .expanded {
|
||||
background: url(/images/collapse.gif) no-repeat left center;
|
||||
padding-right: 1em;
|
||||
}
|
||||
|
||||
.basic-tree li .collapsed {
|
||||
background: url(/images/expand.gif) no-repeat left center;
|
||||
padding-right: 1em;
|
||||
}
|
||||
|
||||
.basic-tree li .leafnode {
|
||||
background: url(/images/expand-collapse-placeholder.gif) no-repeat left center;
|
||||
padding-right: 1em;
|
||||
}
|
||||
|
||||
.basic-tree li .treeitem {
|
||||
border-style: none;
|
||||
color: #333;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.basic-tree li a:hover {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
/***********************************************
|
||||
Navigation Bars
|
||||
***********************************************/
|
||||
.basic-nav {
|
||||
padding-left: 1em;
|
||||
}
|
||||
|
||||
.basic-nav ul a {
|
||||
color: #333;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.basic-nav ul .selected,
|
||||
.basic-nav ul .selected a {
|
||||
color: #1c334d;
|
||||
}
|
||||
|
||||
.basic-nav ul a:hover {
|
||||
color: #1c334d;
|
||||
}
|
||||
|
||||
.basic-nav ul .disabled,
|
||||
.basic-nav ul .disabled a {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.tool-bar {
|
||||
background-color: #D4D0C8;
|
||||
border: 0.1em solid #333;
|
||||
padding: 0.2em;
|
||||
}
|
||||
|
||||
.tool-bar ul li {
|
||||
background-color: #D4D0C8;
|
||||
padding: 0.1em;
|
||||
}
|
||||
|
||||
.nav-pager {
|
||||
padding:0.08em 0 0.5em 0;
|
||||
clear:both;
|
||||
display:block;
|
||||
position:relative;
|
||||
margin:0px 0 10px 0;
|
||||
}
|
||||
|
||||
.nav-pager ul {
|
||||
display: inline; /* IE Fix */
|
||||
}
|
||||
|
||||
.nav-pager ul li {
|
||||
background-color: #ffffff;
|
||||
float: left;
|
||||
font-weight: bold;
|
||||
line-height: 1.8em;
|
||||
margin: 0.2em;
|
||||
}
|
||||
|
||||
.nav-pager ul li a {
|
||||
display: block;
|
||||
color:#444444;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.nav-pager ul .nav-first,
|
||||
.nav-pager ul .nav-previous,
|
||||
.nav-pager ul .nav-next,
|
||||
.nav-pager ul .nav-last {
|
||||
background-color:#fff;
|
||||
border:2px solid #ddd;
|
||||
color:#444;
|
||||
padding: 0 0.5em 0 0.5em;
|
||||
}
|
||||
|
||||
.nav-pager ul .nav-first-disabled,
|
||||
.nav-pager ul .nav-previous-disabled,
|
||||
.nav-pager ul .nav-next-disabled,
|
||||
.nav-pager ul .nav-last-disabled {
|
||||
background-color:#fff;
|
||||
border:2px solid #ddd;
|
||||
color:#ccc;
|
||||
padding: 0 0.5em 0 0.5em;
|
||||
}
|
||||
|
||||
.nav-pager select {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/***********************************************
|
||||
Legacy Table Styles
|
||||
***********************************************/
|
||||
.formTableBordered {
|
||||
border: 2px solid #eee;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.basic-table {
|
||||
margin-bottom: 1em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
form .basic-table,
|
||||
.screenlet-body .basic-table {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.basic-table tr th,.basic-table .header-row {
|
||||
font-weight: bold;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.basic-table .header-row td {
|
||||
border-bottom: 1px solid #999;
|
||||
}
|
||||
|
||||
.basic-table .header-row td a {
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.basic-table .alternate-row {
|
||||
background-color: #f5f6eb;
|
||||
}
|
||||
|
||||
.basic-table .selected {
|
||||
background: #FFFCCF;
|
||||
}
|
||||
|
||||
.basic-table .alternate-rowSelected {
|
||||
background: #FFF55F;
|
||||
}
|
||||
|
||||
.basic-table .Validate {
|
||||
background: #A0D5F7;
|
||||
}
|
||||
|
||||
.basic-table .alternate-rowValidate {
|
||||
background: #72A8F2;
|
||||
}
|
||||
|
||||
.basic-table .Warn {
|
||||
background: #f55C5C;
|
||||
}
|
||||
|
||||
.basic-table .alternate-rowWarn {
|
||||
background: #FC7455;
|
||||
}
|
||||
|
||||
.basic-table tr .button-col {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.basic-table tr .button-col a {
|
||||
background:url(../images/btn-bg.gif) center left repeat-x;
|
||||
border: 2px solid #ddd;
|
||||
color: #333;
|
||||
float: left;
|
||||
font-weight:bold;
|
||||
margin: 0 0.1em 0 0.1em;
|
||||
padding: 0.1em 0.4em 0.1em 0.4em;
|
||||
text-transform:uppercase;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.basic-table tr .smallSubmit,.basic-table tr .smallSubmit:visited {
|
||||
background:url(../images/btn-bg.gif) center left repeat-x;
|
||||
border:2px solid #ddd;
|
||||
color:#444;
|
||||
font-weight:bold;
|
||||
line-height:1.8em;
|
||||
margin:5px 5px 2px;
|
||||
padding:2px 4px;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
|
||||
.basic-table tr .button-col a:hover,
|
||||
.basic-table tr .button-col a:active {
|
||||
color: #1c334d;
|
||||
margin: 0 0.1em 0 0.1em;
|
||||
padding: 0.1em 0.4em 0.1em 0.4em;
|
||||
}
|
||||
|
||||
.basic-table .collapsed {
|
||||
visibility: collapse;
|
||||
}
|
||||
|
||||
.basic-table .header-row-2 th,
|
||||
.basic-table .header-row-2 td {
|
||||
background:#D14B1F url(../images/tableheader-bg.jpg) repeat-x scroll 0 -100px;
|
||||
border-bottom:2px solid #FFFFFF;
|
||||
border-left:1px solid #D14B1F;
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.basic-table .header-row-2 th a,
|
||||
.basic-table .header-row-2 td a {
|
||||
color:#fff;
|
||||
}
|
||||
|
||||
.basic-table .header-row-2 th .sort-order-asc,
|
||||
.basic-table .header-row-2 td .sort-order-asc {
|
||||
background: url(/images/arrow-gr-up.png) no-repeat right;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.basic-table .header-row-2 th .sort-order-desc,
|
||||
.basic-table .header-row-2 td .sort-order-desc {
|
||||
background: url(/images/arrow-gr-dw.png) no-repeat right;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.basic-table .header-row-2 th .sort-order,
|
||||
.basic-table .header-row-2 td .sort-order {
|
||||
background: url(/images/arrow-gr.png) no-repeat right;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.dark-grid {
|
||||
border-right: 0.1em solid #000000;
|
||||
border-top: 0.1em solid #000000;
|
||||
}
|
||||
|
||||
.dark-grid td,
|
||||
.dark-grid .header-row-2 th,
|
||||
.dark-grid .header-row-2 td {
|
||||
border-bottom: 0.1em solid #000000;
|
||||
border-left: 0.1em solid #000000;
|
||||
}
|
||||
|
||||
.light-grid {
|
||||
border-right: 0.1em solid #cccccc;
|
||||
border-top: 0.1em solid #cccccc;
|
||||
}
|
||||
|
||||
.light-grid td,
|
||||
.light-grid .header-row td {
|
||||
border-bottom: 0.1em solid #cccccc;
|
||||
border-left: 0.1em solid #cccccc;
|
||||
}
|
||||
|
||||
.form-widget table tr .label,
|
||||
.form-widget-table tr .label {
|
||||
/* Added for backward compatibility */
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
.form-widget table,.form-widget-table {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.form-widget-table {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
/***********************************************
|
||||
Calendar
|
||||
***********************************************/
|
||||
.field-lookup {
|
||||
background: url(/images/fieldlookup.gif) no-repeat;
|
||||
}
|
||||
|
||||
.view-calendar {
|
||||
background: url(/images/cal.gif) no-repeat;
|
||||
}
|
||||
|
||||
.calendar {
|
||||
border-right: 0.1em solid #cccccc;
|
||||
}
|
||||
|
||||
.calendar tr td {
|
||||
border-bottom: 0.1em solid #cccccc;
|
||||
border-left: 0.1em solid #cccccc;
|
||||
vertical-align: top;
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
.calendar .header-row td {
|
||||
background-color: #69a9d9;
|
||||
border-bottom: 0.1em solid #cccccc;
|
||||
border-left: 0.1em solid #cccccc;
|
||||
color: #ffffff;
|
||||
height: auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.calendar tr td .add-new {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.calendar tr td .h1 {
|
||||
color: #333;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.calendar .current-period {
|
||||
background-color: #ffffcc;
|
||||
}
|
||||
|
||||
.calendar .active-period {
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
.calendar_date_select {
|
||||
color: #fff;
|
||||
border: #bbb 2px solid;
|
||||
display: block;
|
||||
width: 300px;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.calendar_date_select thead th {
|
||||
font-weight: bold;
|
||||
background-color: #666;
|
||||
border-top: 1px solid #777;
|
||||
border-bottom: 2px solid #777;
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
.calendar_date_select .cds_buttons {
|
||||
text-align: center;
|
||||
padding: 5px 0px;
|
||||
background-color: #666;
|
||||
}
|
||||
|
||||
.calendar_date_select .cds_footer {
|
||||
background-color: #fff;
|
||||
padding: 3px;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
color:#333;
|
||||
}
|
||||
|
||||
.calendar_date_select .cds_footer span {
|
||||
display:none
|
||||
}
|
||||
|
||||
.calendar_date_select table {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.calendar_date_select .cds_header {
|
||||
background-color: #fff;
|
||||
border-bottom: 2px solid #777;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.calendar_date_select .cds_header span {
|
||||
font-size: 15px;
|
||||
color: #000;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.calendar_date_select select {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.calendar_date_select .cds_header a:hover {
|
||||
color: #1c334d;
|
||||
}
|
||||
|
||||
.calendar_date_select .cds_header a {
|
||||
width: 22px;
|
||||
height: 20px;
|
||||
text-decoration: none;
|
||||
font-size: 14px;
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.calendar_date_select .cds_header a.prev {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.calendar_date_select .cds_header a.next {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.calendar_date_select .cds_header a.close {
|
||||
float: right;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.calendar_date_select .cds_header select.month {
|
||||
width: 90px;
|
||||
}
|
||||
|
||||
.calendar_date_select .cds_header select.year {
|
||||
width: 61px;
|
||||
}
|
||||
|
||||
.calendar_date_select .cds_buttons a {
|
||||
color: #ccc;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.calendar_date_select td {
|
||||
font-size: 12px;
|
||||
width: 24px;
|
||||
height: 21px;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.calendar_date_select td.weekend {
|
||||
background-color: #f6f6f6;
|
||||
}
|
||||
|
||||
.calendar_date_select td div {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.calendar_date_select td div.other {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
.calendar_date_select td.selected div {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.calendar_date_select tbody td {
|
||||
border-bottom: 1px solid #555;
|
||||
}
|
||||
|
||||
.calendar_date_select td.selected {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.calendar_date_select td.today {
|
||||
border: 1px dashed #222;
|
||||
}
|
||||
|
||||
.calendar_date_select td.disabled div {
|
||||
color: #454545;
|
||||
}
|
||||
|
||||
/* this is a fun ie6 hack to get drop downs to stay behind the popup window. This should always be just underneath .calendar_date_select */
|
||||
iframe.ie6_blocker {
|
||||
position: absolute;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.fieldWithErrors .calendar_date_select {
|
||||
border: 2px solid #FF0000;
|
||||
}
|
||||
|
||||
/***********************************************
|
||||
Legacy Forms
|
||||
|
||||
*development note: instead of using class names
|
||||
we should just be using actual
|
||||
symantic form structure for
|
||||
forms such as:
|
||||
<form>
|
||||
<legend>
|
||||
<fieldset>
|
||||
<label>, etc...
|
||||
***********************************************/
|
||||
.label {
|
||||
font-weight: bold;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
width: 1%;
|
||||
margin:0 4px 0 0px;
|
||||
}
|
||||
|
||||
.basic-form {
|
||||
clear:both;
|
||||
display:block;
|
||||
margin:5px 0 5px 0;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
.required,input.required {
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
.fieldgroup-title-bar {
|
||||
font-size: 1em;
|
||||
font-weight: bold;
|
||||
padding: 0.1em 0.5em 0.2em 0.5em;
|
||||
}
|
||||
|
||||
.fieldgroup-title-bar ul .collapsed {
|
||||
background: url(/images/expand.gif) no-repeat center center;
|
||||
min-height: 1.1em;
|
||||
min-width: 1.1em;
|
||||
}
|
||||
|
||||
.fieldgroup-title-bar ul .expanded {
|
||||
background: url(/images/collapse.gif) no-repeat center center;
|
||||
min-height: 1.1em;
|
||||
min-width: 1.1em;
|
||||
}
|
||||
|
||||
.fieldgroup-title-bar td.collapse {
|
||||
width: 1.1em;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/***********************************************
|
||||
Portals
|
||||
***********************************************/
|
||||
.portlet-config {
|
||||
background-color: #D4D0C8;
|
||||
border: 2px solid #D4D0C8;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.portlet-config-title-bar .title {
|
||||
color: #555555;
|
||||
font-size: 1.2em;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.portlet-config-title-bar ul {
|
||||
display: inline; /* IE Fix */
|
||||
}
|
||||
|
||||
.portlet-config-title-bar ul li {
|
||||
float: right;
|
||||
font-size: 1em;
|
||||
font-weight: bold;
|
||||
padding: 0.1em 0.5em 0.2em 0.5em;
|
||||
}
|
||||
|
||||
.portlet-config-title-bar ul li.move-up {
|
||||
background: url(/images/arrow-single-up-green.png) no-repeat center center;
|
||||
}
|
||||
|
||||
.portlet-config-title-bar ul li.move-down {
|
||||
background: url(/images/arrow-single-down-green.png) no-repeat center center;
|
||||
}
|
||||
|
||||
.portlet-config-title-bar ul li.move-left {
|
||||
background: url(/images/arrow-single-left-green.png) no-repeat center center;
|
||||
}
|
||||
|
||||
.portlet-config-title-bar ul li.move-right {
|
||||
background: url(/images/arrow-single-right-green.png) no-repeat center center;
|
||||
}
|
||||
|
||||
.portlet-config-title-bar ul li.move-top {
|
||||
background: url(/images/arrow-end-up-green.png) no-repeat center center;
|
||||
}
|
||||
|
||||
.portlet-config-title-bar ul li.move-bottom {
|
||||
background: url(/images/arrow-end-down-green.png) no-repeat center center;
|
||||
}
|
||||
|
||||
.portlet-config-title-bar ul li.remove {
|
||||
background: url(/images/mini-trash.png) no-repeat center center;
|
||||
}
|
||||
|
||||
.portlet-config-title-bar ul li.edit {
|
||||
background: url(/images/mini-edit.png) no-repeat center center;
|
||||
}
|
||||
|
||||
#manage-portal-toolbar {
|
||||
background-color: #D4D0C8;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
#manage-portal-toolbar ul li {
|
||||
float: left;
|
||||
padding: 0.1em 0.5em 0.2em 0.5em;
|
||||
}
|
||||
|
||||
#manage-portal-toolbar #config-on-off,
|
||||
#manage-portal-toolbar #manage-portal-page,
|
||||
#manage-portal-toolbar #add-column {
|
||||
float: right;
|
||||
}
|
||||
|
||||
#manage-portal-toolbar #portal-page-name {
|
||||
font-size: 1.5em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.manage-portal-column-toolbar #add-portlet,
|
||||
.manage-portal-column-toolbar #delete-column,
|
||||
.manage-portal-column-toolbar #column-width {
|
||||
float: right;
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
/* Make sure the icons are not cut */
|
||||
a[href^="http:"], a[href^="mailto:"], a[href^="http:"]:visited,
|
||||
a[href$=".pdf"], a[href$=".doc"], a[href$=".xls"], a[href$=".rss"],
|
||||
a[href$=".rdf"], a[href^="aim:"] {
|
||||
padding:2px 22px 2px 0;
|
||||
margin:-2px 0;
|
||||
background-repeat: no-repeat;
|
||||
background-position: right center;
|
||||
}
|
||||
|
||||
/* External links */
|
||||
a[href^="http:"]{
|
||||
background-image: url(../images/icons/external.png);
|
||||
}
|
||||
a[href^="mailto:"]{
|
||||
background-image: url(../images/icons/email.png);
|
||||
}
|
||||
|
||||
|
||||
/* Files */
|
||||
a[href$=".pdf"]{
|
||||
background-image: url(../images/icons/pdf.png);
|
||||
}
|
||||
|
||||
a[href$=".doc"]{
|
||||
background-image: url(../images/icons/doc.png);
|
||||
}
|
||||
|
||||
a[href$=".xls"]{
|
||||
background-image: url(../images/icons/xls.png);
|
||||
}
|
||||
|
||||
/* Misc */
|
||||
a[href$=".rss"],
|
||||
a[href$=".rdf"]{
|
||||
background-image: url(../images/icons/feed.png);
|
||||
}
|
||||
|
||||
a[href^="aim:"]{
|
||||
background-image: url(../images/icons/im.png);
|
||||
}
|
||||
|
||||
/* Use this class if a link gets an icon when it shouldn't. */
|
||||
body a.noicon {
|
||||
background:none;
|
||||
padding:0;
|
||||
margin:0;
|
||||
}
|
||||
@@ -0,0 +1,363 @@
|
||||
/***********************************************
|
||||
APACHE OPEN FOR BUSINESS
|
||||
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.
|
||||
***********************************************/
|
||||
|
||||
/***********************************************
|
||||
Reset
|
||||
***********************************************/
|
||||
html, body, div, span, applet, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, big, cite, code,
|
||||
del, dfn, em, font, img, ins, kbd, q, s, samp,
|
||||
small, strike, strong, sub, sup, tt, var,
|
||||
b, u, i, center,
|
||||
dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td {
|
||||
border:0;
|
||||
margin:0;
|
||||
outline:0;
|
||||
padding:0;
|
||||
background:transparent;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
blockquote, q {
|
||||
quotes: none;
|
||||
}
|
||||
|
||||
blockquote:before,
|
||||
blockquote:after,
|
||||
q:before,
|
||||
q:after {
|
||||
content:'';
|
||||
content: none;
|
||||
}
|
||||
|
||||
a, address, body, caption, cite, code, dfn, em, strong, th, var {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a img {
|
||||
border: none;
|
||||
}
|
||||
|
||||
ol, ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
/***********************************************
|
||||
General Styles
|
||||
***********************************************/
|
||||
body {
|
||||
background: url(../images/page.png) top left repeat-x #f3f4f4;
|
||||
color: #000;
|
||||
font: .75em/1.5em Verdana, Arial, Helvetica, sans-serif;
|
||||
}
|
||||
html>body {font-size: 12px;}
|
||||
|
||||
img {display: inline-block; vertical-align: bottom;}
|
||||
|
||||
a {
|
||||
background:#E7EFF5;
|
||||
text-decoration: none;
|
||||
color:#699BC9;
|
||||
height:22px;
|
||||
display:block;
|
||||
line-height:10px;
|
||||
padding:15px 0 0 10px;
|
||||
font-size:11px;
|
||||
}
|
||||
a:hover {
|
||||
color: #486a8a;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
/***********************************************
|
||||
Tables
|
||||
***********************************************/
|
||||
table {border-collapse: collapse; border-spacing: 0; margin: 0; width:100%}
|
||||
caption {text-align: left;}
|
||||
th, td {padding: .25em .5em;}
|
||||
tbody td, tbody th {}
|
||||
tfoot {font-style: italic;}
|
||||
|
||||
/***********************************************
|
||||
Forms
|
||||
***********************************************/
|
||||
fieldset {clear: both;}
|
||||
legend {padding: 0 0 1.286em; font-size: 1.167em; font-weight: 700;}
|
||||
fieldset fieldset legend {padding: 0 0 1.5em; font-size: 1em;}
|
||||
* html legend {margin-left: -7px;}
|
||||
*+html legend {margin-left: -7px;}
|
||||
|
||||
form .field, form .buttons {clear: both; margin: 0 0 1.5em;}
|
||||
form .field label {display: block;}
|
||||
form ul.fields li {list-style-type: none; margin: 0;}
|
||||
form ul.inline li, form ul.inline label {display: inline;}
|
||||
form ul.inline li {padding: 0 .75em 0 0;}
|
||||
|
||||
input.radio, input.checkbox {vertical-align: top;}
|
||||
label, button, input.submit, input.image {cursor: pointer;}
|
||||
* html input.radio, * html input.checkbox {vertical-align: middle;}
|
||||
*+html input.radio, *+html input.checkbox {vertical-align: middle;}
|
||||
|
||||
textarea {overflow: auto;}
|
||||
|
||||
* html button {margin: 0 .34em 0 0;}
|
||||
*+html button {margin: 0 .34em 0 0;}
|
||||
|
||||
form.horizontal .field {padding-left: 150px;}
|
||||
form.horizontal .field label {display: inline; float: left; width: 140px; margin-left: -150px;}
|
||||
|
||||
input[type="text"],input[type="password"] {
|
||||
border: #ddd solid 2px;
|
||||
font-size: 1.1em;
|
||||
margin:5px 5px 5px 5px;
|
||||
padding:2px 4px;
|
||||
width:250px;
|
||||
}
|
||||
|
||||
input[type="submit"],input[type="button"],input[type="reset"] {
|
||||
background-color: #ffffff;
|
||||
border: #ddd solid 2px;
|
||||
color: #444;
|
||||
font-weight:bold;
|
||||
line-height:1.8em;
|
||||
margin:5px 5px 2px 5px;
|
||||
padding:2px 4px;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
|
||||
input[type="submit"]:hover {
|
||||
color: #444;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.label {
|
||||
font-weight:bold;
|
||||
margin:0 4px 0 0;
|
||||
text-align:right;
|
||||
white-space:nowrap;
|
||||
width:1%;
|
||||
}
|
||||
|
||||
input:focus,textarea:focus { border: 2px solid #6E2723; }
|
||||
input.focused, textarea.focused { border: 2px solid #6E2723; }
|
||||
|
||||
/***********************************************
|
||||
Layout
|
||||
***********************************************/
|
||||
html, body, #wrap {height: 100%;}
|
||||
|
||||
body > #wrap {height: auto; min-height: 100%;}
|
||||
|
||||
body {
|
||||
text-align:center;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
#wrap {
|
||||
margin: 0;
|
||||
|
||||
}
|
||||
|
||||
#header {
|
||||
display:none;
|
||||
}
|
||||
|
||||
#app-navigation{
|
||||
display:none;
|
||||
}
|
||||
|
||||
.contentarea {
|
||||
margin-left: -200px;
|
||||
position: absolute;
|
||||
top: 15%;
|
||||
left: 50%;
|
||||
width: 400px;
|
||||
height: 300px;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
#column-container {
|
||||
width:400px;
|
||||
margin:0 auto;
|
||||
padding:100px 0 0 0;
|
||||
background:url(../images/login-logo.gif) center 20px no-repeat;
|
||||
}
|
||||
|
||||
#content-main-section {
|
||||
background:#fff;
|
||||
border:5px solid #f1f1f1;
|
||||
padding:0px;
|
||||
}
|
||||
|
||||
.screenlet-title-bar {
|
||||
background:#094460;
|
||||
color:#fff;
|
||||
padding:10px 0 10px 0;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
|
||||
.screenlet-body {
|
||||
padding:10px;
|
||||
}
|
||||
|
||||
#footer {
|
||||
display:none;
|
||||
}
|
||||
|
||||
/***********************************************
|
||||
Clear Fix
|
||||
***********************************************/
|
||||
.clearfix:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.clearfix {display: inline-block;}
|
||||
html[xmlns] .clearfix { display: block; }
|
||||
* html .clearfix { height: 1%;}
|
||||
.clearfix {display: block;}
|
||||
|
||||
/*NOTE .clear deprecated, clear floats automatically using .clearfix instead of using extra div */
|
||||
.clear {
|
||||
clear: both;
|
||||
height: 0;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
/***********************************************
|
||||
Alerts
|
||||
***********************************************/
|
||||
.humanMsg {
|
||||
letter-spacing: -1px;
|
||||
position: fixed;
|
||||
top: 130px;
|
||||
left: 25%;
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
z-index: 100000;
|
||||
}
|
||||
|
||||
.humanMsg p {
|
||||
padding: .3em;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.humanMsg a {
|
||||
display: none;
|
||||
}
|
||||
.eventMessage {
|
||||
background:#e5f7e3 url(../images/check.gif) no-repeat;
|
||||
background-position:7px 7px;
|
||||
border:4px solid #c5e1c8;
|
||||
font-weight:700;
|
||||
color:#005e20;
|
||||
padding:20px 8px 20px 28px;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
|
||||
.errorMessage {
|
||||
background:#ffebeb url(../images/x.gif) no-repeat;
|
||||
background-position:7px 7px;
|
||||
border:4px solid #f5c1c2;
|
||||
font-weight:700;
|
||||
color:#9e0b0f;
|
||||
padding:8px 8px 8px 28px;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
|
||||
.content-messages {
|
||||
width:400px;
|
||||
position:absolute;
|
||||
top:40%;
|
||||
left:50%;
|
||||
margin-left:-200px;
|
||||
z-index:9999;
|
||||
}
|
||||
|
||||
#close{
|
||||
position:absolute;
|
||||
top:-5px;
|
||||
right:-5px;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.modal-overlay{
|
||||
top: 0;
|
||||
left: 0;
|
||||
position: fixed;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
z-index: 1000000;
|
||||
background: #000;
|
||||
filter:alpha(opacity=70);
|
||||
-moz-opacity:0.7;
|
||||
-khtml-opacity: 0.7;
|
||||
opacity: 0.7;
|
||||
}
|
||||
.modal-window{
|
||||
top: 20px;
|
||||
left: 25%;
|
||||
position: absolute;
|
||||
width: 50%;
|
||||
z-index: 1000001;
|
||||
background: #EAEAEA;
|
||||
border: solid 5px #ddd;
|
||||
padding: 5px;
|
||||
}
|
||||
span#modal-close-btn{
|
||||
color: red;
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
bottom: 10px;
|
||||
}
|
||||
|
||||
.DEBUG {
|
||||
color: #808080;
|
||||
}
|
||||
|
||||
.WARN {
|
||||
color: #0000ff;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.INFO {
|
||||
color: #008000;
|
||||
}
|
||||
|
||||
.ERROR {
|
||||
border: 0.2em solid #ff0000;
|
||||
color: #ff0000;
|
||||
font-weight: bold;
|
||||
}
|
||||
@@ -0,0 +1,101 @@
|
||||
/***********************************************
|
||||
APACHE OPEN FOR BUSINESS
|
||||
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 {
|
||||
line-height:1.5;
|
||||
font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
color:#000;
|
||||
background:none;
|
||||
font-size:10pt;
|
||||
}
|
||||
|
||||
.container {
|
||||
background:none;
|
||||
}
|
||||
|
||||
hr {
|
||||
background:#ccc;
|
||||
color:#ccc;
|
||||
width:100%;
|
||||
height:2px;
|
||||
margin:2em 0;
|
||||
padding:0;
|
||||
border:none;
|
||||
}
|
||||
|
||||
hr.space {
|
||||
background:#fff;
|
||||
color:#fff;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family:"Helvetica Neue", Arial, "Lucida Grande", sans-serif;
|
||||
}
|
||||
|
||||
code {
|
||||
font:.9em "Courier New", Monaco, Courier, monospace;
|
||||
}
|
||||
|
||||
img {
|
||||
float:left;
|
||||
margin:1.5em 1.5em 1.5em 0;
|
||||
}
|
||||
|
||||
a img {
|
||||
border:none;
|
||||
}
|
||||
|
||||
p img.top {
|
||||
margin-top:0;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin:1.5em;
|
||||
padding:1em;
|
||||
font-style:italic;
|
||||
font-size:.9em;
|
||||
}
|
||||
|
||||
.small {
|
||||
font-size:.9em;
|
||||
}
|
||||
|
||||
.large {
|
||||
font-size:1.1em;
|
||||
}
|
||||
|
||||
.quiet {
|
||||
color:#999;
|
||||
}
|
||||
|
||||
.hide {
|
||||
display:none;
|
||||
}
|
||||
|
||||
a:link, a:visited {
|
||||
background:transparent;
|
||||
font-weight:700;
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
a:link:after, a:visited:after {
|
||||
content:" (" attr(href) ") ";
|
||||
font-size:90%;
|
||||
}
|
||||
|
After Width: | Height: | Size: 847 B |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 61 B |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 487 B |
|
After Width: | Height: | Size: 162 B |
|
After Width: | Height: | Size: 195 B |
|
After Width: | Height: | Size: 121 B |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 176 B |
|
After Width: | Height: | Size: 175 B |
|
After Width: | Height: | Size: 777 B |
|
After Width: | Height: | Size: 641 B |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 691 B |
|
After Width: | Height: | Size: 51 B |
|
After Width: | Height: | Size: 54 B |
|
After Width: | Height: | Size: 741 B |
|
After Width: | Height: | Size: 591 B |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 663 B |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 196 B |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 941 B |
|
After Width: | Height: | Size: 945 B |
|
After Width: | Height: | Size: 988 B |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 4.5 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 17 KiB |
@@ -0,0 +1,200 @@
|
||||
/***********************************************
|
||||
APACHE OPEN FOR BUSINESS
|
||||
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.
|
||||
***********************************************/
|
||||
|
||||
//GLOBAL NAMESPACE
|
||||
var OFBIZ = window.OFBIZ || {};
|
||||
|
||||
/**************************************************
|
||||
LAYOUT AND NAVIGATION
|
||||
builds main-nav/preferences dropdowns and
|
||||
adds functionality to style layout elements
|
||||
**************************************************/
|
||||
//ADD CLEARFIX STYLING TO MAIN CONTENT AREA
|
||||
OFBIZ.clearFix = function(){
|
||||
if($$('.contentarea')){
|
||||
$$('.contentarea').each(function(elm) {
|
||||
$(elm).addClassName('clearfix');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
//GLOBAL FUNCTION FOR APP DROP-DROWN SECTIONS
|
||||
OFBIZ.initExpansion = function() {
|
||||
if($$('.contracted')){
|
||||
$$('.contracted').each(function(elm) {
|
||||
$(elm).next().style.display = 'none';
|
||||
});
|
||||
}
|
||||
if($$('.expanded, .contracted')) {
|
||||
$$('.expanded, .contracted').each(function(elm) {
|
||||
$(elm).onclick = function() {
|
||||
Effect.toggle($(elm).next(),'blind',{
|
||||
duration : .2,
|
||||
afterFinish: function() {
|
||||
if($(elm).next().visible()) {
|
||||
$(elm).removeClassName('contracted');
|
||||
$(elm).addClassName('expanded');
|
||||
} else {
|
||||
$(elm).removeClassName('expanded');
|
||||
$(elm).addClassName('contracted');
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
OFBIZ.Effect = Object.extend({}, Effect);
|
||||
Object.extend(Element,{
|
||||
findElement: function(element, tagName) {
|
||||
var element = $(element);
|
||||
while (element.parentNode && (!element.tagName ||
|
||||
(element.tagName.toUpperCase() != tagName.toUpperCase())))
|
||||
element = element.parentNode;
|
||||
return $(element);
|
||||
}
|
||||
});
|
||||
|
||||
/*****************************************************
|
||||
FORM FOCUS AND BLUR
|
||||
javascript solution to make form focus style
|
||||
consistent cross browser form platforms that
|
||||
don't support input:focus (cough, cough, IE, cough)
|
||||
*****************************************************/
|
||||
Event.observe(window, 'load', function() {
|
||||
var fields = $$("input, textarea");
|
||||
for (var i = 0; i < fields.length; i++) {
|
||||
fields[i].onfocus = function() {this.className += ' focused';}
|
||||
fields[i].onblur = function() {this.className = this.className.replace('focused', '');}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
/********************************************************
|
||||
HUMANIZED MESSAGES
|
||||
displays success and error messages in modal window.
|
||||
message automatically fades on keypress, click mousemove
|
||||
(ala growl/system tray notices)
|
||||
********************************************************/
|
||||
//SUCCESS AND ERROR MESSAGE NOTIFICATIONS
|
||||
var humanMsg = {
|
||||
setup: function(appendTo, msgOpacity) {
|
||||
humanMsg.msgID = 'humanMsg';
|
||||
appendTo = appendTo || $$('body')[0];
|
||||
humanMsg.msgOpacity = 0.5;
|
||||
if (msgOpacity !== undefined) {
|
||||
humanMsg.msgOpacity = parseFloat(msgOpacity);
|
||||
}
|
||||
var myTemplate = new Template(
|
||||
'<div id="#{msgID}" class="humanMsg" style="display:none;">'+
|
||||
'<div></div>'+
|
||||
'</div> ');
|
||||
var show = {msgID: humanMsg.msgID};
|
||||
appendTo.insert(myTemplate.evaluate(show));
|
||||
},
|
||||
displayMsg: function(msg) {
|
||||
if (msg === '') {
|
||||
return;
|
||||
}
|
||||
clearTimeout(humanMsg.t2);
|
||||
// Inject message
|
||||
var msgElement = $(humanMsg.msgID);;
|
||||
msgElement.down('div').update(msg);
|
||||
msgElement.appear({ duration: 0.2 });
|
||||
humanMsg.t1 = setTimeout("humanMsg.bindEvents()", 700)
|
||||
humanMsg.t2 = setTimeout("humanMsg.removeMsg()", 5000)
|
||||
},
|
||||
// Remove message if mouse is moved or key is pressed
|
||||
bindEvents: function() {
|
||||
document.observe('mousemove', humanMsg.removeMsg)
|
||||
.observe('click', humanMsg.removeMsg)
|
||||
.observe('keypress', humanMsg.removeMsg);
|
||||
},
|
||||
// Unbind mouse & keyboard
|
||||
removeMsg: function() {
|
||||
document.stopObserving('mousemove', humanMsg.removeMsg)
|
||||
.stopObserving('click', humanMsg.removeMsg)
|
||||
.stopObserving('keypress', humanMsg.removeMsg);
|
||||
$(humanMsg.msgID).fade({ duration: 0.5, delay:2.0 });
|
||||
}
|
||||
};
|
||||
|
||||
/**************************************************
|
||||
MODAL WINDOWS
|
||||
displays preferences (language, theme, timezone)
|
||||
in modal window instead of popup/new window
|
||||
**************************************************/
|
||||
//PREFERENCES POPUPS
|
||||
ModalWindow = Class.create({
|
||||
initialize: function(){
|
||||
this.cont = "";
|
||||
this.overlay = "";
|
||||
this.win = "";
|
||||
this.container = new Element('div', {id:'modal-container'});
|
||||
var container = this.container;
|
||||
$(document.body).insert({bottom:container});
|
||||
},
|
||||
show: function(element, overlay){
|
||||
this.close();
|
||||
this.cont = element;
|
||||
if(overlay) this.overlay = this.container.appendChild(new Element('div', {'class':'modal-overlay'}));
|
||||
this.win = this.container.appendChild(new Element('div', {'class':'modal-window'}));
|
||||
this.win.insert({bottom:this.cont});
|
||||
},
|
||||
close: function(e){
|
||||
if(e) e.stop();
|
||||
this.container.childElements().invoke('remove');
|
||||
}
|
||||
});
|
||||
|
||||
//LOAD MODAL PREFERENCE WINDOWS
|
||||
Event.observe(window, 'load', function() {
|
||||
get = new ModalWindow();
|
||||
$("language").observe('click',function(e) {
|
||||
var locale = new Element('div', {id:'modal-contents'}).update("<img src='/bizznesstime/images/ajax-loader.gif'/>Updating Languages, please wait...");
|
||||
var localeUpdate = new Ajax.Updater('modal-contents', this.rel, {method: 'get'});
|
||||
get.show(locale,true);
|
||||
});
|
||||
$("theme").observe('click',function(e) {
|
||||
var look = new Element('div', {id:'modal-contents'}).update("<img src='/bizznesstime/images/ajax-loader.gif'/>Updating Themes, please wait...");
|
||||
var lookUpdate = new Ajax.Updater('modal-contents', this.rel, {method: 'get'});
|
||||
get.show(look,true);
|
||||
});
|
||||
$("timezone").observe('click',function(e) {
|
||||
var time = new Element('div', {id:'modal-contents'}).update("<img src='/bizznesstime/images/ajax-loader.gif'/>Updating Timezones, please wait...");
|
||||
var timeUpdate = new Ajax.Updater('modal-contents', this.rel, {method: 'get'});
|
||||
get.show(time,true);
|
||||
});
|
||||
});
|
||||
|
||||
/**************************************************
|
||||
LOAD 'EM UP
|
||||
**************************************************/
|
||||
//LOAD GLOBAL APP FUNCTIONS
|
||||
document.observe('dom:loaded', function(){
|
||||
OFBIZ.clearFix();
|
||||
OFBIZ.initExpansion();
|
||||
humanMsg.setup();
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
After Width: | Height: | Size: 999 B |
|
After Width: | Height: | Size: 307 KiB |