Commit Graph
239 Commits
Author SHA1 Message Date
Bruno Busco 3bbd2d8598 Added the <include-portal-page> widget. OFBIZ-3625 https://issues.apache.org/jira/browse/OFBIZ-3625
Using this widget, a PortalPage can now be easily rendered in any screen.
At the bottom of the page an "Edit ON/OFF" button can be used to switch the PortalPage edit mode ON and OFF so that the Portal Page can be edited "in place".
All the portlet editing requests are handled using the "save-last-view" request attribute so that a dedicated screen can be shown to set the Portlet attributes and the column width and, when submitted, the user is taken back to the portal page he was editing.

Those new requests will be used in a later commit to eliminate all the duplicated ****Adm requests that have been introduced when the Webtools portal admin screen has been created.
A simple use of the widget has been added in the Example application.

TODO:
- At the moment the portal page editing is performed on the portal page itself and no portal derivation from the "main" one is performed. This will be done in a later commit.
- The portlet moving controls both manually and by drag and drop have not been implemented yet.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@998570 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 00:09:39 +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
Adam Heath 7ccf240393 Some places in ofbiz were doing dom manipulation without waiting for the
dom to be finished loading.  Wrap such code with a dom:loaded observer.

Also, change all window->load calls to dom:loaded observers.  The former
happens after all images have finished loading, while the later happens
just after the dom has finished parsing.  This is better, as sometimes
the images may take a long time to finish downloading, and until they do,
none of the manipulation will take place.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997420 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 17:56:37 +00:00
Adam Heath bbcf039a6f Remove empty window.load event observers.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997419 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 17:56:26 +00:00
Bruno Busco 725a650e09 Added a little top margin to help paragraphs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992721 13f79535-47bb-0310-9956-ffa450edef68
2010-09-05 08:00:07 +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
Bruno Busco 2512a4cd12 The help is only available to authenticated users.
Do not display the help icon when not logged in.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987863 13f79535-47bb-0310-9956-ffa450edef68
2010-08-22 11:05:18 +00:00
Bruno Busco 7a5b18ef65 Allows the current party name be visible again on the header bar. It was not visible any more after the addition of the waiting icon.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985516 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 15:55:37 +00:00
David E. Jones ff1fa481c0 Small change to fix CSS parsing error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@957361 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 21:41:48 +00:00
Jacques Le Roux b9ecaf3291 Change description of Dropping Crumbs, to show the lineage
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956348 13f79535-47bb-0310-9956-ffa450edef68
2010-06-20 11:39:34 +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 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
Jacques Le Roux ed63676d23 A patch from Ankit Jain "Layered lookup inside the layered lookup not working" https://issues.apache.org/jira/browse/OFBIZ-3768 - OFBIZ-3768
This patch definitely closes this issue

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944614 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 11:42:01 +00:00
Jacques Le Roux ee3cb01593 A patch from Ankit Jain. Minor bug in the bizznesstime theme, when we opened a layered lookup inside a layered lookup the image of the calendar was replaced by the fieldlookup image.
https://issues.apache.org/jira/browse/OFBIZ-3692 - OFBIZ-3692

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942671 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 06:56:27 +00:00
Erwan de Ferrieres 4f90299ebd Following a discussion on dev list, moving portal administration to webtools instead of myPortal (http://ofbiz.135035.n4.nabble.com/erwan-contributions-td2122600.html#a2122600)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942406 13f79535-47bb-0310-9956-ffa450edef68
2010-05-08 15:52:31 +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
Jacques Le Roux 01d9292c72 A patch from Sascha Rodekamp "Missing Buttons on LookUp Search" (https://issues.apache.org/jira/browse/OFBIZ-3745) - OFBIZ-3745
This fixes the calendar issue in bluelight and remove the (X) button that broke the calendar layout (strangely was only from layered lookups)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940425 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 12:06:02 +00:00
Jacques Le Roux 4891c2f0cd A modified patch from Sascha Rodekamp "Missing Buttons on LookUp Search" (https://issues.apache.org/jira/browse/OFBIZ-3745) - OFBIZ-3745
For the pagination issue in bluelight and droppingcrumbs, the calendar issue in bluelight still exists
I have also added 2 lookup and calendar test fields in the 2d lookups.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940234 13f79535-47bb-0310-9956-ffa450edef68
2010-05-02 14:15:34 +00:00
Jacques Le Roux 9110c78002 A Tomahawk layout fix in lookups from Sascha Rodekamp "Missing Buttons on LookUp Search" part of 'https://issues.apache.org/jira/browse/OFBIZ-3745) - OFBIZ-3745
There are still issues in BLue Light and Dropping Crumbs, though I thought it will be easier to apply the same fix on them, but it's not

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939582 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 08:16:42 +00:00
Jacques Le Roux 2ad9dcf1a5 A Tomahaw layout fix in lookups from Sascha Rodekamp
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@937191 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 08:43:27 +00:00
Jacques Le Roux 76afdc5fa2 A patch from Sascha Rodekamp related to "The minimize/enlarge buttons (+ -) blocks the layer" (https://issues.apache.org/jira/browse/OFBIZ-3692) - OFBIZ-3692
This patch fixes also some issues with buttons inside lookups not showing. However the main reason is still not fixed in the case of lookup rendered from FTL files

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@936008 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 17:31:15 +00:00
Bruno Busco 0cb13d9b58 A patch from Blas Rodriguez Somoza
OFBIZ-3708 - Fields should be defined with span not div. (radio, date, lookup)
https://issues.apache.org/jira/browse/OFBIZ-3708
Field markup should be a valid inline element.

Defining fields with div (block) instead of span (inline) creates several problems:

    * Missalignments in screen. (See LOOKUP_CAL screenshots)
    * Implies a end-of-line after the div. (See CAL screenshots)
    * If used inside inline elements which should be OK, becames XHTML validation errors. (Manufacturing -> MRP -> MRP log)

Because this is a markup problem, it spans to all the themes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935312 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 08:06:28 +00:00
Bruno Busco 6383912d42 A patch from Blas Rodriguez Somoza
OFBIZ-3653 - CSS Style for select wrong in tomahawk theme
https://issues.apache.org/jira/browse/OFBIZ-3653


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935149 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 08:27:10 +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
Jacques Le Roux d1957bc7cd LayoutFix patch from Sascha Rodekamp related to "Allow to open a layer lookup from a layer lookup" (https://issues.apache.org/jira/browse/OFBIZ-3446) - OFBIZ-3446
Lookups that were opened from lookups had layout bugs in buttons (shows the lookup image, certainly introduced by r932619) and links (color).
    *  flat grey
          o next-last buttons (only in "lookup in lookup" it seems)
          o blue color on links in the returned list, and on some buttons too (submit)

    * dropping crumbs, blue light, bizzness time
          o color on links in the returned list, and on some buttons too (find, submit, ...?)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933586 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 12:49:45 +00:00
Bruno Busco 8a24fa6fd2 A patch from Blas Rodriguez Somoza
OFBIZ-3653 - CSS Style for select wrong in tomahawk theme

A better rendering of the select in the pagination bar.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932895 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 13:35:34 +00:00
Bruno Busco 07dae90ef2 A patch from Blas Rodriguez Somoza
OFBIZ-3660 - CSS style for textarea wrong in tomahawk theme
https://issues.apache.org/jira/browse/OFBIZ-3660

The css for textarea tag have not margin and padding adjustements. The textarea is not left aligned in the same place than input[text] or select and the vertical space between fields is also different. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932735 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 14:44:49 +00:00
Jacques Le Roux 3f6946a0ab Related to "In layer lookup with other themes than Tomahawk the buttons inside (loopup and calendar buttons) don't show" (https://issues.apache.org/jira/browse/OFBIZ-3656) - OFBIZ-3656
This fixes the flat-grey, dropping-crumbs and bizness-time themes. I think I will be able to close the Jira issue when Jira will be back (currently Brutus is still under maintenance for 6 hours)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932619 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 21:20:46 +00:00
Jacques Le Roux 22b9f9e188 Related to "In layer lookup with other themes than Tomahawk the buttons inside (loopup and calendar buttons) don't show" (https://issues.apache.org/jira/browse/OFBIZ-3656) - OFBIZ-3656
I wanted to commit all changes at the same time but I cross more problems than I thought and prefer to get rid of them as soon they are solved...
Actually it may look like a minor issue but it's not because without these buttons you can't use the related feature

Fix an issue in TomaHawk where the "buttons" at bottom of calendar (actually text in white) where not showing when the calendar was called from a lookup


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932563 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 20:00:14 +00:00
Jacques Le Roux 80c1770335 Remove a duplicate while working on OFBIZ-3656 and OFBIZ-3580
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932509 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 17:04:19 +00:00
Jacques Le Roux d7e25e5a42 A patch from Ankit Jain "In Tomahawk the calendar button is actually the same than the lookup button" https://issues.apache.org/jira/browse/OFBIZ-3657 - OFBIZ-3657
Previously the background: cal.png was overriden by the fieldlookup.png in the css 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931825 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 07:55:26 +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
Bruno Busco ef91c3ad44 A patch from Blas Rodriguez Somoza
OFBIZ-3653 - CSS Style for select wrong in tomahawk theme
The css style of select tag in style.css uses an height which is 1.6em when the height of text input is (1.1em + 0.4em * 2 + 0.1em * 2) = 2.1 em this gives a ugly look and in IE could cut the lower part of the text. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931618 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 16:49:13 +00:00
Jacques Le Roux dc8327dbb9 A patch from Ankit Jain related to 'Allow to open a layered calendar from a layer lookup' https://issues.apache.org/jira/browse/OFBIZ-3580 - OFBIZ-3580
This patch mostly solves this issues and it's clearly a progress: it's operationnal with some drawbacks, so I don't close the issue for now
here are the issues:

    * some parts of the calendar are hidden (see screenshots in Jira issue)
    * if you 1st click on the button the position is OK (just below) but if you scroll before and then click the position is to low (seems to follow the scroll)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931523 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 12:32:11 +00:00
Hans Bakker 310106aae2 tomahawk theme: portal page tags should only show when logged in
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928339 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28 04:41:16 +00:00
Jacques Le Roux 5a64b4b0da In order to fix issues after issues, I commit this patch from Sascha Rodekamp that fixes "Allow to open a layer lookup from a layer lookup" (https://issues.apache.org/jira/browse/OFBIZ-3446) - OFBIZ-3446
This patch does not fix an issue with calendar in layered lookups. So I will create a new Jira for that.
Also it introduces a small drawback: you can't no longer close a layered lookup with the right left cross button. But Esc. is still working, so it's not a blocker. I will have a look at this and if needed will create a new Jira 







git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928292 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 21:56:24 +00:00
Hans Bakker e237fe0ba6 if menu and portalpage options are mixed, tomahawk did not display correctly in the example component and other places as reported by Bruno in the mailing list. should work now.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928131 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 03:39:08 +00:00
Hans Bakker f02bdbf2f5 missed one change in last tomahawk update
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926921 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 03:21:12 +00:00
Hans Bakker 92e4601342 show portal page names correctly in tomahawk theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926908 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 02:59:07 +00:00
Hans Bakker 7135628833 remove dependency on commext component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926508 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 09:13:04 +00:00
Bruno Busco bc1b2347ed Better rendering of the Button bars in Tomahawk theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925846 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 17:56:43 +00:00
Bruno Busco dd1870bd7e A lighter background for default buttontext buttons in Tomahawk theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925835 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 17:33:44 +00:00
Bruno Busco d276cc1be3 Better style for help pages in tomahawk theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925386 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 19:18:52 +00:00
Scott Gray 6c7f758d92 Don't try to create DropDownMenu objects when the user isn't logged in because the referenced divs don't exist
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924957 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 19:12:43 +00:00
Bruno Busco a4089c9c10 Tomahawk theme: Better vertical alignment for the user name in the header
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924889 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 16:42:09 +00:00
Scott Gray bfea3ac294 Couple of xhtml fixes: an a tag's title attribute value was missing enclosing quotes and a script tag was missing the required type attribute
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924542 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 22:50:45 +00:00
Scott Gray 6109808c8a Tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924378 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 17:28:01 +00:00