Commit Graph
47 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 85244180eb Finally keeps Release.revision date simple in footer as suggested by Scott on Dev ML
No needs to over-engineering things there. A bit more smart than before though
This reverts r1625006 and r1624886 and adds CommonBuiltOn and better svninfo and gitinfo targets
I just regret that I lose the formatting effort I did in footer.ftl files, but I have not the guts to do it again.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625907 13f79535-47bb-0310-9956-ffa450edef68
2014-09-18 07:46:14 +00:00
Jacques Le Roux ce7805dd45 Better way for deployed-date-time ant target, now deployed-on
Still in discussion in dev ML, notably if we should backport

Put back the CommonDepth label inadvertently removed, thanks to Scott's review

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625006 13f79535-47bb-0310-9956-ffa450edef68
2014-09-15 12:08:08 +00:00
Jacques Le Roux ecfcd44d06 Adds deployed-date-time and clean-deployed-date-time targets. To set the date and time of last deployment info in the footer
Puts a check on svinfo and gitinfo (only used if it's a local copy)
Adds and uses CommonDeployedThe label in footer.ftl with the new deployed-date-time  target
Uses CommonPoweredBy in bizznesstime footer.ftl
Minor changes and formatting in the footer.ftl files
Better French label for CommonPoweredBy


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624886 13f79535-47bb-0310-9956-ffa450edef68
2014-09-14 17:56:34 +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 6acc26eac2 Adds the gitinfo and the clean-gitinfo (last one used in build target) targets
Uses the new runtime/gitinfo.ftl in footers (all themes) like is the runtime/ftlinfo.ftl one
Actually both are shown (if you have a mix of repos, like I do) or one or the other
Adds the runtime/gitinfo.ftl file in both .gitignore and svn ignore

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1597615 13f79535-47bb-0310-9956-ffa450edef68
2014-05-26 17:23:12 +00:00
Jacques Le Roux 274a420596 Fixes an issue where externalKeyParam was not escaped in link so was useless (this is only in .ftl files)
Actually the right thing to do should be to work on migrating all freemarker templates in backend to widgets and using target-type="inter-app" for those. I know Adrian has opened a Jira for that, next task in my TODO list. 
Without this effort we will never be able to style the backend uniformly, notably in custom projects...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552149 13f79535-47bb-0310-9956-ffa450edef68
2013-12-18 23:00:57 +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
Hans Bakker 834c6ac2d8 revert of unwanted commit, sorry!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1535287 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 06:42:34 +00:00
Hans Bakker 45011c0ed1 reorganizing of files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1535286 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 06:39:36 +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
Jacques Le Roux f802ba7c83 Keeps consistent with other themes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1308926 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 14:20:05 +00:00
Jacopo Cappellato 7e8d52d3bf Fixed path to svninfo.ftl file that was not working after the switch to freemarker 2.3.19
Thanks to Scott for the solution.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1308817 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 11:09:54 +00:00
Jacques Le Roux b69868efea Fixes an issue reported by andrewzn: "Error messages are never displayed with BIZZNESS_TIME theme" at https://issues.apache.org/jira/browse/OFBIZ-4607
The reason is outdated JS in messages.ftl

jleroux: I did not use andrewzn's solution because it overrode another part of the screen. I tried to understand why humanMsg, which has been adapted during jQuery move, did not work. I guess it's simply because biznessTime application.js is not loaded; though it's declared in BizznessTimeThemeData.xml as VT_HDR_JAVASCRIPT. At this stage, as I was missing time, I decided to simply reuse the same way than in webcommon messages.ftl 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1210193 13f79535-47bb-0310-9956-ffa450edef68
2011-12-04 20:12: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
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
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 6daa57d485 Deactivates temporarily the online help. It's currently not working and slowing down too much the demo server
I forgot those ones in previous commit (to find all : showHelp in *.ftl,*.xml)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044062 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 18:18:35 +00:00
Adam Heath 4b054e2d11 Missed some window->load document->dom:loaded changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997440 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 18:20:42 +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 e656939425 Adding system messages in biznesstime theme header
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954732 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 07:44:33 +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 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 4058465be8 Fixed links to VisualTheme, Locale and Timezone selection in bizznesstime theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818976 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 19:58:43 +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
Scott Gray ea7e69904f A few xhtml validation fixes, there's still one I don't know how to fix: a div isn't allowed inside a span
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816856 13f79535-47bb-0310-9956-ffa450edef68
2009-09-19 05:47:19 +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
Scott Gray 2f45b7e3ee Add apache.org link and svninfo to the biznesstime theme - OFBIZ-2316
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811790 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 09:55:28 +00:00
Hans Bakker c76137a4c7 several adjustments to the help system, now using contentId to select and use underscore in contentId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804881 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 07:15:41 +00:00
Hans Bakker 966b32d5af The 'new' help system
A new help system is implemented which is compatible with the current system which uses the ofboz.docs.org site to store the data.

The new help system has a number of advantages over the old version:
1. complete multilanguage without config xml files, using the locale.
2. Having an automatic multilevel index of all help pages using the ContentAssoc entity
3. Using the content manager for retrieval.
4. Template driven, aware of the different visual themes.
5. A first step towards the storage of OFBiz documentation within the OFBiz system itself.
6. Easy update via normal svn in seed data.
7. Aware of portlets on (userdefined) Portal pages.
8. Create awareness of the capabilities of the content component

The reason of this development was the requirement to provide user documents to the customers of Antwebsystems Co.Ltd

Some of the possible extensions could be:
1. a search function
2. print all or specific help files in PDF format
3. make the help screens work better with the business theme
4. Explain how help can be extended
5. In the help screen be able to send a message to the local support team
6. But most of all, create more help content!


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804546 13f79535-47bb-0310-9956-ffa450edef68
2009-08-16 02:04:17 +00:00
Hans Bakker 63a818ab65 extended the help system so that help pages can also be used from within the content component when available. If not found, the page within ofbiz.apache.org will be displayed. as is the case now. See the my portal component for an example. Still need to extend the <content tag so that an override template can be specified.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803416 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 08:48:19 +00:00
Hans Bakker 9cbf24468b better show edit screen to easy add comments by users.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802802 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 14:12:13 +00:00
Hans Bakker c57f235be9 added a special help for portal pages to provide help on portlets on that page
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802724 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 10:25:15 +00:00
Hans Bakker 2e0ee05f13 add the help button to the bizness theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802290 13f79535-47bb-0310-9956-ffa450edef68
2009-08-08 03:14:05 +00:00
Scott Gray c0a6bf68cf remove duplicate script types
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798405 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 05:24:26 +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
Jacques Le Roux a4716a5fcc This one wsa missing in r772936
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772939 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 11:12:05 +00:00
Adrian Crum 4bcd94cd59 Small fixup for my previous commit. It looked like an attribute was duplicated, after looking closer I can see it wasn't.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771326 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 15:01:10 +00:00
Adrian Crum c981ac1eb2 Some small markup fixes in the new theme.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771137 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 22:47:12 +00:00
Jacques Le Roux 5c601b2177 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
2009-05-02 23:05:29 +00:00