You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by er...@apache.org on 2011/02/18 09:31:53 UTC
svn commit: r1071917 - in /ofbiz/trunk: applications/content/template/
framework/example/data/helpdata/ themes/bizznesstime/webapp/bizznesstime/css/
themes/bluelight/webapp/bluelight/
themes/droppingcrumbs/webapp/droppingcrumbs/css/ themes/flatgrey/web...
Author: erwan
Date: Fri Feb 18 08:31:52 2011
New Revision: 1071917
URL: http://svn.apache.org/viewvc?rev=1071917&view=rev
Log:
Adding caution, important, note, tip, warning to docbook formatting possibilities. Those can be used inside a para element.
Modified:
ofbiz/trunk/applications/content/template/HelpTemplate.ftl
ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml
ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css
ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css
ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css
ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css
ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css
Modified: ofbiz/trunk/applications/content/template/HelpTemplate.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/template/HelpTemplate.ftl?rev=1071917&r1=1071916&r2=1071917&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/template/HelpTemplate.ftl (original)
+++ ofbiz/trunk/applications/content/template/HelpTemplate.ftl Fri Feb 18 08:31:52 2011
@@ -34,6 +34,16 @@ under the License.
<@itemizedlist node=child/>
<#elseif child?node_type = 'element' && child?node_name = "mediaobject">
<@mediaobject node=child/>
+ <#elseif child?node_type = 'element' && child?node_name = "caution">
+ <span class="caution">${child}</span>
+ <#elseif child?node_type = 'element' && child?node_name = "important">
+ <span class="important">${child}</span>
+ <#elseif child?node_type = 'element' && child?node_name = "note">
+ <span class="note">${child}</span>
+ <#elseif child?node_type = 'element' && child?node_name = "tip">
+ <span class="tip">${child}</span>
+ <#elseif child?node_type = 'element' && child?node_name = "warning">
+ <span class="warning">${child}</span>
</#if>
</#list>
</#macro>
Modified: ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml?rev=1071917&r1=1071916&r2=1071917&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml (original)
+++ ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml Fri Feb 18 08:31:52 2011
@@ -46,4 +46,13 @@ under the License.
<listitem><para>and this can go longer...</para></listitem>
</itemizedlist>
</section>
+
+ <section>
+ <title>Examples of text formatting</title>
+ <para><caution>Here is a caution text</caution></para>
+ <para><important>Here is an important text</important></para>
+ <para><note>Here is a note</note></para>
+ <para><tip>Here is a tip</tip></para>
+ <para><warning>Here is a warning</warning></para>
+ </section>
</section>
Modified: ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
==============================================================================
--- ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css (original)
+++ ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css Fri Feb 18 08:31:52 2011
@@ -42,4 +42,22 @@ ul.dots {
padding-left: 20px;
}
+span.caution{
+ color:yellow;
+}
+
+span.important {
+ color: #ff4500;
+}
+
+span.note {
+ color:#adff2f;
+}
+
+span.tip {
+ color:blue;
+}
+span.warning {
+ color:red;
+}
Modified: ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
==============================================================================
--- ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css (original)
+++ ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css Fri Feb 18 08:31:52 2011
@@ -19,7 +19,7 @@ under the License.
***********************************************/
body {
background:none;
- font-size=105%;
+ font-size:105%;
}
.left-border {
@@ -60,4 +60,22 @@ ul.dots {
padding-left: 20px;
}
+span.caution{
+ color:yellow;
+}
+
+span.important {
+ color: #ff4500;
+}
+
+span.note {
+ color:#adff2f;
+}
+
+span.tip {
+ color:blue;
+}
+span.warning {
+ color:red;
+}
Modified: ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
==============================================================================
--- ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css (original)
+++ ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css Fri Feb 18 08:31:52 2011
@@ -19,7 +19,7 @@ under the License.
***********************************************/
body {
background:none;
-font-size=105%;
+font-size:105%;
}
.left-border {
@@ -59,3 +59,23 @@ ul.dots {
list-style: circle;
padding-left: 20px;
}
+
+span.caution{
+ color:yellow;
+}
+
+span.important {
+ color: #ff4500;
+}
+
+span.note {
+ color:#adff2f;
+}
+
+span.tip {
+ color:blue;
+}
+
+span.warning {
+ color:red;
+}
\ No newline at end of file
Modified: ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
==============================================================================
--- ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css (original)
+++ ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css Fri Feb 18 08:31:52 2011
@@ -19,3 +19,23 @@ under the License.
***********************************************/
html, body {background:#fff}
+
+span.caution{
+ color:yellow;
+}
+
+span.important {
+ color: #ff4500;
+}
+
+span.note {
+ color:#adff2f;
+}
+
+span.tip {
+ color:blue;
+}
+
+span.warning {
+ color:red;
+}
\ No newline at end of file
Modified: ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
==============================================================================
--- ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css (original)
+++ ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css Fri Feb 18 08:31:52 2011
@@ -19,7 +19,7 @@ under the License.
***********************************************/
body {
background:none;
-font-size=105%;
+font-size:105%;
}
p {
@@ -73,3 +73,23 @@ ul.dots {
list-style: circle;
padding-left: 20px;
}
+
+span.caution{
+ color:yellow;
+}
+
+span.important {
+ color: #ff4500;
+}
+
+span.note {
+ color:#adff2f;
+}
+
+span.tip {
+ color:blue;
+}
+
+span.warning {
+ color:red;
+}
\ No newline at end of file
Re: svn commit: r1071917 - in /ofbiz/trunk: applications/content/template/
framework/example/data/helpdata/ themes/bizznesstime/webapp/bizznesstime/css/
themes/bluelight/webapp/bluelight/ themes/droppingcrumbs/webapp/droppingcrumbs/css/
themes/flatgrey/web...
Posted by BJ Freeman <bj...@free-man.net>.
thanks now I understand you statem
=========================
BJ Freeman
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist
Chat Y! messenger: bjfr33man
Hans Bakker sent the following on 2/19/2011 4:22 PM:
> Hi BJ,
> At the moment i developed these help screens there was a significant
> speed difference between xslt and freemarker.
>
> Regards,
> Hans
>
> On Sat, 2011-02-19 at 07:08 -0800, BJ Freeman wrote:
>> have you checked this against the demo server, lately.
>> try pulling up a help screen then pulling up the complete documents.
>> they seem to be the same but the docbook has a lot more material to process.
>>
>> I tried this on my own servers and don't see the free-maker any
>> improvement on the help.
>>
>>
>>
>> =========================
>> BJ Freeman
>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>> Specialtymarket.com<http://www.specialtymarket.com/>
>> Systems Integrator-- Glad to Assist
>>
>> Chat Y! messenger: bjfr33man
>> Hans Bakker sent the following on 2/18/2011 10:43 PM:
>>
>>> Th docbook is using xsl and is too slow for the interactive help screens
>>> which are generated by freemarker....
>>>
>>> On Fri, 2011-02-18 at 21:18 -0800, BJ Freeman wrote:
>>>> is there a reason we can't just tie into the docbook to generate the
>>>> help file so we can get the TOC and References?
>>>>
>>>> =========================
>>>> BJ Freeman
>>>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>>>> Specialtymarket.com<http://www.specialtymarket.com/>
>>>> Systems Integrator-- Glad to Assist
>>>>
>>>> Chat Y! messenger: bjfr33man
>>>>
>>>>
>>>> erwan@apache.org sent the following on 2/18/2011 12:31 AM:
>>>>> Author: erwan
>>>>> Date: Fri Feb 18 08:31:52 2011
>>>>> New Revision: 1071917
>>>>>
>>>>> URL: http://svn.apache.org/viewvc?rev=1071917&view=rev
>>>>> Log:
>>>>> Adding caution, important, note, tip, warning to docbook formatting possibilities. Those can be used inside a para element.
>>>>>
>>>>> Modified:
>>>>> ofbiz/trunk/applications/content/template/HelpTemplate.ftl
>>>>> ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml
>>>>> ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css
>>>>> ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css
>>>>> ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css
>>>>> ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css
>>>>> ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css
>>>>>
>>>>> Modified: ofbiz/trunk/applications/content/template/HelpTemplate.ftl
>>>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/template/HelpTemplate.ftl?rev=1071917&r1=1071916&r2=1071917&view=diff
>>>>> ==============================================================================
>>>>> --- ofbiz/trunk/applications/content/template/HelpTemplate.ftl (original)
>>>>> +++ ofbiz/trunk/applications/content/template/HelpTemplate.ftl Fri Feb 18 08:31:52 2011
>>>>> @@ -34,6 +34,16 @@ under the License.
>>>>> <@itemizedlist node=child/>
>>>>> <#elseif child?node_type = 'element'&& child?node_name = "mediaobject">
>>>>> <@mediaobject node=child/>
>>>>> +<#elseif child?node_type = 'element'&& child?node_name = "caution">
>>>>> +<span class="caution">${child}</span>
>>>>> +<#elseif child?node_type = 'element'&& child?node_name = "important">
>>>>> +<span class="important">${child}</span>
>>>>> +<#elseif child?node_type = 'element'&& child?node_name = "note">
>>>>> +<span class="note">${child}</span>
>>>>> +<#elseif child?node_type = 'element'&& child?node_name = "tip">
>>>>> +<span class="tip">${child}</span>
>>>>> +<#elseif child?node_type = 'element'&& child?node_name = "warning">
>>>>> +<span class="warning">${child}</span>
>>>>> </#if>
>>>>> </#list>
>>>>> </#macro>
>>>>>
>>>>> Modified: ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml
>>>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml?rev=1071917&r1=1071916&r2=1071917&view=diff
>>>>> ==============================================================================
>>>>> --- ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml (original)
>>>>> +++ ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml Fri Feb 18 08:31:52 2011
>>>>> @@ -46,4 +46,13 @@ under the License.
>>>>> <listitem><para>and this can go longer...</para></listitem>
>>>>> </itemizedlist>
>>>>> </section>
>>>>> +
>>>>> +<section>
>>>>> +<title>Examples of text formatting</title>
>>>>> +<para><caution>Here is a caution text</caution></para>
>>>>> +<para><important>Here is an important text</important></para>
>>>>> +<para><note>Here is a note</note></para>
>>>>> +<para><tip>Here is a tip</tip></para>
>>>>> +<para><warning>Here is a warning</warning></para>
>>>>> +</section>
>>>>> </section>
>>>>>
>>>>> Modified: ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css
>>>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
>>>>> ==============================================================================
>>>>> --- ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css (original)
>>>>> +++ ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css Fri Feb 18 08:31:52 2011
>>>>> @@ -42,4 +42,22 @@ ul.dots {
>>>>> padding-left: 20px;
>>>>> }
>>>>>
>>>>> +span.caution{
>>>>> + color:yellow;
>>>>> +}
>>>>> +
>>>>> +span.important {
>>>>> + color: #ff4500;
>>>>> +}
>>>>> +
>>>>> +span.note {
>>>>> + color:#adff2f;
>>>>> +}
>>>>> +
>>>>> +span.tip {
>>>>> + color:blue;
>>>>> +}
>>>>>
>>>>> +span.warning {
>>>>> + color:red;
>>>>> +}
>>>>>
>>>>> Modified: ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css
>>>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
>>>>> ==============================================================================
>>>>> --- ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css (original)
>>>>> +++ ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css Fri Feb 18 08:31:52 2011
>>>>> @@ -19,7 +19,7 @@ under the License.
>>>>> ***********************************************/
>>>>> body {
>>>>> background:none;
>>>>> - font-size=105%;
>>>>> + font-size:105%;
>>>>> }
>>>>>
>>>>> .left-border {
>>>>> @@ -60,4 +60,22 @@ ul.dots {
>>>>> padding-left: 20px;
>>>>> }
>>>>>
>>>>> +span.caution{
>>>>> + color:yellow;
>>>>> +}
>>>>> +
>>>>> +span.important {
>>>>> + color: #ff4500;
>>>>> +}
>>>>> +
>>>>> +span.note {
>>>>> + color:#adff2f;
>>>>> +}
>>>>> +
>>>>> +span.tip {
>>>>> + color:blue;
>>>>> +}
>>>>>
>>>>> +span.warning {
>>>>> + color:red;
>>>>> +}
>>>>>
>>>>> Modified: ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css
>>>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
>>>>> ==============================================================================
>>>>> --- ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css (original)
>>>>> +++ ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css Fri Feb 18 08:31:52 2011
>>>>> @@ -19,7 +19,7 @@ under the License.
>>>>> ***********************************************/
>>>>> body {
>>>>> background:none;
>>>>> -font-size=105%;
>>>>> +font-size:105%;
>>>>> }
>>>>>
>>>>> .left-border {
>>>>> @@ -59,3 +59,23 @@ ul.dots {
>>>>> list-style: circle;
>>>>> padding-left: 20px;
>>>>> }
>>>>> +
>>>>> +span.caution{
>>>>> + color:yellow;
>>>>> +}
>>>>> +
>>>>> +span.important {
>>>>> + color: #ff4500;
>>>>> +}
>>>>> +
>>>>> +span.note {
>>>>> + color:#adff2f;
>>>>> +}
>>>>> +
>>>>> +span.tip {
>>>>> + color:blue;
>>>>> +}
>>>>> +
>>>>> +span.warning {
>>>>> + color:red;
>>>>> +}
>>>>> \ No newline at end of file
>>>>>
>>>>> Modified: ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css
>>>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
>>>>> ==============================================================================
>>>>> --- ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css (original)
>>>>> +++ ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css Fri Feb 18 08:31:52 2011
>>>>> @@ -19,3 +19,23 @@ under the License.
>>>>> ***********************************************/
>>>>>
>>>>> html, body {background:#fff}
>>>>> +
>>>>> +span.caution{
>>>>> + color:yellow;
>>>>> +}
>>>>> +
>>>>> +span.important {
>>>>> + color: #ff4500;
>>>>> +}
>>>>> +
>>>>> +span.note {
>>>>> + color:#adff2f;
>>>>> +}
>>>>> +
>>>>> +span.tip {
>>>>> + color:blue;
>>>>> +}
>>>>> +
>>>>> +span.warning {
>>>>> + color:red;
>>>>> +}
>>>>> \ No newline at end of file
>>>>>
>>>>> Modified: ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css
>>>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
>>>>> ==============================================================================
>>>>> --- ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css (original)
>>>>> +++ ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css Fri Feb 18 08:31:52 2011
>>>>> @@ -19,7 +19,7 @@ under the License.
>>>>> ***********************************************/
>>>>> body {
>>>>> background:none;
>>>>> -font-size=105%;
>>>>> +font-size:105%;
>>>>> }
>>>>>
>>>>> p {
>>>>> @@ -73,3 +73,23 @@ ul.dots {
>>>>> list-style: circle;
>>>>> padding-left: 20px;
>>>>> }
>>>>> +
>>>>> +span.caution{
>>>>> + color:yellow;
>>>>> +}
>>>>> +
>>>>> +span.important {
>>>>> + color: #ff4500;
>>>>> +}
>>>>> +
>>>>> +span.note {
>>>>> + color:#adff2f;
>>>>> +}
>>>>> +
>>>>> +span.tip {
>>>>> + color:blue;
>>>>> +}
>>>>> +
>>>>> +span.warning {
>>>>> + color:red;
>>>>> +}
>>>>> \ No newline at end of file
>>>>>
>>>>>
>>>>>
>>>>
>>>
>
Re: svn commit: r1071917 - in /ofbiz/trunk:
applications/content/template/ framework/example/data/helpdata/
themes/bizznesstime/webapp/bizznesstime/css/
themes/bluelight/webapp/bluelight/
themes/droppingcrumbs/webapp/droppingcrumbs/css/ themes/flatgrey/web...
Posted by Hans Bakker <ma...@antwebsystems.com>.
Hi BJ,
At the moment i developed these help screens there was a significant
speed difference between xslt and freemarker.
Regards,
Hans
On Sat, 2011-02-19 at 07:08 -0800, BJ Freeman wrote:
> have you checked this against the demo server, lately.
> try pulling up a help screen then pulling up the complete documents.
> they seem to be the same but the docbook has a lot more material to process.
>
> I tried this on my own servers and don't see the free-maker any
> improvement on the help.
>
>
>
> =========================
> BJ Freeman
> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> Specialtymarket.com <http://www.specialtymarket.com/>
> Systems Integrator-- Glad to Assist
>
> Chat Y! messenger: bjfr33man
> Hans Bakker sent the following on 2/18/2011 10:43 PM:
>
> > Th docbook is using xsl and is too slow for the interactive help screens
> > which are generated by freemarker....
> >
> > On Fri, 2011-02-18 at 21:18 -0800, BJ Freeman wrote:
> >> is there a reason we can't just tie into the docbook to generate the
> >> help file so we can get the TOC and References?
> >>
> >> =========================
> >> BJ Freeman
> >> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> >> Specialtymarket.com<http://www.specialtymarket.com/>
> >> Systems Integrator-- Glad to Assist
> >>
> >> Chat Y! messenger: bjfr33man
> >>
> >>
> >> erwan@apache.org sent the following on 2/18/2011 12:31 AM:
> >>> Author: erwan
> >>> Date: Fri Feb 18 08:31:52 2011
> >>> New Revision: 1071917
> >>>
> >>> URL: http://svn.apache.org/viewvc?rev=1071917&view=rev
> >>> Log:
> >>> Adding caution, important, note, tip, warning to docbook formatting possibilities. Those can be used inside a para element.
> >>>
> >>> Modified:
> >>> ofbiz/trunk/applications/content/template/HelpTemplate.ftl
> >>> ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml
> >>> ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css
> >>> ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css
> >>> ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css
> >>> ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css
> >>> ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css
> >>>
> >>> Modified: ofbiz/trunk/applications/content/template/HelpTemplate.ftl
> >>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/template/HelpTemplate.ftl?rev=1071917&r1=1071916&r2=1071917&view=diff
> >>> ==============================================================================
> >>> --- ofbiz/trunk/applications/content/template/HelpTemplate.ftl (original)
> >>> +++ ofbiz/trunk/applications/content/template/HelpTemplate.ftl Fri Feb 18 08:31:52 2011
> >>> @@ -34,6 +34,16 @@ under the License.
> >>> <@itemizedlist node=child/>
> >>> <#elseif child?node_type = 'element'&& child?node_name = "mediaobject">
> >>> <@mediaobject node=child/>
> >>> +<#elseif child?node_type = 'element'&& child?node_name = "caution">
> >>> +<span class="caution">${child}</span>
> >>> +<#elseif child?node_type = 'element'&& child?node_name = "important">
> >>> +<span class="important">${child}</span>
> >>> +<#elseif child?node_type = 'element'&& child?node_name = "note">
> >>> +<span class="note">${child}</span>
> >>> +<#elseif child?node_type = 'element'&& child?node_name = "tip">
> >>> +<span class="tip">${child}</span>
> >>> +<#elseif child?node_type = 'element'&& child?node_name = "warning">
> >>> +<span class="warning">${child}</span>
> >>> </#if>
> >>> </#list>
> >>> </#macro>
> >>>
> >>> Modified: ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml
> >>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml?rev=1071917&r1=1071916&r2=1071917&view=diff
> >>> ==============================================================================
> >>> --- ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml (original)
> >>> +++ ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml Fri Feb 18 08:31:52 2011
> >>> @@ -46,4 +46,13 @@ under the License.
> >>> <listitem><para>and this can go longer...</para></listitem>
> >>> </itemizedlist>
> >>> </section>
> >>> +
> >>> +<section>
> >>> +<title>Examples of text formatting</title>
> >>> +<para><caution>Here is a caution text</caution></para>
> >>> +<para><important>Here is an important text</important></para>
> >>> +<para><note>Here is a note</note></para>
> >>> +<para><tip>Here is a tip</tip></para>
> >>> +<para><warning>Here is a warning</warning></para>
> >>> +</section>
> >>> </section>
> >>>
> >>> Modified: ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css
> >>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
> >>> ==============================================================================
> >>> --- ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css (original)
> >>> +++ ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css Fri Feb 18 08:31:52 2011
> >>> @@ -42,4 +42,22 @@ ul.dots {
> >>> padding-left: 20px;
> >>> }
> >>>
> >>> +span.caution{
> >>> + color:yellow;
> >>> +}
> >>> +
> >>> +span.important {
> >>> + color: #ff4500;
> >>> +}
> >>> +
> >>> +span.note {
> >>> + color:#adff2f;
> >>> +}
> >>> +
> >>> +span.tip {
> >>> + color:blue;
> >>> +}
> >>>
> >>> +span.warning {
> >>> + color:red;
> >>> +}
> >>>
> >>> Modified: ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css
> >>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
> >>> ==============================================================================
> >>> --- ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css (original)
> >>> +++ ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css Fri Feb 18 08:31:52 2011
> >>> @@ -19,7 +19,7 @@ under the License.
> >>> ***********************************************/
> >>> body {
> >>> background:none;
> >>> - font-size=105%;
> >>> + font-size:105%;
> >>> }
> >>>
> >>> .left-border {
> >>> @@ -60,4 +60,22 @@ ul.dots {
> >>> padding-left: 20px;
> >>> }
> >>>
> >>> +span.caution{
> >>> + color:yellow;
> >>> +}
> >>> +
> >>> +span.important {
> >>> + color: #ff4500;
> >>> +}
> >>> +
> >>> +span.note {
> >>> + color:#adff2f;
> >>> +}
> >>> +
> >>> +span.tip {
> >>> + color:blue;
> >>> +}
> >>>
> >>> +span.warning {
> >>> + color:red;
> >>> +}
> >>>
> >>> Modified: ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css
> >>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
> >>> ==============================================================================
> >>> --- ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css (original)
> >>> +++ ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css Fri Feb 18 08:31:52 2011
> >>> @@ -19,7 +19,7 @@ under the License.
> >>> ***********************************************/
> >>> body {
> >>> background:none;
> >>> -font-size=105%;
> >>> +font-size:105%;
> >>> }
> >>>
> >>> .left-border {
> >>> @@ -59,3 +59,23 @@ ul.dots {
> >>> list-style: circle;
> >>> padding-left: 20px;
> >>> }
> >>> +
> >>> +span.caution{
> >>> + color:yellow;
> >>> +}
> >>> +
> >>> +span.important {
> >>> + color: #ff4500;
> >>> +}
> >>> +
> >>> +span.note {
> >>> + color:#adff2f;
> >>> +}
> >>> +
> >>> +span.tip {
> >>> + color:blue;
> >>> +}
> >>> +
> >>> +span.warning {
> >>> + color:red;
> >>> +}
> >>> \ No newline at end of file
> >>>
> >>> Modified: ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css
> >>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
> >>> ==============================================================================
> >>> --- ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css (original)
> >>> +++ ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css Fri Feb 18 08:31:52 2011
> >>> @@ -19,3 +19,23 @@ under the License.
> >>> ***********************************************/
> >>>
> >>> html, body {background:#fff}
> >>> +
> >>> +span.caution{
> >>> + color:yellow;
> >>> +}
> >>> +
> >>> +span.important {
> >>> + color: #ff4500;
> >>> +}
> >>> +
> >>> +span.note {
> >>> + color:#adff2f;
> >>> +}
> >>> +
> >>> +span.tip {
> >>> + color:blue;
> >>> +}
> >>> +
> >>> +span.warning {
> >>> + color:red;
> >>> +}
> >>> \ No newline at end of file
> >>>
> >>> Modified: ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css
> >>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
> >>> ==============================================================================
> >>> --- ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css (original)
> >>> +++ ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css Fri Feb 18 08:31:52 2011
> >>> @@ -19,7 +19,7 @@ under the License.
> >>> ***********************************************/
> >>> body {
> >>> background:none;
> >>> -font-size=105%;
> >>> +font-size:105%;
> >>> }
> >>>
> >>> p {
> >>> @@ -73,3 +73,23 @@ ul.dots {
> >>> list-style: circle;
> >>> padding-left: 20px;
> >>> }
> >>> +
> >>> +span.caution{
> >>> + color:yellow;
> >>> +}
> >>> +
> >>> +span.important {
> >>> + color: #ff4500;
> >>> +}
> >>> +
> >>> +span.note {
> >>> + color:#adff2f;
> >>> +}
> >>> +
> >>> +span.tip {
> >>> + color:blue;
> >>> +}
> >>> +
> >>> +span.warning {
> >>> + color:red;
> >>> +}
> >>> \ No newline at end of file
> >>>
> >>>
> >>>
> >>
> >
--
Ofbiz on twitter: http://twitter.com/apache_ofbiz
Myself on twitter: http://twitter.com/hansbak
Antwebsystems.com: Quality services for competitive rates.
Re: svn commit: r1071917 - in /ofbiz/trunk: applications/content/template/
framework/example/data/helpdata/ themes/bizznesstime/webapp/bizznesstime/css/
themes/bluelight/webapp/bluelight/ themes/droppingcrumbs/webapp/droppingcrumbs/css/
themes/flatgrey/web...
Posted by BJ Freeman <bj...@free-man.net>.
have you checked this against the demo server, lately.
try pulling up a help screen then pulling up the complete documents.
they seem to be the same but the docbook has a lot more material to process.
I tried this on my own servers and don't see the free-maker any
improvement on the help.
=========================
BJ Freeman
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist
Chat Y! messenger: bjfr33man
Hans Bakker sent the following on 2/18/2011 10:43 PM:
> Th docbook is using xsl and is too slow for the interactive help screens
> which are generated by freemarker....
>
> On Fri, 2011-02-18 at 21:18 -0800, BJ Freeman wrote:
>> is there a reason we can't just tie into the docbook to generate the
>> help file so we can get the TOC and References?
>>
>> =========================
>> BJ Freeman
>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>> Specialtymarket.com<http://www.specialtymarket.com/>
>> Systems Integrator-- Glad to Assist
>>
>> Chat Y! messenger: bjfr33man
>>
>>
>> erwan@apache.org sent the following on 2/18/2011 12:31 AM:
>>> Author: erwan
>>> Date: Fri Feb 18 08:31:52 2011
>>> New Revision: 1071917
>>>
>>> URL: http://svn.apache.org/viewvc?rev=1071917&view=rev
>>> Log:
>>> Adding caution, important, note, tip, warning to docbook formatting possibilities. Those can be used inside a para element.
>>>
>>> Modified:
>>> ofbiz/trunk/applications/content/template/HelpTemplate.ftl
>>> ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml
>>> ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css
>>> ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css
>>> ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css
>>> ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css
>>> ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css
>>>
>>> Modified: ofbiz/trunk/applications/content/template/HelpTemplate.ftl
>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/template/HelpTemplate.ftl?rev=1071917&r1=1071916&r2=1071917&view=diff
>>> ==============================================================================
>>> --- ofbiz/trunk/applications/content/template/HelpTemplate.ftl (original)
>>> +++ ofbiz/trunk/applications/content/template/HelpTemplate.ftl Fri Feb 18 08:31:52 2011
>>> @@ -34,6 +34,16 @@ under the License.
>>> <@itemizedlist node=child/>
>>> <#elseif child?node_type = 'element'&& child?node_name = "mediaobject">
>>> <@mediaobject node=child/>
>>> +<#elseif child?node_type = 'element'&& child?node_name = "caution">
>>> +<span class="caution">${child}</span>
>>> +<#elseif child?node_type = 'element'&& child?node_name = "important">
>>> +<span class="important">${child}</span>
>>> +<#elseif child?node_type = 'element'&& child?node_name = "note">
>>> +<span class="note">${child}</span>
>>> +<#elseif child?node_type = 'element'&& child?node_name = "tip">
>>> +<span class="tip">${child}</span>
>>> +<#elseif child?node_type = 'element'&& child?node_name = "warning">
>>> +<span class="warning">${child}</span>
>>> </#if>
>>> </#list>
>>> </#macro>
>>>
>>> Modified: ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml
>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml?rev=1071917&r1=1071916&r2=1071917&view=diff
>>> ==============================================================================
>>> --- ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml (original)
>>> +++ ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml Fri Feb 18 08:31:52 2011
>>> @@ -46,4 +46,13 @@ under the License.
>>> <listitem><para>and this can go longer...</para></listitem>
>>> </itemizedlist>
>>> </section>
>>> +
>>> +<section>
>>> +<title>Examples of text formatting</title>
>>> +<para><caution>Here is a caution text</caution></para>
>>> +<para><important>Here is an important text</important></para>
>>> +<para><note>Here is a note</note></para>
>>> +<para><tip>Here is a tip</tip></para>
>>> +<para><warning>Here is a warning</warning></para>
>>> +</section>
>>> </section>
>>>
>>> Modified: ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css
>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
>>> ==============================================================================
>>> --- ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css (original)
>>> +++ ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css Fri Feb 18 08:31:52 2011
>>> @@ -42,4 +42,22 @@ ul.dots {
>>> padding-left: 20px;
>>> }
>>>
>>> +span.caution{
>>> + color:yellow;
>>> +}
>>> +
>>> +span.important {
>>> + color: #ff4500;
>>> +}
>>> +
>>> +span.note {
>>> + color:#adff2f;
>>> +}
>>> +
>>> +span.tip {
>>> + color:blue;
>>> +}
>>>
>>> +span.warning {
>>> + color:red;
>>> +}
>>>
>>> Modified: ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css
>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
>>> ==============================================================================
>>> --- ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css (original)
>>> +++ ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css Fri Feb 18 08:31:52 2011
>>> @@ -19,7 +19,7 @@ under the License.
>>> ***********************************************/
>>> body {
>>> background:none;
>>> - font-size=105%;
>>> + font-size:105%;
>>> }
>>>
>>> .left-border {
>>> @@ -60,4 +60,22 @@ ul.dots {
>>> padding-left: 20px;
>>> }
>>>
>>> +span.caution{
>>> + color:yellow;
>>> +}
>>> +
>>> +span.important {
>>> + color: #ff4500;
>>> +}
>>> +
>>> +span.note {
>>> + color:#adff2f;
>>> +}
>>> +
>>> +span.tip {
>>> + color:blue;
>>> +}
>>>
>>> +span.warning {
>>> + color:red;
>>> +}
>>>
>>> Modified: ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css
>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
>>> ==============================================================================
>>> --- ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css (original)
>>> +++ ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css Fri Feb 18 08:31:52 2011
>>> @@ -19,7 +19,7 @@ under the License.
>>> ***********************************************/
>>> body {
>>> background:none;
>>> -font-size=105%;
>>> +font-size:105%;
>>> }
>>>
>>> .left-border {
>>> @@ -59,3 +59,23 @@ ul.dots {
>>> list-style: circle;
>>> padding-left: 20px;
>>> }
>>> +
>>> +span.caution{
>>> + color:yellow;
>>> +}
>>> +
>>> +span.important {
>>> + color: #ff4500;
>>> +}
>>> +
>>> +span.note {
>>> + color:#adff2f;
>>> +}
>>> +
>>> +span.tip {
>>> + color:blue;
>>> +}
>>> +
>>> +span.warning {
>>> + color:red;
>>> +}
>>> \ No newline at end of file
>>>
>>> Modified: ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css
>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
>>> ==============================================================================
>>> --- ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css (original)
>>> +++ ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css Fri Feb 18 08:31:52 2011
>>> @@ -19,3 +19,23 @@ under the License.
>>> ***********************************************/
>>>
>>> html, body {background:#fff}
>>> +
>>> +span.caution{
>>> + color:yellow;
>>> +}
>>> +
>>> +span.important {
>>> + color: #ff4500;
>>> +}
>>> +
>>> +span.note {
>>> + color:#adff2f;
>>> +}
>>> +
>>> +span.tip {
>>> + color:blue;
>>> +}
>>> +
>>> +span.warning {
>>> + color:red;
>>> +}
>>> \ No newline at end of file
>>>
>>> Modified: ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css
>>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
>>> ==============================================================================
>>> --- ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css (original)
>>> +++ ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css Fri Feb 18 08:31:52 2011
>>> @@ -19,7 +19,7 @@ under the License.
>>> ***********************************************/
>>> body {
>>> background:none;
>>> -font-size=105%;
>>> +font-size:105%;
>>> }
>>>
>>> p {
>>> @@ -73,3 +73,23 @@ ul.dots {
>>> list-style: circle;
>>> padding-left: 20px;
>>> }
>>> +
>>> +span.caution{
>>> + color:yellow;
>>> +}
>>> +
>>> +span.important {
>>> + color: #ff4500;
>>> +}
>>> +
>>> +span.note {
>>> + color:#adff2f;
>>> +}
>>> +
>>> +span.tip {
>>> + color:blue;
>>> +}
>>> +
>>> +span.warning {
>>> + color:red;
>>> +}
>>> \ No newline at end of file
>>>
>>>
>>>
>>
>
Re: svn commit: r1071917 - in /ofbiz/trunk:
applications/content/template/ framework/example/data/helpdata/
themes/bizznesstime/webapp/bizznesstime/css/
themes/bluelight/webapp/bluelight/
themes/droppingcrumbs/webapp/droppingcrumbs/css/ themes/flatgrey/web...
Posted by Hans Bakker <ma...@antwebsystems.com>.
Th docbook is using xsl and is too slow for the interactive help screens
which are generated by freemarker....
On Fri, 2011-02-18 at 21:18 -0800, BJ Freeman wrote:
> is there a reason we can't just tie into the docbook to generate the
> help file so we can get the TOC and References?
>
> =========================
> BJ Freeman
> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> Specialtymarket.com <http://www.specialtymarket.com/>
> Systems Integrator-- Glad to Assist
>
> Chat Y! messenger: bjfr33man
>
>
> erwan@apache.org sent the following on 2/18/2011 12:31 AM:
> > Author: erwan
> > Date: Fri Feb 18 08:31:52 2011
> > New Revision: 1071917
> >
> > URL: http://svn.apache.org/viewvc?rev=1071917&view=rev
> > Log:
> > Adding caution, important, note, tip, warning to docbook formatting possibilities. Those can be used inside a para element.
> >
> > Modified:
> > ofbiz/trunk/applications/content/template/HelpTemplate.ftl
> > ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml
> > ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css
> > ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css
> > ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css
> > ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css
> > ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css
> >
> > Modified: ofbiz/trunk/applications/content/template/HelpTemplate.ftl
> > URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/template/HelpTemplate.ftl?rev=1071917&r1=1071916&r2=1071917&view=diff
> > ==============================================================================
> > --- ofbiz/trunk/applications/content/template/HelpTemplate.ftl (original)
> > +++ ofbiz/trunk/applications/content/template/HelpTemplate.ftl Fri Feb 18 08:31:52 2011
> > @@ -34,6 +34,16 @@ under the License.
> > <@itemizedlist node=child/>
> > <#elseif child?node_type = 'element'&& child?node_name = "mediaobject">
> > <@mediaobject node=child/>
> > +<#elseif child?node_type = 'element'&& child?node_name = "caution">
> > +<span class="caution">${child}</span>
> > +<#elseif child?node_type = 'element'&& child?node_name = "important">
> > +<span class="important">${child}</span>
> > +<#elseif child?node_type = 'element'&& child?node_name = "note">
> > +<span class="note">${child}</span>
> > +<#elseif child?node_type = 'element'&& child?node_name = "tip">
> > +<span class="tip">${child}</span>
> > +<#elseif child?node_type = 'element'&& child?node_name = "warning">
> > +<span class="warning">${child}</span>
> > </#if>
> > </#list>
> > </#macro>
> >
> > Modified: ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml
> > URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml?rev=1071917&r1=1071916&r2=1071917&view=diff
> > ==============================================================================
> > --- ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml (original)
> > +++ ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml Fri Feb 18 08:31:52 2011
> > @@ -46,4 +46,13 @@ under the License.
> > <listitem><para>and this can go longer...</para></listitem>
> > </itemizedlist>
> > </section>
> > +
> > +<section>
> > +<title>Examples of text formatting</title>
> > +<para><caution>Here is a caution text</caution></para>
> > +<para><important>Here is an important text</important></para>
> > +<para><note>Here is a note</note></para>
> > +<para><tip>Here is a tip</tip></para>
> > +<para><warning>Here is a warning</warning></para>
> > +</section>
> > </section>
> >
> > Modified: ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css
> > URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
> > ==============================================================================
> > --- ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css (original)
> > +++ ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css Fri Feb 18 08:31:52 2011
> > @@ -42,4 +42,22 @@ ul.dots {
> > padding-left: 20px;
> > }
> >
> > +span.caution{
> > + color:yellow;
> > +}
> > +
> > +span.important {
> > + color: #ff4500;
> > +}
> > +
> > +span.note {
> > + color:#adff2f;
> > +}
> > +
> > +span.tip {
> > + color:blue;
> > +}
> >
> > +span.warning {
> > + color:red;
> > +}
> >
> > Modified: ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css
> > URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
> > ==============================================================================
> > --- ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css (original)
> > +++ ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css Fri Feb 18 08:31:52 2011
> > @@ -19,7 +19,7 @@ under the License.
> > ***********************************************/
> > body {
> > background:none;
> > - font-size=105%;
> > + font-size:105%;
> > }
> >
> > .left-border {
> > @@ -60,4 +60,22 @@ ul.dots {
> > padding-left: 20px;
> > }
> >
> > +span.caution{
> > + color:yellow;
> > +}
> > +
> > +span.important {
> > + color: #ff4500;
> > +}
> > +
> > +span.note {
> > + color:#adff2f;
> > +}
> > +
> > +span.tip {
> > + color:blue;
> > +}
> >
> > +span.warning {
> > + color:red;
> > +}
> >
> > Modified: ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css
> > URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
> > ==============================================================================
> > --- ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css (original)
> > +++ ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css Fri Feb 18 08:31:52 2011
> > @@ -19,7 +19,7 @@ under the License.
> > ***********************************************/
> > body {
> > background:none;
> > -font-size=105%;
> > +font-size:105%;
> > }
> >
> > .left-border {
> > @@ -59,3 +59,23 @@ ul.dots {
> > list-style: circle;
> > padding-left: 20px;
> > }
> > +
> > +span.caution{
> > + color:yellow;
> > +}
> > +
> > +span.important {
> > + color: #ff4500;
> > +}
> > +
> > +span.note {
> > + color:#adff2f;
> > +}
> > +
> > +span.tip {
> > + color:blue;
> > +}
> > +
> > +span.warning {
> > + color:red;
> > +}
> > \ No newline at end of file
> >
> > Modified: ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css
> > URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
> > ==============================================================================
> > --- ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css (original)
> > +++ ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css Fri Feb 18 08:31:52 2011
> > @@ -19,3 +19,23 @@ under the License.
> > ***********************************************/
> >
> > html, body {background:#fff}
> > +
> > +span.caution{
> > + color:yellow;
> > +}
> > +
> > +span.important {
> > + color: #ff4500;
> > +}
> > +
> > +span.note {
> > + color:#adff2f;
> > +}
> > +
> > +span.tip {
> > + color:blue;
> > +}
> > +
> > +span.warning {
> > + color:red;
> > +}
> > \ No newline at end of file
> >
> > Modified: ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css
> > URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
> > ==============================================================================
> > --- ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css (original)
> > +++ ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css Fri Feb 18 08:31:52 2011
> > @@ -19,7 +19,7 @@ under the License.
> > ***********************************************/
> > body {
> > background:none;
> > -font-size=105%;
> > +font-size:105%;
> > }
> >
> > p {
> > @@ -73,3 +73,23 @@ ul.dots {
> > list-style: circle;
> > padding-left: 20px;
> > }
> > +
> > +span.caution{
> > + color:yellow;
> > +}
> > +
> > +span.important {
> > + color: #ff4500;
> > +}
> > +
> > +span.note {
> > + color:#adff2f;
> > +}
> > +
> > +span.tip {
> > + color:blue;
> > +}
> > +
> > +span.warning {
> > + color:red;
> > +}
> > \ No newline at end of file
> >
> >
> >
>
--
Ofbiz on twitter: http://twitter.com/apache_ofbiz
Myself on twitter: http://twitter.com/hansbak
Antwebsystems.com: Quality services for competitive rates.
Re: svn commit: r1071917 - in /ofbiz/trunk: applications/content/template/
framework/example/data/helpdata/ themes/bizznesstime/webapp/bizznesstime/css/
themes/bluelight/webapp/bluelight/ themes/droppingcrumbs/webapp/droppingcrumbs/css/
themes/flatgrey/web...
Posted by BJ Freeman <bj...@free-man.net>.
is there a reason we can't just tie into the docbook to generate the
help file so we can get the TOC and References?
=========================
BJ Freeman
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist
Chat Y! messenger: bjfr33man
erwan@apache.org sent the following on 2/18/2011 12:31 AM:
> Author: erwan
> Date: Fri Feb 18 08:31:52 2011
> New Revision: 1071917
>
> URL: http://svn.apache.org/viewvc?rev=1071917&view=rev
> Log:
> Adding caution, important, note, tip, warning to docbook formatting possibilities. Those can be used inside a para element.
>
> Modified:
> ofbiz/trunk/applications/content/template/HelpTemplate.ftl
> ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml
> ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css
> ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css
> ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css
> ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css
> ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css
>
> Modified: ofbiz/trunk/applications/content/template/HelpTemplate.ftl
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/template/HelpTemplate.ftl?rev=1071917&r1=1071916&r2=1071917&view=diff
> ==============================================================================
> --- ofbiz/trunk/applications/content/template/HelpTemplate.ftl (original)
> +++ ofbiz/trunk/applications/content/template/HelpTemplate.ftl Fri Feb 18 08:31:52 2011
> @@ -34,6 +34,16 @@ under the License.
> <@itemizedlist node=child/>
> <#elseif child?node_type = 'element'&& child?node_name = "mediaobject">
> <@mediaobject node=child/>
> +<#elseif child?node_type = 'element'&& child?node_name = "caution">
> +<span class="caution">${child}</span>
> +<#elseif child?node_type = 'element'&& child?node_name = "important">
> +<span class="important">${child}</span>
> +<#elseif child?node_type = 'element'&& child?node_name = "note">
> +<span class="note">${child}</span>
> +<#elseif child?node_type = 'element'&& child?node_name = "tip">
> +<span class="tip">${child}</span>
> +<#elseif child?node_type = 'element'&& child?node_name = "warning">
> +<span class="warning">${child}</span>
> </#if>
> </#list>
> </#macro>
>
> Modified: ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml?rev=1071917&r1=1071916&r2=1071917&view=diff
> ==============================================================================
> --- ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml (original)
> +++ ofbiz/trunk/framework/example/data/helpdata/HELP_EXAMPLE_docbook.xml Fri Feb 18 08:31:52 2011
> @@ -46,4 +46,13 @@ under the License.
> <listitem><para>and this can go longer...</para></listitem>
> </itemizedlist>
> </section>
> +
> +<section>
> +<title>Examples of text formatting</title>
> +<para><caution>Here is a caution text</caution></para>
> +<para><important>Here is an important text</important></para>
> +<para><note>Here is a note</note></para>
> +<para><tip>Here is a tip</tip></para>
> +<para><warning>Here is a warning</warning></para>
> +</section>
> </section>
>
> Modified: ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
> ==============================================================================
> --- ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css (original)
> +++ ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/help.css Fri Feb 18 08:31:52 2011
> @@ -42,4 +42,22 @@ ul.dots {
> padding-left: 20px;
> }
>
> +span.caution{
> + color:yellow;
> +}
> +
> +span.important {
> + color: #ff4500;
> +}
> +
> +span.note {
> + color:#adff2f;
> +}
> +
> +span.tip {
> + color:blue;
> +}
>
> +span.warning {
> + color:red;
> +}
>
> Modified: ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
> ==============================================================================
> --- ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css (original)
> +++ ofbiz/trunk/themes/bluelight/webapp/bluelight/help.css Fri Feb 18 08:31:52 2011
> @@ -19,7 +19,7 @@ under the License.
> ***********************************************/
> body {
> background:none;
> - font-size=105%;
> + font-size:105%;
> }
>
> .left-border {
> @@ -60,4 +60,22 @@ ul.dots {
> padding-left: 20px;
> }
>
> +span.caution{
> + color:yellow;
> +}
> +
> +span.important {
> + color: #ff4500;
> +}
> +
> +span.note {
> + color:#adff2f;
> +}
> +
> +span.tip {
> + color:blue;
> +}
>
> +span.warning {
> + color:red;
> +}
>
> Modified: ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
> ==============================================================================
> --- ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css (original)
> +++ ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/help.css Fri Feb 18 08:31:52 2011
> @@ -19,7 +19,7 @@ under the License.
> ***********************************************/
> body {
> background:none;
> -font-size=105%;
> +font-size:105%;
> }
>
> .left-border {
> @@ -59,3 +59,23 @@ ul.dots {
> list-style: circle;
> padding-left: 20px;
> }
> +
> +span.caution{
> + color:yellow;
> +}
> +
> +span.important {
> + color: #ff4500;
> +}
> +
> +span.note {
> + color:#adff2f;
> +}
> +
> +span.tip {
> + color:blue;
> +}
> +
> +span.warning {
> + color:red;
> +}
> \ No newline at end of file
>
> Modified: ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
> ==============================================================================
> --- ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css (original)
> +++ ofbiz/trunk/themes/flatgrey/webapp/flatgrey/help.css Fri Feb 18 08:31:52 2011
> @@ -19,3 +19,23 @@ under the License.
> ***********************************************/
>
> html, body {background:#fff}
> +
> +span.caution{
> + color:yellow;
> +}
> +
> +span.important {
> + color: #ff4500;
> +}
> +
> +span.note {
> + color:#adff2f;
> +}
> +
> +span.tip {
> + color:blue;
> +}
> +
> +span.warning {
> + color:red;
> +}
> \ No newline at end of file
>
> Modified: ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css?rev=1071917&r1=1071916&r2=1071917&view=diff
> ==============================================================================
> --- ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css (original)
> +++ ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css Fri Feb 18 08:31:52 2011
> @@ -19,7 +19,7 @@ under the License.
> ***********************************************/
> body {
> background:none;
> -font-size=105%;
> +font-size:105%;
> }
>
> p {
> @@ -73,3 +73,23 @@ ul.dots {
> list-style: circle;
> padding-left: 20px;
> }
> +
> +span.caution{
> + color:yellow;
> +}
> +
> +span.important {
> + color: #ff4500;
> +}
> +
> +span.note {
> + color:#adff2f;
> +}
> +
> +span.tip {
> + color:blue;
> +}
> +
> +span.warning {
> + color:red;
> +}
> \ No newline at end of file
>
>
>