diff --git a/ccm-core/web/themes/foundry-base/conf/templates.xml b/ccm-core/web/themes/foundry-base/conf/templates.xml index 74390ca58..51742526e 100644 --- a/ccm-core/web/themes/foundry-base/conf/templates.xml +++ b/ccm-core/web/themes/foundry-base/conf/templates.xml @@ -21,6 +21,9 @@ content-items/bookmark-detail.xml + + content-items/decisiontree-detail.xml + content-items/event-detail.xml diff --git a/ccm-core/web/themes/foundry-base/templates/content-items/decisiontree-detail.xml b/ccm-core/web/themes/foundry-base/templates/content-items/decisiontree-detail.xml new file mode 100644 index 000000000..98dbc5237 --- /dev/null +++ b/ccm-core/web/themes/foundry-base/templates/content-items/decisiontree-detail.xml @@ -0,0 +1,35 @@ + + + + + +
+ +
+ +
+ +

+ +

+ +
+ +
+ + + decisiontree-section + formgroup + option-label + option-input + submit-cancel-section + decisiontree-cancel + decisiontree-submit + + +
+
+ +
\ No newline at end of file diff --git a/ccm-core/web/themes/foundry-base/templates/portlets/simple-portlet.xml b/ccm-core/web/themes/foundry-base/templates/portlets/simple-portlet.xml new file mode 100644 index 000000000..6d0a55a39 --- /dev/null +++ b/ccm-core/web/themes/foundry-base/templates/portlets/simple-portlet.xml @@ -0,0 +1,8 @@ + + + +
+ +
+ +
\ No newline at end of file diff --git a/ccm-core/web/themes/foundry-base/texts/decisiontree.xml b/ccm-core/web/themes/foundry-base/texts/decisiontree.xml new file mode 100644 index 000000000..7837bc65e --- /dev/null +++ b/ccm-core/web/themes/foundry-base/texts/decisiontree.xml @@ -0,0 +1,11 @@ + + + + Abbrechen + Cancel + + + Weiter + Next + + \ No newline at end of file diff --git a/ccm-core/web/themes/foundry-base/user/user.xsl b/ccm-core/web/themes/foundry-base/user/user.xsl new file mode 100644 index 000000000..4b3eca6b1 --- /dev/null +++ b/ccm-core/web/themes/foundry-base/user/user.xsl @@ -0,0 +1,43 @@ + + + + ]> + + + + + + \ No newline at end of file diff --git a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items.xsl b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items.xsl index 0ab29fb31..aba772b61 100644 --- a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items.xsl +++ b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items.xsl @@ -31,6 +31,7 @@ + diff --git a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/decisiontree.xsl b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/decisiontree.xsl new file mode 100644 index 000000000..d2e260792 --- /dev/null +++ b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/decisiontree.xsl @@ -0,0 +1,230 @@ + + + + + + Tags for displaying a Decisiontree item + +

+ The tags are used to configure the output of the decisiontree item. For technical + reasons it is not yet possible to customise the HTML for the decisiontree + completely. +

+

+ For title and description of the decisiontree the standard tags can be used. +

+
+
+ + + +

+ Root element for outputting the current section of a decisiontree. +

+
+
+ + + + + + + + + + + + + + + + + + + + +

+ Outputs the title of the current section of a decisiontree. +

+
+
+ + + + + + + + +

+ Outputs the instructions for the current section of a decisiontree. +

+
+
+ + + + + + + + +

+ Outputs the options for the current section of a decisiontree. This tag outputs + a complete HTML form because the current implementation of the decisiontree does not + provide enough information in the XML to support a fully customisable HTML. +

+

+ Nevertheless this it is possible to customise the classes set on various of the HTML + in the created form using subelements: +

+
+
+ class-form +
+
+ Classes for the form itself. +
+
+ class-formgroup +
+
+ Classes to set on the div surrouding each pair of a label and an + input element. +
+
+ class-label +
+
+ Classes to set on each label. +
+
+ class-input +
+
+ Classes to set on each input element. +
+
+ class-buttons +
+
+ Classes to set on the div surrounding the submit and cancel button. +
+
+ class-cancel +
+
+ Classes to set on the cancel button. +
+
+ class-submit +
+
+ Classes to set on the submit button. +
+
+
+
+ + + + + + + + + + + + + + +