Commit Graph
63 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
Adrian Crum dcecdd25a4 Reorganized the screen widget src folder so classes are more organized.
This commit might break some Groovy scripts. There seemed to be a lot of C&P widget import statements, but there were no widget classes being used in the script, so I removed them. I might have overlooked something though.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652852 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 21:03:40 +00:00
Jacopo Cappellato a67d04c2ee Removed deprecated methods in the widget API; cleaned up a bunch of old commented out code; fixed formatting issues; some minor code improvements (no functional changes).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1628361 13f79535-47bb-0310-9956-ffa450edef68
2014-09-30 06:20:29 +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 017010e346 A, directly sent to me, Olivier Heintz's patch which completes the work done by Adrian at r1546891:
>>> Moved web access authorization code from the Flat Grey visual
>>> theme to LoginWorker.java. This change needs to be copied to
>>> other visual themes as well.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1549981 13f79535-47bb-0310-9956-ffa450edef68
2013-12-10 21:52:57 +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
Adrian Crum a17298a06e Removed unused "authz" security code - https://issues.apache.org/jira/browse/OFBIZ-4839.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1360283 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 16:34:26 +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
Jacques Le Roux 7420e0b13c A patch from Leon "incorrect url of root webapp in menu" https://issues.apache.org/jira/browse/OFBIZ-4368
If I enable the "app-bar-display" for root webapp which is mounted to "/", the url of root webapp in menu is "https://control/main" and not the correct "https://localhost:8443/".

That's because, e.g. in themes/tomahawk/includes/appbarOpen.ftl, it uses expression  <#if thisApp != "/"> to judge whether the app is root or not, while the variable thisApp is java String and it'll be encoded as iso code "/", so the "if" expression mentioned above will always return false.

In the patch it use StringUtil.wrapString to wrap variable theApp to avoid encode.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1158124 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 06:24:26 +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
Bruno Busco 6644b78d3a Fixed a dropdown menu flickering bug in bluelight and droppingcrumbs themes using the same solution as in tomahawk theme.
This bug consists in the dropdown menus to be temporary visible when the page takes a while to be loaded completely.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1072338 13f79535-47bb-0310-9956-ffa450edef68
2011-02-19 14:32:17 +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
Erwan de Ferrieres b416846132 Bluelight theme wasn't displaying secondary apps. Using same display as droppingcrumbs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1045325 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 19:24:15 +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 ab43dfbf0e Showing the title when a portal page is displayed on screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@991947 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 14:27:17 +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
Scott Gray 0f30714350 Set svn properties on all freemarker files that were missing them
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942386 13f79535-47bb-0310-9956-ffa450edef68
2010-05-08 13:51:19 +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 baeb94be10 removed framework dependency on the commonext component introduced in 816083 and as reported in he mailinglist by Adrian
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904970 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 03:59:51 +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
Bruno Busco df0479717f Changed from "Home" to "Applications" the Application menu label.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823239 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 17:34:46 +00:00
Bruno Busco 4b65778461 Removed not used file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@822948 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 22:27:45 +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
Hans Bakker 56e6750e3c some improvements to the setup webapp including that it will only show if no companies in the partyaccntgpreference entity, added some more help screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818363 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 04:08:38 +00:00
Hans Bakker 03430a2895 added a 'setup' component to create a system from seed data only. After the required data is created with this component it is possible to enter a salesorder and quickship it and create an invoice successfully. The 'setup' component will only show in the tab selection if there is no accounting organization. Check the ofbiz document for more info or look in the file applications/commonext/documents/Setup.xml. Created and sponsored by Antwebsystems. Programmed by employee Tukkata
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816083 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 07:43:05 +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
Bruno Busco 6fc089671b Only renders the message-container div if messages must be displayed.
This removes the wrong blue row that is shown in the messages area in IE 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789151 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 21:04:12 +00:00
Andrew Zeneski 6869b0ca91 This should have been part of rev 770401; just forgot to include it
JIRA OFBIZ-2381


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770407 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 19:32:42 +00:00
Andrew Zeneski b03344d22f integration with Authz Integration with new Authz API - JIRA OFBIZ-2381
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769944 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 21:29:16 +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
Adrian Crum 68bc161651 Fixed invalid HTML generated by the menu widget. Updated BlueLight theme to use valid HTML.
When creating new themes for OFBiz, it is important to follow the guidelines here:

http://docs.ofbiz.org/display/OFBIZ/OFBiz+maincss.css+HTML+Element+Collection+Styles


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767221 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 16:57:51 +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
David E. Jones 29ea12b7dd A few small improvements to bluelight
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765905 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 08:46:56 +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