ConfiForms CalendarView | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Source code
Code Block |
---|
<ac:structured-macro ac:macro-id="da0e6758-2b41-4714-b1f6-47ddf04a50fc" ac:name="confiform-calendar" ac:schema-version="1">
<ac:parameter ac:name="eventTitleFieldName">[entry.phone] - [entry.usetime.asPeriodFormatted]</ac:parameter>
<ac:parameter ac:name="groupingFieldName">usetime</ac:parameter>
<ac:parameter ac:name="pageTitle">
<ac:link>
<ri:page ri:content-title="Phone numbers utilization"/>
</ac:link>
</ac:parameter>
<ac:parameter ac:name="formName">myphones</ac:parameter>
<ac:rich-text-body>
<p>
<ac:structured-macro ac:macro-id="63ede68c-a9cf-476d-a665-93fd7e503c24" ac:name="confiform-field-css" ac:schema-version="1">
<ac:parameter ac:name="condition">phone:phone1</ac:parameter>
<ac:parameter ac:name="css">background-color:pink !important;</ac:parameter>
<ac:parameter ac:name="fieldName">usetime</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="59d5219a-d9de-4c1d-a944-f1e237938e8f" ac:name="confiform-field-css" ac:schema-version="1">
<ac:parameter ac:name="condition">phone:phone2</ac:parameter>
<ac:parameter ac:name="css">background-color:red !important;</ac:parameter>
<ac:parameter ac:name="fieldName">usetime</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="a7b7a0e8-4b3e-481c-bed5-0992f5d906b1" ac:name="confiform-field-css" ac:schema-version="1">
<ac:parameter ac:name="condition">phone:phone3</ac:parameter>
<ac:parameter ac:name="css">background-color:yellow !important;</ac:parameter>
<ac:parameter ac:name="fieldName">usetime</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="a6fe4da3-7a4d-470f-8c45-da3404803ade" ac:name="confiform-field-css" ac:schema-version="1">
<ac:parameter ac:name="condition">phone:phone4</ac:parameter>
<ac:parameter ac:name="css">background-color:green !important;</ac:parameter>
<ac:parameter ac:name="fieldName">usetime</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="97dee011-e7f1-4c2c-a99c-2b048dcbff38" ac:name="confiform-field-css" ac:schema-version="1">
<ac:parameter ac:name="condition">phone:phone5</ac:parameter>
<ac:parameter ac:name="css">background-color:magenta !important;</ac:parameter>
<ac:parameter ac:name="fieldName">usetime</ac:parameter>
</ac:structured-macro>
</p>
<table class="wrapped" style="border: 0;">
<colgroup> <col/> <col/> </colgroup>
<tbody>
<tr style="border: 0;">
<td style="border: 0;">
<div class="content-wrapper">
<p>
<strong>
<ac:structured-macro ac:macro-id="157f9f11-bc6b-4370-9fdf-dbac2fdf6c67" ac:name="confiform-field" ac:schema-version="1">
<ac:parameter ac:name="fieldName">phone</ac:parameter>
</ac:structured-macro>
</strong>
</p>
</div>
</td>
<td style="border: 0;">
<div class="content-wrapper">
<p>
<ac:structured-macro ac:macro-id="83bfe25b-488d-4e9e-96c9-36214820d989" ac:name="confiform-field" ac:schema-version="1">
<ac:parameter ac:name="fieldName">usetime</ac:parameter>
</ac:structured-macro>
</p>
</div>
</td>
</tr>
</tbody>
</table>
</ac:rich-text-body>
</ac:structured-macro>
|