Commit Graph
39 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
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 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
Adam Heath 64b3c95c45 FIX: Start using ${externalKeyParam} everywhere consistently. I only
did what was included by the main ordermgr view order screen.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1482065 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 20:05:47 +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 0cd3ce0603 only allow space depending on the top logo's width, add system messages to the flatgrey theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1206094 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 09:39:43 +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
Adrian Crum 8dac73e8db Updated Flat Grey visual theme. Design contributed by Ryan Foster - https://issues.apache.org/jira/browse/OFBIZ-4092 with bug fixes and minor design changes by me.
I reorganized the main style sheet and pushed the deprecated styles down to the bottom. I also moved the jQuery styles to a separate file.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059564 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 14:12:46 +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 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 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 4acc803437 A patch from Blas Rodriguez Somoza
OFBIZ-3675 - XHTML validation errors round 2 (themes)
https://issues.apache.org/jira/browse/OFBIZ-3675

XHTML validation errors

    * Added alt attribute to img tag
    * Uppercase tags or attributes.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@934180 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 20:28:11 +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
Hans Bakker 783d5b1510 make help button red when help screen available in the flatgrey scheme...could not get it to work in the business theme....anybody?
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815268 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 10:46:46 +00:00
Scott Gray 0ae8e1da77 Fix some html validation errors
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812400 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 08:59:58 +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
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
Hans Bakker 9d1004714b Now allows for employees to add a note to the customer request, the customer gets notified by email with an url. If he logs in he can also add a note as a reply to the note of the employee, the employee will be notified with a system info message when the customer added the note
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@788950 13f79535-47bb-0310-9956-ffa450edef68
2009-06-27 10:54:31 +00:00
Hans Bakker c12a2f4425 fixing problems in system notification
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786381 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 05:50:13 +00:00
Hans Bakker 10be66efb4 add the 'delete' button to delete all user's system notes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786372 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 05:11:05 +00:00
Hans Bakker 0fa2db2536 check for null values to remove some error messages from the log and cut off lengthy system messages in the header
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786358 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 03:25:31 +00:00
Hans Bakker 4d037f45e1 This is a proof of concept, comments are very welcome.
The first page of myportal now shows changes which happened in the system for the logged on user in the first portlet.
The second portlet gives the total OPEN items in a certain function for the logged on user.

The first two functions which are working now:
1. Incoming communication events (email, internal notes)
2. tasks which are assigned either in projectmanager or workeffort

What is also pretty interesting is that the status can now be checked by a firefox plugin and when it changes the employee is notified from within firefox
The plugin: http://updatescanner.mozdev.org/en/index.html
and it should check the following url: (adjust to your requirements)
https://localhost:8443/myportal/control/showPortlet?portalPortletId=SystemInfoNotes&USERNAME=admin&PASSWORD=ofbiz

In the flat grey theme i also have added notifications in the header when they are available.

If the notification shows and the user clicks on the message the related portlet is shown.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@785872 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 01:15:09 +00:00
Adrian Crum 74f2f459db Fixed bad HTML in Flatgrey header.ftl file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@781615 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 23:19:13 +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
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
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 32e673754a Moved old default theme data and files to new flatgrey theme; small corrections for use of messages.ftl; added setting in general.properties for the default theme ID; changed default theme to smoothfeather
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765862 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 06:29:09 +00:00