Commit Graph
40 Commits
Author SHA1 Message Date
Deepak Dixit d3cbe78ae5 (OFBIZ-6362) Added missing code in header.ftl file to include component specific js file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1697574 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 06:40:54 +00:00
Adrian Crum 220270f628 Move theme-specific js & css references from CommonDecorator(s) to themes - https://issues.apache.org/jira/browse/OFBIZ-6362.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686655 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 17:02:22 +00:00
Jacques Le Roux 1c32c00b3e Fixes a bug introduced with commits for OFBIZ-4902.
When you replace the Freemarker if_exists built-in with the ! operator, when the ! is followed by a + you need to evaluate the expression conditioned by the ! 1st. Else the following chars are used as default value. In other words, you need to put parenthesis around the expression including the ! operator
I tested with tomahawk/includes/appbarClose.ftl and header.ftl files of bluelight and droppingcrumbs themes
I then applied the same scheme on catalog/categorydetail.ftl, party/editShoppingList.ftl, ebaystore/store/returnPolicy.ftl and party/findparty.ftl w/o testing. I guess it's ok
I did not find the same scheme elsewhere

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624876 13f79535-47bb-0310-9956-ffa450edef68
2014-09-14 17:22:18 +00:00
Ashish Vijaywargiya aff06fcbc6 Applied the patch OFBIZ-4902_specialpurpose.patch from OFBIZ-4902 - Replace in Freemarker templates the deprecated built-ins: default, exists, if_exists.
Thanks http://ofbiz.us team for providing the patch work. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618313 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 08:40:28 +00:00
Jacques Le Roux 9997135a29 A patch from Olivier Heintz "Help links not working after lookup.js refactoring, needs to change lookup-popu2 to lookup-popu1" https://issues.apache.org/jira/browse/OFBIZ-4964
Help button is not working, currently it's a lookup-popup2 which is called and this method has not the same number of parameters than the call.
In lookup.js, I have see that lookup-popup1 has the correct number of parameters, so in the join patch I have change the lookup-popup2 to lookup-popup1

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1360711 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 14:54:14 +00:00
Hans Bakker c3607815cd also allow analytics on the backend, and move analytics seed data from product to content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1206052 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 03:27:08 +00:00
Hans Bakker 2c234661ac update the backend top left logo by specifying a url in the current accounting company partygroup or uploading a logon in partycontent. the logo will also show in the partyprofile. All themes are updated. Contribution of Antwebsystems employee 'Nop'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1185102 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 10:58:47 +00:00
Hans Bakker 8f72b469be the help text was dependent on the websiteId which is now removed. changed it to the component name which is a better choice anyway
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160101 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 03:35:18 +00:00
Adrian Crum f027b8cd94 Updated visual themes to check for optional helpTopic field.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082023 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 01:06:23 +00:00
Jacques Le Roux c5193ecb5b A patch from BJ Freeman "Update Docbook files and give a nice look to doc" (https://issues.apache.org/jira/browse/OFBIZ-4052) - OFBIZ-4052
Updates all the docbook.css in themes. Remove tags from the <body>

JLR: + Revert r1044062+1044053 (was: Deactivates temporarily the online help. It's currently not working and slowing down too much the demo server)
Actually it was not the real reason (UtilIO.java was)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050385 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 13:58:42 +00:00
Jacques Le Roux 13ec7d9887 Deactivates temporarily the online help. It's currently not working and slowing down too much the demo server
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044053 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 17:56:33 +00:00
Adam Heath 8bd26d1863 Display the ajax spinner absolutely in the center of the document,
instead of allocating static space in the control area.  This takes the
width of the control area back to something sensible.  With always
allocated space in the control area, there ends up being a blank
space(because of the use of visibility:hidden instead of display:none).
When the Person.name and Company.Name fields are then long, this control
area breaks the flow, and word-wraps in IE, or flows underneath the
breadcrumbs in firefox.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997421 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 17:56:48 +00:00
Erwan de Ferrieres 3aabec8d64 adding sysinfo messages to bluelight theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954295 13f79535-47bb-0310-9956-ffa450edef68
2010-06-13 20:01:15 +00:00
Erwan de Ferrieres b7953ec33e XHTML validation errors round 2+ (themes) - OFBIZ-3670 (https://issues.apache.org/jira/browse/OFBIZ-3760)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945578 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 10:14:32 +00:00
Erwan de Ferrieres 212b8a6ba2 First version for a spinner when calling ajax requests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945126 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 13:01:20 +00:00
Bruno Busco ddd826e52c A patch from Blas Rodriguez Somoza
OFBIZ-3621 - XHTML validation errors (themes)
XHTML validation errors

    * Unclosed INPUT
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.

Other errors:

Header.ftl (tomahawk & droppingcrumbs)
Line 108. Wrong markup. Div can't be inside <a>
<a href="<@ofbizUrl>${logoLinkURL}</@ofbizUrl>" title="${layoutSettings.companyName}"><div> </div></a>

Style.css (tomahawk & droppingcrumbs)
Line 945. The logo is used as the background of the logo area, but because the size of the background image means nothing for dimensioning, it will be clipped.
background: url(../images/ofbiz_logo.png) no-repeat;

Solution: This is a hack to put the logo in the style sheet as the background. If the logo is only in the stylesheet without any trick, the logo will be clipped and disappears.
The logo can be loaded as an image directly in header.ftl and it will appear without clip and without any hack in header.ftl.

appbarOpen.ftl (droppingcrumbs)
Line 99, unclosed <li> and <ul>

header.ftl (bizznesstime)
Line 111. div can't be inside span.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931665 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 20:15:21 +00:00
Jacques Le Roux d34b256f41 While working at layering lookups I found that some of them are inappropriately named lookups and are actually lists (at least for now, locales, timezones and themes)
In this commit I rename them List (instead of Lookup) to avoid future confusion. If this has too much impact we may revert it of course...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907310 13f79535-47bb-0310-9956-ffa450edef68
2010-02-06 21:33:01 +00:00
Hans Bakker afbdeab656 moved the helpscreens into the framework: a first step. core parts of the content manager to follow. Removed the references to the help screens in confluence
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903589 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 10:09:49 +00:00
Bruno Busco 70c05ecd5f A patch from Erwan de FERRIERES "Error in bluelight theme CSS" (https://issues.apache.org/jira/browse/OFBIZ-3166) - OFBIZ-3166
As spotted on the dev mailing list, there is an error with the help icon which is replacing the word "help". The word help is now placed very far on the right end of the screen, with this instruction :
text-indent:2000px;

I've suppressed the line, and changed the link in the hearder.ftl file, to make the word "help" showing as a tooltip when the mouse cursor is placed over the icon.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833060 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 15:42:22 +00:00
Bruno Busco 79ed05a18e Implemented OFBIZ-3086 in Bluelight theme
Add a CSS class to allow styling help links. Then each theme can style the help link.

Thank you Scott for providing the link to http://www.fatcow.com/free-icons/index.bml

I hope we will have soon several of them into OFBiz

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@830789 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 23:17:03 +00:00
Bruno Busco 1ffc118960 Added externalLoginKey to the viewprofile link so that no login is requested when clicking on the user name in the header.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823538 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 13:04:53 +00:00
Jacques Le Roux 29722f9a96 A patch from Bruno Busco "Bluelight theme does not support the new help system." (https://issues.apache.org/jira/browse/OFBIZ-2972) - OFBIZ-2972
The attached patch adds all the required files to the Bluelight theme to be compatible with the new help system.
Few styles have also been changed to get Bluelight theme better. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@819400 13f79535-47bb-0310-9956-ffa450edef68
2009-09-27 20:41:40 +00:00
Vikas Mayur 226799823c String wrapped the styleSheet and javaScript context variable for themes as well.
Applied patch from Divesh Dutta, part of OFBIZ-2679 (https://issues.apache.org/jira/browse/OFBIZ-2679)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790107 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 10:42:58 +00:00
Adrian Crum 1a4496c172 Some work on the screen widgets:
1. Added renderScreenBegin and renderScreenEnd methods to ScreenStringRenderer.java.
2. Updated HtmlScreenRenderer.java and MacroScreenRenderer.java to emit the <DOCTYPE> element first - before any widget comments or template content.
3. Removed <DOCTYPE> elements from templates that no longer need them.
4. Added screen and section boundary comments to MacroScreenRenderer.java.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767996 13f79535-47bb-0310-9956-ffa450edef68
2009-04-23 17:54:30 +00:00
Adrian Crum a32af92c83 Some layout fixups for the Bluelight theme. IE7 is still broken, but FF looks great.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767629 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 19:29:06 +00:00
Jacopo Cappellato 99b26eaaad Fixed bug reported by Ashish Nagar in the ml: the header should work also with user logins not associated to a party.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767509 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 13:18:36 +00:00
Jacques Le Roux 2cfbb02bdc Just to facilitate comparisons between headers in themes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766498 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 18:42:08 +00:00
Adrian Crum 2bbd7bafc9 Login link was missing in Bluelight theme.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766352 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 16:34:32 +00:00
David E. Jones 58d3b78f5a Fixed header collapse in bluelight, small cleanup of the same in flatgrey
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766225 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 06:01:26 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Bruno Busco e11bf37311 - Fixed some issues when no userLogin. This is something that happens if the bluelight theme is set as default theme.
- Better rendering of eventMessages

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754715 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 18:34:44 +00:00
Bruno Busco 8ef325553c Fixed an error happening when no defaultOrganizationPartyGroupName is defined.
Forced logo icon size. I found the icon was rendered larger in Chrome.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754683 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 16:23:20 +00:00
Bruno Busco 4094a30984 Improved bluelight theme.
- Less crowded header with more code reuse
- Added link to viewprofile on the username
- Better styling of disabled menu items



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754642 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 09:36:11 +00:00
Adam Heath ec2441c8dc Remove executability from these files, that make no sense.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749176 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 04:06:50 +00:00
Jacques Le Roux 9aa57f3ea4 A patch from Bruno Busco "Linking End User Documentation to OFBiz" (https://issues.apache.org/jira/browse/OFBIZ-2133) - OFBIZ-2133
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@748884 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28 16:29:24 +00:00
David E. Jones a0d0a10ebc Resolved some more problems with the general html encoding, most of which are from funny code that should be cleaned up anyway so haven't run into any dilemmas so far; still looking though so could happen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742053 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 11:08:32 +00:00
Jacques Le Roux 345d64b204 A patch from Bruno Busco " Moving Timestamp to footer" '(https://issues.apache.org/jira/browse/OFBIZ-2164) - OFBIZ-2164
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740299 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 13:21:30 +00:00
Jacques Le Roux 6b08a4dfaa A patch from Bruno Busco "Removing Login/Logout from AppBarMenu" '(https://issues.apache.org/jira/browse/OFBIZ-2156) - OFBIZ-2156
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739594 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 19:58:33 +00:00
Jacques Le Roux 92f8b87722 i18n fix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739412 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 21:16:12 +00:00
David E. Jones 40981c7f0c Added new themes directory with Bruno's bluelight theme as a first one to OOTB; this directory is like hot-deploy in that all components dropped in will be loaded, and ONLY themes should go in this directory
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@736892 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 02:28:49 +00:00